sniffer
sniffer
Sniffer is a project to try and decipher network packets from the ETH level and up.
One of the goals of this project is not to relay on libpcap
Installation
Add this to your application's shard.yml
:
dependencies:
sniffer:
github: bararchy/sniffer
Usage
You have to run the code as root to allow raw sockets.
In the root dir run sudo crystal spec
or
require "sniffer"
Sniffer.sniff
Development
- ETH Header parse
- IP Header parse
- TCP Header parse
- UDP Header parse
Contributing
- Fork it ( https://github.com/bararchy/sniffer/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- bararchy Bar Hofesh - creator, maintainer
Repository
sniffer
Owner
Statistic
- 7
- 0
- 0
- 0
- 0
- over 6 years ago
- April 2, 2018
License
MIT License
Links
Synced at
Thu, 07 Nov 2024 13:33:53 GMT
Languages