Commit Graph

27059 Commits (b403f780e9eabb5219f4be2ebaea5613a01b77da)

Author SHA1 Message Date
Jo-Philipp Wich b403f780e9 firewall: update to git head
- fixes calculation of IPv4 netmasks derived from 0.0.0.0/0 CIDRs

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-18 14:14:35 +00:00
Steven Barth a84a14bb3b odhcp6c: Add option to override interface identifier in RA-client
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-18 12:51:14 +00:00
Florian Fainelli fcf2609605 brcm63xx: refresh 3.9 patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-18 10:54:28 +00:00
Florian Fainelli 4c0b484f86 brcm63xx: provide a default sane MAC address for Cable Modem devices
Cable modem devices currently poke at some random location in RAM and
may end up having an invalid MAC address which is not suitable. Provide
a default one which is sane.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-18 10:54:24 +00:00
Felix Fietkau 9a035029ca libubox: update to latest version, fixes uloop recursion issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-18 10:52:40 +00:00
Felix Fietkau 05d17a1895 ustream-ssl: update to latest version, fixes uhttpd infinite loop issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-18 10:52:33 +00:00
Florian Fainelli 23a7a4a036 brcm63xx: create initramfs HCS images
Cable Modem devices cannot load an ELF file directly so we need to
provide them with a HCS image even when targetting initramfs.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-17 22:57:04 +00:00
Steven Barth 28aeb64578 netifd: IPv6: Fix sorting order in last commit.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-17 21:29:14 +00:00
Steven Barth 89fe8241e4 netifd: Satisfy IPv6 assignments ordered by prefix length
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-17 21:16:22 +00:00
Florian Fainelli 9e3b17277e brcm63xx: simplify HCS image creation
$(KDIR)/vmlinux is already a binary image, there is no need to create
another one.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-17 19:32:56 +00:00
Florian Fainelli 447128f9cf brcm63xx: remove support for 3.8 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-17 19:32:47 +00:00
Florian Fainelli feaa92e91c brcm63xx: switch to 3.9 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-17 19:32:42 +00:00
Florian Fainelli 7884e6e60e brcm63xx: fix missing antislash in BCM6345 ethernet patch
This would cause build failure when disabling support for particular
CPUs.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-17 19:32:35 +00:00
Jo-Philipp Wich 49f5201b52 hostapd: correctly handle macfile uci option
Make hostapd.sh correctly handle the macfile uci option.

Such option specifies the macfile name to pass into the
hostapd configuration file. Moreover, if a maclist option
has been specified, copy the macfile before appending new
entries.

Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-17 11:59:29 +00:00
Jo-Philipp Wich bf4c0b1b8a dnsmasq: use host-record instead of address
Using "--address" for individual host A records is broken, use "--host-record" instead.
The following patch changes dnsmasq.init to build individual host records using "--host-record" instead of "--address".

Signed-off-by: Adam Gensler <openwrt at gnslr.us>

[jow: shorter description, simplified shell script code]

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-17 11:55:30 +00:00
Jo-Philipp Wich 616aae91c8 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-17 11:33:36 +00:00
Felix Fietkau 828e8d9ec3 ath9k: revert parts of the ANI changes in the latest mac80211 update to fix regressions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-16 12:56:16 +00:00
Felix Fietkau eec5a38d06 mac80211: fix disabling rfkill support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-16 09:25:41 +00:00
Felix Fietkau 5fb5b75668 mac80211: update to wireless-testing 2013-06-13 + latest backport infrastructure
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-15 20:14:06 +00:00
Felix Fietkau ed11b6185b kirkwood: disable the CONFIG_IP_ADVANCED_ROUTER kernel config override (#13702)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-15 11:50:50 +00:00
Jo-Philipp Wich 8cbd945e7c firewall: update to git head
- properly process intermediate "!" options in argument list (fixes negated ipsets)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-13 18:54:49 +00:00
Jo-Philipp Wich fdcddce043 firewall: update to git head
- fixes handling of reject target for rule sections with specific destination zone

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-13 12:49:00 +00:00
Jo-Philipp Wich f5a4945636 uhttpd: expose missing options to uci
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36932 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-13 11:55:12 +00:00
Steven Barth 97065080b9 odhcp6c: add sanity checks for NDP and MTU parameters from RAs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-13 06:38:48 +00:00
Hauke Mehrtens 1f3599ecc4 brcm47xx: run make kernel_oldconfig for 3.9 kernel config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-12 14:51:50 +00:00
Hauke Mehrtens 639a356c06 brcm47xx: remove support for kernel 3.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-12 14:48:45 +00:00
Hauke Mehrtens 7a79a9e8f6 brcm47xx: add initial support for kernel 3.9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-12 14:47:53 +00:00
Hauke Mehrtens 88d915351c kernel: add dependencies for kernel 3.10
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-12 13:59:34 +00:00
Steven Barth 9a246f0762 6relayd: make route preference and prefix on-link flag configurable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-11 20:52:27 +00:00
Steven Barth f8cb31d28a base-files: remove unnecessary early sysctl-hack
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-11 14:10:45 +00:00
Steven Barth eda688921a base-files: set default IPv6 forwarding value to 1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-11 13:30:18 +00:00
Felix Fietkau 21565d94ec uci: update to fix excessive reorder delta entry duplication (#13678)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-11 12:51:08 +00:00
Felix Fietkau 9beac91954 libubox: update to latest version, fixes an uloop use-after-free bug
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-11 11:46:54 +00:00
Steven Barth ae2609531f linux: add ipv6 failed-policy routing action (by Jonas Gorski)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-11 09:27:53 +00:00
Steven Barth 7a187e61cd iproute2: add drop-failed rule action (patch by Jonas Gorski)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-11 09:27:46 +00:00
Felix Fietkau 81450bd00d netifd: update to latest version, uses the new uci/blob code from libuci
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 12:42:30 +00:00
Felix Fietkau 50b55436e9 uci: update to latest version, adds uci<->blobmsg conversion code from netifd
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 12:42:25 +00:00
Felix Fietkau e31dc9d877 libubox: update to latest version, adds some helper function
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 12:42:20 +00:00
Steven Barth 5882e71509 ppp: correctly handle address when reloading
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 10:42:34 +00:00
Steven Barth 5bab66f331 netifd: improve reloading behaviour
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 10:42:15 +00:00
John Crispin 7dd825eacb 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36902 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 08:25:17 +00:00
John Crispin 6c95162c34 lantiq: Fixes to athxk EEPROM loading
Use platform data array for storing ath5k EEPROM instead of creating another one.
EEPROM size is 2048 words (2 bytes), so we must read 4096 bytes from flash.
No need to keep the checksum fix now that the EEPROM is loaded completely.
Add a manual eeprom swap for ath9k and keep the endian way.
Use mac-offset property retrieved from the DTS.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 08:25:12 +00:00
John Crispin 46a5493d48 lantiq: make kernel_oldconfig
Seems the existing kernel config for 3.8 was cp'ed from 3.7; this patch
is the result of "make kernel_oldconfig" with defaults for new options.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 08:25:07 +00:00
John Crispin 80ecbd5197 lantiq: diag.sh with both red and green power LEDs
This provides a boot LED sequence suitable for devices with both red and
green LEDs for power. This assumes no "default-on" settings in the
device tree.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 08:25:02 +00:00
John Crispin ecb32a2174 ramips: add HAME MPR-A2 support
This patch adds support for HAME MPR-A2 router using a DTS file.
The platform is Ralink RT5350.
http://wiki.openwrt.org/toh/hame/mpr-a2

Signed-off-by: Dmitry Shmygov <shmygov@rambler.ru>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 08:24:56 +00:00
John Crispin a4e76e8e46 ramips: add support for belkin F7C027 wemo/homeautomatisation plug
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 08:24:50 +00:00
John Crispin 755a5b2ee5 procd: make the preinit rules wildcard all buttons for failsafe
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 08:24:44 +00:00
John Crispin 0dabdd474a procd: update to latest git revision
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 08:24:39 +00:00
John Crispin 8cee3461f3 ubox: update to latest git revision
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 08:24:35 +00:00
John Crispin b21f877df0 sysupgrade: create state file so procd knows when a sysupgrade is in progress
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 08:24:31 +00:00