Date: Sun, 01 Apr 2018 21:49:23 +0530 From: Reshad Patuck <reshadpatuck1@gmail.com> To: Eugene Grosbein <eugen@grosbein.net>,freebsd-net@freebsd.org Subject: Re: [netgraph] ng_bpf filter large list of IP addresses Message-ID: <984CD50A-A1B9-4185-8AFA-E910CB1A7DA3@gmail.com> In-Reply-To: <5AC0DFA5.3000509@grosbein.net> References: <D4E00F05-F64D-4446-A572-E1A0E06B2C47@gmail.com> <5ABF973D.5070009@grosbein.net> <36DD471B-D88D-4074-A4D3-A480F5EC2392@gmail.com> <5AC0DFA5.3000509@grosbein.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Eugene, =E2=80=8B Yes I do remove the \" and replace it with just " in the file I use with t= he `ngctl -f` command=2E =E2=80=8B Here is the link to the file and everything that I am using to setup the B= PF program=2E =E2=80=8B https://paste=2Eee/p/BHOoG =E2=80=8B It contains the following: - ngtl-command -> the ngctl command which runs correctly from a command li= ne - ngctl-config -> the ngctl config file with the same filter - bpf=2Ec -> a c file that takes netgraph node details a pcap-filter and c= onverts it to a ngctl command - ngctl -> debug 5 in a ngctl shell for running the config file =E2=80=8B Thanks and best regards, =E2=80=8B Reshad On 1 April 2018 7:03:25 PM IST, Eugene Grosbein <eugen@grosbein=2Enet> wro= te: > >You have not shown file contents so I can only guess=2E I guess you >misuse escapes \" >as they are not needed (must not be used) in file or pipe=2E
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?984CD50A-A1B9-4185-8AFA-E910CB1A7DA3>