ipt-netflow icon indicating copy to clipboard operation
ipt-netflow copied to clipboard

wrong source ip in udp ipfix packet

Open dojolabs-ci opened this issue 6 years ago • 2 comments

Hi, this the scenario: destination = 172.30.x.x

the module load on boot the routing table says 172.30.x.x. via 192.168.1.1 dev eth0 src 192.168.1.2 the ipfix packet sends via eth0 with src ip 192.168.1.2

vpn connection established, now the routing table says 172.30.x.x. via 10.8.01 dev tun0 src 10.8.0.2 the ipfix packet sends via tun0 with src ip 192.168.1.2 instead 10.8.0.2

unload and load the module solve this

dojolabs-ci avatar Jun 20 '19 06:06 dojolabs-ci

Data is sent using usual socket API, with a connection established (mostly) at the time of setting destination. You may try setting destination again.

aabc avatar Jun 20 '19 07:06 aabc

this workaround working..

dojolabs-ci avatar Jun 20 '19 08:06 dojolabs-ci