Re: DHCP server ignoring PF rules?

2022-12-17 Thread Marcus MERIGHI
hello, barbarosb...@gmail.com (Barbaros Bilek), 2022.12.17 (Sat) 15:07 (CET): > On Sat, Dec 17, 2022 at 4:40 PM Cristian Danila wrote: > > Thanks for the provided info, now it makes sense about what is happening. > > Any idea about a possible way to control these packets? > > Still

Re: DHCP server ignoring PF rules?

2022-12-17 Thread Cristian Danila
I was just about thinking to it, I will try it. Many thanks and have a wonderful day! On Sat, Dec 17, 2022 at 4:07 PM Barbaros Bilek wrote: > > Hello Cristian, > > If you put your physical interface into veb(4) and set link1 flag you can > filter dhcp packets. > For more please read man veb >

Re: DHCP server ignoring PF rules?

2022-12-17 Thread Barbaros Bilek
Hello Cristian, If you put your physical interface into veb(4) and set link1 flag you can filter dhcp packets. For more please read man veb Have a nice weekend. -- Best Regards Barbaros On Sat, Dec 17, 2022 at 4:40 PM Cristian Danila wrote: > Thanks for the provided info, now it makes sense

Re: DHCP server ignoring PF rules?

2022-12-17 Thread Cristian Danila
Thanks for the provided info, now it makes sense about what is happening. Any idea about a possible way to control these packets? Still investigating but I had still not found yet a way to do it. Thank you. On Sat, Dec 17, 2022 at 3:11 PM David Gwynne wrote: > > dhcpd reads packets off the wire

Re: DHCP server ignoring PF rules?

2022-12-17 Thread David Gwynne
dhcpd reads packets off the wire using BPF, which happens as packets come off the network interface, but before the IP stack where pf runs. > On 17 Dec 2022, at 22:40, Cristian Danila wrote: > > Good day! > I finished setup an DHCP server and for some reason it seems DHCP > server is ignoring