Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jun 2007 19:19:25 +0200
From:      Max Laier <max@love2party.net>
To:        freebsd-pf@freebsd.org
Cc:        Hugo Koji Kobayashi <koji@registro.br>
Subject:   Re: udp fragmentation
Message-ID:  <200706281919.41777.max@love2party.net>
In-Reply-To: <200706042200.14860.max@love2party.net>
References:  <20070528224225.GC40678@registro.br> <20070604194430.GD21681@registro.br> <200706042200.14860.max@love2party.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart26291597.Bi16EKtsA2
Content-Type: text/plain;
  charset="iso-8859-6"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Monday 04 June 2007, Max Laier wrote:
> Hi again,
>
> On Monday 04 June 2007, Hugo Koji Kobayashi wrote:
> > pf is running on the DNS client machine. The DNS server is on a
> > completely different network (I don't control this server). The
> > client can send the udp request with no problem (it's a small udp
> > datagram; less than 512 bytes), the server sends the udp response
> > fragmented, but the client can't receive it.
> >
> > Please, find attached a new test with the requested information.
> >
> > udp:
> >         36 datagrams received
> >         2 with bad checksum
> >         34 delivered
> >         40 datagrams output
>
> <test>
>
> > udp:
> >         36 datagrams received
> >         3 with bad checksum
> >         33 delivered
> >         41 datagrams output
>
> Aha!  Can you confirm that "bad checksum" increases for every
> fragmented packet and I'll look for a cure.

I can't reproduce this.  What hardware are you running on?  (arch, nic=20
(rx/txcsum), non-standart CFLAGS).  Just to confirm I'm testing the right=20
cases, my setup looks like:

Host1       Host2      Host3

netsend -> pf scrub -> pf scrub -> netreceive

Everthing works as expected with various UDP payloads > MTU.

=2D-=20
/"\  Best regards,                      | mlaier@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

--nextPart26291597.Bi16EKtsA2
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (FreeBSD)

iD8DBQBGg+2tXyyEoT62BG0RAonoAJ9CsdYETd3u+u6cyHNidkYl21wCVQCeOATp
PbMQx7H+zPX0Dh3+umz8l1I=
=PIvy
-----END PGP SIGNATURE-----

--nextPart26291597.Bi16EKtsA2--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706281919.41777.max>