[trafficserver] branch master updated (be2cee7 -> bf95bcc)
This is an automated email from the ASF dual-hosted git repository. maskit pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/trafficserver.git. from be2cee7 Fix QUIC unit test failures (#7497) add bf95bcc Fix QUIC unit tests build issue on GNU ld (#7496) No new revisions were added by this update. Summary of changes: iocore/net/quic/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[trafficserver] branch master updated (ef21e32 -> be2cee7)
This is an automated email from the ASF dual-hosted git repository. maskit pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/trafficserver.git. from ef21e32 Fixed build issues with Fedora 34 (#7506) add be2cee7 Fix QUIC unit test failures (#7497) No new revisions were added by this update. Summary of changes: iocore/net/quic/test/test_QUICHandshakeProtocol.cc | 38 +- .../quic/test/test_QUICPacketHeaderProtector.cc| 30 + 2 files changed, 53 insertions(+), 15 deletions(-)
[trafficserver] branch master updated: Fixed build issues with Fedora 34 (#7506)
This is an automated email from the ASF dual-hosted git repository. bcall pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/trafficserver.git The following commit(s) were added to refs/heads/master by this push: new ef21e32 Fixed build issues with Fedora 34 (#7506) ef21e32 is described below commit ef21e325420a0e94548caefa24bee66e4ec43fca Author: Bryan Call AuthorDate: Tue Feb 9 15:38:43 2021 -0800 Fixed build issues with Fedora 34 (#7506) --- include/tscore/Extendible.h | 1 + include/tscpp/util/TextView.h | 1 + 2 files changed, 2 insertions(+) diff --git a/include/tscore/Extendible.h b/include/tscore/Extendible.h index ea94a74..2fbfb7a 100644 --- a/include/tscore/Extendible.h +++ b/include/tscore/Extendible.h @@ -44,6 +44,7 @@ #include #include #include +#include #include "tscore/AtomicBit.h" #include "tscore/ink_assert.h" diff --git a/include/tscpp/util/TextView.h b/include/tscpp/util/TextView.h index 27b09d9..b3b1eff 100644 --- a/include/tscpp/util/TextView.h +++ b/include/tscpp/util/TextView.h @@ -32,6 +32,7 @@ #include #include #include +#include /** Compare views with ordering, ignoring case. *
[trafficserver] branch master updated: Fixing DNS local_ipv* config option (#7507)
This is an automated email from the ASF dual-hosted git repository. eze pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/trafficserver.git The following commit(s) were added to refs/heads/master by this push: new 5feefeb Fixing DNS local_ipv* config option (#7507) 5feefeb is described below commit 5feefebddc430322c1c3b6bec37e6fbce1c4b06a Author: Evan Zelkowitz AuthorDate: Tue Feb 9 14:16:14 2021 -0700 Fixing DNS local_ipv* config option (#7507) The DNS local ip setting currently does not work. It gets overwritten with a default ANY address when we, by default, go to choose a random port. This removes the shadowing of the local variable that already has the local address either set via parameter or set to ANY if a parameter is not set. Also adding records docs to make this a real parameter that people can know about --- doc/admin-guide/files/records.config.en.rst | 9 + iocore/dns/DNSConnection.cc | 11 --- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/doc/admin-guide/files/records.config.en.rst b/doc/admin-guide/files/records.config.en.rst index 47e1880..501f231 100644 --- a/doc/admin-guide/files/records.config.en.rst +++ b/doc/admin-guide/files/records.config.en.rst @@ -2570,6 +2570,15 @@ DNS Maximum number of retries made by |TS| on a given DNS query +.. ts:cv:: CONFIG proxy.config.dns.local_ipv4 STRING NULL + + Local IPV4 address to bind to in order to make DNS requests + +.. ts:cv:: CONFIG proxy.config.dns.local_ipv6 STRING NULL + + Local IPV6 address to bind to in order to make DNS requests + + HostDB == diff --git a/iocore/dns/DNSConnection.cc b/iocore/dns/DNSConnection.cc index 1f2dab6..35e49a2 100644 --- a/iocore/dns/DNSConnection.cc +++ b/iocore/dns/DNSConnection.cc @@ -140,17 +140,6 @@ DNSConnection::connect(sockaddr const *addr, Options const ) if (opt._bind_random_port) { int retries = 0; -IpEndpoint bind_addr; -size_t bind_size = 0; -memset(_addr, 0, sizeof bind_addr); -bind_addr.sa.sa_family = af; -if (AF_INET6 == af) { - bind_addr.sin6.sin6_addr = in6addr_any; - bind_size= sizeof bind_addr.sin6; -} else { - bind_addr.sin.sin_addr.s_addr = INADDR_ANY; - bind_size = sizeof bind_addr.sin; -} while (retries++ < 1) { ip_port_text_buffer b; uint32_t p = generator.random();
[trafficserver] branch master updated (92a20b7 -> 03455f1)
This is an automated email from the ASF dual-hosted git repository. bneradt pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/trafficserver.git. from 92a20b7 Disable ja3 plugin when building with boringssl (#7500) add 03455f1 traffic_dump: AuTests to use Proxy Verifier. (#7502) No new revisions were added by this update. Summary of changes: .../traffic_dump/replay/traffic_dump.yaml | 335 + .../traffic_dump/replay/various_sni.yaml} | 70 +++-- .../ssl/{server.key => server_combined.pem}| 21 ++ .../pluginTest/traffic_dump/traffic_dump.test.py | 229 +++--- .../traffic_dump/traffic_dump_sni_filter.test.py | 82 ++--- 5 files changed, 461 insertions(+), 276 deletions(-) create mode 100644 tests/gold_tests/pluginTest/traffic_dump/replay/traffic_dump.yaml copy tests/gold_tests/{url/uri.replay.yaml => pluginTest/traffic_dump/replay/various_sni.yaml} (60%) copy tests/gold_tests/pluginTest/traffic_dump/ssl/{server.key => server_combined.pem} (57%)