Skip to content

A small utility, written in Python, to record and replay BMP packets

License

Notifications You must be signed in to change notification settings

paololucente/bmp_play

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bmp_play

A small utility, written in Python, to record and replay BMP packets very useful for devloping around the protocol.

Originally part of OpenBMP dev tools, it eventually disappeared from the known cyber space. The idea is to make this tool public again for the community to enjoy and improve.

To record: bmp_play.py -m record -p 1790 -f bmp.dump

To replay: bmp_play.py -m play -p 1790 -f bmp.dump -d 127.0.0.1

More Examples:

  • Replay a dump 3 times with 60 secs delay between the plays. Once finished, keep the TCP connection up:

    • bmp_play.py -m play -p 1790 -f bmp.dump -d 127.0.0.1 -l 3 -i 60 -k
  • Replay a dump forever with 120 secs delay between the plays:

    • bmp_play.py -m play -p 1790 -f bmp.dump -d 127.0.0.1 -l 0 -i 120

bmp_filter

A small utility, written in Python, to filter pre-recorded BMP packets by BMP message type.

bmp_filter.py -i /path/to/file.bmp -o /path/to/output/file.bmp --statistics-report --peer-down --peer-up --initiation

About

A small utility, written in Python, to record and replay BMP packets

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published