* Introduce "option reload" for includes to specify whether includes should be processed on reload (e.g. when tapping into internal chains)
* Allow "network" and "device" commands while firewall is running (to make them usable in includes)
SVN-Revision: 36009
* Adds support for emitting hotplug events when creating and clearing zones (fixes miniupnpd)
* Make NAT reflection direction configurable
* Map init script stop action to flush
* Map init script reload action to reload
* Respect init script disabled state in hotplug handler
SVN-Revision: 35998
update sock api in lantiq atm driver
The ltq-atm driver provides its own replacement for net/atm/common.c:alloc_tx(),
defined in ltq_atm.c:atm_alloc_tx().
The read of sk_wmem_alloc is done in the wrong way, starting with commit
2b85a34e911bf483c27cfdd124aeb1605145dc80 in linux mainline it has to be
done through a specific wrapper.
Signed-off-by: Luca Dariz <luca.dariz@gmail.com>
SVN-Revision: 35991
* Fixes compilation against eglibc
* Fixes tracking logic when selectively restarting IPv4 or IPv6 firewall
* Fixes tracking logic for user chains by differentiating between reloads and restarts
* Introduces per-zone user chains {input,output,forwarding,prerouting,postrouting}_$zone_rule
* Supports legacy "tcpudp" protocol notation again
SVN-Revision: 35969
following patch allows to build images for Qemu ARM on
OpenBSD 5.2 amd64 and FreeBSD 9.1 amd64.
Mostly small pieces of code changes to get things right on the
specific platform.
Updated the README to describe better, which tools on the host
are required. Added some kind of prepare scripts to install needed
tools on BSD via packages.
Signed-off-by: Waldemar Brodkorb <mail@waldemar-brodkorb.de>
SVN-Revision: 35900
Without the 170-non_fatal_include.patch hotplug2 throws this:
Unable to include '/etc/hotplug2-platform.rules'
Syntax error (/etc/hotplug2-common.rules, line 9): Syntax error: Internal parser error.
Unable to include '/etc/hotplug2-common.rules'
Syntax error (/etc/hotplug2-init.rules, line 3): Syntax error: Internal parser error.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35863
Hex values in nvram seem to be uppercase on my e3200 device.
Define one power led and two buttons (reset/wps).
Signed-off-by: Tijs Van Buggenhout <tvb@able.be>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 35766
nvram variable "boardtype" is unique for now.
-button gpio were taken from nvram.
-led information was taken from dd-wrt
( http://svn.dd-wrt.com/browser/src/router/libutils/utils.c )
I hope that I changed the values correctly.
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 35765
Don't skip build-in modules when generating i2c kmod packages, to allow
empty packages to be generated for satisfying dependencies.
Closes#12259.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35755
- all uci rules are boxed in custom chains now, so a firewall stop leaves user rules intact
- properly handle selective ipv4 or ipv6 only firewall start/stop/restart actions
- support ip ranges (e.g. option src_ip '!192.168.1.1-192.168.1.100' -> -m iprange ! --src-range 192.168.1.1-192.168.1.100')
- support time options (e.g. option weekdays 'Mon Tue Sat' -> -m time --weekdays 1,2,6')
SVN-Revision: 35738
They either work around missing implementations in uClibc 0.9.30 and
earlier and add already present functionality.
Closes#11210, #11211.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35710
PTP for gianfar can be built as a module. Create a package for it.
[juhosg: remove the mp85xx specific patch]
Patchwork: http://patchwork.openwrt.org/patch/3344/
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35706
[juhosg: move the fsl-pq-mdio driver into a separate package]
Patchwork: http://patchwork.openwrt.org/patch/3345/
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35705
Fixes spurious build issues when changing target CFLAGS for specific ABI
options (such as ARM's floating point ABI).
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35683
Bastian Bittorf reported that some of the silent freezes on a Linksys WRT54G
were due to overflow of the RX DMA ring buffer, which was created with 64
slots. That finding reminded me that I was seeing similar crashed on a netbook,
which also has a relatively slow processor. After increasing the number of
slots to 128, runs on the netbook that previously failed now worked; however,
I found that 109 slots had been used in one test. For that reason, the number
of slots is being increased to 256.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
SVN-Revision: 35671
Currently, most platforms define such helpers in their own diag.sh
implementation with almost identical code. By factoring out the
common ground it's possible to simplify maintainability and
homogenize the haptics over multiple platforms (so far as is
reasonably practicable, in a next step).
[juhosg:
- fix led_set_attr parameters in led_timer
- add led_morse and status_led_set_morse helpers
- add status_led_blink_{preinit,failsafe} helpers]
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35648
1.0.1d had a rushed fix for CVE-2013-0169 which broke in certain
circumstances. 1.0.1e has the fix for TLS.
Also include a further patch from the 1.0.1 branch which fixes the
breakage this introduced for Cisco's outdated pre-standard version of
DTLS, as used by OpenConnect.
Update mirror URLs to reflect current reality.
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35600
This patch makes it possible to reset and enable writing vlans to recent switchs.
This is based on a patch by jcharest and the Broadcom SDK.
SVN-Revision: 35585