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