sysctl IPv6 forwarding example is incorrect

Bug #76288 reported by Trent Lloyd
4
Affects Status Importance Assigned to Milestone
procps (Ubuntu)
Fix Released
Undecided
Yves Junqueira

Bug Description

Binary package hint: procps

sysctl has some examples of setting forwarding rules, and it is incorrect, the IPv4 is correct but IPv6 says:

#net/ipv6/ip_forward=1

It needs to say:
net/ipv6/conf/all/forwarding=1

Revision history for this message
Yves Junqueira (yves.junqueira) wrote :

This is correct in Feisty (and maybe Edgy?):

# Uncomment the next line to enable packet forwarding for IPv6
#net.ipv6.conf.default.forwarding=1

Changed in procps:
assignee: nobody → yves.junqueira
status: Unconfirmed → Fix Released
Revision history for this message
Martti Kuparinen (mk1970) wrote :

This is NOT fixed in 8.04.1:

# sudo sysctl -p /etc/sysctl.conf
error: "net.ipv6.ip_forward" is an unknown key

The correct keyword is maybe "net.ipv6.conf.all.forwarding".

# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu 8.04.1"

# dpkg -S /etc/sysctl.conf
procps: /etc/sysctl.conf

# dpkg -l procps
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii procps 1:3.2.7-5ubunt /proc file system utilities

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.