Felix Fietkau
20151a3394
netifd: initialize the switch early at start time and on reload ( fixes #13015 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39183
11 years ago
Felix Fietkau
6865f1d6b2
netifd: update to the latest version, fixes wireless related segfaults on arm
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39180
11 years ago
Felix Fietkau
5607a13aa1
netifd: update to the latest version, fixes wifi related segfaults
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39176
11 years ago
Felix Fietkau
c7d23cbeb9
hostapd: fix mixed wep/wpa with netifd
...
Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
SVN-Revision: 39174
11 years ago
Felix Fietkau
da886d761a
hostapd: fix the uci option name for ap isolate
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39173
11 years ago
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
11 years ago
Felix Fietkau
aab522e1e3
hostapd: fix wep with netifd
...
Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
SVN-Revision: 39156
11 years ago
Felix Fietkau
fd4cd3825b
wpa_supplicant: fix interface combination parsing issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39155
11 years ago
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
11 years ago
Jo-Philipp Wich
1789744958
netifd: add reload trigger for /etc/config/wireless as well
...
SVN-Revision: 39131
11 years ago
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
11 years ago
Felix Fietkau
088eea282d
iproute2: reduce .ipk package size from ~100k down to ~60k
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39119
11 years ago
Felix Fietkau
b6bcb7ff2d
hostapd: move old wifi setup scripts to hostapd-common-old
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39103
11 years ago
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
11 years ago
Felix Fietkau
12c05542e8
netifd: update to latest version, fixes a null pointer crash
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39088
11 years ago
Steven Barth
e49d67f192
Convert DHCP->6rd and DHCPv6->DS-Lite autoconfig to dynamic interface
...
SVN-Revision: 39061
11 years ago
Steven Barth
fd50416248
odhcp6c: add source routing support
...
SVN-Revision: 39058
11 years ago
Jo-Philipp Wich
e444eb0bbd
uhttpd: don't process ubus_* and lua_* options if corresponding plugin is not installed ( #14618 )
...
SVN-Revision: 39057
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
Jo-Philipp Wich
32223b3c4d
hostapd: fix short_preamble option
...
SVN-Revision: 39027
11 years ago
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
11 years ago
Jo-Philipp Wich
18dd101903
hostapd: properly parse wmm and hidden uci options ( #14589 )
...
SVN-Revision: 39005
11 years ago
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
11 years ago
Steven Barth
4bdd40c08b
odhcpd/6c: Add config menu for prefix class ext.
...
SVN-Revision: 38996
11 years ago
Steven Barth
fb6ebac74a
odhcpd: Fix ubus integration
...
SVN-Revision: 38994
11 years ago
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
11 years ago
Felix Fietkau
603c532eed
hostapd: fix maclist processing with netifd
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38991
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
Felix Fietkau
107bcb5de3
netifd: remove redundant calls to /sbin/wifi down
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38982
11 years ago
Felix Fietkau
5022b3949a
hostapd: always include p2p options in wpa_cli
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38981
11 years ago
Felix Fietkau
15b4975925
hostapd: add support for auto-channel selection
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38915
11 years ago
Felix Fietkau
1d75f7506d
hostapd: update to version 2013-11-20
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38914
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
John Crispin
a9cfb4b827
procd: fixup 2 wrong option types
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38789
11 years ago
John Crispin
1f93857092
procd: convert services to the new validation api
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38787
11 years ago
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
11 years ago
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
11 years ago
Jo-Philipp Wich
c9bc0e12a9
Update ipset to version 6.20.1
...
Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 38778
11 years ago
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
11 years ago