Commit Graph

726 Commits (27f53b6560d97128bdc6c7d25c2a72d80565401b)

Author SHA1 Message Date
Steven Barth d903c5a77b odhcpd: fix possible segfaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-20 09:39:00 +00:00
Felix Fietkau 7d4e24ebdc netifd: update to latest version, adds support for specifying a config path
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-19 14:26:51 +00:00
Felix Fietkau c8457cf43a polarssl: update to version 1.3.4 and add openssl compat patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-14 15:05:46 +00:00
Steven Barth 1eaba393d4 odhcp6c: pass on delegate-flag on to ds-lite interface
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-13 10:40:56 +00:00
Steven Barth 6e58c8ac3a netifd: pass on delegate flag from dhcp to 6rd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-13 10:33:26 +00:00
John Crispin 36deac18a4 72ca3bfc401a4f1b695dcc86640dddee62716cea contained too many files
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-13 07:42:59 +00:00
John Crispin 2b77148377 fstools: add the new fstools package
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-12 19:32:51 +00:00
Steven Barth a95e27ea6f iptables/netfilter: add connlimit to conntrack-extra
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-11 14:58:00 +00:00
Steven Barth 5ac3f5d136 iptables: bump to 1.4.21
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-11 14:57:55 +00:00
Felix Fietkau 402a931919 openvpn: make size optimization configurable
Signed-off-by: Christoph Kottke <christoph.kottke@gmx.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-11 12:07:17 +00:00
Felix Fietkau 20937631bf netifd: update to latest version, includes interface handling fixes by Hans Dedecker
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-11 09:28:28 +00:00
Steven Barth 74cecba0d9 odhcpd/odhcp6c: fix HMAC-MD5 in DHCPv6-Reconfigure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-11 08:21:58 +00:00
Felix Fietkau 203319948e iproute2: add ip-full variant to disable IP_CONFIG_TINY
This change creates a new ip-full variant for the ip package.
It disables IP_CONFIG_TINY to make some iproute2 features available like xfrm, gretap, ...

Signed-off-by: Thomas Wouters <thomaswouters@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-09 13:32:59 +00:00
Felix Fietkau 17e5a4e267 netifd: update to latest version, adds a bridge reload fix and fixes #15157
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-07 18:14:41 +00:00
Steven Barth b34d1931ce odhcp6c: fix int-overflow after 50d (thx Hauke Mehrtens)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-07 09:35:17 +00:00
Steven Barth f51d6fbcbd netifd: don't incorrectly announce up-status via ubus
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-05 17:36:14 +00:00
Steven Barth 9d76b8de22 odhcp6c: several fixes
* Reduce RA/DHCPv6 spam filter to 30s by default and make it configurable
* Don't set nd_ra_{reachable,retransmit] to 0 when received in RAs

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39775 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-05 08:59:11 +00:00
Felix Fietkau cb82ccb277 hostapd: fix deletion of wds sta interfaces in AP mode
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-28 14:43:53 +00:00
Steven Barth bffbf4f2fc netifd: Reintroduce link-layer sensing (thx Hans Decker, Karl Vogel)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-27 12:42:38 +00:00
Steven Barth c71d1c05ca netifd: don't always assume addrs & routes are applied
netifd didn't check the netlink return values and kept assuming
routes are in place even if they weren't

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-26 13:27:32 +00:00
Felix Fietkau 314909f7c0 hostapd: link against librt if eglibc is used
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39741 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-24 15:03:06 +00:00
Steven Barth 97815a6e18 odhcpd: avoid the unspecificed address being advertised as DNS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-24 13:37:11 +00:00
Steven Barth 884cd62669 odhcpd: fix DNS-server and MSR-entries in RA
Similarly to the previously broken address pools, DNS-servers and some
MSRs could be advertised incorrectly as well. This is now fixed.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-24 13:33:45 +00:00
Felix Fietkau d30f2291f3 netifd: depend on libubox directly to rebuild on ABI changes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-23 17:32:15 +00:00
Felix Fietkau ad705417a3 netifd: update to latest version, fixes wireless device reload handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-23 08:13:28 +00:00
Steven Barth b7a8cc562f odhcpd: fix wrong address pool being advertised
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-21 18:02:25 +00:00
Jo-Philipp Wich 13ede72907 firewall: fix validation constraints
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-21 00:22:23 +00:00
Jo-Philipp Wich 0d02f32a17 netifd: fix validation constraints
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-21 00:17:04 +00:00
Jo-Philipp Wich 75f88cf3fe firewall: fix several ipset integration issues (#15016)
- Do not consider bitmap storage for IPv6 family sets
	- Move ipset family parameter before any additional option
	- Only emit family parameter for hash sets
	- Do not allow IPv6 iprange for IPv4 sets and vice versa

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39647 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-20 23:20:10 +00:00
Steven Barth 873b6c31ed 6in4: add support for he.net updatekey
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-20 21:36:15 +00:00
Steven Barth 90a07596e1 odhcp6c: readd userclass and vendorclass
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39628 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 18:30:47 +00:00
John Crispin 216641d3c0 odhcp6c: add validation rules to proto handler
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 13:34:16 +00:00
John Crispin 7e90362903 relayd: add uci validation
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 13:34:12 +00:00
John Crispin 49f77e8016 netifd: add validation support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 13:34:04 +00:00
John Crispin 9450ebce2b hostapd: add validation rules to wireless handler
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 13:33:59 +00:00
John Crispin 4aff5a4e3d ppp: add validation rules to proto handler
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 13:33:56 +00:00
John Crispin 47e0e9ed2f comgt: add validation rules to proto handler
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 13:33:52 +00:00
John Crispin 7027da552c firewall3: update init.d script to make use of procd
add validation data

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 13:33:47 +00:00
John Crispin e2af138349 netifd: update to latest git head
this adds support for proto and wireless handler adding uci validation rules

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 13:33:36 +00:00
John Crispin bed28742bc authsae: update to latest version
Signed-off-by: Stefan May <smay@4finger.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 13:33:13 +00:00
Steven Barth 9f824dff49 odhcp6c: send reconfigure-accept again to be compliant
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-17 20:31:21 +00:00
Steven Barth e828e7aaf3 odhcpd: Fix RA interval + add support for prefixes > 64 and < 97
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-17 20:30:29 +00:00
Steven Barth d91939cd82 netifd: work around dangling prefix kernel-routes (fixes #14963)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-16 11:20:22 +00:00
Steven Barth 2c64b38a6b netifd: fix source-routing breaking 6in4 + others
6in4 historically allowed an ip6addr without a mask however the newly
introduced source-routing segfaulted in this scenario (#14958 + #14858).

Fixes include: "Fix ubus route src mask printing" and
"Disable netlink auto ack" (thanks to Hans Dedecker)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-14 21:21:44 +00:00
Steven Barth 1cb05cbff9 odhcp6c: remove source-restriction from local routes again (broke relaying)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-12 08:54:43 +00:00
Hauke Mehrtens fbcb8cc986 authsae: Update authsae to latest version
Only compile tested but the changes are minimal
f5693a3...1d1a122

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-06 22:20:20 +00:00
Steven Barth c5bc6da55e odhcp6c: Fix timing and some regressions from yesterday
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-06 10:38:02 +00:00
Hauke Mehrtens e5ffd435f1 iw: update to iw 3.14
- update iw to 3.14
- remove some patches that are obsolete
- 200-reduce_size.patch has new coalesce removed from Makefile matching prev. ver
- refresh patches

This increases the size of the binary by 6.7%:
  87801	   4400	    320	  92521	  16969	iw-3.10/iw
  93995	   4424	    324	  98743	  181b7	iw-3.14/iw

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-05 20:52:34 +00:00
Steven Barth 03fde8dd10 odhcpd: fix homenet dhcpv6 filter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39479 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-05 15:42:02 +00:00
Steven Barth 5e1d10bde4 odhcp6c: Add support for userclass and vendorclass
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39478 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-05 14:56:37 +00:00
Felix Fietkau 401568d619 tcpdump: update to current upstream version 4.5.1
-size_of(old tcpdump-mini 4.2.1) = 145245 Byte
-size_of(new tcpdump-mini 4.5.1) = 149416 Byte
=> ~4.2 KByte increase

Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-05 09:54:38 +00:00
Felix Fietkau 5eca73f476 wifi: Introduce 802.11ac support
This patch introduces 802.11ac support to mac80211 and hostapd. The split of
VHT160 in two 80 MHz bands is not yet supported, since it requires an
additional user supplied parameter for the channel of the second band.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
Signed-off-by: Simon Wunderlich <simon@open-mesh.com>
[sven@open-mesh.com: Rebased patch, merged htmode and vhtmode,
removed special hwmode, replaced uci vht_capab list with overwritable
autoconfig, fixed hostapd integration, fixed commit description, add HT40+/-
for VHT modes, add VHT40 center_freq autoconfig, refactored major parts]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-03 13:31:44 +00:00
Steven Barth c3b68c1c7d odhcp6c: Revert to slightly modified version of old behaviour
Latest changes broke source-restriction of on-link routes. Restoring
old-behaviour but adding correct source-restrictions which prevents
the offlink handler to remove the on-link route.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-03 09:06:25 +00:00
Steven Barth 1472a93b00 odhcp6c: improve handling of RA on-link routes and addresses
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-02 19:40:33 +00:00
Felix Fietkau 2919295941 hostapd: do not get basic_rate as a simple string variable
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-02 14:25:02 +00:00
Steven Barth 0655f42bc3 odhcpd: fix internal router DHCPv4 filter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-01 13:33:05 +00:00
Steven Barth 4f194911d3 odhcp6c: several bugfixes and improvements
* Fixed broken stateless-mode (fixes #14863)
* Support for multiple IAIDs, improved server compatibility,
  improved NTP/SNTP support and other fixes (thanks to T-Labs)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-31 11:23:00 +00:00
Felix Fietkau 254bb2efe5 hostapd: fix basic rate list handling with netifd
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39431 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-31 10:43:18 +00:00
Felix Fietkau fdd820a54a hostapd: fix frequency selection for ap+sta
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39426 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-30 13:21:30 +00:00
Jo-Philipp Wich e2dcb6b7ec lldpd: build without libreadline
lldpcli uses libreadline for tab completion. libreadline take around 110kb.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-29 13:10:39 +00:00
Jo-Philipp Wich 8d3d348e63 lldpd: add missing lldpcli
lldpd calls on startup lldpcli to configure itself.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39420 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-29 13:10:35 +00:00
Jo-Philipp Wich fe40759a80 lldpd: push to version 0.7.7
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-29 13:10:31 +00:00
Jo-Philipp Wich b972c8f969 hostapd: Fix 80211w setup with netifd
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39412 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-28 21:12:45 +00:00
Jo-Philipp Wich 3e82a6e0ff hostapd: Fix basic_rate setup with netifd
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-28 21:12:36 +00:00
Steven Barth 52fafbe70b odhcpd: fix certain config values being overwritten
Thanks to Hans Dedecker for the fix.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39371 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-23 11:02:18 +00:00
Steven Barth fed88c9817 6rd: Make don't fragment bit (df) a configurable variable
Make the IPv4 "do not fragment" bit a configurable variable for the 6rd
tunnel interface as the bit should not be set in the encapsulating IPv4
header according to RFC3056.
On top the config variable allows to enable/disable path mtu discovery
for tunnel interfaces.
Config variable can be passed to netifd as tunnel config support is
already present for the "do not fragment" bit.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39370 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-23 10:59:04 +00:00
Steven Barth 263e6479ee netifd: don't add unnecessary NOP policy rules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-20 18:23:02 +00:00
Steven Barth 54d11602cc 6in4: fix typo in config variable (fixes #14830)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39347 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-20 12:53:15 +00:00
Steven Barth 5451bd5963 firewall: don't reload if there were no address or data changes
This fixes packet loss due to reloading firewall every minute with IPv6
implementation of certain ISPs.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-19 17:35:33 +00:00
Steven Barth c5a32525eb odhcpd: Fix a memory corruption when static leases are used
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39319 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-18 10:11:03 +00:00
Steven Barth b5449fcb1e odhcpd: be even less verbose and don't start unnecessary relays
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-17 19:05:54 +00:00
Steven Barth 8abf4d5c65 odhcpd: fix logspam
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-17 15:53:43 +00:00
Steven Barth 6e6ceb1473 odhcpd: use hybrid management mode by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-17 15:48:02 +00:00
Steven Barth 39ecf08d2d dnsmasq: add dnsmasq.d config folder & improve odhcpd coexistence
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-17 14:00:09 +00:00
Steven Barth 00769bba6c odhcp6c: Use sourcerouting by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39311 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-17 14:00:04 +00:00
Steven Barth 70bad4076a odhcp6c: fix several small issues + decrease size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-17 14:00:00 +00:00
Steven Barth 259bddfde7 odhcpd: several bugfixes and improved integration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39308 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-17 13:59:51 +00:00
Steven Barth 6e39ca25a8 6in4, 6rd, 6to4: Use source-restricted routes by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-17 13:59:47 +00:00
Steven Barth 62fa26dd74 netifd: Add IFUPDATE-flags and use main IPv6 routing table again
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39306 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-17 13:59:40 +00:00
John Crispin d356a6f223 firewall: improve logging in hotplug script
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39300 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-15 18:29:59 +00:00
Zoltan HERPAI da2b046743 packages: ifenslave: add kernel dependencies as source was removed from 3.12
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-15 09:28:41 +00:00
John Crispin 3c2c7eca1e hostapd: fix mcast_rate setting
Introduced by ("netifd: add wireless configuration support and port mac80211 to
the new framework")

Reported-by: René van Weert <r.vanweert@sowifi.com>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14 19:35:55 +00:00
John Crispin f5325b8a0c hostapd: fix frequency setting for IBSS/RSN
Introduced by ("netifd: add wireless configuration support and port mac80211 to
the new framework")

Reported-by: René van Weert <rene@sowifi.com>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39231 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 12:07:11 +00:00
John Crispin 3b5cd55fb4 swconfig: improve usability when switch device incorrect
http://patchwork.openwrt.org/patch/4701/

Signed-off-by: Andreas Mohr <andim2@users.sf.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 12:07:01 +00:00
John Crispin d8f87323d2 samba: add browsable option
https://dev.openwrt.org/ticket/14682

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 12:06:53 +00:00
Steven Barth 51b9513ec5 6relayd: try to workaround race condition at startup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39184 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-02 11:38:36 +00:00
Felix Fietkau b77e0ece62 netifd: initialize the switch early at start time and on reload (fixes #13015)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39183 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-31 13:09:20 +00:00
Felix Fietkau fe97c82a98 netifd: update to the latest version, fixes wireless related segfaults on arm
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-29 02:26:34 +00:00
Felix Fietkau 088a34dea4 netifd: update to the latest version, fixes wifi related segfaults
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-28 14:19:54 +00:00
Felix Fietkau ca641673c7 hostapd: fix mixed wep/wpa with netifd
Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-28 11:07:37 +00:00
Felix Fietkau 9996673fda hostapd: fix the uci option name for ap isolate
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-28 11:07:28 +00:00
John Crispin d7b08a2083 swconfig: remove useless variables, return -1 on errors
spotted with cppcheck

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-27 21:15:20 +00:00
Felix Fietkau 2fcc4f3477 hostapd: fix wep with netifd
Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39156 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-23 12:11:28 +00:00
Felix Fietkau e6a85bcd9a wpa_supplicant: fix interface combination parsing issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-21 19:42:45 +00:00
Jo-Philipp Wich da833133d3 dnsmasq: rework init procedure
- cache udhcp check results to speed up subsequent reloads
	- enable procd file tracking for /var/etc/dnsmasq.conf to only reload service if needed
	- implement reload action to only restart dnsmasq if /var/etc/dnsmasq.conf actually changed
	- launch dnsmasq from interface hotplug to avoid race conditions with network bringup

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39152 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-21 13:31:28 +00:00
Jo-Philipp Wich afc8adc5cb netifd: add reload trigger for /etc/config/wireless as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-18 12:38:29 +00:00
Jo-Philipp Wich 5e634fbc56 firewall: fix handling of tcp_ecn parameter
The firewall3 implementation as well as the shell implementation predating it
used to process the tcp_ecnoption as boolean while it actually is an integer.

Change the code to parse tcp_ecn as integer.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-17 16:59:47 +00:00
Felix Fietkau 02de71723b iproute2: reduce .ipk package size from ~100k down to ~60k
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-17 15:59:29 +00:00
Felix Fietkau 509c8d5226 hostapd: move old wifi setup scripts to hostapd-common-old
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 18:42:43 +00:00
Jo-Philipp Wich 0005aadc83 dnsmasq: switch to /lib/functions/network.sh
This commit changes the dnsmasq init script to use the interface
status exposed by netifd. The old references to scan_interfaces()
and (indirect) accesses to uci state variables are removed and
replaced with corresponding network_*() calls.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 16:47:41 +00:00
Felix Fietkau 728dcefc9e netifd: update to latest version, fixes a null pointer crash
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 10:08:13 +00:00
Steven Barth edbe06f4ee Convert DHCP->6rd and DHCPv6->DS-Lite autoconfig to dynamic interface
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39061 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-15 19:38:53 +00:00
Steven Barth 306d96500a odhcp6c: add source routing support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-15 19:10:20 +00:00
Jo-Philipp Wich c5340d1dbf uhttpd: don't process ubus_* and lua_* options if corresponding plugin is not installed (#14618)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-15 15:32:37 +00:00
Felix Fietkau c5771a9297 netifd: update to the latest version, adds a revert of the link state handling patches which caused regressions in combination with wifi devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-14 14:59:05 +00:00
Felix Fietkau 68daab992f netifd: prevent an unnecessary restart of netifd-managed wifi interfaces at boot time
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-13 16:43:11 +00:00
Felix Fietkau e8a6c92368 iw: reduce size and make the phy dump output more readable
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-13 11:02:05 +00:00
Felix Fietkau f55ec74efa netifd: fix crashes triggered by adding/removing wireless devices on reload
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39035 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-11 18:23:52 +00:00
Jo-Philipp Wich 49cbd47a5c hostapd: fix short_preamble option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-10 16:24:48 +00:00
John Crispin dba219f7c9 netifd: enable coredumps again
got broken due procd startup. Requires procd resource limit patch.

Signed-off-by: Ulrich Weber <uw@xyne.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39020 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 17:29:34 +00:00
Jo-Philipp Wich 8392c54e2e hostapd: properly parse wmm and hidden uci options (#14589)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-08 20:51:21 +00:00
Felix Fietkau 62c98f5193 netifd: update to the latest version, adds tunnel fixes by Hans Dedecker and adds back support for multiple networks per wifi-iface
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-08 18:00:05 +00:00
Steven Barth d2e17d996f odhcpd/6c: Add config menu for prefix class ext.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38996 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-05 12:17:09 +00:00
Steven Barth 12f66d3324 odhcpd: Fix ubus integration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-04 13:14:27 +00:00
Felix Fietkau 40de15d9ef netifd: update to the latest version, improves wireless status output and fixes some bridge handling issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-03 14:17:44 +00:00
Felix Fietkau 48fbe7cd69 hostapd: fix maclist processing with netifd
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-03 09:02:58 +00:00
Felix Fietkau 8a98d2594a wifi: rename the "reload" (restarting non-netifd wifi) command to "reload_legacy"
Add a new "reload" command that reloads the netifd config as well

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-02 16:53:24 +00:00
Felix Fietkau 3fab0ab03f netifd: add wireless configuration support and port mac80211 to the new framework
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-02 16:41:03 +00:00
Felix Fietkau bbeadc25eb hostapd: change the wildcard for the hostapd control socket directory
prepare for using /var/run/hostapd instead of /var/run/hostapd-phy*

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-02 13:08:14 +00:00
Felix Fietkau a5b78a7edb wpa_supplicant: clean up hostapd control socket on exit to fix socket leak in ap+sta mode on wifi restarts
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-02 13:08:11 +00:00
Felix Fietkau 8b428d0899 hostapd: fix os_daemonize vs starting process race by creating the pid file in the parent
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-02 13:08:08 +00:00
Felix Fietkau 7f869195f9 netifd: remove redundant calls to /sbin/wifi down
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-02 13:08:00 +00:00
Felix Fietkau 42370a3fa7 hostapd: always include p2p options in wpa_cli
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-02 13:07:46 +00:00
Felix Fietkau 4d6e9371a3 hostapd: add support for auto-channel selection
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 15:43:30 +00:00
Felix Fietkau 5d000ddd9e hostapd: update to version 2013-11-20
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 15:43:15 +00:00
John Crispin 00f0744743 pppd: Place plugin-specific options after `plugin name`.
Before this patch, if we specify a plugin specific option through
`pppd_options` in /etc/config/network, e.g. `rp_pppoe_verbose 1`, pppd
would quit with the following error in log.

    Wed Oct  9 09:42:58 2013 daemon.notice netifd: GORG (1689): /usr/sbin/pppd: unrecognized option 'rp_pppoe_verbose'
    Wed Oct  9 09:42:58 2013 daemon.err pppd[1689]: unrecognized option 'rp_pppoe_verbose'
    Wed Oct  9 09:42:58 2013 daemon.notice netifd: GORG (1689): pppd version 2.4.5
    Wed Oct  9 09:42:58 2013 daemon.notice netifd: GORG (1689): Usage: /usr/sbin/pppd [ options ], where options are:

This is due to the requirement that function add_option() should be
called by the plugin_init() function first before pppd can parse those
options.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 14:09:16 +00:00
Felix Fietkau 6d79816d87 uhttpd: update to the latest version, fixes crashes in the ubus plugin
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-21 21:52:24 +00:00
Felix Fietkau 5e8561171f hostapd: remove random pool support - the entropy it gathers is questionable and we have better entropy sources on common platforms now
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-18 13:54:26 +00:00
Jo-Philipp Wich 80b1b67538 firewall: optimize DNAT rules and skip invalid rules and redirects (#14485)
- instead of writing one (or more) ACCEPT rules in the filter table
	  for each redirect install a global ctstate DNAT accept rule per zone

	- discard rules and redirects which have invalid options set instead
	  of silently skipping the invalid values

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-18 11:59:27 +00:00
Steven Barth 1c82c32e7d 6rd: Clear correct IPv6 address bits in 6rdcalc
The correct bits are now cleared in the IPv6 address as the shift
value to the correct byte in the IPv6 address was wrong. Depending
on the stack values this could result in a hanging 6rdcalc program
due to an endless loop.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-16 09:18:14 +00:00
John Crispin fdb2563eb3 procd: fixup 2 wrong option types
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-13 11:07:24 +00:00
John Crispin a79f9a758e procd: convert services to the new validation api
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-13 10:49:41 +00:00
Felix Fietkau 23e82fd7ba hostapd: remove #ifdef MULTICALL around ap+sta support code (to support separately installed supplicant+hostapd)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38782 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-12 22:11:14 +00:00
Jo-Philipp Wich 77bc939d2c Add patch to fix ipset timeout setting problem
Fixes #14325

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-12 11:01:11 +00:00
Jo-Philipp Wich 3a19342a08 Update ipset to version 6.20.1
Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-12 11:00:49 +00:00
Hauke Mehrtens 9dd1ff803f iwinfo: don't report associations for broadcom wds interfaces
The associations list for Broadcom WDS interfaces are duplicate to those
reported by the corresponding AP interface; so there is no need to report
them again.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11 21:54:55 +00:00
Hauke Mehrtens 254d8e67c7 iwinfo: fix hwmodelist reporting for broadcom wl
Modify the hwmodelist reporting for broadcom devices to include
proper reporting of 802.11n support.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11 21:54:25 +00:00
Jo-Philipp Wich 781c17117a uhttpd: return after processing -d switch, only set ubus prefix if not already defined
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11 19:14:01 +00:00
John Crispin a58e136635 uhttp: add ubus.default
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38741 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11 18:12:26 +00:00
John Crispin 8772424505 pppd: don't call modprobe at all from pppoatm
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11 13:40:28 +00:00
John Crispin c77ae7ec32 uhttp: make the service auto respawn if it crashes
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11 12:19:02 +00:00
John Crispin 7a06fe0b42 uhttp: make sure that the ubus module is loaded when when installed
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11 12:18:58 +00:00
Felix Fietkau 3bdbd057b3 netifd: remove connect_time from /var/state, it is unused
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-10 10:01:33 +00:00
John Crispin 5bcaba5a4d lantiq: fix vdsl-app dependency
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-07 12:45:39 +00:00
Jo-Philipp Wich a193e1c1eb dnsmasq: fix backward compatibility with existing configs
Changeset r36943 ("dnsmasq: use host-record instead of address") removed
the automatic domain expansion for config domain sections, this breaks
existing setups and alters the old behaviour in unexpected ways, therfore
restore behaviour of the current stable release.

Additionally handle fully qualified hostnames properly when setting up the
own hostrecord by stripping the local domain part form the given name
instead of unconditionally appending it, so that "example.lan" results
in "example example.lan" and not "example.lan example.lan.lan".

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-04 22:40:56 +00:00
Felix Fietkau acf5ed0269 openvpn: clean up and fix the init script
- clean up duplication of procd instance handling code
- using --cd *after* --config is rather pointless
- to be able to log errors properly, --syslog needs to be passed before --config
- tell procd about the generated or referenced config file instead of
  the uci file. this avoids having to restart all instances if only one
  of them changes.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-31 17:36:24 +00:00
Felix Fietkau a435721cf3 netifd: update to the latest version, fixes regression in proto-shell scripts (#14400, #14402)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-31 11:22:01 +00:00
Felix Fietkau f63789f2cb netifd: update to latest version, adds fixes and some preparation for supporting wifi devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-30 11:25:01 +00:00
Steven Barth c789acfbbb odhcp6c: Multiple improvements and fixes
* Various RFC compliance fixes (thanks to Hans Dedecker)
* Fix RA spam filter logic causing ipv6 connection issues
* Fix parameters -F and -P being order dependent

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-29 13:23:28 +00:00
Steven Barth 4805656f76 odhcp6c: filter similar RAs spammed by some ISPs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23 10:31:06 +00:00