[go-nuts] Re: afpacket does not get GRE tunneled packets?

2017-10-18 Thread Juliusz Chroboczek
This is not Go-specific, I hope I'm not breaking some unwritten rule by replying. > I just figured this out. I need to manually set the NIC to promiscuous > mode. > Now the question is, is there a way to set the NIC to promiscuous mode > in code, like in pcap.openlive? You want to call

[go-nuts] Re: afpacket does not get GRE tunneled packets?

2017-10-18 Thread Chun Zhang
I just figured this out. I need to manually set the NIC to promiscuous mode. Now the question is, is there a way to set the NIC to promiscuous mode in code, like in pcap.openlive?? I don't see that option with AF_packet. Thanks, Chun On Tuesday, October 17, 2017 at 6:31:21 PM UTC-4, Chun