Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2019 14:36:07 +0300
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        Victor Gamov <vit@otcnet.ru>, freebsd-net@freebsd.org, "Alexander V. Chernikov" <melifaro@freebsd.org>
Subject:   Re: icmp v4 redirect timeout
Message-ID:  <7f003ef5-7e28-d179-5319-eb52a674f2b1@yandex.ru>
In-Reply-To: <1259e1c9-596f-c379-b58c-b44e76bf963e@otcnet.ru>
References:  <1259e1c9-596f-c379-b58c-b44e76bf963e@otcnet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--9w2uf8J3TXfYC9IJXOeOYHVwPearIB9ia
Content-Type: multipart/mixed; boundary="pEBAIpNzWlUAQ6Kmw5FvmcaAAVb7H2dxx";
 protected-headers="v1"
From: "Andrey V. Elsukov" <bu7cher@yandex.ru>
To: Victor Gamov <vit@otcnet.ru>, freebsd-net@freebsd.org,
 "Alexander V. Chernikov" <melifaro@freebsd.org>
Message-ID: <7f003ef5-7e28-d179-5319-eb52a674f2b1@yandex.ru>
Subject: Re: icmp v4 redirect timeout
References: <1259e1c9-596f-c379-b58c-b44e76bf963e@otcnet.ru>
In-Reply-To: <1259e1c9-596f-c379-b58c-b44e76bf963e@otcnet.ru>

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

On 22.10.2019 17:30, Victor Gamov wrote:
> Hi All
>=20
> I discover the following problem: FreeBSD host install route recived by=

> ICMP-redirect from default GW and this route is permanents.
>=20
>=20
> In my case FreeBSD 192.168.1.10/24 has 192.168.1.254 as default gateway=
=2E
> This network has interconnection with remote network 192.168.88.0/24 vi=
a
> some other gateways -- 192.168.1.199 + 192.168.1.195 for example.=C2=A0=
 All
> gateways=C2=A0 using OSPF to exchange routing info.
>=20
> 192.168.1.10 send packet destined to remote network (192.168.88.0/24) t=
o
> default gateway 192.168.1.254, receive ICMP-redirect and install route
> to 192.168.88.0/24 via 192.168.1.199.=C2=A0 Then 192.168.1.199 off for =
some
> reason but 192.168.1.10 never know about it because route installed via=

> 192.168.1.199 is permanent.
>=20
> I see net.inet6.icmp6.redirtimeout in my FreeBSD 11.2-STABLE #0 r339734=

> and I think this sysctl set timeout for routes installed via
> ICMP-redirects (route deletes after this timeout?).
>=20
> Is it possible to get such sysctl for ipv4 ?

I think expiring doesn't work for IPv6 too. At least, I didn't find
related code from a quick look.

--=20
WBR, Andrey V. Elsukov


--pEBAIpNzWlUAQ6Kmw5FvmcaAAVb7H2dxx--

--9w2uf8J3TXfYC9IJXOeOYHVwPearIB9ia
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/

iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAl2y3icACgkQAcXqBBDI
oXrcKQf/futE6ubBSeVKtuL2SGo8E5C/e6Y9rigyUbuJywPRU2RYB2wodrYqbU+i
zuWcjtA95KAY1/0g8BFVOfeQuP3uZXQL1pED8KbfrmaG1h+fqyZ+PB0v1k4sV7sj
qBB7wdmpqj3NNws9kIeH7uMezIom3PSkL0CBrkR/nhwnWv6AhAKuZifPKuXRuRY+
8Dvc2j4jLyd6p0GULejaY7f2dZNW3z9FHfHc99zDtzuxFxDiLwN5L1wwTXZjdIlq
UR7/ZWq/4EzUD7BJ17c67ota//AI42yghvloAMhf/+XZ9Ou+WimbQwJgjByG1JY7
ujruXlOdVZyp68I6Z4O4tgAcIkbKlA==
=SJ/8
-----END PGP SIGNATURE-----

--9w2uf8J3TXfYC9IJXOeOYHVwPearIB9ia--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7f003ef5-7e28-d179-5319-eb52a674f2b1>