Support for TCP/UDP Unknown Packets

Hello,

I have something started to pull in simple information available through the layers in gopacket. I have augmented Packet to include things like source and destination MAC address where available, etc. Packets which aren't picked up by a known protocol get published with just that packet information and a hexdump of the payload. I'm open to suggestions for improving that API. There's quite a lot that I think could be pulled down from gopacket's layers that isn't yet available in the events. I'll see about forking the project on github and including my changes so you can see the prelim and hopefully suggest an appropriate direction.

1 Like