summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bind/lib/isc/unix/net.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Finish moving of dig(1) to /usr/bin/dig by removing the sources in theflorian2020-02-111-43/+0
| | | | | old location. dig(1) sources can be found in src/usr.bin/dig. ok deraadt@
* We can always create IPv4 and IPv6 sockets.florian2020-01-231-311/+4
| | | | | While here cleanup net.h. OK deraadt
* config.h and platform.h are unused nowflorian2020-01-221-2/+2
|
* unifdef the last config.h bitsflorian2020-01-221-48/+1
| | | | OK millert
* Spell out PORT_NONBLOCK as O_NONBLOCK and ISC_SOCKADDR_LEN_T asflorian2020-01-221-5/+1
| | | | | socklen_t. OK millert
* As millert@ points out we can replace isc_string_touint64 withflorian2020-01-201-2/+2
| | | | | strtoull(3) and then get rid of lib/isc/string.c OK millert
* Do not use a message catalog for error messages.florian2020-01-201-24/+5
| | | | | It's not installed anyway. OK millert
* unifdef network defines:florian2020-01-091-31/+1
| | | | | | | | | | | | | | | | | | | | | | | | | #define ISC_PLATFORM_HAVESALEN 1 #define ISC_PLATFORM_HAVEIPV6 1 #undef ISC_PLATFORM_NEEDIN6ADDRANY #undef ISC_PLATFORM_NEEDIN6ADDRLOOPBACK #define ISC_PLATFORM_HAVEIN6PKTINFO 1 #undef ISC_PLATFORM_HAVEINADDR6 #define ISC_PLATFORM_HAVESCOPEID 1 #undef ISC_PLATFORM_NEEDNTOP #undef ISC_PLATFORM_NEEDPTON #undef ISC_PLATFORM_NEEDPORTT #undef ISC_PLATFORM_HAVELIFCONF #undef ISC_PLATFORM_HAVEIF_LADDRCONF #undef ISC_PLATFORM_HAVEIF_LADDRREQ #define ISC_NET_BSD44MSGHDR 1 #define ISC_PLATFORM_HAVEIFNAMETOINDEX 1 #undef ISC_PLATFORM_FIXIN6ISADDR #define ISC_PLATFORM_HAVESOCKADDRSTORAGE 1 #define ISC_PLATFORM_HAVEKQUEUE 1 #undef ISC_PLATFORM_HAVEEPOLL #undef ISC_PLATFORM_HAVEDEVPOLL prodding deraadt@
* Do not need the getudpportrange functions. We don't need to perform anyderaadt2019-12-191-119/+1
| | | | | | crazy random port allocation for dns 'security' in USERLAND because the KERNEL has automatically done port-randomization since 1996 (wow the year of BSE in Britain)
* disable all the dscp probing code. it sees all the dscp optionderaadt2019-12-171-351/+4
| | | | | | | | defines, but is trying to determine if the kernel has it enabled/disabled, mostly by performing tests against localhost. instead, just declare dscp works. since dscp probing happens late, it runs into problems with pledge. we prefer pledge over this lovecraftian horror.
* Add back some SOCK_DNS to socket() calls, and add a few more whilederaadt2019-12-171-7/+7
| | | | here (since this codebase will only support dig & nslookup)
* update to 9.10.8-P1, last isc-licensed releasesthen2019-12-171-3/+5
|
* knock out some unused variable warningsderaadt2019-12-161-3/+3
|
* disable IP_RECVTOS below try_proto() alsoderaadt2019-12-161-2/+2
|
* Update to bind-9.10.5-P3, which appears to have been the last ISC version.deraadt2019-12-161-15/+561
| | | | | | | | | We only use this tree to build dig and nslookup. Our previous version predated edns0 support in those tools, and we want that. This is the worst code I've looked at in years, with layers and layers of spaghetti abstraction clearly unfit for reuse, but then reused anyways, and the old ones remain behind. So this is a 8MB diff. florian, sthen, and otto tried this merge before but failed.
* pledge bind(1), dig(1), and nslookup(1). This modifies the underlyingderaadt2015-10-251-4/+4
| | | | | | | ISC library to use socket(2) with the SOCK_DNS flag. As a result, the port commands are disabled (such practice is rare in the wild these days, and pretty incompatible with the DNS vs regular socket concept in pledge..) ok bluhm phessler reyk, etc
* ISC BIND release 9.4.2jakob2007-12-091-10/+29
|
* ISC BIND release 9.3.2jakob2006-04-051-2/+6
|
* ISC BIND version 9.3.0. ok deraadt@jakob2004-09-281-13/+204
|
* ISC BIND version 9.2.2rc1jakob2003-01-201-0/+153