Systemd/src/resolve
Victor Tapia e6eed94459 resolved: Increase size of TCP stub replies
DNS_PACKET_PAYLOAD_SIZE_MAX is limiting the size of the stub replies to
512 with EDNS off or 4096 with EDNS on, without checking the protocol
used. This makes TCP replies for clients without EDNS support to be
limited to 512, making the truncate flag useless if the query result is
bigger than 512 bytes.

This commit increases the size of TCP replies to DNS_PACKET_SIZE_MAX

Fixes: #10816
2018-11-28 14:06:36 +01:00
..
RFCs resolve: add support for RFC 8080 (#7600) 2017-12-12 16:30:12 +01:00
dns-type.c Drop my copyright headers 2018-06-14 13:03:20 +02:00
dns-type.h Drop my copyright headers 2018-06-14 13:03:20 +02:00
dns_type-to-name.awk meson: also indent scripts with 8 spaces 2017-04-25 08:49:16 -04:00
generate-dns_type-gperf.py tree-wide: adjust fall through comments so that gcc is happy 2017-11-20 13:06:25 -08:00
generate-dns_type-list.sed meson: build systemd using meson 2017-04-23 21:47:26 -04:00
meson.build Merge pull request #9770 from keszybz/etc-resolved-no-address 2018-08-02 12:54:50 +09:00
org.freedesktop.resolve1.conf resolved: add legacy dbus service and policy files 2014-07-16 03:41:39 +02:00
org.freedesktop.resolve1.policy meson: drop unnecessary "transformation" of policy files 2018-02-16 13:01:12 +01:00
org.freedesktop.resolve1.service Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
resolv.conf resolve: update comments to mention resolvectl 2018-05-03 17:10:15 +09:00
resolvconf-compat.c coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
resolvconf-compat.h tree-wide: add multiple inclusion guard 2018-06-25 13:04:59 +09:00
resolvectl.c resolvectl: use static destructor and define main through macro 2018-11-23 06:22:30 +09:00
resolvectl.h resolve: reduce number of conversions between ifname and ifindex 2018-06-26 23:09:36 -07:00
resolved-bus.c Revert "resolve: enable DynamicUser= for systemd-resolved.service" 2018-09-20 16:52:02 +02:00
resolved-bus.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
resolved-conf.c meson: make DNS-over-TLS support optional 2018-06-20 22:28:01 +02:00
resolved-conf.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
resolved-def.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
resolved-dns-answer.c tree-wide: use DEFINE_TRIVIAL_REF_UNREF_FUNC() macro or friends where applicable 2018-08-27 14:01:46 +09:00
resolved-dns-answer.h resolve: fix return value type of dns_answer_has_dname_for_cname() 2018-06-25 13:25:42 +09:00
resolved-dns-cache.c resolve: do not hit CNAME or DNAME entry in NODATA cache (#9836) 2018-08-13 14:32:33 +09:00
resolved-dns-cache.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
resolved-dns-dnssec.c coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
resolved-dns-dnssec.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
resolved-dns-packet.c coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
resolved-dns-packet.h resolved: Increase size of TCP stub replies 2018-11-28 14:06:36 +01:00
resolved-dns-query.c resolve: drop dead code 2018-06-25 13:46:52 +09:00
resolved-dns-query.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
resolved-dns-question.c tree-wide: use DEFINE_TRIVIAL_REF_UNREF_FUNC() macro or friends where applicable 2018-08-27 14:01:46 +09:00
resolved-dns-question.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
resolved-dns-rr.c tree-wide: use DEFINE_TRIVIAL_REF_UNREF_FUNC() macro or friends where applicable 2018-08-27 14:01:46 +09:00
resolved-dns-rr.h tree-wide: use typesafe_qsort() 2018-09-19 08:02:52 +09:00
resolved-dns-scope.c tree-wide: introduce setsockopt_int() helper and make use of it everywhere 2018-10-18 19:50:29 +02:00
resolved-dns-scope.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
resolved-dns-search-domain.c tree-wide: use DEFINE_TRIVIAL_REF_UNREF_FUNC() macro or friends where applicable 2018-08-27 14:01:46 +09:00
resolved-dns-search-domain.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
resolved-dns-server.c tree-wide: use DEFINE_TRIVIAL_REF_UNREF_FUNC() macro or friends where applicable 2018-08-27 14:01:46 +09:00
resolved-dns-server.h resolved: refactor GnuTLS specific code in separate source file 2018-07-27 21:23:17 +01:00
resolved-dns-stream.c tree-wide: use IOVEC_MAKE() at many places 2018-11-27 10:12:27 +01:00
resolved-dns-stream.h tree-wide: use unsigned for refcount 2018-08-27 13:48:04 +09:00
resolved-dns-stub.c tree-wide: introduce setsockopt_int() helper and make use of it everywhere 2018-10-18 19:50:29 +02:00
resolved-dns-stub.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
resolved-dns-synthesize.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
resolved-dns-synthesize.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
resolved-dns-transaction.c coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
resolved-dns-transaction.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
resolved-dns-trust-anchor.c resolved-dns-trust-anchor: FOREACH_LINE excorcism 2018-10-18 16:23:45 +02:00
resolved-dns-trust-anchor.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
resolved-dns-zone.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
resolved-dns-zone.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
resolved-dnssd-bus.c tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
resolved-dnssd-bus.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
resolved-dnssd-gperf.gperf resolved: add enablers for DNS-SD 2017-12-08 14:29:27 +02:00
resolved-dnssd.c coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
resolved-dnssd.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
resolved-dnstls-gnutls.c coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
resolved-dnstls-gnutls.h resolve: sort headers 2018-08-06 09:57:00 +02:00
resolved-dnstls-openssl.c tree-wide: use IOVEC_MAKE() at many places 2018-11-27 10:12:27 +01:00
resolved-dnstls-openssl.h resolve: sort headers 2018-08-06 09:57:00 +02:00
resolved-dnstls.h resolved: TCP Fast Open and TLS Session Tickets for OpenSSL 2018-07-27 21:23:17 +01:00
resolved-etc-hosts.c coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
resolved-etc-hosts.h test-resolved-etc-hosts: add tests for /etc/hosts parsing 2018-08-01 12:38:39 +02:00
resolved-gperf.gperf resolve: add option to toggle reading /etc/hosts 2018-07-28 21:46:00 +09:00
resolved-link-bus.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
resolved-link-bus.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
resolved-link.c fileio: automatically add NULL sentinel to parse_env_file() 2018-11-14 17:01:55 +01:00
resolved-link.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
resolved-llmnr.c resolved-llmnr: use TAKE_FD() 2018-10-19 05:58:03 +09:00
resolved-llmnr.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
resolved-manager.c tree-wide: more IOVEC_MAKE() conversions 2018-11-28 13:08:19 +09:00
resolved-manager.h resolved: keep addresses mapped to ::0 in a separate set 2018-08-01 12:38:39 +02:00
resolved-mdns.c resolved-mdns: use TAKE_FD() 2018-10-19 06:03:19 +09:00
resolved-mdns.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
resolved-resolv-conf.c Move LONG_LINE_MAX definition to fileio.h 2018-11-14 16:25:32 +01:00
resolved-resolv-conf.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
resolved.c log: introduce new helper call log_setup_service() 2018-11-20 11:18:22 +01:00
resolved.conf.in resolve: add option to toggle reading /etc/hosts 2018-07-28 21:46:00 +09:00
test-dns-packet.c test: remove support for suffix in get_testdata_dir() 2018-09-12 09:49:03 -07:00
test-dnssec-complex.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
test-dnssec.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
test-resolve-tables.c test: add more string-table tests in test-resolve-tables 2018-07-24 01:26:14 +09:00
test-resolved-etc-hosts.c test-resolved: fix whitespace issue 2018-08-06 21:16:31 +02:00
test-resolved-packet.c Drop my copyright headers 2018-06-14 13:03:20 +02:00