5 releases
0.1.4 | Sep 22, 2023 |
---|---|
0.1.3 | Sep 22, 2023 |
0.1.2 | Sep 20, 2023 |
0.1.1 | Sep 7, 2023 |
0.1.0 | Sep 7, 2023 |
#4 in #downstream
21 downloads per month
34KB
599 lines
peeler
get all the parts from the packet that we want
goals:
for packets moving over a LAN:
- for any tcp or udp packets:
- get:
- ip address
- send/receive ports
- raw message
- prepare to hand off this information to a downstream processor that takes the pcap parts and outputs a new deserialized data (using the ip address, ports, and protocol the downstream processor will deserialize the raw message to a new format). We can expect that this crate will be used in a larger rust project as a constituent component, rather than needing to add functionality for sending the data somewhere.
NOTE: we included some additional packet metadata in case it might be useful in the future, but only the information described above is essential at this point in the project.
issues:
- packet headers management seems to be kind of complicated when we include issues like VLAN Tagging etc. which may or may not be something we experience
- general code design for a rust project and usage of crates like pcap
Dependencies
~7–19MB
~231K SLoC