Open nuttysquirrel opened 5 years ago
I can confirm that described behavior with UDP packets and pen 0.35. I can also confirm that it does not happen with 0.25.1. I have not checked every subsequent version to find where it broke, though.
It also happens with 0.34.1. Unfortunately, I could not track it further down the versions because of compilation errors with OpenSSL...
hi all, I'm running into issues with UDP based DNS resolution (getting consistent but 'random' timeouts). I'm using pen from github / compiled source (it says "pen 0.35.0").
I've added basic packet captures. It represents 3 concurrent "nslookup www.cname.myserver.guy" attempts, nothing fancy - just start the pen process and try three times. the first two work fine, the last does not.
In the first transaction, the source port of the udp request 46590 matches in the return packet. The nslookup works fine.
The same for the second transaction, the source port 35253 matches in the return packet, and the nslookup works fine..
however! in the third request, the source port is 39939 but the return packet has the port of the previous packet 35253. This packet never gets back to the nslookup and so fails with a timeout.
For what it's worth... if I change the config to use TCP for DNS requests, it all works wonderfully!
oh, another interesting point is that the exact same configuration with pen 0.25.1 also works with no issues.