itojun
cfbab92fdb
use randomid(3). actually generate random ID for DNS queries (previous
...
fix was incomplete)
2003-09-09 22:16:58 +00:00
agc
eb7c1594f1
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-08-07 16:42:00 +00:00
onoe
a5fc25f65e
Limit UDP payload size for EDNS0 to 0xffff, not use lower 16bit value.
2002-08-28 02:37:09 +00:00
itojun
9cdbc86d39
correct bad practice in the code - it uses two changing variables
...
to manage buffer (buf and buflen). we eliminate buflen and use
fixed point (ep) as the ending pointer.
this fix is NOT critical.
2002-06-26 06:00:26 +00:00
christos
02db12eb31
appease lint casting.
2000-12-20 18:47:11 +00:00
itojun
babc498cc8
implement EDNS0 support, as EDNS0 support will be made mandatory for
...
IPv6 transport-ready resolvers/DNS servers. need careful configuration
when enable it. (default config is not affected).
see manpage for details.
XXX visible symbol __res_opt() is added, however, it is not supposed to be
called from outside, libc minor is not bumped.
2000-08-09 14:40:52 +00:00
christos
373996b8e8
add constcond lint directive
2000-07-06 03:00:39 +00:00
itojun
75753d9452
sync with BIND 4.9.7. mostly costmetic.
...
XXX 4.9.5 -> 4.9.7 moves _res from data to bss. the bss version of the code
is committed, but is wrapped with #ifdef __RES_IN_BSS and is disabled
(_res is still in data segment).
2000-04-25 13:57:08 +00:00
mycroft
605490369c
Delint.
...
Remove trailing ; from uses of __weak_alias(). The macro inserts this if
needed.
2000-01-22 22:19:07 +00:00
lukem
d896261208
back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
...
_DIAGASSERT() is still retained.
1999-09-20 04:38:56 +00:00
lukem
b48252f365
* use _DIAGASSERT() to check pointer arguments against NULL and file
...
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.
the first two items result in the addition of code similar to the
following in various functions:
_DIAGASSERT(path != NULL)
#ifdef _DIAGNOSTIC
if (path == NULL) {
errno = EFAULT;
return (-1);
}
#endif
1999-09-16 11:44:54 +00:00
christos
2c89343c25
delint
1998-11-13 15:46:52 +00:00
kleink
a292d8ec80
(bcmp(), bcopy(), bzero()) -> (memcmp(), memcpy(), memset())
1998-10-15 10:22:23 +00:00
kleink
0b11c41974
Since these files are shared with parts of the BIND-4 userland (outside libc),
...
do the internal symbol renaming dance only if inside the libc build environment.
1998-10-14 19:33:49 +00:00
kleink
886f927ec6
Need internal names for res_init(), res_mkquery(), res_query() and res_search().
1998-10-14 19:13:01 +00:00
perry
198f98faf0
$Id: -> Id: (to make hunting down other bad Ids easier).
1998-01-06 05:01:16 +00:00
mrg
38bfb6cd0a
merge bind 4.9.6 resolver. still need to fix <resolv.h>
1997-07-20 13:33:17 +00:00
christos
8d36d3405e
Fix RCSID's
...
Fix gcc warnings
Add missing prototypes
Use "namespace.h"
1997-07-13 19:57:30 +00:00
mrg
023690d8db
merge in the bind 4.9.5-P1 resolver. we are now _mostly_ the
...
same as this, with our changes also included (resolv.conf and
other minor differences).
1997-04-13 10:30:29 +00:00
mrg
237baea38a
merge with the resolver in bind 4.9.3-P1.
1996-02-02 15:22:14 +00:00
cgd
ef0582f1e7
clean up import. also convert everything to new Id format.
1995-02-25 06:20:26 +00:00
deraadt
bc93d2c77e
new resolver. changes from 4.9.2 by <paul@vix.com>, as well as a number
...
of features and optimizations by myself.
1994-04-07 06:58:29 +00:00
jtc
9c20f740a3
Declare rcsid strings so they are stored in text segment.
1993-08-26 00:43:03 +00:00
mycroft
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00