artery
artery copied to clipboard
PCAP recording (GeoNetworking and ITS protocols)
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?
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.
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?
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?
Ideally, I would like to record all the packets in the network.
@xrispa-m could you solve this issue? I would like to receive CAM and DENM content.