Skip to content

geynis/eth-scapy-someip

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eth-scapy-someip

Automotive Ethernet SOME/IP-SD Scapy protocol

1. Description

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.

2. Configuration

2.1 VLAN

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.

2.1 Interface configuration (Linux)

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

3. Examples

This folder contains a (hopefully growing) examples collection, build upon unittest package just for convenience. Just fire Wireshark up and enjoy analyzing generated traffic.

4. References

About

Automotive Ethernet SOME/IP-SD Scapy protocol

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%