Re: npf and dhcp

BERTRAND Joël <[email protected]> Tue, 26 May 2026 08:26:50 +0200
Newsgroups gmane.os.netbsd.general
Message-ID <[email protected]>
Greg Troxel a écrit :
> BERTRAND Joël <[email protected]> writes:
> 
>> Greg Troxel a écrit :
>>> BERTRAND Joël <[email protected]> writes:
>>>
>>>> 	As boots and bootc ports are closed, how can this server answer to DHCP
>>>> request ?
>>>
>>> bpf?
>>
>> 	I beg your pardon, but I don't understand your answer.
> 
> How is the DHCP server receiving and sending packets?  Sometimes that
> kind of server uses raw sockets and sometimes it uses bpf.  It is not
> clear to me how npf interacts with bpf hooks, but I would expect packets
> blocked from ip_input to still reach bpf_mtap.

	In this case, how can we trust npf rules ?
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQQj8MW8iOsC2RXEznnFW/s/mMLXCAUCahU9KwAKCRDFW/s/mMLX
CBvSAQCSoJdvds2KC98MXrg3dlX3bm28fNKsvW+2TWhi+i4CYgD/T/MDglkVOFXq
xLzv58wCjxsN6OlOdZRwVVoLyAHLtQg=
=m4Z4
-----END PGP SIGNATURE-----