[OpenWrt-Devel] New firewall (was: [PATCH] Disable IPv6 autoconfiguration)

2010-04-28 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Malte. So I gave it a try now and it works well for me, will do some more ipv6 testing in the next days. I also ported several fixes from the trunk version of the uci firewall, added some compat code and hotplug events. Attached are two patches, o

[OpenWrt-Devel] [backfire][bug] setting LAN mac address, makes router inaccessible from LAN

2010-04-28 Thread Matthias Buecher / Germany
When changing the LAN mac address on a WRT54G v2.2 the router becomes inaccessible from the LAN (no ping, no SSH, etc.). The same happens on a WRT350Nv2 (Orion CPU), therefore it seems to be a general issue. Only revived the router back via serial access, as Backfire brcm47xx (Linux 2.6) provides

Re: [OpenWrt-Devel] [PATCH] Disable IPv6 autoconfiguration

2010-04-28 Thread Malte S. Stretz
Moin, On Wednesday 28 April 2010 16:45:58 Jo-Philipp Wich wrote: > > Therefore I believe that the /etc/sysctl.conf file should have > > net.ipv6.conf.all.forwarding=1 set by default. > > A default firewall solution is needed before it can be made the default. > > Even if you or me do not need a

Re: [OpenWrt-Devel] [PATCH] Disable IPv6 autoconfiguration

2010-04-28 Thread Bastian Bittorf
* Jo-Philipp Wich [28.04.2010 16:50]: > > A default firewall solution is needed before it can be made the default. IMHO: apply alina's patches and set net.ipv6.conf.all.forwarding=1 by default - hey, we are in trunk and wan't to play with the devices and learn something. make a 'fat' warning in

[OpenWrt-Devel] [bcm63xx] fix reset_buttons register

2010-04-28 Thread Miguel GAIO
Hi, In preparation of integration of more gpio buttons on NB4 (e.g WPS, RESET button), this patch fix an issue on reset_button registration code. Current code always register gpio_button_device regardless board defined data or not. if (board.reset_buttons) { bcm63xx_gpio

Re: [OpenWrt-Devel] [PATCH] Disable IPv6 autoconfiguration

2010-04-28 Thread Benjamin Cama
Hi, Le mercredi 28 avril 2010 à 20:29 +1000, Andrew Byrne a écrit : > Right now it's in the file but commented out (since r12351). Does > anyone know if having it in there by default causes any errors if > kmod-ipv6 isn't installed? Tested here, when doing a sysctl -p with net.ipv6.conf.all.forw

Re: [OpenWrt-Devel] [PATCH] Disable IPv6 autoconfiguration

2010-04-28 Thread Benjamin Cama
Le mardi 27 avril 2010 à 19:32 +0200, Alina Friedrichsen a écrit : > Routers must not react on router advertisements (written in someone RFC) > or you have a security problem. Mmhhh ... you're right, I may not have thought enough in a router perspective. > IPv6 autoconfiguration and DHCPv6 are to

Re: [OpenWrt-Devel] [PATCH] Disable IPv6 autoconfiguration

2010-04-28 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. > Therefore I believe that the /etc/sysctl.conf file should have > net.ipv6.conf.all.forwarding=1 set by default. A default firewall solution is needed before it can be made the default. Even if you or me do not need a firewall it is not accepta

Re: [OpenWrt-Devel] [PATCH] Disable IPv6 autoconfiguration

2010-04-28 Thread Alina Friedrichsen
Hello Andrew! > When IPv6 routing is enabled (net.ipv6.conf.*.forwarding), > autoconfiguration is automatically prevented due to that RFC, > regardless of the net.ipv6.conf.*.autoconf value. This contradicts my observances. Autoconf is enabled even when forwarding is enabled. > OpenWrt should be

Re: [OpenWrt-Devel] [bcm6358] fix enet1 mii clk

2010-04-28 Thread Raphaël HUCK
Le Wed, 28 Apr 2010 11:39:34 +0200, Miguel GAIO a écrit : > Hi, > > The attached patch fixup the setup of MII clock for case enet1 is > linked to external switch for 6358 soc base boards. > > Warning! Despite, this improves stability on NB4 and 96358VW boards, > it must be confirmed on other bo

Re: [OpenWrt-Devel] [PATCH] Disable IPv6 autoconfiguration

2010-04-28 Thread Andrew Byrne
> Routers must not react on router advertisements (written in someone RFC) > or you have a security problem. When IPv6 routing is enabled (net.ipv6.conf.*.forwarding), autoconfiguration is automatically prevented due to that RFC, regardless of the net.ipv6.conf.*.autoconf value. OpenWrt should be

Re: [OpenWrt-Devel] [bcm6358] fix enet1 mii clk

2010-04-28 Thread Florian Fainelli
Hi Miguel, On Wednesday 28 April 2010 11:39:34 Miguel GAIO wrote: > Hi, > > The attached patch fixup the setup of MII clock for case enet1 is linked > to external switch for 6358 soc base boards. > > Warning! Despite, this improves stability on NB4 and 96358VW boards, it > must be confirmed on o

[OpenWrt-Devel] [bcm6358] fix enet1 mii clk

2010-04-28 Thread Miguel GAIO
Hi, The attached patch fixup the setup of MII clock for case enet1 is linked to external switch for 6358 soc base boards. Warning! Despite, this improves stability on NB4 and 96358VW boards, it must be confirmed on other boards. Kind Regards, Miguel Index: openwrt.org/target/linux/brcm63xx/patc