Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Payload of packets generated by text2pcap doesn't appear as L7 payload

It appears as a "TCP payload" when I open pcapng generated file in Wireshark. I want this payload to appear as another layer above TCP, instead. Is it possible? The script I've written to generate packets is this:

#!/bin/bash echo "O2020-02-22 15:35:08" > captura.txt echo -n "Enviament" | hexdump -C >> captura.txt echo "I2020-02-22 15:35:09" >> captura.txt echo -n "RecepciĆ³" | hexdump -C >> captura.txt text2pcap -anD -4 10.0.0.1,9.9.9.9 -T 12345,80 -t "%Y-%m-%d %H:%M:%S" captura.txt captura.pcapng

Thanks!

Payload of packets generated by text2pcap doesn't appear as L7 payload

It appears as a "TCP payload" when I open pcapng generated file in Wireshark. I want this payload to appear as another layer above TCP, instead. Is it possible? The script I've written to generate packets is this:

 #!/bin/bash
echo "O2020-02-22 15:35:08" > captura.txt
echo -n "Enviament" | hexdump -C >> captura.txt
echo "I2020-02-22 15:35:09" >> captura.txt
echo -n "RecepciĆ³" | hexdump -C >> captura.txt
text2pcap -anD -4 10.0.0.1,9.9.9.9 -T 12345,80 -t "%Y-%m-%d %H:%M:%S" captura.txt captura.pcapng

captura.pcapng

Thanks!