Commit graph

4569 commits

Author SHA1 Message Date
Jo-Philipp Wich
1a0d7a3612 firewall: fix chain selection logic, option dest must be ignored for notrack targets
SVN-Revision: 23143
2010-09-28 11:38:31 +00:00
Jo-Philipp Wich
a1a31f1831 firewall: don't setup nat reflection if negations are used
SVN-Revision: 23142
2010-09-28 11:11:11 +00:00
Jo-Philipp Wich
6a335579b8 fireall: - support negations for src_ip, dest_ip, src_dip options in rules and redirects - add NOTRACK target to rule sections, allows to define fine grained notrack rules
SVN-Revision: 23141
2010-09-28 10:42:56 +00:00
Alexandros C. Couloumbis
ac899e4bd2 package/dropbear: simplify & reduce init script size (closes #7985)
SVN-Revision: 23118
2010-09-24 15:57:53 +00:00
Jo-Philipp Wich
6bcdab79b6 base-files: prevent possible sourcing of JFFS2 meta files when merging overlay hooks
SVN-Revision: 23114
2010-09-23 17:32:58 +00:00
Daniel Dickinson
b125e3f68e Fixed duplicated content in file in commit 23111
SVN-Revision: 23112
2010-09-23 14:06:47 +00:00
Daniel Dickinson
7fe34123d6 Missed file committing previous change 23110
SVN-Revision: 23111
2010-09-23 14:03:22 +00:00
Daniel Dickinson
18b473ca9b base/block-extroot, base/block-mount: Modified preinit and block-extroot and block-mount so that use of block-mount and block-extroot do not require that block-extroot, block-mount, nor the kernel modules they depend, on are required to included in the image. That is block-extroot and dependencies may now be installed as modules onto the jffs2 part of a squashfs system and it will work. In addition packages which are installed into the jffs2 of a squashfs system may now affect preinit, so long as they do not require execution of commands that occur before the merging of the jffs2 and built-in (squashfs) preinit scripts is done.
Thanks jow for the preinit merge stuff!

SVN-Revision: 23110
2010-09-23 13:58:05 +00:00
Felix Fietkau
c749f9a924 ath9k: fix a warning during a failed aggregation start
SVN-Revision: 23100
2010-09-20 17:32:18 +00:00
Daniel Dickinson
1385904dfa base-files: Add function pi_include the /lib/functions/boot.sh used by preinit, which safely sources files as well as working correctly whether the script using it is a package added to the jffs2 part of a squashfs or built into an image or on some other root filesystem.
SVN-Revision: 23099
2010-09-19 23:29:40 +00:00
Daniel Dickinson
46803a3b75 base/block-extroot: Move block-extroot in menuconfig from Utilities/disc to Base system
SVN-Revision: 23098
2010-09-19 22:34:06 +00:00
Felix Fietkau
d6f08bcf81 ath9k: fix various aggregation related race conditions
SVN-Revision: 23097
2010-09-19 17:23:15 +00:00
Jo-Philipp Wich
cdd98e3f3a base-files: bump pkg revision after r23091, r23092
SVN-Revision: 23093
2010-09-19 15:14:42 +00:00
Jo-Philipp Wich
52531f4eb6 base-files: kill possibly existing udhcpc instance when bringing up a dhcp iface, utilize service_kill() in dhcp shutdown. Based on patch by Stijn Tintel. Possibly related to #7314
SVN-Revision: 23092
2010-09-19 15:13:06 +00:00
Jo-Philipp Wich
84b7b812f3 base-files: cached state vars after scan_interfaces might be out of sync when binding dhcp leases, this could lead to an unconfigured wan interface in certain circumstances. Replace config_get calls with uci_get_state
SVN-Revision: 23091
2010-09-19 15:04:08 +00:00
Jo-Philipp Wich
b07620df31 firewall: protect iptables invocations with locks in interface ops, it might run concurrently due to hotplug invocations on network restart
SVN-Revision: 23090
2010-09-19 15:01:47 +00:00
Jo-Philipp Wich
a5d0879de7 ppp: use service_kill()
SVN-Revision: 23088
2010-09-19 14:09:27 +00:00
Jo-Philipp Wich
4815de3f26 base-files: introduce service_kill() into functions.sh - a convenience wrapper for killing services by pid or pidfile with a grace period for termination before kill
SVN-Revision: 23087
2010-09-19 14:03:32 +00:00
Florian Fainelli
8e9736675f Fix missing dependency in solos-pci module
Modinfo for solos-pci tells us that it has a dependency on "atm", but this isn't
 captured in the Makefile.

Signed-off-by: Philip A. Prindeville <philipp_subx@redfish-solutions.com>

SVN-Revision: 23086
2010-09-19 11:18:00 +00:00
Alexandros C. Couloumbis
aea8213bdd package/zlib: fix Darwin compile failure (closes #7963)
SVN-Revision: 23085
2010-09-19 05:33:18 +00:00
Jo-Philipp Wich
f90328f26e firewall: make invalid redirects and duplicate zones non-fatal, print a notice and discard them
SVN-Revision: 23080
2010-09-16 11:47:35 +00:00
Felix Fietkau
4df10391ba rt2800pci: add back ifdown hang workaround that was accidentally dropped during a compat-wireless update
SVN-Revision: 23078
2010-09-16 11:38:27 +00:00
Felix Fietkau
8cd8f6029c hostapd: fix non-multicall wpa_supplicant compile
SVN-Revision: 23073
2010-09-15 17:51:06 +00:00
Jo-Philipp Wich
1e227c0225 Support for Solos PCI ADSL2+ modem This driver is used by Traverse Technologies' Geos ADSL2+ x86 router:
http://www.traverse.com.au/productview.php?product_id=117

Signed-off-by: Nathan Williams <nathan@traverse.com.au>

SVN-Revision: 23070
2010-09-15 03:52:13 +00:00
Jo-Philipp Wich
fe247d02bd Support for RTL-8139C+ ethernet adapters Signed-off-by: Nathan Williams <nathan@traverse.com.au>
SVN-Revision: 23068
2010-09-15 03:48:20 +00:00
Felix Fietkau
7fb3870671 hostapd: fix wpa_supplicant crash issues in WDS STA mode
SVN-Revision: 23067
2010-09-15 03:14:48 +00:00
Jo-Philipp Wich
7557011cb1 firewall: run ifdown hotplug events synchronized, fixes a racecondition on "ifup iface" when ifdown and ifup events are delivered with a small dealy
SVN-Revision: 23064
2010-09-15 01:53:36 +00:00
Jo-Philipp Wich
1fe50da4bb firewall: deliver remove hotplug events for all active zones/networks when restarting the firewall
SVN-Revision: 23062
2010-09-14 23:11:12 +00:00
Felix Fietkau
fc7fbe8349 mac80211: upgrade to wireless-testing 2010-09-14, replace the external carl9170 with the recently merged upstream version
SVN-Revision: 23061
2010-09-14 22:53:54 +00:00
Felix Fietkau
9c2cfd7a1b mac80211: add a pending fix for a locking error in the aggregation reorder release code
SVN-Revision: 23060
2010-09-14 21:13:01 +00:00
Felix Fietkau
2c848d33a9 ath9k: fix multi-bss operation (fixes #7914)
SVN-Revision: 23059
2010-09-14 16:26:46 +00:00
Alexandros C. Couloumbis
c1c4e40dff package/opkg: add missing patch from r23050
SVN-Revision: 23052
2010-09-13 08:57:16 +00:00
Alexandros C. Couloumbis
bf29f6455f package/opkg: update to r563
SVN-Revision: 23050
2010-09-13 08:13:36 +00:00
Alexandros C. Couloumbis
c415d7529b package/zlib: update to zlib-1.2.5
SVN-Revision: 23049
2010-09-13 07:45:25 +00:00
Jo-Philipp Wich
06dd991494 broadcom-diag: SimpleShare: expose power button as reset to the system, remove actual reset button - it's hardwired and will reset the SoC (#7928)
SVN-Revision: 23043
2010-09-13 01:35:39 +00:00
Jo-Philipp Wich
9bb6f3b5f3 opkg: - implement --add-dest and --add-arch commandline options, this allows to run entirely without configuration - tweak default config location patch to not require a config in offline root mode - rename --force-run-hooks option to --force-postinstall, its a more appropriate name - utilize new opkg commandline options in package-ipkg.mk and remove config file generation
SVN-Revision: 23032
2010-09-12 21:16:02 +00:00
Michael Büsch
78539bfa4f Fix compilation of crypto modules. This fixes #7920
SVN-Revision: 23028
2010-09-12 15:31:00 +00:00
Michael Büsch
0c4abfba31 iproute2: Add lex/yacc files dependencies. Refresh other patches.
SVN-Revision: 23027
2010-09-12 11:05:55 +00:00
Michael Büsch
393c83514b Fix kernel crypto modules for >= 2.6.36
SVN-Revision: 23026
2010-09-11 21:42:37 +00:00
Jo-Philipp Wich
f3dd8278bb firewall: - simplify masquerade rule setup - remove various subshell invocations - speedup fw() by not relying on xargs and pipes - rework SNAT support - attach to dest zone, use src_dip/src_dport as snat source
SVN-Revision: 23024
2010-09-11 20:04:34 +00:00
Jo-Philipp Wich
9499018b9a 6in4: don't use abbreviated notation for 0.0.0.0/0, iproute apparently does not like it anymore
SVN-Revision: 23022
2010-09-11 18:58:17 +00:00
Florian Fainelli
a1264431fe nvvram: no checksum error recording on WRT54G3GV2(-VF)
The CFE of the WRT54G3GV2 expects two firmware images, if one of them
produces a CRC error (which is the case after you installed OpenWrt, as
there is no second image), it writes one of three consecutive bytes to
the flash. (Look for "Image Status : IMG2_BAD" during boot.)

After the third boot with a CRC error, it stops and waits for a new
firmware image. To prevent this 'noset_try_flag' must be set to 1 on boot.

Tested with my own box.

Signed-off-by: Niclas Koeser <nks at informatik.uni-kiel.de>

SVN-Revision: 23007
2010-09-11 18:37:09 +00:00
Florian Fainelli
5a9976011e update acx-mac80211 to 20100830
SVN-Revision: 23002
2010-09-11 08:11:28 +00:00
Florian Fainelli
7daf012a27 fix acx-mac80211 build failure with latest compat-wireless
SVN-Revision: 23001
2010-09-11 08:11:22 +00:00
Michael Büsch
83cb9b7a07 iproute2: Once the make calls were fixed up, parallel compile seems to work well.
SVN-Revision: 22992
2010-09-09 21:50:07 +00:00
Jo-Philipp Wich
70dff7070e uhttpd: break tight loop when receiving eof during header reading (#7904)
SVN-Revision: 22988
2010-09-09 20:15:02 +00:00
Michael Büsch
7a54becd63 iproute2: Fix compilation
SVN-Revision: 22987
2010-09-09 00:40:25 +00:00
Jo-Philipp Wich
5af8eb0f36 util-linux-ng: make build depend on libncurses, cfdisk is compiled unconditionally and will fail with missing input files if ncurses was not detected during configure
SVN-Revision: 22982
2010-09-08 06:35:23 +00:00
Jo-Philipp Wich
91118a9500 base-files: add an experimental "-c" flag which tries to preserve *all* changed files in /overlay/etc minus some system files
SVN-Revision: 22977
2010-09-07 22:20:26 +00:00
Michael Büsch
7b30b70e11 From: Joseph Roback <openwrt-devel@roback.cc>
26 Makefile patches for enabling parallel builds. Tested on Linux (8-core) and Darwin (12-core), individually and from clean build_root. The first set is from trunk, the second is from feeds/packages.

Signed-off-by: Joe Roback <joe@roback.cc>

SVN-Revision: 22965
2010-09-07 10:00:34 +00:00