Commit graph

7726 commits

Author SHA1 Message Date
Steven Barth
a1af842016 ds-lite: add ds-lite network protocol handler
SVN-Revision: 36628
2013-05-13 17:12:39 +00:00
Steven Barth
5ce135ed87 netifd: Various IPv6 improvements * Add support for IP-in-IPv6 tunnels (DS-Lite) * Use source-based routing for IPv6 to allow multi-wan * Various smaller tunnel setup improvements
SVN-Revision: 36627
2013-05-13 17:12:34 +00:00
Steven Barth
ea71678b09 netifd: added support for setting up 6rd from DHCP
SVN-Revision: 36626
2013-05-13 17:12:30 +00:00
Steven Barth
ad93a571c6 odhcp6c: added support for DS-Lite + various fixes
SVN-Revision: 36625
2013-05-13 17:12:25 +00:00
Steven Barth
973dad61b0 firewall3: Remove obsoleted ULA-border
SVN-Revision: 36624
2013-05-13 17:12:20 +00:00
Steven Barth
07d99b62b7 firewall3: add wan6 interface to wan-zone by default
SVN-Revision: 36623
2013-05-13 17:12:15 +00:00
Steven Barth
4cb9d9715c firewall: Remove obsoleted ULA-border rule
SVN-Revision: 36622
2013-05-13 17:12:10 +00:00
Felix Fietkau
6a57ff8548 valgrind: do not depend on a particular ARM target, depend on the arch level
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36621
2013-05-13 15:05:03 +00:00
Steven Barth
8560648082 6rd: increase metric of default route
This will prefer native IPv6 over 6rd if both are present.

SVN-Revision: 36605
2013-05-12 08:07:15 +00:00
Jo-Philipp Wich
d59f8cfa8e iwinfo: only consider joined bss when finding current operating frequency, fixes spurious misreporting of frequencies in ad-hoc mode
SVN-Revision: 36604
2013-05-12 01:12:56 +00:00
Felix Fietkau
f09d89a7b1 ubus: update to the latest version, fixes a rare deadlock with multiple synchronous invoke/notify calls
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36603
2013-05-11 20:42:41 +00:00
Felix Fietkau
aacbb9ba77 openssl: disable mips16, it makes the code slower
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36602
2013-05-10 00:18:27 +00:00
Felix Fietkau
03531f565a px5g: disable assembler functions, fixes compile errors with mips16
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36601
2013-05-09 23:49:03 +00:00
Felix Fietkau
2430e9a4f5 toolchain: eliminate the INSTALL_LIBSTDCPP config symbol and make c++ support mandatory - fixes recursive config symbol dependency issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36594
2013-05-09 20:50:49 +00:00
Jonas Gorski
dc00dbd085 kernel: modules: kmod-fs-isofs depends on kmod-lib-zlib
Add missing dependency. Fixes #11624.

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

SVN-Revision: 36593
2013-05-09 20:50:10 +00:00
John Crispin
d48ad63b9d grub2: Add sub package grub-editenv for target installation
grub-editenv allows to modify grub2 environment files. Add a new package
that build grub2 for the target and packs up grub-editenv.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 36574
2013-05-07 12:35:07 +00:00
Steven Barth
29d4c36622 add uci support for "proxy-dnssec" in dnsmasq
This patch simply adds support for the "--proxy-dnssec" command in dnsmasq into the init file so it can be used with /etc/config/dhcp.

Signed-off-by: Adam Gensler <openwrt@kristenandadam.net>

SVN-Revision: 36570
2013-05-07 07:19:51 +00:00
Felix Fietkau
9d8e3e03df iw: update to 3.10, sync with nl80211.h changes in compat-wireless
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36569
2013-05-06 22:35:50 +00:00
Steven Barth
9c1ed6447b odhcp6c: Make SLAAC-only work without reqprefix=no
Previously if the upstream router did not provide any DHCPv6-service
the wan6 interface would not come up even if RAs were received. The new
behavior allows the wan6 interface to comeup with RA-only configuration
after a timeout of 10s.

SVN-Revision: 36555
2013-05-06 10:20:43 +00:00
Jo-Philipp Wich
95e139d0b2 ipset-dns: support simultaneously populating IPv4 and IPv6 sets
SVN-Revision: 36554
2013-05-06 10:01:45 +00:00
Jo-Philipp Wich
026271d03c base-files: change network_find_wan() procedure to ignore default gateways in different routing tables
SVN-Revision: 36553
2013-05-06 09:33:56 +00:00
Jo-Philipp Wich
3c17fd41a4 Add ipset-dns - a tiny DNS proxy service which puts resolved ip addresses into a specified ipset
SVN-Revision: 36552
2013-05-06 08:44:54 +00:00
John Crispin
c7c243669c sysupgrade: fixes broken pipe error during sysupgade
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36548
2013-05-05 12:41:42 +00:00
Luka Perkov
826b4e36c4 kernel: add veth module
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 36540
2013-05-03 15:16:50 +00:00
Felix Fietkau
b85c442e81 hostapd: enable 802.11r for the -full variant (#13250)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36533
2013-05-03 10:39:57 +00:00
Felix Fietkau
1b52dacef0 mac80211: merge a client mode channel switch handling fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36531
2013-05-03 09:14:03 +00:00
Felix Fietkau
18c588a570 ar71xx: add an external reset callback for ar913x and use it in ath9k - should reduce the frequency of DMA stop failures
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36530
2013-05-03 09:12:19 +00:00
Jo-Philipp Wich
4bba31b64c firewall3: update to git head
- assume "tcp+udp" if no protcol is specified in rules or redirects (#13422, #13386)
	- add support for fwmark matches and mark setting targets

SVN-Revision: 36521
2013-05-02 13:42:20 +00:00
Jo-Philipp Wich
89f9ce944f uci: update to git head
- copy permission of config files to state files to allow access to state info by non root users
	- properly handle empty string case when unsetting lists

SVN-Revision: 36518
2013-05-02 12:40:13 +00:00
Jo-Philipp Wich
7f2743d458 kernel: netfilter.mk: Explicitly set the order of autoloaded modules
In my machine, the file is created with arptable_filter before
arp_tables. This can't happen because the former depends on the
latter.

So, instead of rely on wildcards (*.ko), set by hand the files to
be loaded in the correct order.

Signed-off-by: Jonh Wendell <jonh.wendell@oiwifi.com.br>

SVN-Revision: 36512
2013-05-02 11:25:18 +00:00
Jo-Philipp Wich
a0b655b8f2 Fix install of iptables pkg-config files.
libiptc.pc depends on libip[4|6]tc.pc, thus all of those need to be
installed.
Should fix collectd build and thus #13146; which should make collectd
appear in snapshots again.

Signed-off-by: Danny Baumann <dannybaumann@web.de>

SVN-Revision: 36509
2013-05-02 08:10:55 +00:00
Hauke Mehrtens
ca7f9638d5 broadcom-diag: support for the WNDR3700v3
I recently picked up a WNDR3700 to put OpenWRT on, and only after tearing into the box did I find it
was one of the v3 boards, with poor OpenWRT support. This patch should add the board detection and
LED/button control to the broadcom-diag module, and should generate a netgear .chk image that the
bootloader and stock firmware will accept.

The changes to the broadcom-diag module are more than a few lines because the WNDR3700v3 is driving
its LEDs through an HC164 8-bit shift register.

Signed-off-by: Owen Kirby <osk@exegin.com>

SVN-Revision: 36482
2013-04-28 21:11:17 +00:00
Hauke Mehrtens
8a3a7fdf07 acx-mac80211: make it compile with recent mac80211 again
SVN-Revision: 36481
2013-04-28 18:53:20 +00:00
Hauke Mehrtens
3be90613fd broadcom-wl: read channel using wlc on detect
Hardcoding channel number to 11 is a bad idea, it may be even not
available on some devices. If there are two single-band radios, the
one for 5GHz doesn't have 11 channel.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 36479
2013-04-28 18:21:34 +00:00
Hauke Mehrtens
3cbc3b73aa mac80211: brcmsmac: remove initial support for core rev 28
To add support for core rev 28 there are a lot more changes needed.

SVN-Revision: 36477
2013-04-28 17:59:24 +00:00
Hauke Mehrtens
b014140c2e mac80211: b43: only use gpio 0 and 1 for the wifi led
sometimes b43 truned the gpio for the switch reset on.

SVN-Revision: 36476
2013-04-28 17:57:30 +00:00
Hauke Mehrtens
c807a7737f mac80211: b43: Handle DMA RX descriptor underrun
SVN-Revision: 36474
2013-04-28 16:55:53 +00:00
Jo-Philipp Wich
f1e214411d iwinfo: fix iwinfo_hardware() return value if chip id is not found
SVN-Revision: 36471
2013-04-28 14:04:39 +00:00
Felix Fietkau
6a2dd833cf ath9k: fix keycache handling with many connected clients
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36467
2013-04-27 09:56:18 +00:00
Felix Fietkau
fab1ddff73 mac80211: refresh patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36466
2013-04-27 09:56:14 +00:00
Jo-Philipp Wich
f1497ccf4f netifd: update to git head - disables multicast snooping by default on bridges
SVN-Revision: 36463
2013-04-27 09:28:40 +00:00
Jo-Philipp Wich
05c1424e87 iwinfo: add hw database file
SVN-Revision: 36450
2013-04-26 13:21:01 +00:00
Jo-Philipp Wich
e02d373f90 iwinfo: move builtin hardware database to /usr/share/libiwinfo/hardware.txt
SVN-Revision: 36449
2013-04-26 13:20:15 +00:00
Felix Fietkau
accc6e309e mac80211: update to wireless-testing 2013-04-16 + backports
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36448
2013-04-26 10:52:03 +00:00
John Crispin
bc453a52b2 procd: fix wrap around bug in logread time handling code
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36447
2013-04-25 19:51:08 +00:00
John Crispin
35b092272a hotplug2: make it depend on !PROCD_INIT
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36446
2013-04-25 19:16:54 +00:00
John Crispin
831c7ea04f preinit: move cmdline failsafe= handling ot the generic code
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36430
2013-04-25 19:02:37 +00:00
John Crispin
811d90ff40 mount_root: prepare base-files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36429
2013-04-25 19:02:32 +00:00
John Crispin
39469dea7f boot: make use of kmodloader if it is available
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36428
2013-04-25 19:02:28 +00:00
John Crispin
a7ffc0b443 ubox: add ubox package
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36427
2013-04-25 19:02:24 +00:00
John Crispin
38ac6421bc procd: update to latest git version
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36426
2013-04-25 19:02:20 +00:00
Felix Fietkau
5062838fa5 netifd: update to the latest version, fixes interface reload issues when removing the ifname option
SVN-Revision: 36424
2013-04-25 16:28:19 +00:00
Steven Barth
49f97af481 6relayd: Fix generation of RA-messages
SVN-Revision: 36419
2013-04-24 18:22:08 +00:00
Jo-Philipp Wich
a040ead1c5 iwinfo: add SR71-15 radio info, fix nl80211 channel/frequency reporting on some architectures
SVN-Revision: 36417
2013-04-24 14:44:20 +00:00
Steven Barth
2c78c1457b firewall3: Make IPv6 ULA-Border generation dynamic
This fixes working behind another router which gives out ULAs.

SVN-Revision: 36416
2013-04-24 14:17:24 +00:00
Jo-Philipp Wich
af30e5e6bb Enable hidraw support.
It's needed for dealing with certain UART-to-USB adapters built into
e.g. weather stations, and increases the hid module package only
slightly (e.g. on ar71xx: 35k -> 37k).

Signed-off-by: Danny Baumann <dannybaumann@web.de>

SVN-Revision: 36415
2013-04-24 09:49:09 +00:00
Jo-Philipp Wich
2cea3d3949 Add kernel module package for hid-generic driver.
Needed to support e.g. keyboards and mice.

Signed-off-by: Danny Baumann <dannybaumann@web.de>

SVN-Revision: 36414
2013-04-24 09:49:03 +00:00
Steven Barth
2dbcd2ba7b 6relayd: update package description
SVN-Revision: 36413
2013-04-24 07:21:42 +00:00
Steven Barth
e17ac4c257 dnsmasq: update to 2.66 Thanks to Christoph König for patches.
SVN-Revision: 36412
2013-04-24 05:55:39 +00:00
Steven Barth
21e4e2a766 odhcp6c: Set default SOL_MAX_RT to 1h
SVN-Revision: 36411
2013-04-24 05:02:45 +00:00
Felix Fietkau
d7908e02b5 hostapd: return the frequency to some ubus calls to make integration easier
SVN-Revision: 36410
2013-04-23 18:35:50 +00:00
Felix Fietkau
e119a8a107 mac80211: use the original mac address for the first virtual interface
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36408
2013-04-23 16:32:24 +00:00
Jo-Philipp Wich
61a6f45cdc lldpd: upgrade to 0.7.1
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 36401
2013-04-23 10:37:23 +00:00
Jo-Philipp Wich
f2f1233149 gettext-full: updated to 0.18.2.1
Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 36400
2013-04-23 10:29:49 +00:00
Jo-Philipp Wich
2da62933d7 libevent2: update to 2.0.21
Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 36399
2013-04-23 10:29:45 +00:00
Jo-Philipp Wich
d4d55b5ec7 libmnl: update to 1.0.3
Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 36398
2013-04-23 10:29:42 +00:00
Jo-Philipp Wich
1170442691 libnetfilter-conntrack: update to 1.0.3
Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 36397
2013-04-23 10:29:38 +00:00
Jonas Gorski
4f7ad789e4 polarssl: update to 1.2.6
Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 36396
2013-04-23 09:22:02 +00:00
Jonas Gorski
6ddfe0590c ncurses: update to 5.9
Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 36395
2013-04-23 09:21:59 +00:00
Jonas Gorski
d1d01636b3 libnl: update to 3.2.21
Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 36394
2013-04-23 09:21:57 +00:00
Jonas Gorski
49799d344d kernel: add kmod-mcp23s08 package
Package up the Microchip MCP23S08 I/O expander driver. Needed on the
CalAmp LMU5000 board.

Signed-off-by: Adam Porter <porter.adam@gmail.com>
[jogo@openwrt.org: fix subject]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36393
2013-04-23 09:21:55 +00:00
Steven Barth
4e8f7f37ed Change default IPv6 config to enable DHCPv6-PD
SVN-Revision: 36384
2013-04-22 19:40:16 +00:00
Steven Barth
17b8c0c7b8 netifd: Improve IPv6-ULA assignment handling
SVN-Revision: 36383
2013-04-22 19:40:06 +00:00
Steven Barth
c96c05d549 odhcp6c: Several fixes and improvements * Add preliminary support for RFC 6603 prefix exclusion * Fix reconfigure-support and reconfigure authentication * Set maximum retransmission timeout for solicitations to 2h * Fix a segfault when parsing IA_PD in advertise messages
SVN-Revision: 36382
2013-04-22 19:40:01 +00:00
Steven Barth
1e78c3e297 6relayd: Add DHCPv6-PD server support, fix relaying in stateful mode
SVN-Revision: 36381
2013-04-22 19:39:55 +00:00
Jo-Philipp Wich
f99a208b4f uci: update to git head
- fixes memory leak in libuci when trying to open not existing configurations
  - fixes memory leak in libuci-lua when querying not existing sections or options
  - fixes handling of filenames with leading underscore

SVN-Revision: 36377
2013-04-22 14:52:28 +00:00
Felix Fietkau
62244d73ae hostapd: update to 2013-04-05
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36376
2013-04-22 13:24:48 +00:00
Felix Fietkau
df10e201eb mac80211: rework mac address allocation
If the first byte is available in the address mask, use only that one -
set the local bit and xor it with the id << 2. This ensures that there
are no hardware BSSID & BSSID-mask conflicts with devices that have
almost the same MAC address with just a small offset. The MAC address
conflict has been observed in a deployment with some devices from the
same batch when running with multiple interfaces.

If only some bits of the last byte are available, xor the id onto the
last MAC address byte (relevant mostly for Ralink devices).

In other cases (should not happen at this point), use the previous MAC
address offset calculation but without the local bit.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36353
2013-04-17 15:36:57 +00:00
Felix Fietkau
96bb7c123b build: consistently use 'depends on' instead of 'depends'
make the syntax more compatible with kernel menuconfig

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36351
2013-04-17 15:36:41 +00:00
Felix Fietkau
6d3c6e3053 busybox: remove old no-MMU hackery
SVN-Revision: 36350
2013-04-17 15:36:26 +00:00
Jo-Philipp Wich
e66a4af8c3 uhttpd: update to git head, fixes regression when parsing IPv6 listen arguments
SVN-Revision: 36348
2013-04-17 11:34:39 +00:00
Felix Fietkau
023105284f ath9k: change the BSSID mask calculation to fix setting arbitrary MAC address on interfaces
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36344
2013-04-16 10:53:02 +00:00
Jo-Philipp Wich
25ffe0446c iwinfo: print info of all existing wireless ifaces when cli is called without arguments
SVN-Revision: 36339
2013-04-15 15:00:16 +00:00
Felix Fietkau
eb10581ce3 uhttpd: update to latest version, fixes compile error with latest libubox
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36338
2013-04-15 14:49:52 +00:00
Felix Fietkau
099e3d8183 netifd: update to latest version, fixes some device handling crashes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36336
2013-04-15 14:21:45 +00:00
Felix Fietkau
ff57fd06eb libubox: update to latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36335
2013-04-15 13:55:05 +00:00
Felix Fietkau
fb79dbfb7b mac80211: merge upstream legacy minstrel improvements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36334
2013-04-15 13:54:42 +00:00
Luka Perkov
b591e15f36 This adds Gateworks Laguna family board support. Note that some Laguna boards have SPI flash and others have NOR flash, thus the size/erasesize are detected dynamically.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 36313
2013-04-11 16:04:31 +00:00
Felix Fietkau
87395ec919 mac80211: fix a client mode reconnect issue
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36311
2013-04-10 21:17:33 +00:00
Felix Fietkau
a41fb84d2f ath9k: fix an AR9580 specific crypto related stability issue
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36306
2013-04-10 13:26:08 +00:00
Felix Fietkau
e01a24f4f8 mac80211: revert the queue length to the default (reduction obsoleted by the use of fq_codel)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36305
2013-04-10 13:11:33 +00:00
Felix Fietkau
88c418bc75 qos-scripts: add queue length and quantum limit, suggested by dtaht
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36294
2013-04-09 14:59:10 +00:00
Jo-Philipp Wich
7ca7bc501e iwinfo: fix frequency/channel and channel/frequency conversions to properly implement 802.11j
SVN-Revision: 36292
2013-04-09 14:37:55 +00:00
John Crispin
04dcd12c91 add portmap support to userland
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36284
2013-04-09 14:19:13 +00:00
John Crispin
f13ae9965c add "swconfig list" support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36282
2013-04-09 14:19:05 +00:00
Jo-Philipp Wich
f90f025f20 netifd: fix route / route6 regression (#13303)
SVN-Revision: 36281
2013-04-09 12:21:12 +00:00
Steven Barth
3abc915522 Remove deprecated ip6slaac option * use proto=dhcpv6 with reqprefix=no instead
SVN-Revision: 36280
2013-04-09 12:12:30 +00:00
Steven Barth
2c087dc785 Remove obsoleted ipv6-support meta-package
SVN-Revision: 36279
2013-04-09 09:45:51 +00:00
Steven Barth
ea94d66b0f Adapt default network configuration for IPv6
SVN-Revision: 36278
2013-04-09 08:03:08 +00:00
Felix Fietkau
c42c4837b9 ath9k: fix a tx processing race condition on AR9300+
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36267
2013-04-07 22:05:45 +00:00