Felix Fietkau
5607a13aa1
netifd: update to the latest version, fixes wifi related segfaults
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39176
2013-12-28 14:19:54 +00:00
Felix Fietkau
c7d23cbeb9
hostapd: fix mixed wep/wpa with netifd
...
Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
SVN-Revision: 39174
2013-12-28 11:07:37 +00:00
Felix Fietkau
da886d761a
hostapd: fix the uci option name for ap isolate
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39173
2013-12-28 11:07:28 +00:00
John Crispin
d1156bca0a
swconfig: remove useless variables, return -1 on errors
...
spotted with cppcheck
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
SVN-Revision: 39170
2013-12-27 21:15:20 +00:00
Felix Fietkau
aab522e1e3
hostapd: fix wep with netifd
...
Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
SVN-Revision: 39156
2013-12-23 12:11:28 +00:00
Felix Fietkau
fd4cd3825b
wpa_supplicant: fix interface combination parsing issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39155
2013-12-21 19:42:45 +00:00
Jo-Philipp Wich
efce764f0e
dnsmasq: rework init procedure
...
- cache udhcp check results to speed up subsequent reloads
- enable procd file tracking for /var/etc/dnsmasq.conf to only reload service if needed
- implement reload action to only restart dnsmasq if /var/etc/dnsmasq.conf actually changed
- launch dnsmasq from interface hotplug to avoid race conditions with network bringup
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 39152
2013-12-21 13:31:28 +00:00
Jo-Philipp Wich
1789744958
netifd: add reload trigger for /etc/config/wireless as well
...
SVN-Revision: 39131
2013-12-18 12:38:29 +00:00
Jo-Philipp Wich
de5ebc19c0
firewall: fix handling of tcp_ecn parameter
...
The firewall3 implementation as well as the shell implementation predating it
used to process the tcp_ecnoption as boolean while it actually is an integer.
Change the code to parse tcp_ecn as integer.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 39122
2013-12-17 16:59:47 +00:00
Felix Fietkau
088eea282d
iproute2: reduce .ipk package size from ~100k down to ~60k
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39119
2013-12-17 15:59:29 +00:00
Felix Fietkau
b6bcb7ff2d
hostapd: move old wifi setup scripts to hostapd-common-old
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39103
2013-12-16 18:42:43 +00:00
Jo-Philipp Wich
eda27e8382
dnsmasq: switch to /lib/functions/network.sh
...
This commit changes the dnsmasq init script to use the interface
status exposed by netifd. The old references to scan_interfaces()
and (indirect) accesses to uci state variables are removed and
replaced with corresponding network_*() calls.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 39101
2013-12-16 16:47:41 +00:00
Felix Fietkau
12c05542e8
netifd: update to latest version, fixes a null pointer crash
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39088
2013-12-16 10:08:13 +00:00
Steven Barth
e49d67f192
Convert DHCP->6rd and DHCPv6->DS-Lite autoconfig to dynamic interface
...
SVN-Revision: 39061
2013-12-15 19:38:53 +00:00
Steven Barth
fd50416248
odhcp6c: add source routing support
...
SVN-Revision: 39058
2013-12-15 19:10:20 +00:00
Jo-Philipp Wich
e444eb0bbd
uhttpd: don't process ubus_* and lua_* options if corresponding plugin is not installed ( #14618 )
...
SVN-Revision: 39057
2013-12-15 15:32:37 +00:00
Felix Fietkau
ce062a7b5c
netifd: update to the latest version, adds a revert of the link state handling patches which caused regressions in combination with wifi devices
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39050
2013-12-14 14:59:05 +00:00
Felix Fietkau
47730fe355
netifd: prevent an unnecessary restart of netifd-managed wifi interfaces at boot time
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39046
2013-12-13 16:43:11 +00:00
Felix Fietkau
9c3adcb2e6
iw: reduce size and make the phy dump output more readable
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39041
2013-12-13 11:02:05 +00:00
Felix Fietkau
3f744a4ad3
netifd: fix crashes triggered by adding/removing wireless devices on reload
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39035
2013-12-11 18:23:52 +00:00
Jo-Philipp Wich
32223b3c4d
hostapd: fix short_preamble option
...
SVN-Revision: 39027
2013-12-10 16:24:48 +00:00
John Crispin
31a2912cd9
netifd: enable coredumps again
...
got broken due procd startup. Requires procd resource limit patch.
Signed-off-by: Ulrich Weber <uw@xyne.com>
SVN-Revision: 39020
2013-12-09 17:29:34 +00:00
Jo-Philipp Wich
18dd101903
hostapd: properly parse wmm and hidden uci options ( #14589 )
...
SVN-Revision: 39005
2013-12-08 20:51:21 +00:00
Felix Fietkau
6242255df2
netifd: update to the latest version, adds tunnel fixes by Hans Dedecker and adds back support for multiple networks per wifi-iface
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39004
2013-12-08 18:00:05 +00:00
Steven Barth
4bdd40c08b
odhcpd/6c: Add config menu for prefix class ext.
...
SVN-Revision: 38996
2013-12-05 12:17:09 +00:00
Steven Barth
fb6ebac74a
odhcpd: Fix ubus integration
...
SVN-Revision: 38994
2013-12-04 13:14:27 +00:00
Felix Fietkau
4155016637
netifd: update to the latest version, improves wireless status output and fixes some bridge handling issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38992
2013-12-03 14:17:44 +00:00
Felix Fietkau
603c532eed
hostapd: fix maclist processing with netifd
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38991
2013-12-03 09:02:58 +00:00
Felix Fietkau
3c50feca19
wifi: rename the "reload" (restarting non-netifd wifi) command to "reload_legacy"
...
Add a new "reload" command that reloads the netifd config as well
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38989
2013-12-02 16:53:24 +00:00
Felix Fietkau
498d84fc4e
netifd: add wireless configuration support and port mac80211 to the new framework
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38988
2013-12-02 16:41:03 +00:00
Felix Fietkau
a26242cb63
hostapd: change the wildcard for the hostapd control socket directory
...
prepare for using /var/run/hostapd instead of /var/run/hostapd-phy*
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38986
2013-12-02 13:08:14 +00:00
Felix Fietkau
9381eaccb3
wpa_supplicant: clean up hostapd control socket on exit to fix socket leak in ap+sta mode on wifi restarts
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38985
2013-12-02 13:08:11 +00:00
Felix Fietkau
6960ae4e65
hostapd: fix os_daemonize vs starting process race by creating the pid file in the parent
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38984
2013-12-02 13:08:08 +00:00
Felix Fietkau
107bcb5de3
netifd: remove redundant calls to /sbin/wifi down
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38982
2013-12-02 13:08:00 +00:00
Felix Fietkau
5022b3949a
hostapd: always include p2p options in wpa_cli
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38981
2013-12-02 13:07:46 +00:00
Felix Fietkau
15b4975925
hostapd: add support for auto-channel selection
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38915
2013-11-25 15:43:30 +00:00
Felix Fietkau
1d75f7506d
hostapd: update to version 2013-11-20
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38914
2013-11-25 15:43:15 +00:00
John Crispin
cba772f5bc
pppd: Place plugin-specific options after plugin name
.
...
Before this patch, if we specify a plugin specific option through
`pppd_options` in /etc/config/network, e.g. `rp_pppoe_verbose 1`, pppd
would quit with the following error in log.
Wed Oct 9 09:42:58 2013 daemon.notice netifd: GORG (1689): /usr/sbin/pppd: unrecognized option 'rp_pppoe_verbose'
Wed Oct 9 09:42:58 2013 daemon.err pppd[1689]: unrecognized option 'rp_pppoe_verbose'
Wed Oct 9 09:42:58 2013 daemon.notice netifd: GORG (1689): pppd version 2.4.5
Wed Oct 9 09:42:58 2013 daemon.notice netifd: GORG (1689): Usage: /usr/sbin/pppd [ options ], where options are:
This is due to the requirement that function add_option() should be
called by the plugin_init() function first before pppd can parse those
options.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 38911
2013-11-25 14:09:16 +00:00
Felix Fietkau
5143157af8
uhttpd: update to the latest version, fixes crashes in the ubus plugin
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38888
2013-11-21 21:52:24 +00:00
Felix Fietkau
cd1c8d463f
hostapd: remove random pool support - the entropy it gathers is questionable and we have better entropy sources on common platforms now
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38852
2013-11-18 13:54:26 +00:00
Jo-Philipp Wich
bc9043cc53
firewall: optimize DNAT rules and skip invalid rules and redirects ( #14485 )
...
- instead of writing one (or more) ACCEPT rules in the filter table
for each redirect install a global ctstate DNAT accept rule per zone
- discard rules and redirects which have invalid options set instead
of silently skipping the invalid values
SVN-Revision: 38849
2013-11-18 11:59:27 +00:00
Steven Barth
b5a4fb1c95
6rd: Clear correct IPv6 address bits in 6rdcalc
...
The correct bits are now cleared in the IPv6 address as the shift
value to the correct byte in the IPv6 address was wrong. Depending
on the stack values this could result in a hanging 6rdcalc program
due to an endless loop.
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 38818
2013-11-16 09:18:14 +00:00
John Crispin
a9cfb4b827
procd: fixup 2 wrong option types
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38789
2013-11-13 11:07:24 +00:00
John Crispin
1f93857092
procd: convert services to the new validation api
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38787
2013-11-13 10:49:41 +00:00
Felix Fietkau
37756a97a0
hostapd: remove #ifdef MULTICALL around ap+sta support code (to support separately installed supplicant+hostapd)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38782
2013-11-12 22:11:14 +00:00
Jo-Philipp Wich
7ad5350dfb
Add patch to fix ipset timeout setting problem
...
Fixes #14325
Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 38779
2013-11-12 11:01:11 +00:00
Jo-Philipp Wich
c9bc0e12a9
Update ipset to version 6.20.1
...
Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 38778
2013-11-12 11:00:49 +00:00
Hauke Mehrtens
20d64e929f
iwinfo: don't report associations for broadcom wds interfaces
...
The associations list for Broadcom WDS interfaces are duplicate to those
reported by the corresponding AP interface; so there is no need to report
them again.
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38746
2013-11-11 21:54:55 +00:00
Hauke Mehrtens
e3a5401fb2
iwinfo: fix hwmodelist reporting for broadcom wl
...
Modify the hwmodelist reporting for broadcom devices to include
proper reporting of 802.11n support.
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38745
2013-11-11 21:54:25 +00:00
Jo-Philipp Wich
8a1d77efed
uhttpd: return after processing -d switch, only set ubus prefix if not already defined
...
SVN-Revision: 38743
2013-11-11 19:14:01 +00:00