lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3c43db7f164f0bee19d98360f58bef38@visp.net.lb>
Date:	Mon, 16 Apr 2012 22:11:29 +0300
From:	Denys Fedoryshchenko <denys@...p.net.lb>
To:	David Miller <davem@...emloft.net>
Cc:	<stian@...ia.no>, <eric.dumazet@...il.com>,
	<stephen.hemminger@...tta.com>, <netdev@...r.kernel.org>
Subject: Re: SV: Netlink, route monitoring, RTM_DELROUTE not issued for ppp peer address. Bug or feature?

On 2012-04-16 21:40, David Miller wrote:
> From: Denys Fedoryshchenko <denys@...p.net.lb>
> Date: Mon, 16 Apr 2012 13:37:14 +0300
>
>> So the only solution is to fetch first, then keep full routing table
>> in userspace also, and keep tracking if local addresses deleted, and
>> do the same in userspace and check for prefsrc...
>
> You don't need to keep full routing table in userspace, don't be
> silly.
>
> You only need to watch for the device down event, and purge in
> userspace based upon that key.
In my specific case i should. Userspace should just send information 
that some ip came or gone on specific access server, to central node (i 
am not reinventing dynamic routing protocols, there is another reasons 
for that). Central node don't know anything about interfaces. Access 
server i was expecting to not keep anything, and just relay netlink 
routing messages, route to specific ip are appearing and disappearing. 
Because it is not possible i will just keep as you mentioned table, with 
ip+device+prefsrc, and listen to other than routing netlink events.

As i mention before, it is not big deal to do that, and i understood 
that it is not a "netlink/kernel bug", but a reasonable design choice.
I posted it, just to share my view, so in future people who have 
similar question, as Stian Skjelstad had, will have more information.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ