Releases: sflow/sflowtool
sflowtool
Add ability to spoof IPv6 source address to match sFlow agent address when converting to NetFlow, as for IPv4.
The sFlow input can carry samples with both IPv4 and IPv6 agent addresses. So when converting to NetFlow and spoofing the source address to match the original agent address, separate v4 and v6 collector addresses are required. For example:
sflowtool -p 6343 -d 2055 -N9 -S -c 10.0.0.99 -c FEC0::99
But sending spoofed traffic over the network can trigger (should trigger!) reverse-path-filtering problems. So if you have a legacy collector that only accepts NetFlow then it may work better to carry the data as sFlow all the way there and run the conversion locally on that collector server. In that scenario it will look like this:
sflowtool -p 6343 -d 2055 -N9 -S -c 127.0.0.1 -c ::1