History log of /src/lib/libc/resolv/res_mkquery.c |
Revision | | Date | Author | Comments |
1.17 |
| 10-Feb-2024 |
andvar | s/psuedo/pseudo/ in comments.
|
1.16 |
| 28-Sep-2017 |
christos | PR/52578: Benjamin M. Schwartz Set the AD bit when DNSSEC is enabled (RFC 6840 Section 5.7).
|
1.15 |
| 24-Feb-2015 |
christos | branches: 1.15.8; belated removal of the advertising clause.
|
1.14 |
| 11-Nov-2014 |
christos | PR/48475: YAMAGUCHI Takanori: EDNS option broken with unbound. struct querybuf in net/gethnamaddr.c defines MAXPACKET to 64K. This in turn gets passed down until it reached res_nopt(..., answer, anslen), where the size of the buffer must fit in 16 bits. Unfortunately we end up being one more than the max so we end up sending a 0 as the size and unbound does not like that. Instead we clip now to 64K - 1, and everyone is happy. XXX: Pullup to 7.
|
1.13 |
| 13-Mar-2012 |
christos | branches: 1.13.10; PR/45989: Martin Husemann: lint invocation does include -w only on i386
- turn lint -w for all the platforms after fixing the lint warnings. - add _DIAGASSERTS() for casts that would assign values to types that would not fit. - change types, add casts - change into ansii prototypes - turn on _DIAGNOSTIC for libc (during current, to be eliminated for release builds)
approved by core@
|
1.12 |
| 12-Apr-2009 |
christos | branches: 1.12.6; 1.12.8; fix lint issues and actual bugs lint found (missing break statements)
|
1.11 |
| 12-Apr-2009 |
christos | merge libbind and bump.
|
1.10 |
| 21-Jun-2008 |
christos | branches: 1.10.4; 1.10.6; 1.10.8; 1.10.10; 1.10.14; - protect DEBUG again because we should be able to set it from the Makefile - add a missing cast to pacify lint.
|
1.9 |
| 21-Jun-2008 |
christos | updates from bind-9-5-0
|
1.8 |
| 30-Mar-2007 |
ghen | branches: 1.8.12; Resolve conflicts.
|
1.7 |
| 27-Jan-2007 |
christos | merge in resolver portion of bind-9.4.0-rc2
|
1.6 |
| 24-Jan-2006 |
christos | branches: 1.6.4; 1.6.6; don't re-define DEBUG
|
1.5 |
| 21-May-2004 |
christos | disable weak aliases for now; the resolver header file adds __ to all the names.
|
1.4 |
| 21-May-2004 |
christos | namespace protection for resolver routines.
|
1.3 |
| 20-May-2004 |
christos | netbsd rcsid.
|
1.2 |
| 20-May-2004 |
christos | silence lint.
|
1.1 |
| 20-May-2004 |
christos | branches: 1.1.1; Initial revision
|
1.1.1.4 |
| 12-Apr-2009 |
christos | libc portion of libbind from external/bsd/libbind
|
1.1.1.3 |
| 30-Mar-2007 |
ghen | Import bind 9.4.0.
|
1.1.1.2 |
| 27-Jan-2007 |
christos | import resolver portion of bind-9.4.0-rc2
|
1.1.1.1 |
| 20-May-2004 |
christos | Import libc portion of the resolver from bind9
|
1.6.6.1 |
| 03-Jun-2007 |
wrstuden | Catch up with now-somewhat-dated netbsd-4. These changes took longer than expected for me to actually get around to merging.
|
1.6.4.3 |
| 23-Jan-2011 |
bouyer | Apply patch, requested by spz in ticket 1413: dist/bind/ patch include/resolv.h patch include/arpa/nameser.h: patch lib/libc/include/isc/assertions.h: patch lib/libc/include/isc/eventlib.h patch lib/libc/isc/assertions.c: patch lib/libc/nameser/ns_parse.c patch lib/libc/resolv/herror.c: patch lib/libc/resolv/res_init.c patch lib/libc/resolv/res_mkquery.c: patch lib/libc/resolv/res_query.c patch lib/libc/resolv/res_send.c: patch usr.sbin/bind/Makefile.inc patch usr.sbin/bind/include/config.h: patch usr.sbin/bind/include/dns/code.h: patch usr.sbin/bind/include/dns/enumclass.h: patch usr.sbin/bind/include/dns/enumtype.h: patch usr.sbin/bind/include/dns/rdatastruct.h: patch usr.sbin/bind/include/isc/platform.h: patch usr.sbin/bind/include/lwres/netdb.h: patch usr.sbin/bind/include/lwres/platform.h: patch usr.sbin/bind/libisc/Makefile: patch lib/libc/inet/inet_addr.c new file
Update bind to 9.4-ESV-R4, latest version of the 9.4 line.
|
1.6.4.2 |
| 17-May-2007 |
jdc | branches: 1.6.4.2.2; Add missing BIND 9.4.x include file and library changes (requested by tron in ticket #662).
|
1.6.4.1 |
| 17-May-2007 |
jdc | Update BIND to version 9.4.1 (requested by christos in ticket #602). Thanks to tron for the patches, upgrade script and testing.
|
1.6.4.2.2.1 |
| 23-Jan-2011 |
bouyer | Apply patch, requested by spz in ticket 1413: dist/bind/ patch include/resolv.h patch include/arpa/nameser.h: patch lib/libc/include/isc/assertions.h: patch lib/libc/include/isc/eventlib.h patch lib/libc/isc/assertions.c: patch lib/libc/nameser/ns_parse.c patch lib/libc/resolv/herror.c: patch lib/libc/resolv/res_init.c patch lib/libc/resolv/res_mkquery.c: patch lib/libc/resolv/res_query.c patch lib/libc/resolv/res_send.c: patch usr.sbin/bind/Makefile.inc patch usr.sbin/bind/include/config.h: patch usr.sbin/bind/include/dns/code.h: patch usr.sbin/bind/include/dns/enumclass.h: patch usr.sbin/bind/include/dns/enumtype.h: patch usr.sbin/bind/include/dns/rdatastruct.h: patch usr.sbin/bind/include/isc/platform.h: patch usr.sbin/bind/include/lwres/netdb.h: patch usr.sbin/bind/include/lwres/platform.h: patch usr.sbin/bind/libisc/Makefile: patch lib/libc/inet/inet_addr.c new file
Update bind to 9.4-ESV-R4, latest version of the 9.4 line.
|
1.8.12.1 |
| 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
1.10.14.1 |
| 09-Jan-2011 |
riz | Apply patches (requested by spz in ticket #1517):
Update bind to 9.7.2-P3.
|
1.10.10.1 |
| 10-Jan-2011 |
riz | Apply patches (requested by spz in ticket #1517):
Update bind to 9.7.2-P3.
|
1.10.8.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
1.10.6.2 |
| 21-Jun-2008 |
christos | - protect DEBUG again because we should be able to set it from the Makefile - add a missing cast to pacify lint.
|
1.10.6.1 |
| 21-Jun-2008 |
christos | file res_mkquery.c was added on branch christos-time_t on 2008-06-21 23:37:54 +0000
|
1.10.4.2 |
| 20-Nov-2014 |
sborrill | Pull up the following revisions(s) (requested by christos in ticket #1932): lib/libc/resolv/res_mkquery.c: revision 1.14
Fix EDNS option being broken with unbound by clipping MAXPACKET to 64K - 1. Addresses PR/48475
|
1.10.4.1 |
| 06-Jan-2011 |
riz | Apply patches (requested by spz in ticket #1517):
Update bind to 9.7.2-P3.
|
1.12.8.1 |
| 02-Dec-2014 |
snj | Pull up following revision(s) (requested by pettai in ticket #1191): lib/libc/resolv/res_mkquery.c: revision 1.14 PR/48475: YAMAGUCHI Takanori: EDNS option broken with unbound. struct querybuf in net/gethnamaddr.c defines MAXPACKET to 64K. This in turn gets passed down until it reached res_nopt(..., answer, anslen), where the size of the buffer must fit in 16 bits. Unfortunately we end up being one more than the max so we end up sending a 0 as the size and unbound does not like that. Instead we clip now to 64K - 1, and everyone is happy.
|
1.12.6.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.13.10.1 |
| 12-Nov-2014 |
martin | Pull up following revision(s) (requested by christos in ticket #213): lib/libc/resolv/res_mkquery.c: revision 1.14 PR/48475: YAMAGUCHI Takanori: EDNS option broken with unbound. struct querybuf in net/gethnamaddr.c defines MAXPACKET to 64K. This in turn gets passed down until it reached res_nopt(..., answer, anslen), where the size of the buffer must fit in 16 bits. Unfortunately we end up being one more than the max so we end up sending a 0 as the size and unbound does not like that. Instead we clip now to 64K - 1, and everyone is happy. XXX: Pullup to 7.
|
1.15.8.1 |
| 25-Oct-2017 |
snj | Pull up following revision(s) (requested by jdolecek in ticket #317): lib/libc/net/getaddrinfo.c: revision 1.116 lib/libc/resolv/res_mkquery.c: revision 1.16 PR/52578: Benjamin M. Schwartz Set the AD bit when DNSSEC is enabled (RFC 6840 Section 5.7). -- PR/52578: Benjamin M. Schwartz: sync the internal copy of res_nquery for getaddrinfo, with the real version so that we handle EDNS fallback.
|