COVESA / vsomeip

An implementation of Scalable service-Oriented MiddlewarE over IP
Mozilla Public License 2.0
1.08k stars 676 forks source link

package not found via tcpdump #552

Open 123130 opened 10 months ago

123130 commented 10 months ago

I have run the example(hello_world, subscribe/notify and request/response) correctly, but I did not catch any packets via the command(sudo tcpdump -i lo -w someip.pcap). Anybody know where the problem is? request: image response: image image

dprogm commented 10 months ago

If you are running the client and server locally on your machine you won't see any network traffic because SomeIP is using Unix Domain Sockets for IPC which utilizes kernel buffer memory for data exchange.

123130 commented 10 months ago

@dprogm Dear you, thanks a lot for replying my issue. So, can I use Peach fuzzer to test notify-sample locally on my machine?

dprogm commented 10 months ago

The question is what you are trying to achieve? There are methods for sniffing on Unix Domain Sockets, e.g. by using tracepoints or kernel probes and dumping the data. Some months ago I stumbled over sockdump, but this requires some extra work. I have asked about it here: https://github.com/mechpen/sockdump/issues/21

I guess Peach Fuzzer is for Fuzz-Testing. This might be another topic.

Avinash19999 commented 6 months ago

@123130 Hi, If you are running the server and client applications in a single machine then you will only find the Someip-SD message when you try to sniff it. When you run the server and client application between two machines or VM's then you can capture the Someip frames.

goncaloalmeida commented 4 months ago

@123130 this problem still occur?