cloudflare / goflow

The high-scalability sFlow/NetFlow/IPFIX collector used internally at Cloudflare.
BSD 3-Clause "New" or "Revised" License
859 stars 172 forks source link

Fix GRE decoding #53

Closed lspgn closed 4 years ago

lspgn commented 4 years ago

More protection against encapsulation. GRE can have PPP so looping to decode Ethernet was not necessary (and inverting fieldEncap and field was not necessary).