David Lawrence
31d3fd0769
Test very long names.
1999-03-11 22:31:24 +00:00
Bob Halley
20c5672ca6
include unistd.h to get getopt
1999-03-11 20:00:13 +00:00
David Lawrence
bfa370f29d
Option to show final memory stats (-m).
1999-03-11 19:20:34 +00:00
Bob Halley
7cb9c09a7b
support any type
1999-03-11 06:02:50 +00:00
Bob Halley
1fdbe90dc4
add -a and -c switches
1999-03-11 00:45:03 +00:00
Bob Halley
af24ac2d39
used fixed names
1999-03-08 18:55:58 +00:00
Bob Halley
19de822a35
update
1999-03-06 18:50:15 +00:00
Bob Halley
c46bcd7c69
update copyright
1999-03-06 03:55:54 +00:00
Bob Halley
ff9104607c
add deletion
1999-03-06 00:51:12 +00:00
Bob Halley
225d490b47
versioning test code
1999-03-05 23:26:47 +00:00
Mark Andrews
21b841232c
Disable bit string tests until rbt supports them. Use -b in the
...
mean time to get them.
1999-03-04 22:40:05 +00:00
David Lawrence
b63865d6df
A couple of new search tests.
1999-03-04 21:04:51 +00:00
David Lawrence
ec40d2ec68
use dns_rbt_findname instead of dns_rbt_findnode, and adjust tests for
...
possible return values.
1999-03-04 21:04:33 +00:00
Mark Andrews
496e9c2a55
Added -v
1999-03-04 06:50:05 +00:00
Bob Halley
904a573437
C++ compatibility
1999-03-04 02:48:47 +00:00
Bob Halley
9a6ca3914f
ignore generated files
1999-03-04 01:00:29 +00:00
Bob Halley
55e5f033b3
remove files generated by yacc when cleaning
1999-03-04 01:00:18 +00:00
David Lawrence
7f40165c89
include the root label in names that have it, for extra clarity (especially
...
when the root label is the entire name).
1999-03-03 19:55:03 +00:00
Mark Andrews
1ef8965366
Add decompression.
1999-02-24 06:31:35 +00:00
James Brister
49621e5edc
New lexer/parser.
1999-02-24 00:16:04 +00:00
James Brister
3a4bfc4951
Added some more meat to the zone structures.
1999-02-24 00:15:26 +00:00
James Brister
709f92bb22
Use new lexer/parser. ifdef'd out still.
1999-02-24 00:14:57 +00:00
James Brister
99094c30d3
Heaps of changes for dealing with the main config file data structure.
1999-02-24 00:13:51 +00:00
James Brister
b6026c656d
Added replaced old lexer/parser.
1999-02-24 00:13:01 +00:00
Mark Andrews
52637f592f
Add wire compression.
1999-02-22 07:24:05 +00:00
Bob Halley
6d5dcd0dc9
Make multiple build directories work again
1999-02-18 01:24:32 +00:00
Bob Halley
30ff476f61
use dns_name_fullcompare()
1999-02-16 08:19:18 +00:00
Mark Andrews
19d365e444
Added missing REQUIRE()'s to dns_rdata_*().
...
Restored origin to dns_rdata_totext().
Made include file comments more relevent.
1999-02-16 02:54:18 +00:00
Mark Andrews
b5819ca3eb
dns_name_fromwire() should have been using up to the end of the
...
active region, not the end of the remaining region.
bin/named/wire_debug.c bin/tests/wire_test.c adjusted for above
change.
dns_name_fromwire() was not computing nrem and nused correctly
for bitstream labels.
1999-02-15 23:59:36 +00:00
Michael Graff
882350d11c
Clean up many compiler warnings.
1999-02-11 06:38:12 +00:00
Bob Halley
c9978f9dce
allow db_type to be specified
1999-02-11 04:56:56 +00:00
Mark Andrews
fdd04623a6
Convert to user error / warn callbacks.
1999-02-10 05:25:37 +00:00
Mark Andrews
82d0558893
Pass multiple callbacks in dns_rdatacallbacks_t.
...
Call UNEXPECTED_ERROR() when returning DNS_R_UNEXPECTED.
1999-02-09 08:02:21 +00:00
Bob Halley
b5fd61fd19
conforming changes
1999-02-06 01:28:15 +00:00
Bob Halley
f72d27a58e
add loaded message
1999-02-06 01:28:08 +00:00
Mark Andrews
e4653123ec
isc_lex_getsourcename()
...
isc_lex_getsourceline()
convert uint#_tobuffer() to use isc_buffer_putuint#()
1999-02-05 06:41:21 +00:00
Mark Andrews
bd72c68a44
Allow specification of class
1999-02-04 01:04:55 +00:00
Bob Halley
990fe8c3a9
do not link with lex/yacc libraries
1999-02-02 01:44:15 +00:00
Bob Halley
fe47f41b13
eliminate compiler warnings (signed vs. unsigned)
1999-02-02 01:18:51 +00:00
Bob Halley
1c969834dc
do not build parser
1999-02-02 01:18:38 +00:00
Bob Halley
1ed857d600
deal with names outside of the db; auth vs. nonauth
1999-02-01 21:11:47 +00:00
Bob Halley
98d3b18373
make mem stats printing optional
1999-02-01 21:11:10 +00:00
Bob Halley
9ec6d5f03d
remove various minor compilation warnings
1999-02-01 20:47:58 +00:00
Bob Halley
d55fedfce0
initialize values to avoid INSIST(l->nwactive == 0) when starting
1999-02-01 20:37:40 +00:00
David Lawrence
b6d5a6722c
parser.c, parser_p.h, lexer.c are all generated by Makefile
1999-01-31 18:47:57 +00:00
David Lawrence
4c4f13cea3
rbt_test.txt now checks more conditions in the deletion algorithm.
...
rbt_test.out is what the output should be.
1999-01-31 18:45:34 +00:00
David Lawrence
0d73b3fffe
test the data deleter callback by making the data pointer for each node be
...
dynamic memory.
have 'search' print the name stored at the node's data pointer.
1999-01-31 16:45:48 +00:00
Michael Graff
e5e8a126ab
make tcp queries (where the output is slightly offset from the start
...
of the buffer, for length of tcp packet) work again.
1999-01-31 12:58:16 +00:00
Michael Graff
51c0bc9e3d
Actually answers queries!
1999-01-31 12:31:31 +00:00
David Lawrence
fbcd8c7a5c
delete does not now do recursive deletion.
...
new function nuke does what delete did.
fixed up some changed interfaces to the dns_rbt library.
1999-01-31 00:54:14 +00:00
Michael Graff
8507d64d0c
use isc_uint32_t and unsigned int for u_int32_t and u_int
1999-01-30 03:09:28 +00:00
James Brister
1ca02d14e4
Misc additions for the parser stuff.
1999-01-30 01:00:49 +00:00
James Brister
e6ad73aba4
Added calls to parser routines (ifdef'd out for now).
1999-01-30 01:00:20 +00:00
James Brister
b110b1bc30
Misc changes.
1999-01-30 00:53:56 +00:00
James Brister
915440a0d0
Files for the config file parsing.
1999-01-30 00:50:10 +00:00
Bob Halley
a2f5b51dff
allow type and zone to be specified
1999-01-29 23:36:41 +00:00
Bob Halley
22c4f0162f
look for and print ns rdatasets
1999-01-29 22:21:35 +00:00
Mark Andrews
2bc0da0cd8
Added NXT
...
Debugged SIG
1999-01-29 08:04:13 +00:00
Bob Halley
7c0eb86a80
checkpoint
1999-01-29 07:05:09 +00:00
Michael Graff
60cfce122f
Code up a dispatch() function which will just return server failure for now.
...
This makes dig work, and shows that we can actually transmit as well
as receive. Both UDP and TCP connections work, with the restriction
that a full message must be contained in each TCP write, not split across
two seperate tcp 'packets'.
1999-01-29 06:18:43 +00:00
Bob Halley
e535faecc7
add db_test
1999-01-28 23:53:36 +00:00
Mark Andrews
923e2ea400
dns_load_master()'s callback last arguement is now void * rather
...
than isc_mem_t * to provide a general mechanism to pass context to
the call back. dns_load_master() has an additional arguement to
support this. to get the old behaviour set the arguement, private,
to the same value as mctx.
1999-01-28 22:32:45 +00:00
James Brister
1453fd8dde
Files supportting the zoneinfo structure.
1999-01-28 17:18:09 +00:00
Bob Halley
01cc5813ca
reflect latest lexer changes
1999-01-28 08:51:53 +00:00
Michael Graff
7f4db15e68
add tcp client support
1999-01-28 05:52:20 +00:00
Mark Andrews
0c67279acb
Added soacount and nscount
1999-01-28 05:03:25 +00:00
Mark Andrews
3ff55a3111
dns_master.c:
...
fix 2 infinite while loops.
use a pool of 5 buffers for dns_name_fromtext target.
add master_test.c:
1999-01-27 23:17:57 +00:00
Michael Graff
e957705142
unsigned char, not char
1999-01-27 08:59:40 +00:00
David Lawrence
0fb1c498ec
Enable the deletion test.
1999-01-27 02:04:28 +00:00
Bob Halley
941f41d613
new number printing; ISC_LEXOPT_MULTILINE support
1999-01-26 08:23:18 +00:00
David Lawrence
9e4292a2b4
New rbt_test program for the red/black trees. Sample test instructions
...
in rbt_test.txt.
1999-01-26 03:30:25 +00:00
Bob Halley
5a5eec9601
remove ANY hack
1999-01-25 21:41:52 +00:00
Mark Andrews
2192b44973
HINFO and TXT now handle quoted strings.
1999-01-22 01:27:30 +00:00
Mark Andrews
deaaf94332
dns_rdata_compare checked for RFC 1035 types
...
converted frometext* to use gettoken()
converted:
result = foo();
if (result != DNS_R_SUCCESS)
return (result);
to
RETERR(foo());
1999-01-22 00:36:59 +00:00
Bob Halley
530570705a
add
1999-01-21 19:30:50 +00:00
Mark Andrews
44a966dff6
Added WKS.
1999-01-21 06:02:15 +00:00
Bob Halley
3b1da4f989
print type and class as text instead of as numbers
1999-01-20 07:49:50 +00:00
Mark Andrews
a98551ef59
Implemented dns_rdatatype_fromtext(), dns_rdatatype_totext(),
...
dns_rdataclass_fromtext() and dns_rdataclass_totext().
1999-01-20 06:51:30 +00:00
Mark Andrews
3d5cad69ec
Adjusted error codes.
...
txt_fromwire() was not coping with a zero length active buffer.
1999-01-20 05:20:24 +00:00
Michael Graff
47db0e1d06
checkpoint. udp listener clde split out.
1999-01-20 03:54:54 +00:00
Bob Halley
c850b56ee0
lint
1999-01-20 02:46:19 +00:00
Bob Halley
2d9007c942
working rdata decoding
1999-01-20 02:43:23 +00:00
Bob Halley
e9c5fcab9b
add rdata_test
1999-01-20 02:42:54 +00:00
Michael Graff
14b50c163e
cleanup, remove warnings
1999-01-19 19:50:10 +00:00
Michael Graff
690a68b811
typo
1999-01-19 19:43:25 +00:00
Michael Graff
f8c2070073
make quick changes to steal code from Bob's wire_test
1999-01-19 06:35:54 +00:00
Michael Graff
1840745dd5
Start on server core. Needs cleanup, but it's close to what we think is
...
the Right Way.
1999-01-19 06:32:53 +00:00
Mark Andrews
5d51e67c3b
Initial "rdata" support. RFC 1035 RR types minus WKS
...
totext/fromtext should all work
towire/fromwire mostly work
tostruct/fromstruct return DNS_R_NOTIMPLEMENTED
compare untested
1999-01-19 02:20:26 +00:00
Bob Halley
74bc3f2a36
optional use of initial whitespace
1999-01-15 20:02:22 +00:00
Bob Halley
51ae92e447
use dns_rdataset_totext
1999-01-15 19:36:33 +00:00
Bob Halley
a70536420c
add getmessage
1999-01-15 08:04:27 +00:00
Bob Halley
841988cf57
rdatalist is now in its own .h file
1999-01-15 03:30:36 +00:00
Bob Halley
2c711cbace
new task stuff
1999-01-15 01:38:28 +00:00
Bob Halley
a4e4169138
minor output fix
1999-01-13 19:58:40 +00:00
Bob Halley
2925c2bfb3
eliminate whitespace from input
1999-01-13 19:57:13 +00:00
Bob Halley
25657e31a3
checkpoint
1999-01-13 19:50:05 +00:00
Bob Halley
8198371caa
checkpoint
1999-01-13 19:11:26 +00:00
Bob Halley
08dbab20ef
lint
1999-01-09 02:39:39 +00:00
Bob Halley
28fb4b818b
non-portable but useful getopt usage
1999-01-09 01:21:11 +00:00
Bob Halley
011021d301
fix typo; make compname be relative to origin if not absolute
1999-01-09 01:00:52 +00:00
Bob Halley
e5a56e1fd5
must init name now
1999-01-09 00:41:55 +00:00
Bob Halley
514a93f41f
offsets are now optional
1999-01-09 00:34:18 +00:00
Bob Halley
b05c81bffc
convert to isc_buffer_getuint16
1999-01-07 02:08:05 +00:00
Bob Halley
8f34db7d4e
update
1999-01-06 20:31:20 +00:00
Bob Halley
1d9b3491ab
convert to RUNTIME_CHECK
1999-01-06 20:26:18 +00:00
Bob Halley
468ff4555b
add decompression context
1999-01-06 20:05:09 +00:00
Bob Halley
c40d5a7080
add
1999-01-06 17:46:00 +00:00
Bob Halley
8423b96689
add wire_test
1999-01-06 05:42:58 +00:00
Bob Halley
4bc30f45a2
conforming changes
1999-01-06 05:42:42 +00:00
Bob Halley
3d7e707dd6
add wire_test; remove generated targets on distclean
1999-01-06 05:42:26 +00:00
Bob Halley
c23afd025e
update copyright
1999-01-06 05:33:05 +00:00
Bob Halley
d386111bff
case sensitive switch for symbol tables
1999-01-04 22:30:28 +00:00
Bob Halley
94d102893a
update copyrights
1999-01-04 19:47:40 +00:00
Bob Halley
38d2d0e932
eliminate dns_ types that duplicate isc_ types
1999-01-04 19:14:00 +00:00
Bob Halley
8afa9d1fcb
fix text region typing
1999-01-02 21:20:03 +00:00
Bob Halley
68d6549309
add lex_test
1998-12-30 22:07:51 +00:00
Bob Halley
d22c1a18db
add unistd.h (for getopt)
1998-12-30 22:07:20 +00:00
Bob Halley
ff0e32ceea
convert to isc_mem_strdup
1998-12-30 20:19:14 +00:00
Bob Halley
ea6ace7d0d
fix memory leak
1998-12-19 00:22:00 +00:00
Bob Halley
95bcf47ff9
exists policy
1998-12-19 00:13:59 +00:00
Michael Graff
22c7e1fbca
use inet_addr() rather than the newer (and beter) inet_aton(). Solaris
...
doesn't have inet_aton(), and this was quick enough for a test program.
1998-12-18 22:51:42 +00:00
Michael Graff
dfd9b3fa62
Make this go on aa
1998-12-18 22:02:41 +00:00
Bob Halley
2c395a842b
undefine action support
1998-12-18 21:16:45 +00:00
Bob Halley
8dcce6f922
change memctx to mem
1998-12-18 19:14:37 +00:00
Bob Halley
c9f9dd2dd2
add sym_test
1998-12-18 19:07:29 +00:00
Michael Graff
222b564ebb
clean up memory leaks
1998-12-18 04:03:11 +00:00
Bob Halley
0ab04d76c8
conforming changes for task API revision
1998-12-16 02:05:38 +00:00
Bob Halley
3740b569ae
the great type change
1998-12-13 23:45:21 +00:00
Bob Halley
26ec6d6655
delete
1998-12-13 22:49:08 +00:00
Bob Halley
0d38079bdf
depend upon libisc.a and libdns.a
1998-12-13 01:59:36 +00:00
Bob Halley
1633838b82
update copyrights
1998-12-12 20:48:14 +00:00
Bob Halley
d25afd60ee
include config.h
1998-12-12 19:25:20 +00:00
Bob Halley
f41f183f62
fix srcdir problems
1998-12-12 02:00:01 +00:00
Bob Halley
d0ad004424
simplify Makefiles
1998-12-12 01:35:38 +00:00
Bob Halley
863beba874
add .cvsignore files
1998-12-11 21:09:59 +00:00
Bob Halley
c4ad98f33e
get rid of some warnings
1998-12-11 21:09:34 +00:00
Bob Halley
6792dd6d22
conforming changes for new pool
1998-12-11 20:38:46 +00:00
Bob Halley
a5d43b7241
BIND9 Pool Creation
1998-12-11 20:10:26 +00:00
Michael Graff
7251d77646
snapshot
1998-12-05 00:28:13 +00:00
Bob Halley
c50fd34a4e
add
1998-12-04 02:27:01 +00:00
Bob Halley
d5d8c6b756
run both run1 and run2
1998-12-04 00:09:24 +00:00
Michael Graff
a21e2e7fea
connect works; snapshot
1998-11-26 00:10:33 +00:00
Michael Graff
4095b36415
try to get the address put into the returned structure, but no go yet
1998-11-15 11:48:21 +00:00
Bob Halley
d2cb9efe81
increase max workers to 100; still a good idea to clamp nworkers
1998-11-12 23:31:42 +00:00
Bob Halley
274043cd54
do not clamp nworkers
1998-11-12 22:28:43 +00:00
Bob Halley
994ba9c913
add write quota
1998-11-12 22:27:30 +00:00
Bob Halley
c8e7460242
add
1998-11-12 02:02:52 +00:00
Michael Graff
3d8e572880
writing works now, too.
1998-11-11 00:43:14 +00:00
Michael Graff
8871894f2d
checkpoint. listen and read works, now.
1998-11-10 11:37:54 +00:00
Michael Graff
bb039bc91e
snapshot
1998-11-10 01:56:44 +00:00
Michael Graff
7f9e707684
checkpoint
1998-11-06 01:45:35 +00:00
Michael Graff
6d05b41aae
Commit socket code so far -- nowhere near done, but I don't wanna loose work.
1998-11-03 00:54:47 +00:00
Bob Halley
b32248301c
the event action is now responsible for freeing the event memory
1998-10-28 01:45:43 +00:00
Bob Halley
db1e643c60
isc_interval_t conversion
1998-10-23 23:00:40 +00:00
Bob Halley
0bbadb0a2f
portability
1998-10-22 01:59:50 +00:00
Bob Halley
bf6d2e3912
more renaming
1998-10-22 01:33:20 +00:00
Bob Halley
de9282a1ea
rename memcluster
1998-10-21 22:01:08 +00:00
Bob Halley
c92ba07101
more renaming
1998-10-21 02:26:57 +00:00
Bob Halley
5f74ac33a0
more renaming
1998-10-21 01:57:35 +00:00
Bob Halley
f47bb8d1f3
many name conversions
1998-10-21 01:13:50 +00:00
Bob Halley
b07f8da9cd
eliminate timer_shutdown; add purging option to timer_reset
1998-10-16 23:57:51 +00:00
Bob Halley
918bae0f4b
update
1998-10-16 21:41:30 +00:00
Bob Halley
a75f433c83
udpate
1998-10-16 20:20:31 +00:00
Bob Halley
becb0b307c
update
1998-10-16 07:44:31 +00:00
Bob Halley
82ebb6cf50
update
1998-10-16 01:54:25 +00:00
Bob Halley
2985234619
checkpoint
1998-10-16 01:18:31 +00:00
Bob Halley
232548d5d7
add event purging
1998-10-13 20:22:22 +00:00
Bob Halley
26d7020e2e
update
1998-08-19 23:36:12 +00:00
Bob Halley
94123b5120
checkpoint
1998-08-19 21:46:15 +00:00
Bob Halley
50f339a799
update
1998-08-18 19:28:30 +00:00
Bob Halley
d6da3b9e10
update
1998-08-18 08:05:45 +00:00
Bob Halley
e7b7e6e746
checkpoint
1998-08-18 00:47:55 +00:00
Bob Halley
0dbe3d9c27
checkpoint
1998-08-18 00:29:57 +00:00
Bob Halley
3a6202f163
checkpoint
1998-08-17 23:15:50 +00:00
Bob Halley
7ee52cc7d1
base
1998-08-17 22:05:58 +00:00