Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-06-05 | compare and shift buffer against a fixed length not strlen derived values. | Pierre-Yves Ritschard | |
ok otto@ | |||
2009-06-04 | simplify the 'family' option parser and make it more evident what we're | Pierre-Yves Ritschard | |
now doing. ok deraadt@ | |||
2009-06-04 | Add a resolv.conf option to specify the order in which getaddrinfo | Pierre-Yves Ritschard | |
PF_UNSPEC queries are made. While there change the default from inet6 first then inet4 to inet4 first then inet6, this prevents the many people with IPv4 only connectivity from constantly trying to contact IPv6 addresses, and also unbreaks many ports who don't use getaddrinfo right. ok deraadt@, plenty of cheering in the room wrt the idea, not loud enough complaining from the v6 crowd. | |||
2009-06-02 | - define EAI_OVERFLOW, as per IEEE Std 1003.1-2001(Interpretation #13) | Jasper Lievisse Adriaanse | |
hint from claudio@, ok millert@ | |||
2009-05-06 | Document AI_NUMERICSERV; feedback and ok millert@ | Jacek Masiulaniec | |
2009-03-17 | correct argument type for swap64(); from Thomas Pfaff | Jason McIntyre | |
2008-12-22 | The example for detecting malicious PTR records could be easily misinterpreted. | Jacek Masiulaniec | |
Make it less ambiguous; ok gilles@ claudio@ | |||
2008-12-09 | fix inet_ntop(3) prototype; ok millert@ libc to be bumbed very soon | Otto Moerbeek | |
2008-12-07 | Document that ethers_aton returns NULL for invalid addresses. | Paul de Weerd | |
Suggested by and ok claudio@, ok jmc@ | |||
2008-11-24 | Correctly jump over routing headers and calculate the size of the if_data | Claudio Jeker | |
struct in the if_msghdr instead of using sizeof() blindly. This allows us to grow if_data without causing issues for the getifaddrs() users. OK deraadt@ (who needs this for some cool upcomming stuff) | |||
2008-09-01 | do not overflow for large prefix len (e.g. 2147483649) | Markus Friedl | |
report Maksymilian Arciemowicz; ok djm, deraadt | |||
2008-08-15 | Add resolv.conf(5) option to force lookups by TCP: "options tcp" | Damien Miller | |
Also Extend "nameserver" declaration syntax to support port numbers. To avoid ambiguity these are only parsed when the address is enclosed in square brackets, e.g. "nameserver [127.0.0.1]:5353" Together these changes make forwarding DNS over a SSH tunnel very easy, but unfortunately some programs in ports/ implement their own resolvers (e.g. firefox). These will need to be modified to support these options separately. fixes jsing@ reyk@ ok deraadt@ millert@ krw@ + "I like it" from lots | |||
2008-06-26 | First pass at removing clauses 3 and 4 from NetBSD licenses. | Ray Lai | |
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@ | |||
2008-05-11 | garbage collect the portability bits for the removed select() support. | Brad Smith | |
ok djm@ deraadt@ | |||
2008-04-18 | convert select() => poll(), saves a runtime malloc+free per retry | Damien Miller | |
feedback deraadt@ drahn@; ok deraadt@ | |||
2008-04-16 | permit _ in the middle of a DNS name component | Theo de Raadt | |
2008-04-13 | Improve the libc DNS resolver ID generation algorithm to be more | Damien Miller | |
resistant to prediction atacks by wrapping the existing LCG in a random permutation generator based on a Luby-Rackoff block cipher. lots of discussion and final ok deraadt@ | |||
2007-10-11 | use RRSIG instead of SIG for DNSSEC. ok djm@ | Jakob Schlyter | |
2007-09-17 | Check snprintf(3) return value for error or truncation. | Moritz Jodeit | |
Mostly path construction, where truncation could be bad. ok and input from deraadt@ millert@ ray@ | |||
2007-09-02 | use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg | Theo de Raadt | |
2007-08-05 | /*FALLTHRU*/ -> /* FALLTHROUGH */ | Ray Lai | |
2007-06-12 | ``dot'' notation | Jason McIntyre | |
is more readable than `.' notation zap some silly .Tn whilst here; | |||
2007-06-05 | remove ipx-related stuff. objections nobody. major bump by kurt in a few | Henning Brauer | |
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-05-20 | Typos. | Ray Lai | |
OK jmc@. | |||
2007-05-18 | Remove no-op code. From tbert. | Ray Lai | |
OK moritz@ and jaredy@ | |||
2007-05-17 | Improve reentrancy by not using global variable. Removes two | Ray Lai | |
wrappers around fopen/fclose. From tbert. OK millert@, tedu@, and itojun@. | |||
2007-05-16 | Wrap some functions, labels, and variables in #ifdefs corresponding | Ray Lai | |
to #ifdefs where they are used. Found by lint by bret dot lambert at gmail. OK deraadt@. | |||
2007-05-12 | Use size_t for strlen results. | Ray Lai | |
OK moritz@. | |||
2007-05-12 | Clean up macros according to style. From tbert <bret dot lambert at gmail>. | Ray Lai | |
OK moritz@ and jaredy@. | |||
2007-05-10 | Use syslog_r instead of syslog in getaddrinfo. Slowly making | Ray Lai | |
getaddrinfo reentrant. OK millert@ and deraadt@. | |||
2007-02-18 | strlen(3) returns size_t, not int. | Ray Lai | |
Suggested by itojun@ in response to my getaddrinfo fixes. OK millert@. | |||
2007-02-18 | strlen(3) returns size_t. | Ray Lai | |
OK itojun@. | |||
2007-02-17 | Remove duplicate code. No functional change. | Ray Lai | |
OK itojun@, moritz@, and millert@. | |||
2007-02-15 | Remove two mutexes by replacing getservbyname() and getservbyport() | Ray Lai | |
calls with their reentrant versions. OK millert@. | |||
2007-02-14 | correct a mistake concerning ifa_data; | Jason McIntyre | |
found by Srebrenko Sehic, corrected by millert and claudio; | |||
2007-02-14 | remove size_t and int mixup. same as getaddrinfo.c 1.30 -> 1.31. | Jun-ichiro itojun Hagino | |
2007-02-14 | Remove int pretending to be a size_t. | Ray Lai | |
OK millert@. | |||
2006-12-30 | RFC4291 declares that IPv6 numeric representation must have no more than | Jun-ichiro itojun Hagino | |
4 hex digits between colons. deraadt ok | |||
2006-12-09 | tweak the text on deprecated functions, after some help from tom; | Jason McIntyre | |
2006-12-09 | various tweaks; | Jason McIntyre | |
2006-12-09 | various tweaks; my apologies to itojun for forgetting to | Jason McIntyre | |
send him feedback for these | |||
2006-12-09 | switch IPv6 advanced API from RFC2292 to RFC3542 (2292 is superseded by 3542). | Jun-ichiro itojun Hagino | |
the kernel still handles RFC2292 set/getsockopts, so that compiled binary has no trouble running. userland sees RFC3542 symbols only on header file so new code has to use RFC3542 API. bump libc shlib minor for function additions. tested on i386/amd64 by jmc, i386 by brad. checked by deraadt. | |||
2006-12-08 | return is not a function. (cosmetic) | Jun-ichiro itojun Hagino | |
2006-11-17 | change semantics of ff01::/16 to interface local multicast | Jun-ichiro itojun Hagino | |
(to sync up with more recent IPv6 spec) ok from: deraadt mcbride | |||
2006-10-21 | remove calls to abort(3) that can't happen anyway; from | Otto Moerbeek | |
<bret dot lambert at gmail.com>; ok millert@ deraadt@ | |||
2006-09-25 | Remove unnecessary /* NOTREACHED */ comments because our lint is | Ray Lai | |
cool and recognizes __dead, and because shorter examples are clearer. OK otto@. | |||
2006-09-23 | If fgetln() != NULL, len == 0 is impossible, so remove check. | Ray Lai | |
OK otto@ and jaredy@. | |||
2006-04-18 | Clarify strlcpy code by explicitly naming variable `len' and | Ray Lai | |
separating out each step. Inspired during miscommunication with tedu@. OK deraadt@ | |||
2006-04-14 | Remove str2number(), use strtonum(3) instead. | Ray Lai | |
Fix some type mismatches. Replace magic numbers. Remove superfluous strlen(3) calls. Earlier diff OK kjell@, OK deraadt@ |