Steven Barth
683b622fcd
odhcp6c: Send RS with source link-layer address if possible
...
SVN-Revision: 41778
2014-07-21 10:11:09 +00:00
Jo-Philipp Wich
2dd087ccee
firewall: implement support for abritary netmasks
...
Properly parse and pass arbritary netmasks to iptables, this allows
specifying ranges like '::c23f:eff:fe7a:a094/::ffff:ffff:ffff:ffff' to
match the host part of an IPv6 address regardless of the currently active
IPv6 prefix.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 41760
2014-07-19 16:30:47 +00:00
Felix Fietkau
51fbfde474
netifd: update to the latest version, adds a small validation fix
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41731
2014-07-18 11:45:42 +00:00
Felix Fietkau
4ecb9289ef
qos-scripts: convert to procd
...
Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41730
2014-07-18 11:25:07 +00:00
Steven Barth
c05d6ba1ff
odhcpd: rewrite NDP proxy feature
...
SVN-Revision: 41703
2014-07-17 19:11:17 +00:00
Felix Fietkau
51b11ba5ea
netifd: update to the latest version, enables igmp snooping by default
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41683
2014-07-17 14:55:17 +00:00
Felix Fietkau
4ef8d2e014
qos-scripts: fix ingress packet marking with ifb
...
Split connection mark into two parts:
The lower nibble contains the confirmed conntrack mark which is not
generated by default/reclassify rules.
The upper nibble contains the current value specified by
default/reclassify rules.
For egress, the default/reclassify value is preferred
For ingress, the connection mark is preferred
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41682
2014-07-17 12:02:06 +00:00
Felix Fietkau
1ecb74024b
iwinfo: fix crash on parsing mtd ( #15807 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41675
2014-07-16 18:57:23 +00:00
Felix Fietkau
b24e77714e
hostapd: add a require_mode option in wifi-device sections to select the minimum hardware mode that the AP requires from clients
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41665
2014-07-15 10:30:08 +00:00
Steven Barth
7264389699
odhcpd: disable packet socket if unneeded to preserve performance
...
SVN-Revision: 41644
2014-07-14 13:39:03 +00:00
Jo-Philipp Wich
f4781cae6d
firewall: fix segfault introduced by latest update
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 41558
2014-07-10 16:44:20 +00:00
Jo-Philipp Wich
8b0650838d
firewall: fix regressions introduced after latest ubus rework
...
The commit 92281eb747b56e748b7c3d754055919c23befdd4 broke fw3_ubus_addresses() so that
no addresses where returned at all, this caused fw3 to not emit NAT reflection rules
anymore.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 41556
2014-07-10 10:21:17 +00:00
Felix Fietkau
a6c4ef18b7
qos-scripts: remove maxsize options and packet size based reclassify from the default config
...
They should be unnecessary with fq_codel, and simplifying rules helps
with performance
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41549
2014-07-08 11:19:51 +00:00
Hauke Mehrtens
3861bdad99
samba36: update to minor version 3.6.24
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 41525
2014-07-06 11:23:13 +00:00
Felix Fietkau
363eb4cf7a
samba36: disable acl support to avoid picking up a dependency on libacl ( #16988 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41509
2014-07-04 11:42:57 +00:00
Felix Fietkau
4d04e666a4
samba36: do not pick up libattr as a dependency
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41508
2014-07-04 09:55:14 +00:00
Jo-Philipp Wich
b321f718c2
firewall: fix issue with parsing network options
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 41491
2014-07-03 09:21:44 +00:00
Hauke Mehrtens
2dba3f8aca
iwinfo: fix string format for country code
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 41485
2014-07-02 21:43:17 +00:00
Felix Fietkau
e9b8f24ded
igmpproxy: automatically add firewall rules for multicast routing based on the current config
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41483
2014-07-02 19:18:23 +00:00
Felix Fietkau
2b274eb719
firewall: update to the latest version, adds support for fetching firewall rules from procd
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41480
2014-07-02 19:18:13 +00:00
Felix Fietkau
3445645d18
iptables: refresh patches
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41479
2014-07-02 19:18:09 +00:00
Jo-Philipp Wich
16d8827150
iproute2: re-enable PIC, it is only applied to libnetlink.a and required for collectd
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 41460
2014-07-02 12:41:36 +00:00
Jo-Philipp Wich
1c891e0d45
iptables: pass --disable-ipv6 is CONFIG_IPV6 is unset
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 41458
2014-07-02 11:39:24 +00:00
John Crispin
bf75e37030
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>
SVN-Revision: 41438
2014-07-01 10:26:07 +00:00
Steven Barth
d5340f6092
odhcpd: some minor DHCP/DHCPv6 fixes
...
SVN-Revision: 41432
2014-07-01 08:15:28 +00:00
Felix Fietkau
d78404c24a
openvpn: fix compile error with musl
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41425
2014-06-30 15:34:03 +00:00
Felix Fietkau
b1c4a0aed5
openvpn: update to version 2.3.4
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41416
2014-06-30 12:43:03 +00:00
Felix Fietkau
b3b55de395
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>
SVN-Revision: 41411
2014-06-30 08:19:48 +00:00
Steven Barth
3c791c31bf
odhcpd: fix build failure with musl
...
SVN-Revision: 41409
2014-06-30 07:56:33 +00:00
Felix Fietkau
1c499abcda
pppd: fix build with musl
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41404
2014-06-29 22:26:08 +00:00
Felix Fietkau
cdee846385
samba36: fix build error with musl
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41402
2014-06-29 22:26:02 +00:00
Felix Fietkau
78fcf50de4
relayd: update to the latest version, fixes musl compile and multicast relaying
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41401
2014-06-29 22:25:58 +00:00
Felix Fietkau
5db42f92fd
netifd: update to the latest version, fixes a crash on reload with hotplugged devices
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41393
2014-06-29 21:27:28 +00:00
Felix Fietkau
50c05b20cb
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>
SVN-Revision: 41390
2014-06-29 18:34:22 +00:00
Felix Fietkau
c41dae37bf
conntrack-tools: fix build on octeon
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41377
2014-06-29 11:33:03 +00:00
Felix Fietkau
d73e2c5528
conntrack-tools: leave out bogus reject files on unpacking
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41376
2014-06-29 11:33:00 +00:00
Jo-Philipp Wich
42bc2c49ae
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>
SVN-Revision: 41358
2014-06-27 10:40:44 +00:00
Steven Barth
2ad9907cd5
firewall3: add fw3 zone function to enumerate devices
...
SVN-Revision: 41349
2014-06-26 12:20:47 +00:00
John Crispin
d3be71e141
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>
SVN-Revision: 41345
2014-06-26 11:43:34 +00:00
John Crispin
3cb08b4811
iputils: fix compile when using eglibc
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41342
2014-06-26 11:42:57 +00:00
Steven Barth
2dd6d4a4f0
dnsmasq: use config_get_bool for dnsmasq
...
SVN-Revision: 41302
2014-06-22 15:34:36 +00:00
Felix Fietkau
8db0fcf1f7
iw: update to 3.15
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41299
2014-06-22 11:42:28 +00:00
Steven Barth
17d3ce64cf
dnsmasq: set procd respawn
...
SVN-Revision: 41297
2014-06-22 09:08:14 +00:00
Steven Barth
22ffa5ef16
netifd: various routing table handling fixes
...
SVN-Revision: 41287
2014-06-20 17:51:25 +00:00
Jo-Philipp Wich
005884bff4
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>
SVN-Revision: 41283
2014-06-20 12:28:35 +00:00
Jo-Philipp Wich
de51f6022f
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>
SVN-Revision: 41282
2014-06-20 09:58:16 +00:00
Steven Barth
9af2e45080
dnsmasq: removing nettle 3.0 support due to nettle downgrade
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 41264
2014-06-18 17:06:37 +00:00
Steven Barth
bff5e3822c
odhcpd: improve static DHCPv4 leases (thanks arnd)
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 41260
2014-06-18 12:10:10 +00:00
Steven Barth
8d177a8e78
netifd: various bugfixes (thanks Hans Dedecker)
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 41259
2014-06-18 11:29:09 +00:00
John Crispin
4925f710f6
relayd: update to latest git head
...
this fixes multicast fowarding on relayd links
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41254
2014-06-18 10:08:05 +00:00
Steven Barth
087ea853b4
dnsmasq: compatibility with nettle 3.0
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 41249
2014-06-18 10:04:47 +00:00
Steven Barth
495b237cc4
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>
SVN-Revision: 41246
2014-06-18 10:04:34 +00:00
Steven Barth
132cbe5e29
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>
SVN-Revision: 41245
2014-06-18 10:04:29 +00:00
Steven Barth
5f64a3e7ce
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>
SVN-Revision: 41244
2014-06-18 10:04:25 +00:00
Steven Barth
e2430bc65f
dnsmasq: add upstream patch to build against libnettle-mini
...
Signed-off-by: Andre Heider <a.heider@gmail.com>
SVN-Revision: 41243
2014-06-18 10:04:21 +00:00
Steven Barth
b3adc62b62
dnsmasq: respect target's LDFLAGS
...
Append local flags, don't overwrite.
Signed-off-by: Andre Heider <a.heider@gmail.com>
SVN-Revision: 41242
2014-06-18 10:04:17 +00:00
Steven Barth
6dbafaa15d
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>
SVN-Revision: 41241
2014-06-18 10:04:02 +00:00
Steven Barth
d923104149
odhcpd: don't enable relaying by default anymore
...
SVN-Revision: 41228
2014-06-17 13:05:24 +00:00
Steven Barth
1e989206f4
iproute2: update version to 3.15.0, refresh patches, add maintainer
...
Signed-off-by: Russell Senior <russell@personaltelco.net>
SVN-Revision: 41227
2014-06-17 12:43:30 +00:00
Steven Barth
c8b4058bf3
odhcpd: also honor leasetime for dhcpv6
...
SVN-Revision: 41226
2014-06-17 07:59:15 +00:00
Steven Barth
19f89dfd2c
odhcpd: Improve NotOnLink-behavior and make hostid more convient to configure
...
SVN-Revision: 41225
2014-06-17 07:44:24 +00:00
Steven Barth
d11426b32b
odhcpd: add more consistent hostname-writing
...
SVN-Revision: 41211
2014-06-16 16:45:05 +00:00
Steven Barth
bea1a153ed
odhcpd: update hostfile more often
...
SVN-Revision: 41197
2014-06-16 09:09:13 +00:00
Steven Barth
cd271413aa
odhcpd: fix dhcpv4 hostname attribute handling
...
SVN-Revision: 41196
2014-06-16 08:33:49 +00:00
Steven Barth
8a5b65195d
odhcpd: accept FQDN as search domain
...
SVN-Revision: 41194
2014-06-15 22:49:58 +00:00
Steven Barth
941ab9a89a
ppp: bump to 2.4.6
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 41193
2014-06-15 20:55:17 +00:00
Steven Barth
fa2df0e8c7
odhcpd: use search domain instead of domain attribute
...
SVN-Revision: 41152
2014-06-12 09:22:07 +00:00
Felix Fietkau
500d3072ec
netifd: use procd_add_reload_trigger
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41147
2014-06-11 17:05:50 +00:00
Jo-Philipp Wich
3a1b8699b6
curl: move to core packages
...
SVN-Revision: 41143
2014-06-11 15:43:24 +00:00
Steven Barth
e50f3b4fc7
uhttpd: also bind to IPv6 by default
...
SVN-Revision: 41114
2014-06-11 12:11:55 +00:00
Felix Fietkau
3ab9651cb0
netifd: update to latest version, fixes reload issue ( #16754 ) and adds 802.1ad support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41112
2014-06-11 10:23:12 +00:00
Steven Barth
b81ebf6db1
netifd: add support for onlink-flag for routes
...
SVN-Revision: 41098
2014-06-10 16:04:40 +00:00
Steven Barth
b482d8ff64
odhcpd: various regression fixes (thanks Hans Dedecker)
...
SVN-Revision: 41079
2014-06-10 08:47:15 +00:00
Felix Fietkau
6de020d241
uhttpd: update to the latest version, fixes musl compile issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41057
2014-06-09 13:47:40 +00:00
Felix Fietkau
871dd8ec7e
uqmi: use -ffunction-sections and --gc-sections, reduces binary size from 57k to 29k
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41051
2014-06-07 19:14:17 +00:00
Steven Barth
7ec499eca5
odhcpd: improve DHCPv4 range defaults
...
SVN-Revision: 41038
2014-06-07 10:35:34 +00:00
John Crispin
1352b86627
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>
SVN-Revision: 41032
2014-06-06 09:34:38 +00:00
Felix Fietkau
53fa9374c2
hostapd: fix wpad-mini compile error ( #16700 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41023
2014-06-05 21:14:02 +00:00
Felix Fietkau
5758b210e3
hostapd: update to 2014-06-03
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41022
2014-06-05 15:58:01 +00:00
Felix Fietkau
a073d13baa
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>
SVN-Revision: 41019
2014-06-05 14:55:10 +00:00
Felix Fietkau
c20bb27aad
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>
SVN-Revision: 41012
2014-06-05 11:55:36 +00:00
John Crispin
ac69d576b4
igmpproxy: register interface change triggers
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41011
2014-06-05 10:56:18 +00:00
John Crispin
7a0606124a
netfid: make procd watch the network.interface object for events
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41010
2014-06-05 10:56:14 +00:00
John Crispin
91de9c589c
netifd: update to latest git HEAD
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41009
2014-06-05 10:56:10 +00:00
Steven Barth
2ecdc86b4d
map: add support for map-t if available
...
SVN-Revision: 41003
2014-06-04 14:58:40 +00:00
Felix Fietkau
b8d190da1f
hostapd: replace undefined $bridge with $network_bridge
...
Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>
SVN-Revision: 41002
2014-06-04 11:51:59 +00:00
Steven Barth
54291b16e6
dhcpv6: set default solicit timeout back to 120s
...
This deliberatly breaks RFC 7083 since its not really user-friendly.
SVN-Revision: 41001
2014-06-04 09:59:45 +00:00
John Crispin
5a9c834a12
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>
SVN-Revision: 41000
2014-06-04 07:20:31 +00:00
John Crispin
39798dc43b
igmpproxy: update init.d script to procd and add a hotplug script
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 40997
2014-06-04 07:19:51 +00:00
Felix Fietkau
4b241e9827
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>
SVN-Revision: 40983
2014-06-02 18:13:38 +00:00
John Crispin
520fe28adf
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>
SVN-Revision: 40954
2014-06-02 13:10:53 +00:00
John Crispin
f3aa8a8cf4
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>
SVN-Revision: 40953
2014-06-02 13:10:49 +00:00
John Crispin
8139ba35af
iwinfo: add Atheros AR9580 to hardware.txt
...
Signed-off-by: Stefan Agner <stefan@agner.ch>
SVN-Revision: 40952
2014-06-02 13:10:44 +00:00
John Crispin
8e7b9741b0
comgt: add support for defining dial number in config file
...
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
SVN-Revision: 40942
2014-06-02 12:45:09 +00:00
John Crispin
35d3c91c86
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>
SVN-Revision: 40940
2014-06-02 12:45:01 +00:00
John Crispin
40218343cd
package: netifd: remove blank line at the end of file
...
Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>
SVN-Revision: 40937
2014-06-02 12:44:51 +00:00
John Crispin
46a4f13283
qos-script: Add comments to existing rules
...
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 40936
2014-06-02 12:44:47 +00:00
John Crispin
9e65c01a4b
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>
SVN-Revision: 40935
2014-06-02 12:44:44 +00:00
John Crispin
3bc4516ebb
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>
SVN-Revision: 40934
2014-06-02 12:44:40 +00:00
John Crispin
9b595fcd4b
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>
SVN-Revision: 40933
2014-06-02 12:44:36 +00:00
John Crispin
a171eb4e4f
openvpn: enable ipv6 parameters
...
http://patchwork.openwrt.org/patch/4945/
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 40931
2014-06-02 12:44:30 +00:00
John Crispin
af4769e298
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>
SVN-Revision: 40916
2014-06-02 12:43:25 +00:00
John Crispin
a866b7eb9d
dropbear: make missing variables local
...
Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>
SVN-Revision: 40914
2014-06-02 12:43:16 +00:00
Steven Barth
7c0d5b99c4
odhcpd: add configuration for userclass-filter
...
SVN-Revision: 40900
2014-06-02 07:08:16 +00:00
Steven Barth
299c2cd312
6relayd: superseded by odhcpd
...
SVN-Revision: 40893
2014-06-01 10:28:50 +00:00
Felix Fietkau
d866ee2e30
netifd: replace the sleep 5 with an ubus wait_for call to speed up init script
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40891
2014-05-31 23:49:23 +00:00
Steven Barth
cdbbe71199
odhcp6c: fix last commit
...
SVN-Revision: 40887
2014-05-30 14:50:42 +00:00
Steven Barth
f8c12d4227
odhcp6c: improve passthrough filter
...
SVN-Revision: 40886
2014-05-30 14:48:39 +00:00
Felix Fietkau
72d6a51e64
iwinfo: null-terminate the ssid on nl80211 scan to avoid printing trailing garbage
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40884
2014-05-30 11:37:35 +00:00
Steven Barth
57999c4807
odhcpd: Fix a segfault in DHCPv6 option handling
...
SVN-Revision: 40881
2014-05-29 21:01:42 +00:00
Jo-Philipp Wich
83ccc9a8f6
6in4: adjust update url ( #16617 )
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 40876
2014-05-29 09:22:52 +00:00
Felix Fietkau
487f719203
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>
SVN-Revision: 40868
2014-05-28 19:45:20 +00:00
Steven Barth
05090cb270
odhcpd: add support for configuring raw dhcpv6 options
...
SVN-Revision: 40862
2014-05-26 17:08:57 +00:00
Steven Barth
c99065ffab
odhcp6c: improve passthru filter
...
SVN-Revision: 40826
2014-05-23 06:29:13 +00:00
Steven Barth
3ce83eb9a0
odhcp6c: export passthru options as netifd data
...
SVN-Revision: 40825
2014-05-23 06:26:23 +00:00
Steven Barth
cb8ca4bdb8
odhcp6c: add support for option passthru
...
SVN-Revision: 40824
2014-05-23 06:17:27 +00:00
Steven Barth
bb932910dd
Initial support for MAP-E and Lightweight 4over6 protocol
...
SVN-Revision: 40823
2014-05-22 20:04:53 +00:00
Steven Barth
5696b94b76
netifd: fix a segfault and improve ipip6 tunnel setup
...
SVN-Revision: 40821
2014-05-22 20:04:43 +00:00
Felix Fietkau
8bd8ecd0c3
iwinfo: remove old lua compat macros
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40816
2014-05-21 12:34:18 +00:00
Felix Fietkau
4c9fc236c9
iwinfo: un-export internal api header files
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40815
2014-05-21 12:34:02 +00:00
Felix Fietkau
8c4421ecd6
iwinfo: bump release and start using ABI_VERSION
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40814
2014-05-21 12:33:58 +00:00
Felix Fietkau
12333f4169
iwinfo: move wl_ops to iwinfo_wl.c, make functions static
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40813
2014-05-21 12:33:30 +00:00
Felix Fietkau
b5eec473f0
iwinfo: move nl80211_ops to iwinfo_nl80211.c, make functions static
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40812
2014-05-21 12:33:27 +00:00
Felix Fietkau
6c02355830
iwinfo: move madwifi_ops to iwinfo_madwifi.c, make functions static
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40811
2014-05-21 12:33:18 +00:00
Felix Fietkau
6e27ecbac7
iwinfo: move wext_ops to iwinfo_wext.c, make functions static
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40810
2014-05-21 12:33:15 +00:00
Felix Fietkau
2d06acd6ac
iwinfo: keep an array of backends, reduce the number of ifdefs and hardcoded strcmp calls
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40809
2014-05-21 12:33:10 +00:00
Steven Barth
3834bd7667
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>
SVN-Revision: 40803
2014-05-20 11:44:33 +00:00
Felix Fietkau
9d5be2b858
iw: sync nl80211.h
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40801
2014-05-20 09:38:14 +00:00
Florian Fainelli
8f526ff530
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>
SVN-Revision: 40799
2014-05-20 05:00:28 +00:00
Felix Fietkau
239b3c09c9
hostapd: add a package for eapol_test
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40782
2014-05-19 21:58:48 +00:00
Felix Fietkau
cfbd90d2bf
netifd: update to the latest version, fixes wireless setup cancellation
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40771
2014-05-15 20:03:04 +00:00
Steven Barth
92e65b481a
dnsmasq: bump to 2.7.0
...
SVN-Revision: 40759
2014-05-14 07:02:17 +00:00
Felix Fietkau
127ce4d5ec
netifd: update to latest version, fixes a regression on wds client support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40748
2014-05-10 18:03:24 +00:00
Jo-Philipp Wich
735a03be62
iwinfo: adjust for changed wpa_supplicant control socket path
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 40747
2014-05-10 15:31:49 +00:00
Steven Barth
0c06d76c79
netifd: Fix nested protocols going offline at reload + various route issues
...
Much thanks to Hans Dedecker
SVN-Revision: 40746
2014-05-09 13:55:34 +00:00
Steven Barth
cc80c11538
odhcp6c: bring up nested interfaces on config change
...
SVN-Revision: 40745
2014-05-09 11:58:04 +00:00
Felix Fietkau
bddbcdfc1a
uhttpd: update to the latest version, fixes cgi path handling issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40743
2014-05-09 11:17:42 +00:00
Felix Fietkau
f603f984c6
igmpproxy: move to trunk, add myself as maintainer
...
SVN-Revision: 40730
2014-05-08 13:14:34 +00:00
Steven Barth
8c53f29220
odhcp6c: some more fixes for map / lw4o6 support
...
SVN-Revision: 40728
2014-05-08 09:17:55 +00:00
Felix Fietkau
26044703a4
hostapd: add an option for 802.11h (enabled by default)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40690
2014-05-03 21:14:48 +00:00
Felix Fietkau
770ec0082b
netifd: update to the latest version, fixes some corner cases related to hotplug device handling
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40660
2014-05-02 18:12:28 +00:00
Hauke Mehrtens
1c227e7d23
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>
SVN-Revision: 40652
2014-05-01 21:17:56 +00:00
Hauke Mehrtens
14d0375301
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>
SVN-Revision: 40618
2014-05-01 12:17:52 +00:00
Hauke Mehrtens
2cc83fe501
xtables-addons: #15516 Fix compile under linux 3.14
...
Add compatibility inline function.
Signed-off-by: Jan Kardell <jan.kardell@telliq.com>
SVN-Revision: 40613
2014-04-30 22:15:40 +00:00
Steven Barth
ef9f0fa232
odhcp6c: add preliminary support for MAP provisioning
...
SVN-Revision: 40604
2014-04-30 15:52:30 +00:00
Felix Fietkau
d33c6f7b80
netifd: update to the latest version, fixes a use-after-free bug on wireless config reload
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40589
2014-04-29 13:18:59 +00:00
Hauke Mehrtens
513b796698
authsae: Update to latest version
...
Ping tested, add a cool fix
295164a837
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
SVN-Revision: 40579
2014-04-27 20:49:14 +00:00
Felix Fietkau
e795250a1e
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>
SVN-Revision: 40575
2014-04-27 18:30:50 +00:00
Felix Fietkau
b4532ad21e
netifd: update to the latest version, fixes some route table and dynamic interface issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40572
2014-04-26 19:48:11 +00:00
Felix Fietkau
8a831de514
hostapd: update to version 2014-04-24, fixes some dfs related issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40571
2014-04-26 19:48:06 +00:00
Steven Barth
e1bd4e9aa4
odhcpd: better dhcpv6 client-compatibility (thanks Hans Dedecker)
...
SVN-Revision: 40567
2014-04-24 09:36:01 +00:00
Steven Barth
c4e09ccb05
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>
SVN-Revision: 40566
2014-04-24 09:11:44 +00:00
Felix Fietkau
b079019bd9
netifd: update to latest version, adds support for disabling interfaces
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40555
2014-04-22 17:28:14 +00:00
Felix Fietkau
3c95232ab7
netifd: update to the latest version, fixes some more issues related to l3_dev handling
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40529
2014-04-19 09:58:40 +00:00
Steven Barth
ba6689b064
ds-lite: disable NAT according to RFC 7084
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 40511
2014-04-14 10:11:54 +00:00
Steven Barth
daf69ee1da
firewall: add support for nat-rules and netifd-proto-originating rules
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 40510
2014-04-14 10:11:34 +00:00
Felix Fietkau
4d0f5b36c4
iw: sync nl80211.h (fixes settting antenna_gain)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40503
2014-04-13 09:53:51 +00:00
John Crispin
3bc77db5f5
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>
SVN-Revision: 40497
2014-04-12 21:22:17 +00:00
Felix Fietkau
0d7e8ba3a9
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>
SVN-Revision: 40469
2014-04-12 14:28:34 +00:00
John Crispin
390e856cb2
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>
SVN-Revision: 40460
2014-04-11 20:40:24 +00:00
Felix Fietkau
7b960069a2
netifd: switch to using git.openwrt.org
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40459
2014-04-11 20:28:55 +00:00
Jo-Philipp Wich
e0a3e3d1b6
uhttpd: do not attempt to configure Lua handler if referenced file does not exist
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 40457
2014-04-11 16:13:27 +00:00
Felix Fietkau
92ab194d63
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>
SVN-Revision: 40456
2014-04-11 13:48:41 +00:00
Felix Fietkau
a28b8ecc47
netifd: update to the latest version, fixes some reload issues with proto=static
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40449
2014-04-10 15:21:13 +00:00
Felix Fietkau
8a7a02bd2e
netifd: fix a regression related to ppp + multiple updates (ipv4 + ipv6)
...
Fixes #15504
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40443
2014-04-10 11:31:21 +00:00
John Crispin
eebc673f1e
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>
SVN-Revision: 40439
2014-04-10 08:14:33 +00:00
John Crispin
8bfe9acecf
lantiq: vdsl init.d script should auto start
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 40438
2014-04-09 16:36:28 +00:00
John Crispin
76e873a289
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>
SVN-Revision: 40437
2014-04-09 16:31:24 +00:00
Steven Barth
9efa78ebeb
odhcpd: use correct defaults for interfaces not in UCI
...
SVN-Revision: 40435
2014-04-09 12:29:43 +00:00
Steven Barth
d2d8970828
odhcp6c: fix recovering from status where all addresses have been lost
...
SVN-Revision: 40432
2014-04-09 06:57:04 +00:00
Steven Barth
4abcae7a1c
ds-lite: compatibility with ISPs that only offer public PDs
...
SVN-Revision: 40422
2014-04-08 06:19:37 +00:00
Felix Fietkau
255546bbfd
netifd: update to the latest version, fixes a l3_dev handling regression leading to a crash
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40414
2014-04-07 11:12:06 +00:00
Steven Barth
057900bfd1
odhcpd: improve managed PD
...
SVN-Revision: 40395
2014-04-06 14:34:45 +00:00
Felix Fietkau
8994b4b191
hostapd: update to version 2014-04-04
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40394
2014-04-06 12:13:55 +00:00
Felix Fietkau
6d3672b13b
odhcp6c: Add renew handler for proto dhcpv6
...
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 40386
2014-04-05 18:17:25 +00:00
Felix Fietkau
dca014db76
netifd: Add renew handler for proto dhcp
...
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 40385
2014-04-05 18:17:22 +00:00
Felix Fietkau
0dd2d18400
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>
SVN-Revision: 40384
2014-04-05 18:17:18 +00:00
John Crispin
f464b7d176
lantiq: cleanup the dsl control scripts
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 40381
2014-04-05 16:34:20 +00:00
Steven Barth
e544c1607a
odhcpd: add preliminary support for managed DHCPv6-PD and CER-ID
...
SVN-Revision: 40355
2014-04-01 18:52:09 +00:00
Steven Barth
a22190340a
odhcp6c: add preliminary CER-ID support
...
SVN-Revision: 40351
2014-03-31 06:43:50 +00:00
John Crispin
c78af071de
samba36: revert r40341
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 40343
2014-03-30 19:05:25 +00:00
John Crispin
ca1a527187
samba: update to 3.6.23 Signed-off-by: John Crispin <blogic@openwrt.org>
...
SVN-Revision: 40341
2014-03-30 19:03:12 +00:00
John Crispin
c7168b64ef
dhcp: Fix broadcast parameter validation support, remove unused netmask parameter
...
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 40332
2014-03-30 13:07:52 +00:00
John Crispin
1335853ae5
ltq-vdsl: add led status reporting
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 40322
2014-03-30 09:16:27 +00:00
Felix Fietkau
3ecffab050
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>
SVN-Revision: 40300
2014-03-29 17:10:52 +00:00
Felix Fietkau
f2fdd8ebdb
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>
SVN-Revision: 40299
2014-03-29 17:05:35 +00:00
Felix Fietkau
dd5a12c5a1
dropbear: fix interface config setting
...
Patch from #15070
SVN-Revision: 40298
2014-03-29 16:59:33 +00:00
Felix Fietkau
ad52658be7
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>
SVN-Revision: 40297
2014-03-29 16:59:26 +00:00
Steven Barth
0555ebf66d
6rd / ds-lite: make the firewall-zones of nested-protocols configurable
...
SVN-Revision: 40020
2014-03-26 10:12:49 +00:00
Steven Barth
2a893c2057
dhcp: send 6rd-ORO when expecting 6rd-information
...
SVN-Revision: 40019
2014-03-26 09:48:20 +00:00
Felix Fietkau
abd13cd85b
uhttpd: update to latest version, improves cgi path handling
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40005
2014-03-22 19:38:48 +00:00
Felix Fietkau
9138e8015e
uhttpd: update to latest version, fixes HEAD requests to CGI scripts
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40003
2014-03-21 20:49:56 +00:00
Felix Fietkau
5c53e63836
netifd: update to the latest version, adds support for reloading proto handlers on toplogy changes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40001
2014-03-21 15:55:27 +00:00
Felix Fietkau
c53c7a0fe0
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>
SVN-Revision: 39995
2014-03-21 15:55:03 +00:00
Felix Fietkau
5a6f00b846
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>
SVN-Revision: 39994
2014-03-21 15:54:59 +00:00
Felix Fietkau
7c029cc262
ead: set_nonblock() is doing nothing (typo)
...
spotted with cppcheck
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
SVN-Revision: 39993
2014-03-21 15:54:56 +00:00
Felix Fietkau
0945555e14
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>
SVN-Revision: 39992
2014-03-21 15:54:52 +00:00
Felix Fietkau
3eb2d6d5d4
netifd: update to the latest version, fixes ubus handling of proto data items
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39970
2014-03-20 20:06:59 +00:00
Felix Fietkau
e926cfd9ac
netifd: update to latest version, fixes an autostart handling with link detection
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39967
2014-03-20 13:57:28 +00:00
Felix Fietkau
66393168d3
firewall: update to latest version, fixes a musl build error
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39965
2014-03-20 13:51:43 +00:00
Felix Fietkau
0ccec8179d
iptables: fix issues with the new musl version
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39964
2014-03-20 13:51:40 +00:00
Felix Fietkau
7fa3fe6741
pppd: fix build errors with musl
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39963
2014-03-20 13:51:36 +00:00
Steven Barth
f4ace532c8
odhcpd: fix more segfaults + ubus interaction
...
SVN-Revision: 39960
2014-03-20 12:25:17 +00:00
Steven Barth
b5cc199ec9
odhcpd: fix possible segfaults
...
SVN-Revision: 39958
2014-03-20 09:39:00 +00:00
Felix Fietkau
ad72198abb
netifd: update to latest version, adds support for specifying a config path
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39956
2014-03-19 14:26:51 +00:00
Felix Fietkau
b9825247c2
polarssl: update to version 1.3.4 and add openssl compat patch
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39930
2014-03-14 15:05:46 +00:00
Steven Barth
7ac0057c1f
odhcp6c: pass on delegate-flag on to ds-lite interface
...
SVN-Revision: 39910
2014-03-13 10:40:56 +00:00
Steven Barth
edd75e332c
netifd: pass on delegate flag from dhcp to 6rd
...
SVN-Revision: 39909
2014-03-13 10:33:26 +00:00
John Crispin
7baf4957cf
72ca3bfc401a4f1b695dcc86640dddee62716cea contained too many files
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39908
2014-03-13 07:42:59 +00:00
John Crispin
0dc9d8d6ff
fstools: add the new fstools package
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39895
2014-03-12 19:32:51 +00:00
Steven Barth
97ea9e3c2a
iptables/netfilter: add connlimit to conntrack-extra
...
SVN-Revision: 39878
2014-03-11 14:58:00 +00:00
Steven Barth
09fd40c28f
iptables: bump to 1.4.21
...
SVN-Revision: 39877
2014-03-11 14:57:55 +00:00
Felix Fietkau
75ac488f4d
openvpn: make size optimization configurable
...
Signed-off-by: Christoph Kottke <christoph.kottke@gmx.de>
SVN-Revision: 39872
2014-03-11 12:07:17 +00:00
Felix Fietkau
83f9fc12d6
netifd: update to latest version, includes interface handling fixes by Hans Dedecker
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39870
2014-03-11 09:28:28 +00:00
Steven Barth
cd695565fb
odhcpd/odhcp6c: fix HMAC-MD5 in DHCPv6-Reconfigure
...
SVN-Revision: 39868
2014-03-11 08:21:58 +00:00
Felix Fietkau
24dae38f43
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>
SVN-Revision: 39854
2014-03-09 13:32:59 +00:00
Felix Fietkau
452d019d3e
netifd: update to latest version, adds a bridge reload fix and fixes #15157
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39791
2014-03-07 18:14:41 +00:00
Steven Barth
d3f39e89a3
odhcp6c: fix int-overflow after 50d (thx Hauke Mehrtens)
...
SVN-Revision: 39785
2014-03-07 09:35:17 +00:00
Steven Barth
f294f23c02
netifd: don't incorrectly announce up-status via ubus
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 39777
2014-03-05 17:36:14 +00:00
Steven Barth
0a3cb4cdff
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
SVN-Revision: 39775
2014-03-05 08:59:11 +00:00
Felix Fietkau
a9d4cd35fc
hostapd: fix deletion of wds sta interfaces in AP mode
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39765
2014-02-28 14:43:53 +00:00
Steven Barth
1b3a868309
netifd: Reintroduce link-layer sensing (thx Hans Decker, Karl Vogel)
...
SVN-Revision: 39757
2014-02-27 12:42:38 +00:00
Steven Barth
0bf9032145
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
SVN-Revision: 39755
2014-02-26 13:27:32 +00:00
Felix Fietkau
c01d211259
hostapd: link against librt if eglibc is used
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39741
2014-02-24 15:03:06 +00:00
Steven Barth
8aa91b167f
odhcpd: avoid the unspecificed address being advertised as DNS
...
SVN-Revision: 39740
2014-02-24 13:37:11 +00:00
Steven Barth
e6044ef1c0
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.
SVN-Revision: 39739
2014-02-24 13:33:45 +00:00
Felix Fietkau
a15524582c
netifd: depend on libubox directly to rebuild on ABI changes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39723
2014-02-23 17:32:15 +00:00
Felix Fietkau
6c8300df3d
netifd: update to latest version, fixes wireless device reload handling
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39706
2014-02-23 08:13:28 +00:00
Steven Barth
980626aa32
odhcpd: fix wrong address pool being advertised
...
SVN-Revision: 39651
2014-02-21 18:02:25 +00:00
Jo-Philipp Wich
b22ad85bc6
firewall: fix validation constraints
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 39649
2014-02-21 00:22:23 +00:00
Jo-Philipp Wich
354efde275
netifd: fix validation constraints
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 39648
2014-02-21 00:17:04 +00:00
Jo-Philipp Wich
21f4cf1a73
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>
SVN-Revision: 39647
2014-02-20 23:20:10 +00:00
Steven Barth
12fa3eae23
6in4: add support for he.net updatekey
...
SVN-Revision: 39646
2014-02-20 21:36:15 +00:00
Steven Barth
97faa098a2
odhcp6c: readd userclass and vendorclass
...
SVN-Revision: 39628
2014-02-18 18:30:47 +00:00
John Crispin
0da7d381f0
odhcp6c: add validation rules to proto handler
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39624
2014-02-18 13:34:16 +00:00
John Crispin
159ee2bbd3
relayd: add uci validation
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39623
2014-02-18 13:34:12 +00:00
John Crispin
8fb44e0d1e
netifd: add validation support
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39621
2014-02-18 13:34:04 +00:00
John Crispin
26e850dafa
hostapd: add validation rules to wireless handler
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39620
2014-02-18 13:33:59 +00:00
John Crispin
ee5cb76c66
ppp: add validation rules to proto handler
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39619
2014-02-18 13:33:56 +00:00
John Crispin
ed72f7102c
comgt: add validation rules to proto handler
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39618
2014-02-18 13:33:52 +00:00
John Crispin
15ebcfc04e
firewall3: update init.d script to make use of procd
...
add validation data
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39617
2014-02-18 13:33:47 +00:00
John Crispin
204e859542
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>
SVN-Revision: 39614
2014-02-18 13:33:36 +00:00
John Crispin
9bf6569f68
authsae: update to latest version
...
Signed-off-by: Stefan May <smay@4finger.net>
SVN-Revision: 39608
2014-02-18 13:33:13 +00:00
Steven Barth
f906a7f565
odhcp6c: send reconfigure-accept again to be compliant
...
SVN-Revision: 39605
2014-02-17 20:31:21 +00:00
Steven Barth
2f2a73f862
odhcpd: Fix RA interval + add support for prefixes > 64 and < 97
...
SVN-Revision: 39604
2014-02-17 20:30:29 +00:00
Steven Barth
41acaaf893
netifd: work around dangling prefix kernel-routes ( fixes #14963 )
...
SVN-Revision: 39597
2014-02-16 11:20:22 +00:00
Steven Barth
af8f06beca
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)
SVN-Revision: 39586
2014-02-14 21:21:44 +00:00
Steven Barth
3194834c55
odhcp6c: remove source-restriction from local routes again (broke relaying)
...
SVN-Revision: 39575
2014-02-12 08:54:43 +00:00
Hauke Mehrtens
6d1fdf875a
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>
SVN-Revision: 39518
2014-02-06 22:20:20 +00:00
Steven Barth
c666dcfe08
odhcp6c: Fix timing and some regressions from yesterday
...
SVN-Revision: 39502
2014-02-06 10:38:02 +00:00
Hauke Mehrtens
3f07af337c
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>
SVN-Revision: 39486
2014-02-05 20:52:34 +00:00
Steven Barth
ef7bc81961
odhcpd: fix homenet dhcpv6 filter
...
SVN-Revision: 39479
2014-02-05 15:42:02 +00:00
Steven Barth
05c9507cd3
odhcp6c: Add support for userclass and vendorclass
...
SVN-Revision: 39478
2014-02-05 14:56:37 +00:00
Felix Fietkau
8c737e1864
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>
SVN-Revision: 39474
2014-02-05 09:54:38 +00:00
Felix Fietkau
38587f87ed
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>
SVN-Revision: 39456
2014-02-03 13:31:44 +00:00
Steven Barth
02c763c4ab
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.
SVN-Revision: 39454
2014-02-03 09:06:25 +00:00
Steven Barth
a9a0b62785
odhcp6c: improve handling of RA on-link routes and addresses
...
SVN-Revision: 39451
2014-02-02 19:40:33 +00:00
Felix Fietkau
50417b58ad
hostapd: do not get basic_rate as a simple string variable
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39448
2014-02-02 14:25:02 +00:00
Steven Barth
8fa06b7e3c
odhcpd: fix internal router DHCPv4 filter
...
SVN-Revision: 39441
2014-02-01 13:33:05 +00:00
Steven Barth
b965dab148
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)
SVN-Revision: 39433
2014-01-31 11:23:00 +00:00
Felix Fietkau
cfc20090f1
hostapd: fix basic rate list handling with netifd
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39431
2014-01-31 10:43:18 +00:00
Felix Fietkau
2725913d2a
hostapd: fix frequency selection for ap+sta
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39426
2014-01-30 13:21:30 +00:00
Jo-Philipp Wich
76e28f6b6e
lldpd: build without libreadline
...
lldpcli uses libreadline for tab completion. libreadline take around 110kb.
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 39421
2014-01-29 13:10:39 +00:00
Jo-Philipp Wich
b2593a3f49
lldpd: add missing lldpcli
...
lldpd calls on startup lldpcli to configure itself.
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 39420
2014-01-29 13:10:35 +00:00
Jo-Philipp Wich
3aefca6b07
lldpd: push to version 0.7.7
...
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 39419
2014-01-29 13:10:31 +00:00
Jo-Philipp Wich
b5400c775e
hostapd: Fix 80211w setup with netifd
...
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 39412
2014-01-28 21:12:45 +00:00
Jo-Philipp Wich
c1cb867c13
hostapd: Fix basic_rate setup with netifd
...
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 39411
2014-01-28 21:12:36 +00:00
Steven Barth
3787078b26
odhcpd: fix certain config values being overwritten
...
Thanks to Hans Dedecker for the fix.
SVN-Revision: 39371
2014-01-23 11:02:18 +00:00
Steven Barth
e1c5111997
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>
SVN-Revision: 39370
2014-01-23 10:59:04 +00:00
Steven Barth
229d186490
netifd: don't add unnecessary NOP policy rules
...
SVN-Revision: 39351
2014-01-20 18:23:02 +00:00
Steven Barth
c67ec51c85
6in4: fix typo in config variable ( fixes #14830 )
...
SVN-Revision: 39347
2014-01-20 12:53:15 +00:00
Steven Barth
fac5e62abd
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.
SVN-Revision: 39332
2014-01-19 17:35:33 +00:00
Steven Barth
471095f869
odhcpd: Fix a memory corruption when static leases are used
...
SVN-Revision: 39319
2014-01-18 10:11:03 +00:00
Steven Barth
24ba434185
odhcpd: be even less verbose and don't start unnecessary relays
...
SVN-Revision: 39315
2014-01-17 19:05:54 +00:00
Steven Barth
2c9d868900
odhcpd: fix logspam
...
SVN-Revision: 39314
2014-01-17 15:53:43 +00:00
Steven Barth
17b0d874eb
odhcpd: use hybrid management mode by default
...
SVN-Revision: 39313
2014-01-17 15:48:02 +00:00
Steven Barth
9ec0e5df14
dnsmasq: add dnsmasq.d config folder & improve odhcpd coexistence
...
SVN-Revision: 39312
2014-01-17 14:00:09 +00:00
Steven Barth
140a5b22d9
odhcp6c: Use sourcerouting by default
...
SVN-Revision: 39311
2014-01-17 14:00:04 +00:00
Steven Barth
570eb45f23
odhcp6c: fix several small issues + decrease size
...
SVN-Revision: 39310
2014-01-17 14:00:00 +00:00
Steven Barth
684537f3e7
odhcpd: several bugfixes and improved integration
...
SVN-Revision: 39308
2014-01-17 13:59:51 +00:00
Steven Barth
a5ee266cd9
6in4, 6rd, 6to4: Use source-restricted routes by default
...
SVN-Revision: 39307
2014-01-17 13:59:47 +00:00
Steven Barth
bc8412b90e
netifd: Add IFUPDATE-flags and use main IPv6 routing table again
...
SVN-Revision: 39306
2014-01-17 13:59:40 +00:00
John Crispin
a844275f37
firewall: improve logging in hotplug script
...
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 39300
2014-01-15 18:29:59 +00:00
Zoltan Herpai
c87513de6b
packages: ifenslave: add kernel dependencies as source was removed from 3.12
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 39295
2014-01-15 09:28:41 +00:00
John Crispin
4ae2d6f293
hostapd: fix mcast_rate setting
...
Introduced by ("netifd: add wireless configuration support and port mac80211 to
the new framework")
Reported-by: René van Weert <r.vanweert@sowifi.com>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
SVN-Revision: 39288
2014-01-14 19:35:55 +00:00
John Crispin
2f9048d8d3
hostapd: fix frequency setting for IBSS/RSN
...
Introduced by ("netifd: add wireless configuration support and port mac80211 to
the new framework")
Reported-by: René van Weert <rene@sowifi.com>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
SVN-Revision: 39231
2014-01-12 12:07:11 +00:00
John Crispin
4810de8e4b
swconfig: improve usability when switch device incorrect
...
http://patchwork.openwrt.org/patch/4701/
Signed-off-by: Andreas Mohr <andim2@users.sf.net>
SVN-Revision: 39229
2014-01-12 12:07:01 +00:00
John Crispin
efad45bb0b
samba: add browsable option
...
https://dev.openwrt.org/ticket/14682
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39227
2014-01-12 12:06:53 +00:00
Steven Barth
bc370646cd
6relayd: try to workaround race condition at startup
...
SVN-Revision: 39184
2014-01-02 11:38:36 +00:00
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
2013-12-31 13:09:20 +00:00
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
2013-12-29 02:26:34 +00:00
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
John Crispin
989783255e
uhttp: add ubus.default
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38741
2013-11-11 18:12:26 +00:00
John Crispin
f48568af8e
pppd: don't call modprobe at all from pppoatm
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38737
2013-11-11 13:40:28 +00:00
John Crispin
3cc0f479dc
uhttp: make the service auto respawn if it crashes
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38724
2013-11-11 12:19:02 +00:00
John Crispin
9f3b161a57
uhttp: make sure that the ubus module is loaded when when installed
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38723
2013-11-11 12:18:58 +00:00
Felix Fietkau
e78e720a6f
netifd: remove connect_time from /var/state, it is unused
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38704
2013-11-10 10:01:33 +00:00
John Crispin
edf6236838
lantiq: fix vdsl-app dependency
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38666
2013-11-07 12:45:39 +00:00
Jo-Philipp Wich
5db9587b5f
dnsmasq: fix backward compatibility with existing configs
...
Changeset r36943 ("dnsmasq: use host-record instead of address") removed
the automatic domain expansion for config domain sections, this breaks
existing setups and alters the old behaviour in unexpected ways, therfore
restore behaviour of the current stable release.
Additionally handle fully qualified hostnames properly when setting up the
own hostrecord by stripping the local domain part form the given name
instead of unconditionally appending it, so that "example.lan" results
in "example example.lan" and not "example.lan example.lan.lan".
SVN-Revision: 38648
2013-11-04 22:40:56 +00:00
Felix Fietkau
2c84ff42f7
openvpn: clean up and fix the init script
...
- clean up duplication of procd instance handling code
- using --cd *after* --config is rather pointless
- to be able to log errors properly, --syslog needs to be passed before --config
- tell procd about the generated or referenced config file instead of
the uci file. this avoids having to restart all instances if only one
of them changes.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38632
2013-10-31 17:36:24 +00:00
Felix Fietkau
e16f104a6f
netifd: update to the latest version, fixes regression in proto-shell scripts ( #14400 , #14402 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38627
2013-10-31 11:22:01 +00:00