Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PCAP recording (GeoNetworking and ITS protocols) #194

Open
xrispa-m opened this issue May 10, 2021 · 5 comments
Open

PCAP recording (GeoNetworking and ITS protocols) #194

xrispa-m opened this issue May 10, 2021 · 5 comments

Comments

@xrispa-m
Copy link

I'm trying to capture the communication between the vehicles and the RSU at the example that is provided by Artery. I tried to use the PCAP recorder from INET but the file that is created is always empty. According to the documentation the PCAP recorder only captures IPv4/IPv6 packets and any packets that don't contain IP packets are discarded.

Is there any way to capture the messages from the GeoNetwoking and ITS protocols similar to the attached image?
Since Vanetza is resposible for the transport layer and the GeoNetworking would it be possible to get the send and received packets from Vanetza?

Geonetworking

@riebl
Copy link
Owner

riebl commented May 11, 2021

Currently, we don't have a ready-to-go PCAP recording facility yet. If you want to record packets per station, the artery.networking.Router module would be my first choice to add such a feature. If you want the whole network traffic in a single log, you should use a global module instead. I think INET's Radio and RadioMedium emit signals which could be captured for this purpose. I cannot say how much effort it would be to extend INET's existing PCAP recorder, though.

@xrispa-m
Copy link
Author

Is there any other way to export the communication between vehicles and RSUs, apart from PCAP recording? I can see the messages during the simulation but I don't know how to access and/or export them in a file. During the simulation I can see that some packets are handled from Vanetza. Should I access those to get access to the messages?

@riebl
Copy link
Owner

riebl commented May 11, 2021

Artery includes some mechanisms to cooperate with external components, e.g. the TransfusionService to forward data to an external service implementation back and forth. Also, a HiL-like setup is possible by means of the testbed feature. Recording of raw packets including their content has not been implemented so far.
Do you want to record only packets of a specific host/vehicle or all packets ever seen in the whole network?

@xrispa-m
Copy link
Author

Ideally, I would like to record all the packets in the network.

@raul-parada
Copy link

@xrispa-m could you solve this issue? I would like to receive CAM and DENM content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants