dlt-daemon
dlt-daemon copied to clipboard
How to catch a packet
Hi.
tcpdump doesn't seem to catch anything.
my command:
./dlt-daemon
./dlt-example-user 11111
Send 0 11111
Log level changed of context TEST, LogLevel=4, TraceState=0
Log level changed of context TS1, LogLevel=4, TraceState=0
Log level changed of context TS2, LogLevel=4, TraceState=0
Send 1 11111
Client disconnected!
Send 2 11111
Send 3 11111
Send 4 11111
Send 5 11111
Send 6 11111
Send 7 11111
Send 8 11111
tcpdump port 3490
tcpdump: verbose output suppressed, use -v
Thank you.
@shtry I guess you need to specify interface to monitor. E.g. If it's localhost, you can do tcpdump -i lo port 3490
.
Thanks. @ssugiura
I succeeded in catching the packet.
However, you cannot see the filter in wireshark.
Do you know why?
Wireshark appears to support DLT.
: https://www.wireshark.org/docs/dfref/d/dlt.html
But only TCP exists in my screenshot.
:
My pcap file : test.zip
ctrl+shift+p
-> protocol
-> DLT
. Check the ports there, they might be 0 by default.
Hello @shtry ,
I guess this issue was resolved by comments/ supports from experts here. I'd like to close this issue and in case you have any further concerns, please create a new one.
Happy coding. Thanh