Commit Graph

1219 Commits (023d3337d828ba911cc8713839e18afd6b7da244)

Author SHA1 Message Date
Steven Barth b834b35f3a odhcp6c: fix some issue discovered by scan-build
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45429 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 08:33:37 +00:00
Steven Barth 55f5e92b12 odhcpd: avoid illegal memory access in some corner cases
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 08:31:53 +00:00
Felix Fietkau 84720a93a1 qos-scripts: remove layer7 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45425 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-13 22:23:26 +00:00
Felix Fietkau 250b325fe3 iptables: remove layer7 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45424 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-13 22:23:19 +00:00
Steven Barth 3c6cc6fa06 dnsmasq: fix dnssec timestamp logic, backport crashfix
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-13 07:49:29 +00:00
Felix Fietkau be1a5684e7 netifd: fix ieee80211r 'sh: bad number' in mac80211 setup (bug #19345)
Two errors "netifd: radio0: sh: bad number" have recently surfaced in system
log in trunk when wifi interfaces come up. I tracked the errors to checking
numerical values of some config options without ensuring that the option has
any value.

The errors I see have apparently been introduced by r45051 (ieee80211r in
hostapd) and r45326 (start_disabled in mac80211). My patches fix two
instances of "bad number", but there may be a third one, as the original
report in bug 19345 pre-dates r45326 and already has two "bad number" errors
for radio0.

https://dev.openwrt.org/ticket/19345

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-11 10:52:01 +00:00
Steven Barth 6f26347a75 odhcpd: send current hop-limit by default in RAs
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45359 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-10 11:52:42 +00:00
Steven Barth 8083f271be odhcp6c: move IPv6 /proc config to userspace and sanitize
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-10 11:33:15 +00:00
Steven Barth 6bc333e002 dnsmasq: bump to 2.73rc4
Fix crash caused by malformed DNS requests
Improved DNSSEC handling

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45354 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-10 10:19:17 +00:00
John Crispin 4c367eb6ba hostapd: remove unused asprintf parameter
r45270 removed ieee80211n=%d from the format string but didn't remove
the parameter itself. Though this probably doesn't cause any harm, it's
quite confusing and unneeded.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-10 08:31:26 +00:00
John Crispin 927fd29673 iptables: revert r40916
it causes problems with newer iptables when ipv6 is disabled as iptc uncoditionally links ip6tc

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45350 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-10 08:31:06 +00:00
John Crispin e45f5fecf6 wpan-tools: adds wpan-tools utility
This patch adds the wpan-tools (iwpan) utility to OpenWRT
build system. This utility required to manage IEE-802.15.4
devices.

Signed-off-by: Varka Bhadram <varkab@cdac.in>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-10 08:30:11 +00:00
John Crispin 5024cb04d1 netifd: Interface last error support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-09 10:33:05 +00:00
John Crispin b80d9119df ppp: Detailed last error support
Enables last error support for the PPP protocol handlers.
In generic teardown the PPP daemon exit code is translated into
a self explaining error string which is set as interface error
by proto_notify_error in case of failure.

Signed-off-by: Johan Peeters <johan.peeters111@gmail.com>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45333 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-09 10:32:54 +00:00
John Crispin c4c00fbfab dnsmasq: Add option '--servers-file'
The option '--servers-file' is available since dnsmasq v2.69.

Signed-off-by: Lars Kruse <lists@sumpfralle.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-09 10:32:46 +00:00
John Crispin 5531c0bb18 umbim: update to latest git HEAD
merge patches from Bjørn Mork

http://patchwork.ozlabs.org/patch/459277/

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-09 10:32:01 +00:00
John Crispin 17540d8c1b hostapd: add update_beacon to ubus binding
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-09 10:31:45 +00:00
Steven Barth 46ae0c2d71 odhcp6c: add 464xlat integration, fix dslite integration
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-09 08:17:32 +00:00
Steven Barth 408328dff3 ds-lite: add support for fqdn peeraddrs
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-09 08:17:23 +00:00
Steven Barth 01917bdbb6 odhcpd: fix infinite lifetime handling in dhcpv6
thanks to Arjen de Korte

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-06 10:50:54 +00:00
Felix Fietkau c6b0a52389 hostapd: when running AP+STA, preserve the AP 802.11n-enabled setting
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45270 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-04 17:51:46 +00:00
John Crispin bc72ca84d1 ppp: Fix missing arg argument when using option flag OPT_A2STRVAL
The arg argument is missing to the printer call in the print_option
utility when the option flag OPT_A2STRVAL is set.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-03 19:06:56 +00:00
John Crispin 6f9c3de55e ppp: Fix seg fault when using pppol2tp
PPPD crashes (SEGV) when the dump or dryrun options are specified and an option
is internally defined as "o_special" with an option flag of "OPT_A2STRVAL".
As the option value is not saved when the parameter is processed, a reference
to the option will result into a crash (e.g. when printing).

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-03 19:06:45 +00:00
John Crispin 2d7d672c77 samba36: add smb.conf.template to conffiles
User might have modified/extended template direct or by LuCI application.
So do not overwrite on update/upgrade.

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-03 19:06:06 +00:00
Nicolas Thill 9456cf255e packages: use $(LN) macro, make symlinks relative
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45250 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-03 00:07:43 +00:00
Nicolas Thill 03e2d80e60 mdns: add conffiles section
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-02 14:53:07 +00:00
John Crispin ee006ddf86 samba: use INSTALL_CONF for the uci file
sorry about the broken commit earlier

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 16:12:43 +00:00
Nicolas Thill 0bf9e1e01f samba36: fix typo in package/samba36-server/install
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45225 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 15:59:14 +00:00
John Crispin 7c9221cfe3 samba: don't overwrite config file
fixes #19087

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 13:39:23 +00:00
John Crispin 0a7a9c6a41 dnsmasq: backport --tftp-no-fail to ignore missing tftp root
This patch backports the option --tftp-no-fail to dnsmasq and prevents the
service from aborting if the specified TFTP root directory is not available;
this might be the case if TFTP files are located on external media that might
occasionally not be present at startup.

Signed-off-by: Stefan Tomanek <stefan.tomanek+openwrt@wertarbyte.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 08:33:10 +00:00
Steven Barth 5acfbfdfb9 odhcpd: compile fixes
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 17:30:56 +00:00
Steven Barth f1c7239e89 odhcp6c: some more code compliance
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45191 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 17:30:47 +00:00
Steven Barth 7fd0dc34cb netifd: revert policy routing (broke some custom user rules)
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45185 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 13:14:40 +00:00
Steven Barth 5027f2bb4d netifd: add metric argument for ipv4 proto routes
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45182 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 11:36:20 +00:00
Steven Barth 32a01e24cb nftables: bump to 2015-03-24
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 17:04:14 +00:00
John Crispin d4c51ebe26 uhttpd: properly handle return codes
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45153 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 12:35:13 +00:00
Steven Barth 9fbf84c94e odhcpd: fix default dhcpv6 behavior for non-/64
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 08:53:22 +00:00
Steven Barth fbe1ecc0ec odhcpd: fix musl build, change default DHCPv6 behavior
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 08:49:47 +00:00
Steven Barth 79568da64c odhcp6c: musl fixes (thanks Felix)
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 08:49:20 +00:00
Felix Fietkau df4ff466d6 iputils: fix musl compile errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45111 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 04:30:12 +00:00
Felix Fietkau 007bfd1d7d ead: clean up, fix musl build
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 04:30:05 +00:00
Felix Fietkau 1e80ec959a arptables: fix musl build issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45109 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 04:29:56 +00:00
Felix Fietkau f19ffb31b5 ebtables: fix musl build issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45108 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 04:29:44 +00:00
Felix Fietkau 59e5016b52 authsae: remove bogus #include
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 04:29:26 +00:00
Felix Fietkau 522de0a73a iperf3: use -D_GNU_SOURCE to fix build error on musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 04:26:57 +00:00
Felix Fietkau 109ce79745 conntrack-tools: add a build dependency on librpc (fixes #19342)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 01:44:14 +00:00
Felix Fietkau 51cb25f2bd conntrack-tools: add more missing include statements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-28 18:26:24 +00:00
Felix Fietkau 372e356767 conntrack-tools: update package (along with associated libraries) to the latest version, fix musl build issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-28 10:19:26 +00:00
Felix Fietkau 646588cf5c hostapd: fix compile errors with nl80211 disabled (#19325)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-27 14:55:01 +00:00
Felix Fietkau dbba30940d hostapd: fix a compiler warning in ap+station patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-27 14:54:53 +00:00