Skip to content

Automotive Ethernet SOME/IP-SD Scapy protocol

License

Notifications You must be signed in to change notification settings

pzibang/eth-scapy-someip

 
 

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)

Feel free to choose your preferred network topology in order to start fiddling with SOME/IP-SD. In our case, we opted for a couple of USB-Ethernet adaptors but that's not strictly necessary.

Just keep in mind that these conventions are used from the example collection:

  • ETH_IFACE_A (normally acting as sender)
    • iface name : eth1.10
    • iface addr : 192.168.10.2
    • iface port : 30490
  • ETH_IFACE_B (normally acting as receiver)
    • iface name : eth2.10
    • iface addr : 192.168.10.3
    • iface port : 30490

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

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%