netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.6.24.7 ipv6 send redirect
@ 2008-11-07 19:16 Roman Chertov
  2008-11-10  8:17 ` Rémi Denis-Courmont
  0 siblings, 1 reply; 3+ messages in thread
From: Roman Chertov @ 2008-11-07 19:16 UTC (permalink / raw)
  To: netdev

Hello,
    I need to disable IPv6 ICMP redirect messages.  In the 
/proc/sys/net/ipv4/conf/all/ there is a flag send_redirects which 
disables sending of the redirects in IPv4.  However, this option is not 
present in the /proc/sys/net/ipv6/conf/all/.  Did this option get moved 
to another location?  I would prefer to disable the redirects via a flag 
and want to resort to changing the IPv6 forwarding code as the last measure.

Thanks,

Roman

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.6.24.7 ipv6 send redirect
  2008-11-07 19:16 2.6.24.7 ipv6 send redirect Roman Chertov
@ 2008-11-10  8:17 ` Rémi Denis-Courmont
  2008-11-10  8:40   ` Rami Rosen
  0 siblings, 1 reply; 3+ messages in thread
From: Rémi Denis-Courmont @ 2008-11-10  8:17 UTC (permalink / raw)
  To: ext Roman Chertov; +Cc: netdev

On Friday 07 November 2008 21:16:16 ext Roman Chertov, you wrote:
>     I need to disable IPv6 ICMP redirect messages.  In the
> /proc/sys/net/ipv4/conf/all/ there is a flag send_redirects which
> disables sending of the redirects in IPv4.  However, this option is not
> present in the /proc/sys/net/ipv6/conf/all/.  Did this option get moved
> to another location?  I would prefer to disable the redirects via a flag
> and want to resort to changing the IPv6 forwarding code as the last
> measure.

In my understanding, disabling redirects on an IPv6 router is not allowed by 
the specification (see RFC4294 §4.2).

-- 
Rémi Denis-Courmont
Maemo Software, Nokia Devices R&D

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.6.24.7 ipv6 send redirect
  2008-11-10  8:17 ` Rémi Denis-Courmont
@ 2008-11-10  8:40   ` Rami Rosen
  0 siblings, 0 replies; 3+ messages in thread
From: Rami Rosen @ 2008-11-10  8:40 UTC (permalink / raw)
  To: Rémi Denis-Courmont; +Cc: ext Roman Chertov, netdev

Hello,

1)  There is no way to disable IPv6 ICMP redirect **sending ** messages.
You can only disable IPv6 ICMP redirect ** receiving** messages, via:
echo "0" > /proc/sys/net/ipv6/conf/all/accept_redirects

(Taking a brief look in the implementation will show that there
is a field named "accept_redirects" in ipv6_devconf structure,
but there is **no** field named send_redirects ,as in ipv4;
see: include/linux/ipv6.h.)

2) The RFC (rfc4294) says: (§4.2)
" Redirect functionality SHOULD be supported.  If the node is  a
router, Redirect functionality MUST be supported."


Regards,
Rami Rosen


On Mon, Nov 10, 2008 at 10:17 AM, Rémi Denis-Courmont
<remi.denis-courmont@nokia.com> wrote:
> On Friday 07 November 2008 21:16:16 ext Roman Chertov, you wrote:
>>     I need to disable IPv6 ICMP redirect messages.  In the
>> /proc/sys/net/ipv4/conf/all/ there is a flag send_redirects which
>> disables sending of the redirects in IPv4.  However, this option is not
>> present in the /proc/sys/net/ipv6/conf/all/.  Did this option get moved
>> to another location?  I would prefer to disable the redirects via a flag
>> and want to resort to changing the IPv6 forwarding code as the last
>> measure.
>
> In my understanding, disabling redirects on an IPv6 router is not allowed by
> the specification (see RFC4294 §4.2).
>
> --
> Rémi Denis-Courmont
> Maemo Software, Nokia Devices R&D
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-11-10  8:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-07 19:16 2.6.24.7 ipv6 send redirect Roman Chertov
2008-11-10  8:17 ` Rémi Denis-Courmont
2008-11-10  8:40   ` Rami Rosen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).