Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Sep 2019 21:19:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        pf@FreeBSD.org
Subject:   [Bug 240819] PF scrub drop UDP Fragment
Message-ID:  <bug-240819-16861-dcFcQjkPt0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-240819-16861@https.bugs.freebsd.org/bugzilla/>
References:  <bug-240819-16861@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240819

--- Comment #1 from Kristof Provost <kp@freebsd.org> ---
I think I've reproduced this, but I don't think it's a pf bug.

The packet gets dropped and counted as a short packet because the UDP
destination port is 0. That check has been there since 2004.
The IP stack itself will also discart packets with a destination port of 0.

When I add '-p 53' to the hping command the packets do not get dropped by pf.

(Arguably it's an hping bug that it generates packets with UDP destination port
0, but its man page suggests that this is deliberate.)

-- 
You are receiving this mail because:
You are the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240819-16861-dcFcQjkPt0>