Commit graph

24294 commits

Author SHA1 Message Date
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
1c9bc8822d scripts: dl_cleanup.py: properly detect file names with <date>-<githash> version string
SVN-Revision: 36729
2013-05-26 17:28:11 +00:00
Gabor Juhos
c4d0a49348 ar71xx: typo in detect TL-MR10U/TL-MR11U
At offset 0x40, signature for TL-MR10U/TL-MR11U begin
from 0x00, not 0x10/0x11.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36727
2013-05-26 16:38:00 +00:00
Gabor Juhos
cc7bedf8a3 ar71xx: fix TL-MR10U usb power
MR10U is closer to MR3040 than WR703N. This changes also
enable USB power on GPIO18.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36726
2013-05-26 16:37:59 +00:00
Gabor Juhos
7d2182c455 kernel: update linux 3.9 to 3.9.4
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36725
2013-05-26 16:02:34 +00:00
Gabor Juhos
46225b99d9 kernel: update linux 3.8 to 3.8.13
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36724
2013-05-26 16:02:31 +00:00
Gabor Juhos
93ce462b7e ar71xx: set eth0 mac address to match bottom label of the OM2P LC
Signed-off-by: marek@open-mesh.com
CC: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36723
2013-05-26 16:02:29 +00:00
Gabor Juhos
0842478e44 ar71xx: add TP-LINK TL-MR10U
Small router with 4MB flash, 32MB RAM
http://www.tp-link.com.cn/product_300.html

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36722
2013-05-26 16:02:26 +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
Luka Perkov
0998065a53 generic: ar8216: add port mirroring
Tested on Buffalo WZR-600DHP with ar8316 switch. Commands used to mirror both
RX and TX traffic from LAN port 1 to LAN port 4:

$ swconfig dev switch0 set enable_mirror_rx 1
$ swconfig dev switch0 set enable_mirror_tx 1
$ swconfig dev switch0 set mirror_monitor_port 4
$ swconfig dev switch0 set mirror_source_port 1

Signed-off-by: Colin Leitner <colin.leitner@googlemail.com>
Tested-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 36713
2013-05-24 13:10:22 +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
Felix Fietkau
7d3fca89c0 gcc: remove version 4.7
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36694
2013-05-23 10:22:09 +00:00
Felix Fietkau
ba29b8f04f gcc: port missing patches from 4.6 to 4.8
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36693
2013-05-23 10:21:59 +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
Jonas Gorski
6a4bd9012e gcc: fix avr32 default GCC version
Fix gcc version default after r36355 removing all GCC_DEFAULT_VERSION
symbols.

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

SVN-Revision: 36688
2013-05-22 08:26:57 +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
Jo-Philipp Wich
9b6c31d4cc firewall3: move libext*.a copying to compile phase
SVN-Revision: 36684
2013-05-21 12:58:36 +00:00
Jo-Philipp Wich
8df6cd005c netfilter: move time, mark, set matches and MARK, REDIRECT, SET targets into base iptables package - drop iptables-mod-ipset
SVN-Revision: 36683
2013-05-21 12:58:15 +00:00
Jo-Philipp Wich
e8050c6c35 firewall3: update to git head
* use libiptc and libxtables directly to manage ruleset, iptables-restore is unreliable and prone to race conditions
 * make ipset integration more reliable

SVN-Revision: 36681
2013-05-21 10:15:14 +00:00
Jo-Philipp Wich
a9a9644efd iptables: use -ffunction-sections, -fdata-sections and --gc-sections
SVN-Revision: 36680
2013-05-21 10:15:10 +00:00
Felix Fietkau
fe7e52e4a4 ar71xx: disable jffs2 by default, it confuses users since many devices have incompatible eraseblock sizes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36679
2013-05-21 09:45:46 +00:00
Steven Barth
24c39ddcf7 odhcp6c: Various fixes * Honour T1 and T2 values from servers better * Correctly send Reconfigure-Accept option in requests
SVN-Revision: 36678
2013-05-21 09:13:48 +00:00
Steven Barth
37baf2d6b2 6relayd: Various DHCPv6-fixes * Be more standards-compliant in stateful mode * Handle hostnames from Windows-clients correctly * Handle messages from DHCPv6-relays better
SVN-Revision: 36677
2013-05-21 09:13:40 +00:00
Jonas Gorski
a01be4a217 kernel: update 3.9 to 3.9.3
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36676
2013-05-20 16:57:00 +00:00
Steven Barth
c6f70381c9 odhcp6c: Fix address / prefix expiry logic
SVN-Revision: 36675
2013-05-20 14:54:20 +00:00
Jonas Gorski
3ac261cd21 ar7: drop obsolete 3.3 support
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36674
2013-05-20 12:42:44 +00:00
Jonas Gorski
334e6d4e0c ar7: drop obsolete 3.6 support
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36673
2013-05-20 12:42:41 +00:00
Jonas Gorski
49c81c6e00 ar7: switch to 3.9
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36672
2013-05-20 12:42:38 +00:00
Jonas Gorski
c4b943c82c ar7: add support for 3.9
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36671
2013-05-20 12:42:36 +00:00
Jonas Gorski
4d0fcd0c49 kernel: add some missing symbols/move them to generic
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36670
2013-05-20 12:42:32 +00:00
Jonas Gorski
b751b5893c brcm2708: make it boot on revision 2 raspberry pis
* update the bootcode.bin to the newest version
    - gpu/cpu mem split is now configured through config.txt, so no need
      to create more than one sd card image (just edit the config.txt)
    - bootcode.bin now supports the never revision 2 raspberry pis

  * add a commented prepopulated config.txt for easier config changes
    Taken from <https://github.com/Evilpaul/RPi-config>

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

SVN-Revision: 36668
2013-05-20 12:07:03 +00:00
Jonas Gorski
44696a01c7 brcm2708-gpu-fw: download zipped sources and switch to Hexxeh's git
* Use the gzipped download feature from github to get a tarball with a
  stable hash.
* Use Liam McLoughlin's git which has a subset of the original git's
  contents, dropping all the precompiled modules and kernels.

Reduces the download size from ~1.27 GiB to ~25 MiB.

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

SVN-Revision: 36667
2013-05-20 12:07:00 +00:00
Jonas Gorski
c901854ce4 mac80211: remove superfluous patch
This is already handles in compat-3.8.h as prandom* was introduced
in 3.8; only the aliases were removed in 3.10.

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

SVN-Revision: 36666
2013-05-20 12:06:57 +00:00
Luka Perkov
3b1c133d1d uboot-envtools: upgrade to 2013.04
SVN-Revision: 36665
2013-05-20 08:52:44 +00:00
Jonas Gorski
c0435a971e kernel: generic: add 3.10-rc1 support
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36663
2013-05-19 18:36:15 +00:00
Jonas Gorski
87203c4049 kernel: adapt module paths for 3.10-rc1
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36662
2013-05-19 18:36:09 +00:00
Jonas Gorski
89e299259c mac80211: make it build with 3.10-rc1
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36661
2013-05-19 18:36:06 +00:00