hexdumps for incoming udp packets? #527
|
Are they supposed to be there? Line 49 in 579baae UDP itself works, although there is only one is_udp: true entry in the protocols section, so maybe the probing is just optimized out in this case. UPD: apparently it gets optimized out, because if I add another UDP protocol entry, then the first one stops working (my regex isn't good enough yet ;) UPD2: I'm using to send test packets and I can see them in the internal server debug logs (when there is only one UDP protocol entry and everything gets forwarded there), so the test method is correct/working. UPD3: Line 286 in 579baae I know that I can run tcpdump and get all that easily, but thought that it might be nice to have consistent behaviour for both tcp and udp ;) |
Replies: 2 comments 1 reply
|
Basically this seems to do the job: (Should I create a pull request for this? I think this is useful..) Funny thing is that despite having libwrap0-dev installed and compiled in: ..I still get this message during startup: |
|
Yes, it's surprising I didn't need hexdump for UDP debugging... Thanks for prodding me, I did it slightly differently in probe_buffer() instead to avoid code duplication. About the libwrap issue: does it say you have it when you |
Thanks for the fix!
Yes, indeed
sslh -Vdidn't show libwrap 🤔 Anyway, doinggit clean -xfdand thenconfigureagain solved this. Thanks!