Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jan 2017 18:25:19 +0100
From:      Marek Zarychta <zarychtam@plan-b.pwste.edu.pl>
To:        Kristof Provost <kp@FreeBSD.org>
Cc:        freebsd-pf@freebsd.org
Subject:   Re: udp - weird behavior of reply-to
Message-ID:  <20170109172519.GA62580@plan-b.pwste.edu.pl>
In-Reply-To: <E8BB68F1-4784-474A-B5ED-1E861B2975A8@FreeBSD.org>
References:  <20170108145532.GA17695@plan-b.pwste.edu.pl> <E8BB68F1-4784-474A-B5ED-1E861B2975A8@FreeBSD.org>

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

--W/nzBZO5zC0uMSeA
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jan 08, 2017 at 07:08:10PM +0100, Kristof Provost wrote:
> On 8 Jan 2017, at 15:55, Marek Zarychta wrote:
> The problem description doesn=E2=80=99t ring any bells with me, but I=E2=
=80=99m also=20
> not sure
> I=E2=80=99ve fully understood it.  Can you document a minimal reproductio=
n=20
> scenario,
> with a pf.conf and perhaps network captures documenting the problem?
>=20
> There=E2=80=99s certainly not been a conscious decision to break UDP repl=
y-to.
>=20

Let me apologize, the problem wasn't previously properly identified.  It
seems to be more problem of UDP protocol implementation than PF issue.
UDP sockets are opened and bound to address of the outgoing interface
(interface which has a route to the client). Because the socket is not
bound to the incoming interface, the PF reply-to rules couldn't be
evaluated.  By the way, TCP sockets are bound to the interface where the
traffic arrives and everything works fine.=20
This machine is i386 running 11.0-STABLE r311772

The problem remains unresolved. Are there any corresponding sysctls
correcting this behavior and enabling the opportunity to use PF assisted
symmetric routing scenario again?=20

--=20
Marek Zarychta

--W/nzBZO5zC0uMSeA
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEEMOqvKm6wKvS1/ZeCdZ/s//1SjSwFAlhzx30ACgkQdZ/s//1S
jSwKZAgAy+LxWRJgn9fMuZCvDC0qHDixrKsOteETi1LQ9p0/dZjsmaGAIk223sVa
Z3ui83hR4DgNPn2OtrM72ItYjVv5s+7JAl3PhlcsZNkBa7eHpxjDZ+VvVE/s/Noz
djG+oNIVe6DHycB9XSKoIqVs16NNnvXljjHixpQUPe/oJFqbqDuryEJb70egAokT
HLvmr64zInpo1Pn3yangUTmz0C1m/VliThhG7xuFRMd4rpBkqeBMFQIIpIR+vxf1
g/E+9J2FwahNFeJLXJab9mkra9Ottfjdker4NZq0ppHQ+oxgpQCw/GGQXIqF+Tam
/af5HyagqtUCSLjobvRL5a6JFPd8TQ==
=e3e4
-----END PGP SIGNATURE-----

--W/nzBZO5zC0uMSeA--



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