Automotive Ethernet SOME/IP-SD Scapy protocol
eth-scapy-someip is a Scapy extension implementing Autosar's SOME/IP-SD protocol, giving any developer with Python knowledge an essential and powerful tool to develop Automotive Ethernet applications for the automotive world.
Test automation, traffic generation, ECU development support or just for fun fiddling is all possible with eth-scapy-someip.
In order to configure VLAN (IEEE 802.1q) tagging in your linux machine, Ubuntu's wiki is a good reference : https://wiki.ubuntu.com/vlan.
During our testing, we simply used to USB-Ethernet adaptors with the following /etc/network/interfaces configuration, although multi-NIC is not strictly required to fiddle with SOME/IP-SD.
# VLAN eth1
auto eth1.10
iface eth1.1 inet static
address 192.168.10.1
netmask 255.255.255.0
# VLAN eth2
auto eth2.10
iface eth2.1 inet static
address 192.168.10.2
netmask 255.255.255.0
In order to bring them to life:
$sudo ifup eth1.10
$sudo ifup eth2.10
This folder contains a (hopefully growing) examples collection, build upon unittest package just for convenience. Just fire Wireshark up and enjoy analyzing generated traffic.