Re: Bug#643805: linux-image-3.0.0-1-686-pae: ipv4/conf/all/* entries do not work in /proc/sys/net/

2011-10-28 Thread Alexandre Chapellon

Any news about this issue.
The problems remains identical here:

echo 0  /proc/sys/net/ipv4/conf/all/send_redirects
Do not set the send_redirects (same problem on client machine with 
accept_redirects) of existing interfaces to 0


Furthermore I have tried setting 
/proc/sys/net/ipv4/conf/default/send_redirects=0 in sysctl.conf to 
prohibit gateway from sending thoose icmp redirects but interfaces 
defined in /etc/network/interfaces (in my case a bridge) have 
send_redirect=1 after boot completes. Which leads me to think that procs 
is executed after networking has been setup... and should not.


One more things. On client machine I have the following when try to get 
the route:

ip r g 172.20.0.10
172.20.0.10 via 172.17.2.1 dev wlan0  src 172.17.2.65
cache redirected  ipid 0x23f0
I haven't found a way to get rid of that redirected route, except 
reboot (even by flushing iproute2 cache). How can I get remove such a route?


Regards.
--
http://www.horoa.net

Alexandre Chapellon

Ingénierie des systèmes open sources et réseaux.
Follow me on twitter: @alxgomz http://www.twitter.com/alxgomz


--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4eaa4fa1.7050...@horoa.net



Bug#643805: linux-image-3.0.0-1-686-pae: ipv4/conf/all/* entries do not work in /proc/sys/net/

2011-09-29 Thread Alexandre Chapellon
Package: linux-2.6
Version: 3.0.0-3
Severity: normal

Dear Maintainer,

I have a vpn gateway that periodically sends icmp redirects to the hosts of my
network (when renegociating  tunnels), I configured hosts not to accepts
reidrects by uncommenting the default directive found in sysctl.conf:

net.ipv4.conf.all.accept_redirects = 0

after reboot here is the config i get in /proc/sys:
cat /proc/sys/net/ipv4/conf/*/accept_redirects
0
1
1
1
1

If i try to echo the value in the proc filesystem, It's no better:
root@elronde:/home/alxgomzecho 0  /proc/sys/net/ipv4/conf/all/accept_redirects
root@elronde:/home/alxgomz# cat /proc/sys/net/ipv4/conf/*/accept_redirects
0
1
1
1
1

Where I expected this to put all interfaces to zero.

the entry ./default/accept_redirects seems to work as expected.

I have seen the same behaviour for other proc entries such as send_redirects
and notices the bug #630650 that is maybe related.



-- Package-specific info:
** Version:
Linux version 3.0.0-1-686-pae (Debian 3.0.0-3) (b...@decadent.org.uk) (gcc 
version 4.5.3 (Debian 4.5.3-8) ) #1 SMP Sat Aug 27 16:41:03 UTC 2011

** Command line:
BOOT_IMAGE=/vmlinuz-3.0.0-1-686-pae root=/dev/mapper/localvg-root ro splash 
quiet

** Tainted: C (1024)
 * Module from drivers/staging has been loaded.

** Kernel log:
[   97.965216] wlan0: associated
[   97.966015] ieee80211 phy0: wl_ops_bss_info_changed: qos enabled: true 
(implement)
[   97.966019] ieee80211 phy0: brcmsmac: wl_ops_bss_info_changed: associated
[   97.966034] ieee80211 phy0: wl_ops_bss_info_changed: arp filtering: enabled 
true, count 0 (implement)
[   97.966129] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   98.161428] ieee80211 phy0: wl_ops_bss_info_changed: arp filtering: enabled 
true, count 1 (implement)
[  104.159737] PPP generic driver version 2.4.2
[  106.936206] PPP MPPE Compression module registered
[  108.492029] wlan0: no IPv6 routers present
[  110.528175] process `skype' is using obsolete setsockopt SO_BSDCOMPAT
[ 2316.927514] usb 2-1.1.2: new high speed USB device number 7 using ehci_hcd
[ 2317.019921] usb 2-1.1.2: New USB device found, idVendor=03f0, idProduct=4712
[ 2317.019929] usb 2-1.1.2: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[ 2317.019936] usb 2-1.1.2: Product: Officejet 4500 G510a-f
[ 2317.019941] usb 2-1.1.2: Manufacturer: HP
[ 2317.019945] usb 2-1.1.2: SerialNumber: CN0BUF10CC05H2
[ 2318.171544] usb 2-1.1.2: usbfs: process 4625 (usb) did not claim interface 0 
before use
[ 2504.341104] usb 2-1.1.2: USB disconnect, device number 7
[ 2530.612230] usb 2-1.1.2: new high speed USB device number 8 using ehci_hcd
[ 2530.704860] usb 2-1.1.2: New USB device found, idVendor=03f0, idProduct=4712
[ 2530.704867] usb 2-1.1.2: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[ 2530.704871] usb 2-1.1.2: Product: Officejet 4500 G510a-f
[ 2530.704875] usb 2-1.1.2: Manufacturer: HP
[ 2530.704878] usb 2-1.1.2: SerialNumber: CN0BUF10CC05H2
[ 2531.794262] usb 2-1.1.2: usbfs: process 4764 (usb) did not claim interface 0 
before use
[ 2570.155587] usb 2-1.1.2: usbfs: process 4826 (usb) did not claim interface 0 
before use
[ 5983.799914] EXT4-fs (dm-1): re-mounted. Opts: errors=remount-ro,commit=0
[ 5984.607592] EXT4-fs (dm-3): re-mounted. Opts: commit=0
[ 7036.968457] usb 2-1.1.1: USB disconnect, device number 6
[13316.883146] GRE over IPv4 demultiplexor driver
[13316.884641] GRE over IPv4 tunneling driver
[13712.967501] oosplash.bin[11944]: segfault at 4d0 ip b75cfd6b sp bf9c0210 
error 4 in libX11.so.6.3.0[b7599000+136000]
[18358.128303] usb 2-1.1.1: new high speed USB device number 9 using ehci_hcd
[18358.232932] usb 2-1.1.1: New USB device found, idVendor=0bb4, idProduct=0ff9
[18358.232935] usb 2-1.1.1: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
[18358.232937] usb 2-1.1.1: Product: Android Phone
[18358.232939] usb 2-1.1.1: Manufacturer: HTC
[18358.232940] usb 2-1.1.1: SerialNumber: HT9AEL901012
[18358.237673] scsi7 : usb-storage 2-1.1.1:1.0
[18359.237421] scsi 7:0:0:0: Direct-Access HTC  Android Phone0100 
PQ: 0 ANSI: 2
[18359.350418] sd 7:0:0:0: Attached scsi generic sg1 type 0
[18359.358702] sd 7:0:0:0: [sdb] Attached SCSI removable disk
[18727.283692] device wlan0 entered promiscuous mode
[18727.283710] ieee80211 phy0: FIF_PROMISC_IN_BSS
[18735.330083] device wlan0 left promiscuous mode
[18735.330110] ieee80211 phy0: FIF_PROMISC_IN_BSS
[18741.385710] device wlan0 entered promiscuous mode
[18741.387469] ieee80211 phy0: FIF_PROMISC_IN_BSS
[19148.042978] device wlan0 left promiscuous mode
[19148.043003] ieee80211 phy0: FIF_PROMISC_IN_BSS
[19151.471815] device eth0 entered promiscuous mode
[19151.482872] device eth0 left promiscuous mode
[19155.870997] device wlan0 entered promiscuous mode
[19155.871018] ieee80211 phy0: FIF_PROMISC_IN_BSS
[19165.199802] device wlan0 left promiscuous mode
[19165.199817] ieee80211 phy0: FIF_PROMISC_IN_BSS
[19167.652820] device wlan0 entered promiscuous mode
[19167.652842] ieee80211