4 Mar 2010 17:34
Problem with byte-swapped IP addresses
Martijn van Oosterhout <kleptog <at> gmail.com>
2010-03-04 16:34:13 GMT
2010-03-04 16:34:13 GMT
Hi, (argus 3.0.0, but it also happens with 3.0.3.2) I'm having a problem with IP addresses being byte-swapped in the argus output, like so: 03 Mar 10 00:30:16 e f tcp 70.20.168.192 * -> 93.20.168.192 * 1 1514 INT 03 Mar 10 00:30:16 e f tcp 93.20.168.192 * -> 192.168.20.70 * 1 1514 INT 03 Mar 10 00:30:17 e tcp 70.20.168.192.1823 ?> 192.168.20.93.1307 1 1514 CON 03 Mar 10 00:30:21 e f tcp 12.20.168.192 * -> 62.20.168.192 * 1 1514 INT All the addresses on this network are 192.168.x.x, so the given addresses are not possible. Other weird things: - Argus often shows the fragment flag on, yet raw packet captures for the same period show no fragments at all. - When it happens, it is most commonly both source and dest, but sometimes just one. In that case the source is much more commonly byte-swapped. - I have confirmed that they are byte-swapped in the argus data files, so it's not a problem with ra. It's done wrong by the server. - These byte-swapped addresses happen sporadically in the stream where they occur: 03 Mar 10 00:30:07 M d tcp 192.168.20.93.1307 ->(Continue reading)
. That said I would have thought the argus file output should just be a
> copy of the input buffer before any of the conversions are done. Can you get
> am independent capture (tcpdump, a sniffer, something like that) in parallel
> on the argus input interface so you could see what the wire thinks against
> what argus writes to the file? Â If the dump from the wire is correct and the
> output from argus is wrong that narrows the search path considerably as the
> switch must be happening early in the path. As noted I still think this is
> most likely an argus bug of some kind although its getting odder all the
> time
RSS Feed