Systemd/src
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
..
ac-power coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
activate coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
analyze analyze: Fix build without seccomp (#10899) 2018-11-24 02:40:32 +09:00
ask-password coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
backlight tree-wide: port various places over to STARTSWITH_SET() 2018-11-26 14:08:46 +01:00
basic missing.h: remove duplicate definition of 'struct ethtool_link_settings' 2018-11-28 10:37:03 +01:00
binfmt coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
boot sd-boot: fix trailing whitespace trimming 2018-11-26 06:43:36 +09:00
busctl busctl: use new JSON_BUILD_PAIR_CONDITIONAL() for minimizing bus message JSON transformations 2018-11-28 08:38:55 +01:00
cgls coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
cgroups-agent log: introduce new helper call log_setup_service() 2018-11-20 11:18:22 +01:00
cgtop coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
core core: USB function properties do not change dynamically, don't claim so 2018-11-28 10:29:51 +01:00
coredump coccinelle: also mark previous synthetic errnos as such 2018-11-22 10:54:38 +01:00
cryptsetup tree-wide: port various places over to STARTSWITH_SET() 2018-11-26 14:08:46 +01:00
debug-generator coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
delta coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
detect-virt coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
dissect coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
environment-d-generator Drop my copyright headers 2018-06-14 13:03:20 +02:00
escape coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
firstboot coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
fsck basic/main-func: propagate all positive return values 2018-11-20 16:48:21 +01:00
fstab-generator coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
fuzz Merge pull request #10952 from evverx/keep-fuzz-udev-rules-going 2018-11-28 11:33:27 +09:00
getty-generator generators: drop umask calls 2018-11-21 13:40:24 +01:00
gpt-auto-generator generators: drop umask calls 2018-11-21 13:40:24 +01:00
hibernate-resume coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
hostname Split out pretty-print.c and move pager.c and main-func.h to shared/ 2018-11-20 18:40:02 +01:00
hwdb Split out pretty-print.c and move pager.c and main-func.h to shared/ 2018-11-20 18:40:02 +01:00
id128 coccinelle: also mark previous synthetic errnos as such 2018-11-22 10:54:38 +01:00
import import: use structured initializers 2018-11-24 03:53:18 +09:00
initctl coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
journal tree-wide: use IOVEC_MAKE() at many places 2018-11-27 10:12:27 +01:00
journal-remote journal-upload: use static initialization 2018-11-26 14:08:46 +01:00
kernel-install kernel-install: teach bot loader spec entry generator to generate entries with "tries" 2018-10-19 22:34:50 +02:00
libsystemd tree-wide: more IOVEC_MAKE() conversions 2018-11-28 13:08:19 +09:00
libsystemd-network tree-wide: more IOVEC_MAKE() conversions 2018-11-28 13:08:19 +09:00
libudev libudev: drop unnecessary check 2018-11-23 09:16:11 +01:00
locale locale: define main through macro 2018-11-23 06:22:30 +09:00
login tree-wide: port various places over to STARTSWITH_SET() 2018-11-26 14:08:46 +01:00
machine tree-wide: more IOVEC_MAKE() conversions 2018-11-28 13:08:19 +09:00
machine-id-setup coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
modules-load modules-load: use static destructor and DEFINE_MAIN_FUNCTION() macro 2018-11-20 18:40:02 +01:00
mount coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
network tests: suppress "unwanted log lines" in several fuzzers 2018-11-28 10:10:09 +09:00
notify coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
nspawn Merge pull request #10901 from poettering/startswith-list 2018-11-26 22:40:51 +09:00
nss-myhostname nss: do not modify errno when NSS_STATUS_NOTFOUND or NSS_STATUS_SUCCESS 2018-07-25 10:23:22 +02:00
nss-mymachines Merge pull request #9504 from poettering/nss-deadlock 2018-07-26 10:16:25 +02:00
nss-resolve Merge pull request #9504 from poettering/nss-deadlock 2018-07-26 10:16:25 +02:00
nss-systemd nss: do not modify errno when NSS_STATUS_NOTFOUND or NSS_STATUS_SUCCESS 2018-07-25 10:23:22 +02:00
partition coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
path coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
portable coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
quotacheck coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
random-seed coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
rc-local-generator rc-local-generator: provide more debugging information 2018-11-27 15:24:07 +01:00
remount-fs coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
reply-password log: introduce new helper call log_setup_service() 2018-11-20 11:18:22 +01:00
resolve resolved: Increase size of TCP stub replies 2018-11-28 14:06:36 +01:00
rfkill rfkill: define main through macro 2018-11-23 06:22:30 +09:00
run tree-wide: port various places over to STARTSWITH_SET() 2018-11-26 14:08:46 +01:00
shared Merge pull request #10961 from poettering/busctl-monitor-json 2018-11-28 10:30:53 +01:00
sleep coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
socket-proxy socket-proxy: define main through macro 2018-11-23 06:22:30 +09:00
stdio-bridge coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
sulogin-shell log: introduce new helper call log_setup_service() 2018-11-20 11:18:22 +01:00
sysctl coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
system-update-generator generators: drop umask calls 2018-11-21 13:40:24 +01:00
systemctl systemctl: separate out paragraphs in long message with empty line 2018-11-28 08:43:47 +01:00
systemd network: add sd_dhcp_route_get_option() accessor 2018-11-27 12:20:19 +01:00
sysusers sysusers: use ordered_hashmap_steal_first_key_and_value() 2018-11-23 06:22:30 +09:00
sysv-generator generators: drop umask calls 2018-11-21 13:40:24 +01:00
test Merge pull request #10961 from poettering/busctl-monitor-json 2018-11-28 10:30:53 +01:00
time-wait-sync time-wait: define main through macro 2018-11-23 06:22:30 +09:00
timedate timedate: define main through macro 2018-11-23 06:22:30 +09:00
timesync coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
tmpfiles coccinelle: also mark previous synthetic errnos as such 2018-11-22 10:54:38 +01:00
tty-ask-password-agent coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
udev tree-wide: use IOVEC_MAKE() at many places 2018-11-27 10:12:27 +01:00
update-done update-done: quit earlier on failure 2018-11-23 06:22:30 +09:00
update-utmp update-utmp: use _cleanup_ attribute to finalize process 2018-11-23 06:22:30 +09:00
user-sessions coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
vconsole vconsole: Don't skip udev call for dummy device 2018-11-22 00:59:24 +01:00
veritysetup veritysetup-generator: use static destructors and define main through macro 2018-11-23 06:22:30 +09:00
volatile-root coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00