summaryrefslogtreecommitdiff
path: root/lib/libc/net
AgeCommit message (Collapse)Author
2013-09-30Use PATH_MAX, NAME_MAX and LOGIN_NAME_MAX not MAXPATHNAMELEN,Todd C. Miller
MAXNAMLEN or MAXLOGNAME where possible. OK deraadt@
2013-08-14use Bsx;Jason McIntyre
from jan stary
2013-07-16use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@Ingo Schwarze
2013-07-16more macro simplification; from Jan StaryJason McIntyre
2013-07-10rfc 3493 obsoletes 2553. i spotted this after reading hiroki sato's changesJason McIntyre
in freebsd src commit r253066. our man pages had been updated, but i must have missed the following: - getnameinfo.3: 2553 -> 3493 - ip6.4: we listed both. remove 2553.
2013-06-05Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarzeTed Unangst
2013-04-17use CLOCK_MONOTONIC, and repair future time_t overflowTheo de Raadt
ok millert guenther
2013-03-31getaddrinfo is now thread-safe.Brad Smith
ok eric@
2013-03-26protect the PRG state with a mutex in res_randomid().Eric Faurot
ok deraadt@ guenther@ djm@
2013-03-20Use a realloc() loop around the sysctl() for NET_RT_IFLIST, in case anTheo de Raadt
interface is added at just the right... wrong moment. ok millert dlg
2012-12-12document RES_USE_DNSSEC; text tweaked by sthenJason McIntyre
ok jakob
2012-11-29- put the various options into the same order as those in resolv.hJason McIntyre
- sync RES_DEBUG with resolv.conf.5 - document RES_PRIMARY, but mark it unsupported (like we already do for RES_AAAONLY) - use the exact same text (about being enabled by default) for RES_RECURSE as for the other two defaults - document RES_INSECURE{1,2} - description lifted from resolv.conf.5 - document RES_NOALIASES - mostly sync the RES_USE_EDNS0 text with resolv.conf.5 - RES_USE_DNSSEC not documented for now. something to come... ok sthen
2012-11-19remove some useless Tn and double punctuation;Jason McIntyre
2012-11-19RES_IGNTC is no longer ignored; ok sthenJason McIntyre
2012-09-27last stage of rfc changes, using consistent Rs/Re blocks, and moving theJason McIntyre
references into a STANDARDS section;
2012-08-22rfc 2553 (not 2533) has been replaced by rfc 3493;Jason McIntyre
2012-08-21- remove inconsistent/obsolete commentsJason McIntyre
- update rfc references - make the Rs/Re blocks more consistent
2012-08-21flesh out the rfc section;Jason McIntyre
rfc 5321 replaces 974 and 2821;
2012-08-20rfc 4291 replaces rfcs 2373 and 3513;Jason McIntyre
2012-07-13Use same (lame) verbiage to explain ifa_dstaddr as is used forKenneth R Westerback
ifa_broadaddr. i.e. make it make clear that this field is only valid for P2P. (Hint: one's a field, and one's a #define giving a new name to said field) ok guenther@
2012-06-24- document newly imported AF_INET6 support to net_inet_{pton,ntop}Gilles Chehade
diff from Florian Obser, ok jmc@
2012-06-22add support for AF_INET6 to inet_net_pton() and inet_net_ntop()Gilles Chehade
using inet_pton() and inet_ntop() as suggested by claudio ok claudio@
2012-04-22Document that getpeereid() works for SOCK_SEQPACKET sockets too.Matthew Dempsky
2012-04-20use "an addrinfo", not "a addrinfo". ok jmcStuart Henderson
2012-04-20rearrange DESCRIPTION somewhat to make this page more readable;Jason McIntyre
from Lawrence Teo
2012-04-10Do not pick the network number as alias on entries with no aliasEric Faurot
defined. ok deraadt@
2012-03-20the disease is spreadingDavid Gwynne
2012-01-17net_addrcmp() dies. found out to be a horrific function by ericTheo de Raadt
ok guenther
2012-01-03draft-ietf-ipv6-scoping-arch-02 has become RFC 4007, as noted byJason McIntyre
Poul-Henning Kamp, freebsd pr docs/163771; ok sthen
2011-04-19Fix spacing nit.Matthew Dempsky
ok jmc@
2011-04-05Add AI_FQDN flag to getaddrinfo(3). Prompted by discussions with djm@Matthew Dempsky
about cert checking in OpenSSH. Man page wording tweaks thanks to jmc@. ok henning@, jmc@; positive feedback from djm@, ajacoutat@ Committing now to reuse guenther@'s libc minor bump instead of cranking it again, as suggested by deraadt@.
2010-09-24Implement if_freenameindex() as a real function as required by posix.Claudio Jeker
OK deraadt@, millert@
2010-07-01getpeereid() can now be a library routine using getsockopt() withTheo de Raadt
SOL_SOCKET and SO_PEERCRED, only issue being that it cannot return EFAULT for a page fault. The kernel code will soon be put into compat, and then in 10 years or so tedu will delete it. ok guenther millert
2010-06-29use a union to align the dns answer buffer until gcc4 is fixedTheo de Raadt
2010-06-29use a union to align the dns answer buffer until gcc4 is fixedTheo de Raadt
2010-05-06Do not return success when the IPv6 address has a :: and 8 hex sections.Claudio Jeker
::1:2:3:4:5:6:7:8 for example. PR 6277, fix by Jun KAWAI (kwj at vlax net) OK henning, gilles, jsing (who also reminded me to remove the now wrong comment about superfluous ::)
2010-02-03Use MACHINE_CPU instead of MACHINE_ARCH to pick the correct machine dependentMiod Vallat
files or directories when applicable. The inspiration and name of MACHINE_CPU come from NetBSD, although the way to provide it to Makefiles is completely different. ok kettenis@
2009-12-29replace a few remaining UNIX terms with .Ux macros; this diffIgor Sobrado
completes the changes from Oct 22.
2009-11-18More shrinkage, a bit for ramdisks but mostly for static binaries:Philip Guenthe
- wrap with #ifndef NO_LOG_BAD_DNS_RESPONSES libc code that uses p_class() and p_type() for diagnostics, then add that define to libstub to avoid pulling in res_debug_syms.o - split rcmd() and ruserok() into separate files, as nothing uses both - split readdir_r() to its own file - split syslog_r() from syslog(), as the latter needs localtime(); many binaries no longer need to pull in all the time code after this; switch from usleep() to nanosleep() while we're at it (The profit of analysis of -Wl,-M,--cref output) Chops 888kB from /bin and /sbin on i386 ok deraadt@, miod@
2009-09-02make getaddrinfo(3) accept numeric servname when ai_socktype is notFederico G. Schwindt
specified in hint or hints is NULL. claudio@ ok
2009-08-13various MLINK fixes from Alan R. S. Bueno;Jason McIntyre
2009-07-09promote correct style for error checkingEric Faurot
ok tedu@ deraadt@ krw@
2009-06-05compare and shift buffer against a fixed length not strlen derived values.Pierre-Yves Ritschard
ok otto@
2009-06-04simplify the 'family' option parser and make it more evident what we'rePierre-Yves Ritschard
now doing. ok deraadt@
2009-06-04Add a resolv.conf option to specify the order in which getaddrinfoPierre-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-06Document AI_NUMERICSERV; feedback and ok millert@Jacek Masiulaniec
2009-03-17correct argument type for swap64(); from Thomas PfaffJason McIntyre
2008-12-22The example for detecting malicious PTR records could be easily misinterpreted.Jacek Masiulaniec
Make it less ambiguous; ok gilles@ claudio@
2008-12-09fix inet_ntop(3) prototype; ok millert@ libc to be bumbed very soonOtto Moerbeek