Commit Graph

1006 Commits (5bbc58d33fd434bcfa951302d3d54befffd24c34)

Author SHA1 Message Date
John Crispin ef9c64566e ppp: fix keep alive option
currently the keepalive option needs to be removed to fully disable it. this patch allows us to set it to 0.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 10:26:07 +00:00
Steven Barth 6ac36eaf7f odhcpd: some minor DHCP/DHCPv6 fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 08:15:28 +00:00
Felix Fietkau 773c6a602e openvpn: fix compile error with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41425 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-30 15:34:03 +00:00
Felix Fietkau 5e1d1625d0 openvpn: update to version 2.3.4
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-30 12:43:03 +00:00
Felix Fietkau e59dd23a46 build: disable the PKG_CHECK_FORMAT_SECURITY check for the failing packages
The idea is to gradually fix the packages

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-30 08:19:48 +00:00
Steven Barth d5441bd8c8 odhcpd: fix build failure with musl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-30 07:56:33 +00:00
Felix Fietkau f9ab4e48c1 pppd: fix build with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-29 22:26:08 +00:00
Felix Fietkau 4586609601 samba36: fix build error with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-29 22:26:02 +00:00
Felix Fietkau 25ac0f7db4 relayd: update to the latest version, fixes musl compile and multicast relaying
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-29 22:25:58 +00:00
Felix Fietkau 494e56278e netifd: update to the latest version, fixes a crash on reload with hotplugged devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-29 21:27:28 +00:00
Felix Fietkau cb308e2b1b netifd: update to the latest version, addds a few fixes and enables multicast->unicast for igmp snooping on wireless devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-29 18:34:22 +00:00
Felix Fietkau 0304938a86 conntrack-tools: fix build on octeon
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-29 11:33:03 +00:00
Felix Fietkau 5f42069b4f conntrack-tools: leave out bogus reject files on unpacking
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-29 11:33:00 +00:00
Jo-Philipp Wich 5b32f12d22 6in4: send password unhashed
The preferred he.net /nic/update endpoint expects the password or updatekey in
plain text and not as md5 sum, therfore remove the hashing operation from the
script.

This effectively renders the "updatekey" option redundant but we keep it around
for backwards compatibility. Both "option password" and "option updatekey" will
have end up in the "&password=" parameter of the update url and are passed through
unmodified.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-27 10:40:44 +00:00
Steven Barth 91a26e0d26 firewall3: add fw3 zone function to enumerate devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-26 12:20:47 +00:00
John Crispin c1e89aba4d mdns: add the new openwrt mdns daemon
this is still wip, you can use the following ubus calls.

ubus call mdns scan	# triggers a scan
ubus call mdns browse	# look at the currenlty cached records
ubus call mdns hosts	# look at the currenlty cached hosts

TODO
- ipv6, currenlty AAAA records are handled but only on v4 sockets
- finish the service announce code

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-26 11:43:34 +00:00
John Crispin f2d7587246 iputils: fix compile when using eglibc
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-26 11:42:57 +00:00
Steven Barth 3b59de8bc7 dnsmasq: use config_get_bool for dnsmasq
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-22 15:34:36 +00:00
Felix Fietkau d1c5a5fecc iw: update to 3.15
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41299 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-22 11:42:28 +00:00
Steven Barth 5691e7e3ec dnsmasq: set procd respawn
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41297 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-22 09:08:14 +00:00
Steven Barth 33b7149349 netifd: various routing table handling fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-20 17:51:25 +00:00
Jo-Philipp Wich 7dcf285ab0 Revert "netifd: fix handling of "lookup main" for ip rules (#15315)"
The netifd fixes went to the wrong repository, revert until it is sorted out.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-20 12:28:35 +00:00
Jo-Philipp Wich 4472de6afa netifd: fix handling of "lookup main" for ip rules (#15315)
Reworks the handling of RT_TABLE_MAIN in system-linux.c so that ip rules
with lookup main can be properly setup.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-20 09:58:16 +00:00
Steven Barth f439aef6cd dnsmasq: removing nettle 3.0 support due to nettle downgrade
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 17:06:37 +00:00
Steven Barth c4c0b61fb7 odhcpd: improve static DHCPv4 leases (thanks arnd)
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41260 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 12:10:10 +00:00
Steven Barth 7272a611a1 netifd: various bugfixes (thanks Hans Dedecker)
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 11:29:09 +00:00
John Crispin 4e453069d6 relayd: update to latest git head
this fixes multicast fowarding on relayd links

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41254 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:08:05 +00:00
Steven Barth 12b41b0c5f dnsmasq: compatibility with nettle 3.0
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:04:47 +00:00
Steven Barth 3d5f483474 dnsmasq: various house-keeping updates
* Add Authoritative DNS and IPSET to full variant
* Remove some bloat from IPSET support
* Reintroduce "DHCP no address warning"-patch

Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:04:34 +00:00
Steven Barth 15646b2175 dnsmasq: add UCI DNSSEC runtime support
Ship keys for the root zone and add two uci options to enable
DNSSEC checks:

Option 'dnssec': Activate DNSSEC validation
Option 'dnsseccheckunsigned': Ensure answers without DNSSEC are in
unsigned zones.

Signed-off-by: Andre Heider <a.heider@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:04:29 +00:00
Steven Barth 10cb433539 dnsmasq: Add a full variant
This variant includes support for DHCPv6 and DNSSEC.
DNSSEC adds a dependency on libnettle.

Signed-off-by: Andre Heider <a.heider@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:04:25 +00:00
Steven Barth 01a531434d dnsmasq: add upstream patch to build against libnettle-mini
Signed-off-by: Andre Heider <a.heider@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:04:21 +00:00
Steven Barth 251afc0c34 dnsmasq: respect target's LDFLAGS
Append local flags, don't overwrite.

Signed-off-by: Andre Heider <a.heider@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:04:17 +00:00
Steven Barth 06e56f40f6 dnsmasq: use COPTS for compile time options
As documented in config.h.
Doing otherwise will break dnsmasq's pkg-wrapper script to find its
libs to link to.

Signed-off-by: Andre Heider <a.heider@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:04:02 +00:00
Steven Barth 6dca6d5903 odhcpd: don't enable relaying by default anymore
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 13:05:24 +00:00
Steven Barth b0147d9e5b iproute2: update version to 3.15.0, refresh patches, add maintainer
Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 12:43:30 +00:00
Steven Barth abd3b2c90e odhcpd: also honor leasetime for dhcpv6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 07:59:15 +00:00
Steven Barth 0ef8d8758c odhcpd: Improve NotOnLink-behavior and make hostid more convient to configure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41225 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 07:44:24 +00:00
Steven Barth 86f216aa9e odhcpd: add more consistent hostname-writing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 16:45:05 +00:00
Steven Barth 4a0999f156 odhcpd: update hostfile more often
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41197 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 09:09:13 +00:00
Steven Barth 0770d7d421 odhcpd: fix dhcpv4 hostname attribute handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 08:33:49 +00:00
Steven Barth fba1e0b046 odhcpd: accept FQDN as search domain
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-15 22:49:58 +00:00
Steven Barth 02fcbc1643 ppp: bump to 2.4.6
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-15 20:55:17 +00:00
Steven Barth 868a9c8703 odhcpd: use search domain instead of domain attribute
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41152 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-12 09:22:07 +00:00
Felix Fietkau db29a8b371 netifd: use procd_add_reload_trigger
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-11 17:05:50 +00:00
Jo-Philipp Wich 7c62c2994f curl: move to core packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-11 15:43:24 +00:00
Steven Barth a1912788a8 uhttpd: also bind to IPv6 by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-11 12:11:55 +00:00
Felix Fietkau 2e3fd3da02 netifd: update to latest version, fixes reload issue (#16754) and adds 802.1ad support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41112 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-11 10:23:12 +00:00
Steven Barth efdd4152e4 netifd: add support for onlink-flag for routes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-10 16:04:40 +00:00
Steven Barth 0b9b716083 odhcpd: various regression fixes (thanks Hans Dedecker)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-10 08:47:15 +00:00
Felix Fietkau 59fdd2eedf uhttpd: update to the latest version, fixes musl compile issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-09 13:47:40 +00:00
Felix Fietkau a592b1e370 uqmi: use -ffunction-sections and --gc-sections, reduces binary size from 57k to 29k
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-07 19:14:17 +00:00
Steven Barth e14ff4aa6b odhcpd: improve DHCPv4 range defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-07 10:35:34 +00:00
John Crispin aeeb870b02 igmpproxy: report an error and dont start the instance if one of the interfaces is not up
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-06 09:34:38 +00:00
Felix Fietkau 7c3630cd52 hostapd: fix wpad-mini compile error (#16700)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 21:14:02 +00:00
Felix Fietkau b7f384e765 hostapd: update to 2014-06-03
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 15:58:01 +00:00
Felix Fietkau edd6307383 wpa_supplicant: fix locking hostapd to 20MHz (#12720)
Fixed wpa_supplicant when the radio is in 40MHz mode so that it no
longer restarts hostapd with the second channel disabled.

Signed-off-by: Lance Chaney <furryfur1@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 14:55:10 +00:00
Felix Fietkau 1d0df03130 hostapd: move reading of rsn_preauth out of auth_type=eap context
rsn_preauth is used outside of "case $auth_type", so if it is set
for an EAP-enabled SSID, it would also be set for the following
non-EAP-enabled SSIDs, because it would not be read again.

Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 11:55:36 +00:00
John Crispin 59b7998684 igmpproxy: register interface change triggers
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 10:56:18 +00:00
John Crispin f85bba8f4a netfid: make procd watch the network.interface object for events
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 10:56:14 +00:00
John Crispin 438acfd236 netifd: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 10:56:10 +00:00
Steven Barth bee803be7f map: add support for map-t if available
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-04 14:58:40 +00:00
Felix Fietkau 1bf5ac03fb hostapd: replace undefined $bridge with $network_bridge
Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-04 11:51:59 +00:00
Steven Barth 8d92ff222a dhcpv6: set default solicit timeout back to 120s
This deliberatly breaks RFC 7083 since its not really user-friendly.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-04 09:59:45 +00:00
John Crispin 272e00a679 package: swconfig: let variable name be local
Let the first parameter of function config_get be local, because there
is a chance that config_get won't export the variable.

Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-04 07:20:31 +00:00
John Crispin 8d9f6f3396 igmpproxy: update init.d script to procd and add a hotplug script
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-04 07:19:51 +00:00
Felix Fietkau 79ba645f99 netfilter: split off header matching modules not used by the default config (reduces rootfs size and memory usage)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 18:13:38 +00:00
John Crispin 06c108a533 iwinfo: update nl80211 api to the latest one
modified version of http://patchwork.openwrt.org/patch/4533/

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 13:10:53 +00:00
John Crispin a1282357da iwinfo: add 802.11ac hwmode support
In case of .11ac device the hwmode was not properly displayed.
This patch fixes it.

Signed-off-by: Marek Kwaczynski <marek.kwaczynski@tieto.com>
Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40953 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 13:10:49 +00:00
John Crispin b10317981b iwinfo: add Atheros AR9580 to hardware.txt
Signed-off-by: Stefan Agner <stefan@agner.ch>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 13:10:44 +00:00
John Crispin 2c894a4234 comgt: add support for defining dial number in config file
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:45:09 +00:00
John Crispin 3a95ee11ea soloscli: upgrade to 1.04
- The package does not compile at the moment. Since there is a new
  upstream version avaiable, use this new source instead.
- Upstream has already included our both patches.
- This is only compile tested, since I do not own any test hardware.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:45:01 +00:00
John Crispin 0554a85812 package: netifd: remove blank line at the end of file
Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:51 +00:00
John Crispin 38af4652ac qos-script: Add comments to existing rules
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:47 +00:00
John Crispin 6218040363 qos-script: Improve usability by adding comment field to rules
It's quite unconveniet to remember which ports are used by which applications, especially for not so advanced users.
Together with luci patch (discussed on IRC) this improves qos-scripts usability.

Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:44 +00:00
John Crispin c759214048 hostapd: Add optional support for hostapd own_ip_addr in wireless config
`own_ip_addr` is used by hostapd as NAS-IP-Address.
This is used to identify the AP that is requesting the authentication of the
user and could be used to define which AP's can authenticate users.
Some vendors implement only NAS-Identifier or NAS-IP-Address and not both.
This patch adds ownip as an optional parameter in /etc/config/wireless.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:40 +00:00
John Crispin b9907f1565 ppp: allow to set PPP interface name via config
allows to set PPP interface name manually via new
network interface option pppname.
If not set, default naming will be used (e.g. pppoe-eth0)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:36 +00:00
John Crispin c2170dd5e7 openvpn: enable ipv6 parameters
http://patchwork.openwrt.org/patch/4945/

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:30 +00:00
John Crispin c6c4c6f4b5 iptables: Makefile: only build ip6tc, if IPv6 is enabled
when disabling ipv6, the iptables build breaks without a manul clean or this patch

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:43:25 +00:00
John Crispin 3b660e4079 dropbear: make missing variables local
Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:43:16 +00:00
Steven Barth f1f2e5a8ba odhcpd: add configuration for userclass-filter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 07:08:16 +00:00
Steven Barth e9d87c8c4a 6relayd: superseded by odhcpd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-01 10:28:50 +00:00
Felix Fietkau 0fab8e45b6 netifd: replace the sleep 5 with an ubus wait_for call to speed up init script
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40891 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-31 23:49:23 +00:00
Steven Barth 83f2580b0a odhcp6c: fix last commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-30 14:50:42 +00:00
Steven Barth 8609335c06 odhcp6c: improve passthrough filter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40886 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-30 14:48:39 +00:00
Felix Fietkau a8c6710940 iwinfo: null-terminate the ssid on nl80211 scan to avoid printing trailing garbage
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-30 11:37:35 +00:00
Steven Barth 2a072876d2 odhcpd: Fix a segfault in DHCPv6 option handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-29 21:01:42 +00:00
Jo-Philipp Wich b37fc42ba7 6in4: adjust update url (#16617)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-29 09:22:52 +00:00
Felix Fietkau ae88b29aa6 uqmi: Add support for QMI-based mobile broadband modems
Many of the 4G/LTE and 3G modems utilize the QMI-protocol to control the
modem. At the moment there is no support for them in OpenWrt. This
patch adds support for them in the form of a netifd script and a
control utility. Tested with Huawei E398 and ZTE MF820D (which requires
a delay of ~30 s before responding to QMI commands). I put myself up as
the maintainer, feel free to change this if you desire.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-28 19:45:20 +00:00
Steven Barth 1ee0b0a2ab odhcpd: add support for configuring raw dhcpv6 options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-26 17:08:57 +00:00
Steven Barth 51d1dccb8a odhcp6c: improve passthru filter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40826 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-23 06:29:13 +00:00
Steven Barth 2bdbe6d6fa odhcp6c: export passthru options as netifd data
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-23 06:26:23 +00:00
Steven Barth 1555c53a92 odhcp6c: add support for option passthru
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-23 06:17:27 +00:00
Steven Barth 89e39a8a68 Initial support for MAP-E and Lightweight 4over6 protocol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40823 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-22 20:04:53 +00:00
Steven Barth 02df983051 netifd: fix a segfault and improve ipip6 tunnel setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40821 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-22 20:04:43 +00:00
Felix Fietkau 0e45d6b379 iwinfo: remove old lua compat macros
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-21 12:34:18 +00:00
Felix Fietkau aed6501d7a iwinfo: un-export internal api header files
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-21 12:34:02 +00:00
Felix Fietkau ec9722cefc iwinfo: bump release and start using ABI_VERSION
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-21 12:33:58 +00:00
Felix Fietkau 9bf5b13bcc iwinfo: move wl_ops to iwinfo_wl.c, make functions static
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-21 12:33:30 +00:00
Felix Fietkau 5e4ead792c iwinfo: move nl80211_ops to iwinfo_nl80211.c, make functions static
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-21 12:33:27 +00:00
Felix Fietkau ce190f1c3b iwinfo: move madwifi_ops to iwinfo_madwifi.c, make functions static
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-21 12:33:18 +00:00
Felix Fietkau 89c0b1328b iwinfo: move wext_ops to iwinfo_wext.c, make functions static
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-21 12:33:15 +00:00
Felix Fietkau 4ab2ccf630 iwinfo: keep an array of backends, reduce the number of ifdefs and hardcoded strcmp calls
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-21 12:33:10 +00:00
Steven Barth bc66a52c45 dnsmasq: bump to 2.71
dnsmasq: bump to 2.71

this is a bugfix-release, see
http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2014q2/008538.html

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-20 11:44:33 +00:00
Felix Fietkau c71d98a919 iw: sync nl80211.h
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-20 09:38:14 +00:00
Florian Fainelli e99cb3cbf6 dnsmasq: Allow creating static DNS entries from static lease entries
DHCP entries in /etc/config/dhcp will not automatically create A or PTR
records.  Add an "option dns" directive which appends an entry to
/tmp/hosts/dhcp to facilitate forward and reverse DNS lookups.  For
instance, this item:

    config host
            option ip       '192.168.0.10'
            option mac      '00:13:57:9b:df:02'
            option name     'winpc'
            option dns      '1'

will add a corresponding entry to /tmp/hosts/dhcp:

    192.168.0.10 winpc.lan

This keeps the hostname/IP/MAC in a single place, for easy maintenance.

Related: ticket #13854 reports an regression involving missing PTR
records when using "config domain" to define static DNS entries for
individual hosts.  However, per Simon Kelley[1], the --address feature
used by "config domain" was never intended to generate DNS A records for
hosts.  It would probably be better for the reporter to apply this patch,
and then use "config host" sections instead of "config domain" sections.

[1] http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2008q4/002498.html

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40799 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-20 05:00:28 +00:00
Felix Fietkau 3635a1d412 hostapd: add a package for eapol_test
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40782 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-19 21:58:48 +00:00
Felix Fietkau 201f003a76 netifd: update to the latest version, fixes wireless setup cancellation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40771 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-15 20:03:04 +00:00
Steven Barth bfaa1ec952 dnsmasq: bump to 2.7.0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-14 07:02:17 +00:00
Felix Fietkau 2fe4422400 netifd: update to latest version, fixes a regression on wds client support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-10 18:03:24 +00:00
Jo-Philipp Wich b87992375c iwinfo: adjust for changed wpa_supplicant control socket path
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-10 15:31:49 +00:00
Steven Barth 7daa8bafa6 netifd: Fix nested protocols going offline at reload + various route issues
Much thanks to Hans Dedecker

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-09 13:55:34 +00:00
Steven Barth 99bb6384ee odhcp6c: bring up nested interfaces on config change
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-09 11:58:04 +00:00
Felix Fietkau c026bbe150 uhttpd: update to the latest version, fixes cgi path handling issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-09 11:17:42 +00:00
Felix Fietkau d98e49d609 igmpproxy: move to trunk, add myself as maintainer
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-08 13:14:34 +00:00
Steven Barth 30a33aa150 odhcp6c: some more fixes for map / lw4o6 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40728 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-08 09:17:55 +00:00
Felix Fietkau 0216e64b92 hostapd: add an option for 802.11h (enabled by default)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-03 21:14:48 +00:00
Felix Fietkau 2aa8e78e07 netifd: update to the latest version, fixes some corner cases related to hotplug device handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-02 18:12:28 +00:00
Hauke Mehrtens 6a827ac101 samaba36: do not build libtevent
This fixes a build error on some mips systems.

This closes #15769.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-01 21:17:56 +00:00
Hauke Mehrtens 7d751eb0b7 samba: update to version 3.6.23
This updates samba to the most recent minor version.
This patch is based on a patch by Anton van Bohemen <avbohemen@ziggo.nl>

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-01 12:17:52 +00:00
Hauke Mehrtens 8cc221b9a7 xtables-addons: #15516 Fix compile under linux 3.14
Add compatibility inline function.

Signed-off-by: Jan Kardell <jan.kardell@telliq.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-30 22:15:40 +00:00
Steven Barth dac4df8f12 odhcp6c: add preliminary support for MAP provisioning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-30 15:52:30 +00:00
Felix Fietkau 4e85193d1e netifd: update to the latest version, fixes a use-after-free bug on wireless config reload
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-29 13:18:59 +00:00
Hauke Mehrtens 5d1d8efab0 authsae: Update to latest version
Ping tested, add a cool fix
295164a837

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-27 20:49:14 +00:00
Felix Fietkau ebabaedd67 hostapd: fix eglibc 2.15 support
This patch fixes compilation failure for hostapd when using eglibc 2.15.

Signed-off-by: Zachery Stoddard <zacherystoddard@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-27 18:30:50 +00:00
Felix Fietkau c549fd53a8 netifd: update to the latest version, fixes some route table and dynamic interface issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-26 19:48:11 +00:00
Felix Fietkau 27a58eb4ae hostapd: update to version 2014-04-24, fixes some dfs related issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-26 19:48:06 +00:00
Steven Barth c4d4aef229 odhcpd: better dhcpv6 client-compatibility (thanks Hans Dedecker)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-24 09:36:01 +00:00
Steven Barth a7cefa53f0 6rd: Select first IPv4 address from configured tunlink interface as local tunnel address
Gives the user the control to select the correct WAN IPv4 address to be used by the 6rd tunnel when mutiple WAN interfaces are configured

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-24 09:11:44 +00:00
Felix Fietkau e8a7e5e4c9 netifd: update to latest version, adds support for disabling interfaces
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-22 17:28:14 +00:00
Felix Fietkau fccca306a6 netifd: update to the latest version, fixes some more issues related to l3_dev handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-19 09:58:40 +00:00
Steven Barth 7fb9e90170 ds-lite: disable NAT according to RFC 7084
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-14 10:11:54 +00:00
Steven Barth 07befa44af firewall: add support for nat-rules and netifd-proto-originating rules
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-14 10:11:34 +00:00
Felix Fietkau cea1c38b0a iw: sync nl80211.h (fixes settting antenna_gain)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-13 09:53:51 +00:00
John Crispin b41d91bff6 802.11s: fix authsae support in netifd
This patch implements support for 802.11s protected mesh wireless networks (using authsae) in the netifd framework.

Until meshd-nl80211 implements a proper -P option for the PID file, this uses shell backgrounding in order to be able to get the PID for the process.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 21:22:17 +00:00
Felix Fietkau df3937062b hostapd: fix "bad number" error due to missing wps_pbc_in_m1 option (since r39995)
r39995 introduced a new parameter wps_pbc_in_m1 to wifi wps config, but
apparently did not provide a default value 0.

When that option's non-existing value is later evaluated in
/lib/netifd/hostapd.sh, it causes the "bad number" error to be logged in
syslog if user has not set the wps_pbc_in_m1 option. The error materialises
only if user has enabled wps.
    Sat Apr 12 13:25:01 2014 daemon.notice netifd: radio1 (1254): sh: bad number
    Sat Apr 12 13:25:01 2014 daemon.notice netifd: radio0 (1253): sh: bad number

Discussion in bug 15508: https://dev.openwrt.org/ticket/15508#comment:3

Error is caused by line 282:
https://dev.openwrt.org/browser/trunk/package/network/services/hostapd/files/netifd.sh#L282

My patch sets the parameter's default value to 0, which does nothing. The
default might also be set a bit later in the function, but this felt like the
most clear place to do that.

Signed-off-by hnyman <hannu.nyman@iki.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40469 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 14:28:34 +00:00
John Crispin bef7ea0796 lantiq: more vdsl related cleanups
* atm module needs to be loaded before linux-atm
* use absolute firmware paths
* extended validation
* add a script for mounting an optional firmware partition

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-11 20:40:24 +00:00
Felix Fietkau 66d49dbdf4 netifd: switch to using git.openwrt.org
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-11 20:28:55 +00:00
Jo-Philipp Wich a417886bdc uhttpd: do not attempt to configure Lua handler if referenced file does not exist
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-11 16:13:27 +00:00
Felix Fietkau d0c0b1f674 netifd: update to latest version, adds a force_link parameter to bring up an interface without active device carrier
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-11 13:48:41 +00:00
Felix Fietkau 2a234f4716 netifd: update to the latest version, fixes some reload issues with proto=static
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-10 15:21:13 +00:00
Felix Fietkau 7cdf7c14d6 netifd: fix a regression related to ppp + multiple updates (ipv4 + ipv6)
Fixes #15504

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-10 11:31:21 +00:00
John Crispin c34f225392 lantiq: move the dsl-modem config to network.@dsl-modem[-1]
make sure uci_defaults generates a proper uci config for the v/adsl modem

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-10 08:14:33 +00:00
John Crispin 160bef9a98 lantiq: vdsl init.d script should auto start
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-09 16:36:28 +00:00
John Crispin 02e24506c3 lantiq: cleanup vdsl driver bringup
config interface 'wan'
	# a, b, j
	option annex b
	# a, b, av, bv
	option tone b
	# vdsl.bin
	option firmware
	# atm, ptm
	option xfer_mode atm

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-09 16:31:24 +00:00
Steven Barth 1898acd9b4 odhcpd: use correct defaults for interfaces not in UCI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-09 12:29:43 +00:00
Steven Barth 18b597d5a1 odhcp6c: fix recovering from status where all addresses have been lost
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-09 06:57:04 +00:00
Steven Barth 132cd13638 ds-lite: compatibility with ISPs that only offer public PDs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-08 06:19:37 +00:00
Felix Fietkau 403613a2fa netifd: update to the latest version, fixes a l3_dev handling regression leading to a crash
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-07 11:12:06 +00:00
Steven Barth c580cc13d7 odhcpd: improve managed PD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-06 14:34:45 +00:00
Felix Fietkau 1617cf7da2 hostapd: update to version 2014-04-04
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-06 12:13:55 +00:00
Felix Fietkau 000ed6ac72 odhcp6c: Add renew handler for proto dhcpv6
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-05 18:17:25 +00:00
Felix Fietkau 8edf724ac6 netifd: Add renew handler for proto dhcp
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40385 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-05 18:17:22 +00:00
Felix Fietkau 375eb86ab8 netifd: update to latest version, fixes issues when l3 interface changes on reload (e.g. ppp -> dhcp/static)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-05 18:17:18 +00:00
John Crispin f53bc819fe lantiq: cleanup the dsl control scripts
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-05 16:34:20 +00:00
Steven Barth 72b2e82419 odhcpd: add preliminary support for managed DHCPv6-PD and CER-ID
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-01 18:52:09 +00:00
Steven Barth f289cd0750 odhcp6c: add preliminary CER-ID support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-31 06:43:50 +00:00
John Crispin 09287d5129 samba36: revert r40341
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 19:05:25 +00:00
John Crispin 8b51cfac71 samba: update to 3.6.23
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 19:03:12 +00:00
John Crispin 5f344f1508 dhcp: Fix broadcast parameter validation support, remove unused netmask parameter
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 13:07:52 +00:00
John Crispin 878b0d6816 ltq-vdsl: add led status reporting
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:16:27 +00:00
Felix Fietkau a273f66de7 dropbear: move options.h editing to Build/Configure
fixes incremental build with change to CONFIG_DROPBEAR_ECC
drop --with-shared which is unknown to configure

Patch by Catalin Patulea <cat@vv.carleton.ca>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40300 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-29 17:10:52 +00:00
Felix Fietkau 31c24e7253 dropbear: add options SSHKeepAlive and IdleTimeout.
Without timeout mechanism, if ssh client disconnected without sending
FIN or RST, forked dropbear servers would hang there for
KEX_RETRY_TIMEOUT seconds (8 hours).

TCP keepalive is not implemented in dropbear yet, thus the name
SSHKeepAlive.

300 seconds in this patch is selected from the default value of
ServerAliveInterval for Debian ssh client (See man ssh_config).

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40299 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-29 17:05:35 +00:00
Felix Fietkau 49be87f44e dropbear: fix interface config setting
Patch from #15070

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-29 16:59:33 +00:00
Felix Fietkau fa81f88bd4 dropbear: update to 2014.63
Upstream changelog:
https://matt.ucc.asn.au/dropbear/CHANGES

This adds elliptic curve cryptography (ECC) support as an option, disabled
by default.

dropbear mips 34kc uClibc binary size:
before: 161,672 bytes
after, without ECC (default): 164,968
after, with ECC: 198,008

Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40297 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-29 16:59:26 +00:00
Steven Barth 58ca40c218 6rd / ds-lite: make the firewall-zones of nested-protocols configurable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40020 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-26 10:12:49 +00:00
Steven Barth 3e85c08bbb dhcp: send 6rd-ORO when expecting 6rd-information
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-26 09:48:20 +00:00
Felix Fietkau 58933441da uhttpd: update to latest version, improves cgi path handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-22 19:38:48 +00:00
Felix Fietkau 1a4dd4ddff uhttpd: update to latest version, fixes HEAD requests to CGI scripts
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 20:49:56 +00:00
Felix Fietkau 41fdf21988 netifd: update to the latest version, adds support for reloading proto handlers on toplogy changes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 15:55:27 +00:00
Felix Fietkau b0126e4395 hostapd: add pbc_in_m1 option
Option pbc_in_m1 is being used as a WPS capability discovery
workaround for PBC with Windows 7.
Add possibility to enable this workaround from UCI.

To enable it, turn on wps and set wps_pbc_in_m1 parameter to 1.

Signed-off-by: Pawel Kulakowski <pawel.kulakowski@tieto.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 15:55:03 +00:00
Felix Fietkau c97013b87b ead: clean up
Remove unused variables
Correct some (non important) memory leaks
Remove fclose(NULL)
Correct possible out of bound access

spotted with cppcheck

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 15:54:59 +00:00
Felix Fietkau dd4175bcc1 ead: set_nonblock() is doing nothing (typo)
spotted with cppcheck

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 15:54:56 +00:00
Felix Fietkau 8fe5646e4f ppp: remove ppp requirement from chat
This patch removes dependancy of PPP from chat application as chat application can be used for other serial communication as well that is not dependant on PPP and therefore one should be able to install chat without PPP. There also are no dependencies within chat application for PPP.

Signed-off-by: Oskari Rauta <oskari.rauta at gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 15:54:52 +00:00
Felix Fietkau 5e02d6247e netifd: update to the latest version, fixes ubus handling of proto data items
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-20 20:06:59 +00:00
Felix Fietkau 3f2d9211d7 netifd: update to latest version, fixes an autostart handling with link detection
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39967 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-20 13:57:28 +00:00
Felix Fietkau 9985a73076 firewall: update to latest version, fixes a musl build error
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-20 13:51:43 +00:00
Felix Fietkau 044c8c897f iptables: fix issues with the new musl version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39964 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-20 13:51:40 +00:00
Felix Fietkau 137c4262e8 pppd: fix build errors with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-20 13:51:36 +00:00
Steven Barth c8564bfc33 odhcpd: fix more segfaults + ubus interaction
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-20 12:25:17 +00:00
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