This post is with respect to ethereal protocol analyzer and tcpdump Network Monitoring tool.
In older version of ethereal ( version 0.10.0 ) the command
tethereal -y 1
# tethereal -y 1 -c 2
Capturing on lan0
0.000000 172.16.1.11 -> 172.16.1.12 TELNET Telnet Data ...
0.001271 172.16.1.11 -> 172.16.1.12 TELNET Telnet Data ...
when I do the same with latest version of ethereal
I am getting
# tethereal -y 1
tethereal: The specified data link type "1" is not valid
for tcpdump, where the older version 0.7.2 does not support this option, with newer version 3.8.3, I am getting the same error as tethereal
# tcpdump -y 1
tcpdump: invalid data link type 1
My questions is
What parameter should I use to get the output for the option -y ( for tcpdump and ethereal ) ?
I have tried all the values from -5000 to 5000.
I am using HPUX 11.2* on PA and IPF and 11i on PA.
All produces the same result.
Thanks in advance for the help.