Decode data on interface with link type LinkTypeLinuxSLL (i.e. linux cooked socket) · Issue #37 · google/gopacket · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to decode the data from an interface that is using a cooked socket
for encapsulation. Is there an existing way of doing this w/ gopacket? I saw
there's a link type for it (LinkTypeLinuxSLL) but I didn't see a decoder
associated with it and it doesn't appear to be parsing the data correctly with
the LayerTypeEthernet (as expected). In case it matters, I'm using the
"gopacket.NewDecodingLayerParser(layers.LayerTypeEthernet,...)" to decode the
packets.
1. Is there an existing decoder for processing packets from a cooked socket?
2. If not, what is the right way of doing it in gopacket?
3. Sort of related (since I'm dealing w/ virtual interfaces), but passing an
interface ala "venet0:0" isn't recognized as a proper interface by the
OpenLive() method.
Any thoughts/ guidance on this issue would be greatly appreciated. Thank you!
Original issue reported on code.google.com by sur...@gmail.com on 15 Sep 2014 at 3:17
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
sur...@gmail.com
on 15 Sep 2014 at 3:17The text was updated successfully, but these errors were encountered: