Additionally, I've tried a few other things:Ĭreating another interface using tunctl, and making socat use that interface. I can confirm that it doesn't happen on a fresh Debian install. Īs requested, the relevant output of netstat -aun Proto Recv-Q Send-Q Local Address Foreign Address State When using TCP, the output is slightly different: listening on 23456. The affected server is running Debian 10, Linux kernel version is 4.19.0-13-amd64, socat version is 1.7.3.2. Am I misunderstanding something about networking, or am I using socat incorrectly? Instead of seeing as the source address, I would have expected to see 127.0.0.2. This gave me the following unexpected output: listening on 23456. Using netcat to test this, I ran nc -u -l -p 23456 -vv and echo test | nc -u 127.0.0.1 12345. I am using socat to forward UDP traffic from one port to another with the following command: socat -T5 UDP4-LISTEN:12345,reuseaddr,fork UDP4:127.0.0.1:23456,bind=127.0.0.2,so-bindtodevice=lo
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |