Thread (1 message) 1 message, 1 author, 2006-06-27

Re: [patch 3/4] Network namespaces: IPv4 FIB/routing in namespaces

From: Andrey Savochkin <hidden>
Date: 2006-06-27 09:25:35
Also in: lkml

On Mon, Jun 26, 2006 at 10:05:14PM +0200, Herbert Poetzl wrote:
On Mon, Jun 26, 2006 at 04:56:46PM +0200, Daniel Lezcano wrote:
quoted
Andrey Savochkin wrote:
quoted
Structures related to IPv4 rounting (FIB and routing cache)
are made per-namespace.
How do you handle ICMP_REDIRECT ?
and btw. how do you handle the beloved 'ping'
(i.e. ICMP_ECHO_REQUEST/REPLY for and from
guests?
I don't need to do anything special.  They are just IP packets.
If packets are local in the current net namespace, they are delivered to
socket or handled by icmp_rcv.

Certainly, packet/raw sockets shouldn't see packets they aren't supposed to
see.  For raw sockets, it implies making socket lookup aware of namespaces,
exactly like for TCP or UDP.

	Andrey
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help