Re: [tcpdump-workers] Need to drop packets using tcpdump

2016-02-05 Thread Guy Harris
On Feb 4, 2016, at 5:48 PM, Rahmadi Trimananda wrote: > I am a beginner user of tcpdump. What I want to do is to write my own > version of tcpdump (or just extend it) to drop/reject network packets. > AFAIK, tcpdump and libpcap can only sniff packets. You are correct. The operating system mecha

Re: [tcpdump-workers] Need to drop packets using tcpdump

2016-02-05 Thread Rahmadi Trimananda
Thank you! I am actually looking at the ingress hook of Nftables too right now. Thanks for clarifying my understanding about tcpdump. > On Feb 5, 2016 12:21 PM, "Guy Harris" wrote: >> >> On Feb 4, 2016, at 5:48 PM, Rahmadi Trimananda wrote: >> >> > I am a beginner user of tcpdump. What I want to