Hi Radiator team,

is there already a wrapper in your toolbox to feed the msglog to text2pcap, using the proper directives per packet and collecting all packets in one pcap file?


Your msglog in text2pcap format looks like:

##TEXT2PCAP -i 17 -4 10.0.0.1,192.168.0.2 -u 1812,1645
1502295304476398 0000 01 28 00 ff 72 d4 b1 c6 d0 dc 95 ab 87 02 9f 35 68 a3 ...
##TEXT2PCAP -i 17 -4 134.60.246.54,134.60.1.8 -u 1645,1812
1502295304482081 0000 0c 28 01 2e a7 42 ba 32 5d f0 09 7d f7 c7 f3 74 28 e7 8b ...
##TEXT2PCAP -i 17 -4 134.60.1.8,134.60.246.54 -u 1812,1645
1502295304512402 0000 01 29 f1 65 ec 7d ff 4d 1d 9c f8 0a c6 2c e4 c3 8a 98 c2 85 01 16 61 6e ...

with a lot of packets in one file.

If you don't have already such a wrapper tool, I'll write a perl script for the goodies to split the packets, grab the directive lines, call text2pcap with this per packet directive and write one .pcap file with proper Layer-3/Layer-4 headers.

Is this needed or already used, anywhere out there?


Regards
   Charly

--
Karl Gaissmaier
Universit├Ąt Ulm
kiz, Kommunikations und Informationszentrum
89069 Ulm
Tel.: 49(0)731/50-22499
Fax : 49(0)731/50-12-22499

_______________________________________________
radiator mailing list
radiator@lists.open.com.au
http://lists.open.com.au/mailman/listinfo/radiator

Reply via email to