summaryrefslogtreecommitdiff
path: root/lib/libc/net
AgeCommit message (Collapse)Author
2003-04-05sprintf -> snprintfThierry Deval
ok tedu@, hints deraadt@, millert@
2003-04-05strcpy/strcat -> strlcpy/strlcatThierry Deval
ok tedu@, hints by deraadt@ and millert@
2003-03-17If hostname != NULL, hostname is not a numeric string, and AI_NUMERICHOSTJason Wright
is set, return EAI_NONAME like RFC2553 specifies. millert/itojun ok.
2003-03-07signed/unsigned mixup. KAME PR 469 by Olivier Courtay.Jun-ichiro itojun Hagino
2003-03-06.Xr typos;Jason McIntyre
2003-03-06.Xr's;Jason McIntyre
typos in man page section ok deraadt@
2003-03-06date should be written formally: .Dd Month day, yearDavid Krause
ok henning@ jmc@
2003-03-04missing #include in SYNOPSIS, found by Daniel LucqHenning Brauer
ok millert@
2003-03-04strlcpy, check retval from sprintfJun-ichiro itojun Hagino
2003-03-04s/strncpy/strlcpy/Jun-ichiro itojun Hagino
2003-02-24Fix bogus inet_net_pton() translation example.Cedric Berger
ok henning@
2003-01-28thread safer libc (note: safer, not safe)Marco S Hyman
Access to the global _res structure replaced by pointers to a per thread instance. If unthreaded the pointer is to the global structure. Also replaced a 64k stack array with malloc-ed memory so threaded aps (with a default 64k stack) have a chance at working. ok deraadt@
2003-01-18inet6 fixes from jmc@prioris.mini.pw.edu.plTheo de Raadt
2002-12-15more writeable -> writable by torhHenning Brauer
2002-11-14Updates from http://www.isc.org/products/BIND/patches/bind4910.diffTodd C. Miller
o check __dn_skipname() return value for errors o fix sanity checking of reverse records, getnetbyname() may not have been working before.
2002-10-26Describe the actual operation of inet_net_pton with a few examples.Marco S Hyman
Also add caution regarding dst field initialization. operation text OK millert@
2002-09-25missing arg; peterw@ifost.org.auTheo de Raadt
2002-09-07ansi pedantic. ok deraadt@Jakob Schlyter
2002-09-06use socklen_t where needed; henning pvalchev okTheo de Raadt
2002-08-28Limit UDP payload size for EDNS0 to 0xffff, not use lower 16bit value.Jun-ichiro itojun Hagino
from onoe@sm.sony.co.jp
2002-08-27allocate 64K recieve buffer for DNS responses.Jun-ichiro itojun Hagino
2002-08-23deal with negative return value from snprintf.Jun-ichiro itojun Hagino
2002-08-22drop AAAA reply with IPv4 mapped address. sync w/kameJun-ichiro itojun Hagino
draft-itojun-v6ops-v4mapped-harmful-00.txt
2002-08-19snprintf audit. debug inet_neta() on non-continuous masks (like 0.255.0.255),Jun-ichiro itojun Hagino
more pickier string manipulation. deraadt ok
2002-08-09remove obsolete comment, no SIOCGIFCONF path any moreJun-ichiro itojun Hagino
2002-08-09unifdef for auditability.Jun-ichiro itojun Hagino
2002-07-30more strlcpy; itojun okTheo de Raadt
2002-07-29query ip6.arpa then ip6.int for IPv6 reverse lookup. follows RFC3152.Jun-ichiro itojun Hagino
(need some string-manipulation cleanup near here)
2002-07-25more snprintf and strlcpy; help from millertTheo de Raadt
2002-07-25kill more strcpyTheo de Raadt
2002-07-25cleanupTheo de Raadt
2002-07-24have _THREAD_PRIVATE_MUTEX for DNS/YP/hosts lookup.Jun-ichiro itojun Hagino
2002-07-01more type pedantJun-ichiro itojun Hagino
2002-07-01lint clean (and don't mixup signed/unsigned). from martin husemannJun-ichiro itojun Hagino
2002-07-01make more pedantic check on strtoul. from deraadt, sync w/kameJun-ichiro itojun Hagino
2002-06-29correct port range check. from deraadt. sync w/kame. bind-bugs have ↵Jun-ichiro itojun Hagino
already notified.
2002-06-27%d -> %u. mostly in #ifdef DEBUG.Jun-ichiro itojun Hagino
2002-06-27%d/%u mixup (in #ifdef DEBUG)Jun-ichiro itojun Hagino
2002-06-27ntohs() returns unsigned valueJun-ichiro itojun Hagino
2002-06-26correct bad practice in the code - it uses two changing variablesJun-ichiro itojun Hagino
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-26avoid remote buffer overrun on hostbuf[]. From: Joost Pol <joost@pine.nl>Jun-ichiro itojun Hagino
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 critical.
2002-06-09spelling; moritz@jodeit.orgTheo de Raadt
2002-05-24try to use strlcpy and snprintf more; ok variousTheo de Raadt
2002-05-22more strlcpy and snprintfTheo de Raadt
2002-05-18do not reverse-lookup scoped ipv6 address - it is meaningless as there'sJun-ichiro itojun Hagino
no way to pass scope id. sync w/kame
2002-05-06Kill/adjust r(login|exec)d? references now that those are no longer inTodd C. Miller
the tree.
2002-05-01o) start new sentence on a new line;Mike Pechkin
o) always close .Bl tags; o) fix usage of .Xr; millert@ ok
2002-04-30Initial cleanup:Mike Pechkin
o) remove extra space in the end of line; o) remove extra blank lines in the end of file; o) remove .Pp before .Ss; o) CAVEAT -> CAVEATS; o) fix usage of .Fa; o) <blank-line> -> .Pp; o) wrap long lines; millert@ ok
2002-03-12Tack on MagniComp (BSD) license since this originally came from rdist.Todd C. Miller
2002-03-07Xr getifaddrs(3) and networking(4) in SEE ALSO section.Todd C. Miller