Tom Thorogood
b541b4ea49
Use the correct root domain name in the proxy plugin's TestHealthX tests ( #6395 )
...
When packing the empty domain name, miekg/dns can end up creating
corrupt DNS messages. With some planned unpacking changes, this now
trips an error condition and causes these tests to fail. Correct this
by using the root domain explicitly as this gets correctly encoded on
the wire.
Signed-off-by: Tom Thorogood <me+github@tomthorogood.net >
2023-11-08 12:00:32 -08:00
Sri Harsha
4c69549832
Handle UDP responses that overflow with TC bit with test case ( #6277 )
...
Signed-off-by: SriHarshaBS001 <SriHarshaBS009@gmail.com >
2023-09-07 15:01:45 -04:00
Chris O'Haver
678d0333af
Revert "plugin/forward: Continue waiting after receiving malformed responses ( #6014 )" ( #6270 )
...
This reverts commit 604a902e2c .
2023-08-14 20:33:37 -04:00
Pat Downey
ea293da1d6
Fix forward metrics for backwards compatibility ( #6178 )
2023-07-04 16:35:55 +02:00
Chris O'Haver
604a902e2c
plugin/forward: Continue waiting after receiving malformed responses ( #6014 )
...
* forward: continue waiting after malformed responses
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
* add test
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
* fix test
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
* clean up
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
* clean up
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
* move test to /test/. Add build tag.
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
* install libpcap-dev for e2e tests
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
* sudo the test
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
* remove stray err check
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
* disable the test
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
* use -exec flag to run test binary as root
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
* run new test by itself in a new workflow
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
* fix test name
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
* only for udp
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
* remove libpcap test workflow action
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
* remove test, since it cant run in ci
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
* and remove gopacket package
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
---------
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
2023-04-29 11:52:00 +02:00
cui fliter
ee3999303d
fix some comments ( #6052 )
...
Signed-off-by: cui fliter <imcusg@gmail.com >
2023-04-25 11:25:07 -04:00
Vancl
7db1d4f6e9
Prevent fail counter of a proxy overflows ( #5990 )
...
Signed-off-by: vanceli <vanceli@tencent.com >
Signed-off-by: Vance Li <vncl@YingyingM1.local >
Co-authored-by: vanceli <vanceli@tencent.com >
2023-04-16 16:08:56 +02:00
Pat Downey
f823825f8a
plugin/forward: Allow Proxy to be used outside of forward plugin. ( #5951 )
...
* plugin/forward: Move Proxy into pkg/plugin/proxy, to allow forward.Proxy to be used outside of forward plugin.
Signed-off-by: Patrick Downey <patrick.downey@dioadconsulting.com >
2023-03-24 08:55:51 -04:00