EFForg / rayhunter

Rust tool to detect cell site simulators on an orbic mobile hotspot
GNU General Public License v3.0
19 stars 2 forks source link

Parse diag messages #4

Closed wgreenberg closed 8 months ago

wgreenberg commented 9 months ago

We should have a way to de/serialize diag requests and responses, ideally in a way that makes it easy to shove response data into pcap structs like https://docs.rs/pcap-file/latest/pcap_file/pcap/struct.PcapPacket.html. I dunno if a full serde type thing is needed here, and I've had luck w/ https://docs.rs/deku/latest/deku/ in the past for binary parsing.