Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Sep 2020 15:54:22 +0300
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        Eugene Grosbein <eugen@grosbein.net>, "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: IP reassembly
Message-ID:  <3c987023-f634-d42e-27fa-e680e837938b@yandex.ru>
In-Reply-To: <88c72056-42a7-f104-ab08-7532fc5f649f@grosbein.net>
References:  <88c72056-42a7-f104-ab08-7532fc5f649f@grosbein.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--NFpf4hHOprh6djHR4Cj5U03451cm3gwtc
Content-Type: multipart/mixed; boundary="dnolnT0B1eznxG92zNMba5dVEz9j3c1iX"

--dnolnT0B1eznxG92zNMba5dVEz9j3c1iX
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 22.09.2020 15:40, Eugene Grosbein wrote:
> Hi!
>=20
> Is our IP reassembly facility supposed to handle incoming out-of-order =
fragments?
> For example, IPIP packet created with gif(4) interface is fragmented wi=
th two parts,
> and parts are delivered out of order, last fragment comes first.
>=20
> In fact, I see this results in broken reassembly.

Hi,

IP reassembly is done in ip_input(), it doesn't matter what UL protocol
is inside. Do you have some traces? You can use dtrace fbt probes to
track your datagramms.

--=20
WBR, Andrey V. Elsukov


--dnolnT0B1eznxG92zNMba5dVEz9j3c1iX--

--NFpf4hHOprh6djHR4Cj5U03451cm3gwtc
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAl9p8/4ACgkQAcXqBBDI
oXqdAgf/bmOq+wwjYALvHgHvuPxtuWE/wKvYHMH8YdLqF4+YQihMrGl961Cbsyf3
sbYpnsBugrtzny8pPJFx10r8cIOmyKPXe5OsnHbeXWvD6iJFhRQ8sk25qBL3v6yP
lGNftjjN5qsuTWRwyZHDHuT4PcgEyory5rBzut1SDWkXZwsMOvusROjCbxJBooom
bYgv9qxR1hyhWAcYJXYpQaERGL23apAj+LbbGGeg1HHs3fVtqlmtcGBYmNVxS5iY
HwUHeLuK7fwYKJ+DYPhu0uPop2HNFj5NzWAb0ua8syda6krOIA6x4zxhtj2yaLOh
IDaXyK7xXeXjcaFRIAmkxAHeurGdfA==
=PqYu
-----END PGP SIGNATURE-----

--NFpf4hHOprh6djHR4Cj5U03451cm3gwtc--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3c987023-f634-d42e-27fa-e680e837938b>