Skip to content

A small utility to convert pcap files of socketcan traffic to the canlog format used by can-utils

License

Notifications You must be signed in to change notification settings

haroldm/pcap2canlog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pcap2canlog

A small utility to convert pcap files of socketcan traffic to the canlog format used by can-utils

dependencies

  • libpcap

usage

Converting a pcap file

cargo build
cargo run <pcap file> > can.log

Injecting can traffic on local virtual can device

modprobe vcan
ip link add dev can0 type vcan
pcap2canlog <pcap file> | canplayer -v can0=can0

About

A small utility to convert pcap files of socketcan traffic to the canlog format used by can-utils

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%