On 02 Oct 2014, at 05:51, Bryan Venteicher wrote:
>
>
> On Wed, Oct 1, 2014 at 11:58 AM, Michael Tuexen
> wrote:
> Dear all,
>
> in udp6_input() we have the following code:
>
> if (nxt == IPPROTO_UDP && plen != ulen) {
> UDPSTAT_INC(udps_badlen);
> go
On 02 Oct 2014, at 01:34, Tom Pusateri wrote:
> Lots of embedded devices (like Cisco IP Phones) send TFTP requests with 0
> checksums.
I guess this uses UDP/IPv4, where FreeBSD supports UDP with zero checksum.
For UDP/IPv6 this doesn't work. Right after the cited code, the checksum is
always
c
On Wed, Oct 1, 2014 at 11:58 AM, Michael Tuexen <
michael.tue...@lurchi.franken.de> wrote:
> Dear all,
>
> in udp6_input() we have the following code:
>
> if (nxt == IPPROTO_UDP && plen != ulen) {
> UDPSTAT_INC(udps_badlen);
> goto badunlocked;
> }
>
Lots of embedded devices (like Cisco IP Phones) send TFTP requests with 0
checksums.
Tom
> On Oct 1, 2014, at 12:58 PM, Michael Tuexen
> wrote:
>
> Dear all,
>
> in udp6_input() we have the following code:
>
>if (nxt == IPPROTO_UDP && plen != ulen) {
>UDPSTAT_INC(udps_badlen)
Dear all,
in udp6_input() we have the following code:
if (nxt == IPPROTO_UDP && plen != ulen) {
UDPSTAT_INC(udps_badlen);
goto badunlocked;
}
/*
* Checksum extended UDP header and data.
*/
if (uh->uh_sum == 0) {