Commit graph

7859 commits

Author SHA1 Message Date
Jo-Philipp Wich
265a2deba3 base-files: network.sh: extend network_get_ipaddr6() / network_get_subnet6() to take ipv6-prefix-assignment into account, add further helper functions to fetch all ips of a given interface
SVN-Revision: 36942
2013-06-17 11:33:36 +00:00
Felix Fietkau
749e989215 ath9k: revert parts of the ANI changes in the latest mac80211 update to fix regressions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36941
2013-06-16 12:56:16 +00:00
Felix Fietkau
50f12e1b98 mac80211: fix disabling rfkill support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36940
2013-06-16 09:25:41 +00:00
Felix Fietkau
5ca4d24cd1 mac80211: update to wireless-testing 2013-06-13 + latest backport infrastructure
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36939
2013-06-15 20:14:06 +00:00
Jo-Philipp Wich
36d3fafd77 firewall: update to git head
- properly process intermediate "!" options in argument list (fixes negated ipsets)

SVN-Revision: 36935
2013-06-13 18:54:49 +00:00
Jo-Philipp Wich
0db38adf1c firewall: update to git head
- fixes handling of reject target for rule sections with specific destination zone

SVN-Revision: 36933
2013-06-13 12:49:00 +00:00
Jo-Philipp Wich
1150e299bb uhttpd: expose missing options to uci
SVN-Revision: 36932
2013-06-13 11:55:12 +00:00
Steven Barth
302cf427cb odhcp6c: add sanity checks for NDP and MTU parameters from RAs
SVN-Revision: 36930
2013-06-13 06:38:48 +00:00
Hauke Mehrtens
4e0c649783 kernel: add dependencies for kernel 3.10
SVN-Revision: 36925
2013-06-12 13:59:34 +00:00
Steven Barth
4f0a0defa6 6relayd: make route preference and prefix on-link flag configurable
SVN-Revision: 36922
2013-06-11 20:52:27 +00:00
Steven Barth
33c620773d base-files: remove unnecessary early sysctl-hack
SVN-Revision: 36920
2013-06-11 14:10:45 +00:00
Steven Barth
e2f33bedfa base-files: set default IPv6 forwarding value to 1
SVN-Revision: 36918
2013-06-11 13:30:18 +00:00
Felix Fietkau
361670c9d0 uci: update to fix excessive reorder delta entry duplication (#13678)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36915
2013-06-11 12:51:08 +00:00
Felix Fietkau
cf3643f586 libubox: update to latest version, fixes an uloop use-after-free bug
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36914
2013-06-11 11:46:54 +00:00
Steven Barth
f6dd266c97 iproute2: add drop-failed rule action (patch by Jonas Gorski)
SVN-Revision: 36910
2013-06-11 09:27:46 +00:00
Felix Fietkau
9fb5bf176e netifd: update to latest version, uses the new uci/blob code from libuci
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36909
2013-06-10 12:42:30 +00:00
Felix Fietkau
69636a944a uci: update to latest version, adds uci<->blobmsg conversion code from netifd
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36908
2013-06-10 12:42:25 +00:00
Felix Fietkau
15f17901f9 libubox: update to latest version, adds some helper function
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36907
2013-06-10 12:42:20 +00:00
Steven Barth
5caa45d0b3 ppp: correctly handle address when reloading
SVN-Revision: 36904
2013-06-10 10:42:34 +00:00
Steven Barth
491deaed2c netifd: improve reloading behaviour
SVN-Revision: 36903
2013-06-10 10:42:15 +00:00
John Crispin
e40f830383 lantiq: atm: Use a tasklet to handle incoming packets. Fix #12917.
Incoming packets are now processes in a tasklet instead of in the
irq handler; this should improve latency.

This patch is based on a previous version of ltq-atm driver, which
did implement a tasklet.

It has been tested on a arv4518pw with a
Lantiq Danube for about a month and it seems to work well.

Signed-off-by: Luca Dariz <luca.dariz@gmail.com>
Tested-by: Luca Dariz <luca.dariz@gmail.com>

SVN-Revision: 36902
2013-06-10 08:25:17 +00:00
John Crispin
e078f649b5 procd: make the preinit rules wildcard all buttons for failsafe
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36896
2013-06-10 08:24:44 +00:00
John Crispin
9c01967ab7 procd: update to latest git revision
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36895
2013-06-10 08:24:39 +00:00
John Crispin
1c109c2653 ubox: update to latest git revision
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36894
2013-06-10 08:24:35 +00:00
John Crispin
1f52c5a72c sysupgrade: create state file so procd knows when a sysupgrade is in progress
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36893
2013-06-10 08:24:31 +00:00
John Crispin
dff1529d2a modules: make all led and button modules used during boot priority 1
This makes sure the modules are symlinked in /etc/modules-boot.d/

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36892
2013-06-10 08:24:25 +00:00
John Crispin
5e45a68a4a base-files: fix failsafe via button press
entering failsafe by pressing a button during boot was broken for procd as init

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36891
2013-06-10 08:24:13 +00:00
John Crispin
9353e01af4 base-files: change PATH order
This allows packages to override busybox applets by placing the new
binaries in /usr/{sbin,bin}

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36890
2013-06-10 08:24:02 +00:00
Jo-Philipp Wich
bc73ca5619 iwinfo: add phyname attribute, this is useful to group networks by radio phy
SVN-Revision: 36889
2013-06-09 14:39:14 +00:00
Jo-Philipp Wich
cb24c37858 libiwinfo: ignore log messages from wpa_supplicant while scanning
wpa_supplicant may send log and event messages intermixed with the
expected scan results.  This makes "iwinfo wlan0 scan" and LuCI
"site survey" display nothing when many AP's are around.

Eliminate the CTRL-EVENT-BSS-ADDED events, interspersed log messages,
lines with unexpected format.  Increase timeout to handle the max
number of channels (2.4, 3.6, 4.9, 5 GHz).  Insure receive buffer is
null-terminated.

Signed-off-by: Jean-Pierre Tosoni <jp.tosoni@acksys.fr>

SVN-Revision: 36888
2013-06-09 14:39:09 +00:00
Steven Barth
f995c90329 netifd: Improve IPv6 source-routing policies
SVN-Revision: 36884
2013-06-08 13:26:33 +00:00
Jonas Gorski
b9de8ca7f5 netifd: bring wifi down before shutting down
works around wifiX references not being freed on network restart.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36883
2013-06-08 11:44:12 +00:00
Felix Fietkau
23aa9546ce ath9k: fix paprd descriptor setup
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36881
2013-06-07 16:11:56 +00:00
Felix Fietkau
0924782279 ath9k: improve multicast buffering handling, take care of the MORE_DATA flag properly
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36880
2013-06-07 16:04:06 +00:00
Jo-Philipp Wich
e7b15446a8 firewall: udpate to git head (#13652, #13654, #13658)
- optimizes chain usage for ingress rules
  - adds limit match support for redirect rules
  - fixes automatic redirect dest detection on little endian systems
  - leaves base chains in place on reload to allow user rules to target e.g. "reject"

SVN-Revision: 36871
2013-06-06 14:12:02 +00:00
Jo-Philipp Wich
5cf06bd17b firewall: copy libext*.a from staging dir and drop kernel.mk includes, solves problem with colliding CONFIG_IPV6 symbols
SVN-Revision: 36868
2013-06-06 14:02:29 +00:00
Jo-Philipp Wich
e94cf1c72b iptables: install libext*.a into staging dir
SVN-Revision: 36867
2013-06-06 14:02:24 +00:00
Steven Barth
3f67360012 base-files: use less entropy when generating ULAs
SVN-Revision: 36865
2013-06-06 09:52:00 +00:00
Felix Fietkau
29464f1367 ath9k: fix a regression in the powersave handling related changes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36859
2013-06-05 19:16:20 +00:00
Felix Fietkau
1d301e00af ath9k: merge a fix for ar9550 eeprom access
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36858
2013-06-05 19:16:16 +00:00
Nicolas Thill
eed8141976 kmod-usb-net-cdc-mbim: fix module loading
cdc_mbim should be loaded after cdc_ncm (closes: #13562)

SVN-Revision: 36856
2013-06-05 14:34:50 +00:00
Jo-Philipp Wich
ecc95dcba8 firewall: update to git head (#13652)
- simplifies using ipsets for rules and redirects, match direction can be specified in-place like option ipset 'setname src dst dst'
  - uses zone_name_src_ACTION chains for input rules, this fixes logging with log enabled src zones

SVN-Revision: 36854
2013-06-05 11:40:40 +00:00
Jo-Philipp Wich
0a74d9d5c3 firewall3: fix accidentally changed install directive
SVN-Revision: 36840
2013-06-04 12:30:50 +00:00
Jo-Philipp Wich
07a3110e88 firewall: fix git source url
SVN-Revision: 36839
2013-06-04 12:23:47 +00:00
Jo-Philipp Wich
b721c92221 firewall3: rename to firewall, move into base system menu, update to git head with compatibility fixes for AA
SVN-Revision: 36838
2013-06-04 12:21:52 +00:00
Jo-Philipp Wich
0dd6753c09 Drop legacy firewall package
SVN-Revision: 36837
2013-06-04 12:21:44 +00:00
Imre Kaloz
8170c9cfb0 add some more symbols
SVN-Revision: 36834
2013-06-04 11:23:27 +00:00
Jo-Philipp Wich
6f60308257 firewall3: update to git head (#13641)
* Fixes wrong chain used for zone forward policy

SVN-Revision: 36830
2013-06-04 10:26:49 +00:00
Felix Fietkau
d401a206d9 ath9k: fix some issues in the ap powersave fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36829
2013-06-04 10:21:44 +00:00
Felix Fietkau
2d4b5405f7 ath9k: fix a null pointer deref issue in the powersave fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36828
2013-06-03 20:58:28 +00:00
Jo-Philipp Wich
6eeca5176e firewall3: update to git head
- Fixes problems with reusing matches or targets from loadable extensions

SVN-Revision: 36826
2013-06-03 16:38:29 +00:00
Felix Fietkau
791c103df7 ath9k: prevent excessive buffered multicast traffic from drowning out regular traffic
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36825
2013-06-03 14:15:57 +00:00
Felix Fietkau
532aee10fd ath9k: improve AP mode powersave buffering handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36824
2013-06-03 14:15:52 +00:00
Felix Fietkau
b35dfca744 ath9k: increase ANI poll interval to 300 ms to get it close to the listen period
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36823
2013-06-03 14:15:43 +00:00
Felix Fietkau
8c69057980 uhttpd: update to latest version, fixes CGI related crashes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36817
2013-06-01 21:43:06 +00:00
Steven Barth
089d6612ce 6relayd: Work around Windows DHCPv6 quirks Announcing deprecated addresses breaks Windows clients
SVN-Revision: 36815
2013-06-01 17:51:02 +00:00
Felix Fietkau
452c80f8ec usbmode: fix hotplug script name
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36813
2013-05-31 15:42:23 +00:00
Felix Fietkau
b1df77669d replace usb-modeswitch with a rewrite that should be more reliable
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36812
2013-05-31 15:41:17 +00:00
Felix Fietkau
041ac5dbff procd: update to the latest version, fixes restarting stopped instances based on init script restart
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36811
2013-05-31 15:41:12 +00:00
Steven Barth
7ae506c7d4 odhcp6c: work around spurious false-positive address DECLINEs
SVN-Revision: 36809
2013-05-31 13:49:17 +00:00
Jo-Philipp Wich
3bb397c997 firewall3: use list notation for default zone network config to avoid "uci add_list" coercing the value wrongly
SVN-Revision: 36806
2013-05-31 13:23:23 +00:00
Steven Barth
bf582fbb7b odhcp6c: fix handling of multiple RAs in a row
SVN-Revision: 36804
2013-05-31 10:02:39 +00:00
Felix Fietkau
e8db72083a libubox: update to latest version, fixes some ustream issues that might be affecting uhttpd
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36803
2013-05-31 09:19:38 +00:00
John Crispin
ee65d346d9 procd: update to latest git revision
* add support for rcS
* logread can relay log via tcp
* make sure directories are created before mknod is called

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36776
2013-05-30 16:00:06 +00:00
Steven Barth
cdc3caf533 6relayd: Better compatibility with misbheaving DHCPv6 clients * Make the "best" address / prefix the first one being announced * Only add the "best" address to the hosts-file
SVN-Revision: 36772
2013-05-30 15:42:30 +00:00
Steven Barth
519f27cd33 netifd: updated IPv6 prefix delegation * Added support for prefix classes * Various bugfixes
SVN-Revision: 36771
2013-05-30 15:42:25 +00:00
Felix Fietkau
02fe12c00d uhttpd: update again to fix a ubus plugin crash bug
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36770
2013-05-30 13:16:38 +00:00
Felix Fietkau
eeb7fdc13e uhttpd: update to latest version, fixes script timeout for ubus requests
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36767
2013-05-30 10:44:20 +00:00
Felix Fietkau
5b19028c5c ubus: update to latest version, fixes a crash on request cancelling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36766
2013-05-30 10:44:16 +00:00
Steven Barth
dc6625f977 6relayd: more verbosity in leases and logging
SVN-Revision: 36764
2013-05-30 07:56:55 +00:00
Steven Barth
56a3396bf2 iptables: bump to 1.4.19.1
SVN-Revision: 36760
2013-05-29 14:58:04 +00:00
Felix Fietkau
0edabea0b1 ubus: update to latest version, fixes json-c library name
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36759
2013-05-29 10:54:09 +00:00
Felix Fietkau
1afe1f0a7e json-c: drop compatibility libraries
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36758
2013-05-29 10:49:22 +00:00
Felix Fietkau
f61933b3e8 libjson-c: Update to 0.11
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 36757
2013-05-29 10:31:53 +00:00
Felix Fietkau
1c2b8fdc08 libubox: update to latest version, adds support for the new json-c and adds a new blobmsg_json helper
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36756
2013-05-29 10:31:49 +00:00
Luka Perkov
5fbc56cfdc uboot-imx6: add new package
SVN-Revision: 36754
2013-05-29 01:27:30 +00:00
Felix Fietkau
6e5dd8c0b9 mac80211: fix a crash issue introduced in the active monitor code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36751
2013-05-28 21:20:22 +00:00
Steven Barth
439fdd4d65 netifd: fix IPv6-addresses disappearing due to lifetime-overflows
SVN-Revision: 36748
2013-05-28 18:32:01 +00:00
Steven Barth
23b3cebd56 odhcp6c: fix or debug disappearing IPv6 addresses
SVN-Revision: 36745
2013-05-28 16:28:14 +00:00
Felix Fietkau
e875338294 ath9k: fix some issues in PA predistortion (still disabled by default)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36744
2013-05-28 16:07:29 +00:00
Felix Fietkau
e6250644be mac80211: add support for "active" monitor interfaces which allow userspace tools to connect to APs via injection
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36743
2013-05-28 11:10:41 +00:00
Steven Barth
61c0c6ab68 6relayd: RFC 6204 and naming improvements * Announce delegated prefixes using route info according to RFC 6204 L-3 * Enable hybrid stateless + stateful DHCPv6-mode as default
SVN-Revision: 36738
2013-05-27 20:38:13 +00:00
Jo-Philipp Wich
63603ee478 firewall3: update to git head
- allows building without IPv6 support
	- uses more robust rules to cope with missing libext.a
	- uses better linking strategy to avoid symbol clashes with older iptables
	- introduces source compatiblity layer for different libxtables versions

SVN-Revision: 36736
2013-05-27 15:13:19 +00:00
Jo-Philipp Wich
fe42794fe6 uci: update to git head (#13348, http://luci.subsignal.org/trac/ticket/572)
- fixes overwriting list options with single-item lists in lua binding

SVN-Revision: 36730
2013-05-26 17:28:18 +00:00
Jo-Philipp Wich
e4f8c38ed1 firewall3: update to git head
- allows symbolic notation for src_ip, src_dip and dest_ip options, e.g. option src_ip 'lan' to automatically resolve to "192.168.1.0/24"
  - automatically infer destination zone for redirects from target ip, this makes 'dest' optional and nat reflection setup more robust
  - properly support output rules with dest '*' to hook directly into delegate_output
  - fixes crash when processing rules with unresolved targets

SVN-Revision: 36721
2013-05-26 15:48:04 +00:00
Steven Barth
f63064a257 6relayd: Fix DHCPv6-server picking up addresses from master interface
SVN-Revision: 36718
2013-05-26 10:06:02 +00:00
Jo-Philipp Wich
90887b5fb3 firewall3: update to git head
- fixes linking issues with some toolchains

SVN-Revision: 36703
2013-05-24 12:49:06 +00:00
Steven Barth
d8d7d7f4aa 6relayd: fix a lease-timing issue with stateful DHCPv6
SVN-Revision: 36702
2013-05-24 12:31:30 +00:00
Felix Fietkau
4ed6aabbfb mac80211: merge AP VLAN / WDS related fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36699
2013-05-24 11:54:47 +00:00
Jo-Philipp Wich
c1ff8cd9bb firewall3: update to git head
- Use weak references for instantiating libext*.a matches, makes fw3 independant from the compile time features of iptables
  - Do not leak memory when processing rules with unknown targets or matches

SVN-Revision: 36698
2013-05-23 13:07:44 +00:00
Felix Fietkau
10a697faaf mac80211: fix station info tx bytes (#13567)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36697
2013-05-23 13:06:17 +00:00
Felix Fietkau
75bb3138aa uhttpd: update to latest version, fixes #13564, #13560, improves error handling as pointed out in #13537
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36696
2013-05-23 10:50:42 +00:00
Felix Fietkau
4402cdc066 ath9k: merge some ar934x stability fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36695
2013-05-23 10:22:13 +00:00
Steven Barth
32c6ffb5a1 firewall3: Remove abandonend include
SVN-Revision: 36692
2013-05-23 06:38:25 +00:00
Jo-Philipp Wich
b757ca2259 firewall3: update to git head
- fix build on Linux < 3.7
  - limit zone names to 14 bytes

SVN-Revision: 36691
2013-05-22 14:15:53 +00:00
Steven Barth
9c3ac668e0 6relayd: Let OpenWrt override default CFLAGS
SVN-Revision: 36690
2013-05-22 11:58:54 +00:00
Jo-Philipp Wich
c12189b379 firewall3: update to git head
- fixes reload when firewall is not running already
  - fixes crash when ipsets are supported but undeclared
  - fixes handling of per zone user chains on reload

SVN-Revision: 36689
2013-05-22 11:37:41 +00:00
Steven Barth
9d115df749 6relayd: Fix a segfault when multiple downstream interfaces are present
SVN-Revision: 36687
2013-05-21 18:05:37 +00:00
Jo-Philipp Wich
dd83e87ab0 firewall3: update to git head
- fixes segfault in flush command if ipset support is not available
  - fixes internal rule generation if custom chains are enabled

SVN-Revision: 36686
2013-05-21 14:49:37 +00:00
Jo-Philipp Wich
6eec8009ba ipset: remove dependency on iptables-mod-ipset - technically it does not depend on it and the iptables matches are now part of the base
SVN-Revision: 36685
2013-05-21 13:00:28 +00:00