Commit Graph

60 Commits

Author SHA1 Message Date
jow dc422c5293 BB: uhttpd: do not configure TLS parameters if libustream-ssl is not present
A quite frequent problem after sysupgrading from an older, SSL enabled build
is that ustream-ssl is not installed so uhttpd fails to come up again due to
https listening directives in the preserved configuration.

Skip key/cert and ssl listen options when libustream-ssl.so is not present.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r42284

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42286 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 12:46:35 +00:00
jow 6c3fc907a4 BB: iwinfo: properly decode SSIDs when scanning through wpa_supplicant
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r42273

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 12:46:27 +00:00
cyrus 8583b7ca2c odhcp6c: enable softwires support by default
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42275 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 06:12:19 +00:00
cyrus fef411a8e3 odhcpd: fix static lease behavior with dhcpv4
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42271 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-24 08:13:42 +00:00
nbd a5098b2e34 uclient: update to latest version, fixes HTTP keepalive issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42257

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 19:13:10 +00:00
jogo b5cd5061ce BB: dropbear: restore performance by disabling mips16
Disable MIPS16 to prevent it negatively affecting performance.
Observed was a increase of connection delay from ~6 to ~11 seconds
and a reduction of scp speed from 1.1MB/s to 710kB/s on brcm63xx.

Fixes #15209.

Backport of r42250.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 18:28:09 +00:00
cyrus 21d363e5a0 base-files: increase igmp_max_memberships to improve multicast-proxy handling
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-20 10:19:03 +00:00
cyrus c15b063267 dnsmasq: fix a race condition possibly leading to lockup
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-20 09:53:29 +00:00
cyrus c7dc71aa9f odhcpd: bump for bugfixes
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-19 06:00:09 +00:00
cyrus 6566ae535e dnsmasq: respect option dhcpv4 disabled in dhcp-config
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42218 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-19 06:00:07 +00:00
cyrus 90dec7a948 bb: bump netifd
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-19 05:39:28 +00:00
cyrus 7a828618dc odhcpd: multiple DHCPv4 improvements (thx Christian Mehlis)
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-12 13:30:38 +00:00
jow 8b999f8512 BB: package: fix segfault of iwinfo.scanlist("radio0").
This is a bug revealed in r41830.

First, the static variable `char nif[IFNAMSIZ]` of nl80211_phy2ifname()
would be zeroed out if the argument is "wlan0" or the like.  This will
happen in the following call stack.

 nl80211_get_scanlist("radio0", buf, len);
   nl80211_phy2ifname("radio0")			// return static var nif with content "wlan0"
   nl80211_get_scanlist(nif, buf, len);		// tail call
     nl80211_get_mode(nif);
        nl80211_phy2ifname(nif);		// zero out nif

Later we try nl80211_ifadd("") which was supposed to create interface
"tmp.", but that won't happen because nl80211_msg() will put an invalid
ifidx 0 to the nlmsg.

Then iwinfo_ifup() and iwinfo_ifdown() would fail and happily
nl80211_get_scanlist() returned 0 and left *len undefined.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

Backport of r42151

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42152 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-12 11:15:38 +00:00
jow a62f6c751b BB: base-files: /lib/functions/network.sh: fix network_get_ipaddr6
When looking for the first ipaddr also consider the current prefix just
like network_get_ipaddrs6 does. If ipv6-address was empty the function
did not return the first ipaddr even if the list was non-empty.

fixes commit 83e9122f88a002871d5cdf421cf6aa6052b7e006

Signed-off-by: Henning Schild <henning@hennsch.de>

Backport of r42139

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42140 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-11 18:17:09 +00:00
jow 991fe920cc BB: build: consider sub-directories when deploying packages to image with CONFIG_PER_FEED_REPO (#17430)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r42041

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-09 12:11:34 +00:00
hauke 4a480c93d1 broadcom-wl: add support for a8xx broadcom devices
Tested on Comtrend VR-3025u (brcm6368 + a8d6-43222).

backport of: r42084

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-08 23:06:16 +00:00
cyrus 9d93edf44c odhcpd: avoid logspam in certain corner cases
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42068 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-08 08:46:26 +00:00
cyrus 8e48d605c9 odhcpd: write host-entries for all leased IPv6 addresses
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42066 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-08 05:31:38 +00:00
cyrus ddd71e733d cyassl: update to 3.1.0
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42064 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-08 05:26:21 +00:00
cyrus 30425c13e2 polarssl: bump to 1.3.8
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-08 05:21:38 +00:00
blogic 3ddb03dada openssl: another day another bug fix update
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r42055

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42056 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 20:55:33 +00:00
nbd 452b27c0be base-files: enable option to skip the netfilter "filter" table for established connection packets by default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42048

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 19:31:19 +00:00
cyrus f7bc58852f odhcpd: update hostfile more often
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 18:08:10 +00:00
cyrus 27a73d7e5e iptables: add kmod-ipt-nf* to dependency list of iptables-mod-nf*.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42035 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 12:33:22 +00:00
cyrus bd07219ece netifd: bump to latest version
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 10:24:28 +00:00
cyrus 0241b7792f iptables: NFLOG and NFQUEUE targets' full support
NFLOG and NFQUEUE targets' full support for iptables.

Includes all needed kernel modules (Xtables's and Netlink's)
 and userspace libraries.
All added kernel modules can be individually disabled,
 all other new libraries get their own individual packages.

Reported-by: Fabian Hugelshofer <hugelshofer2006@gmx.ch>
Reported-by: Rainer Poisel <rainer.poisel@fhstp.ac.at>
Reported-by: Derek LaHousse <dlahouss@mtu.edu>
Signed-off-by: Guillaume Déflache <guillaume.deflache@ibwag.com>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42030 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 10:00:28 +00:00
cyrus d91f530a55 odhcpd: correct incorrect commit-id in last commit
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 05:51:21 +00:00
cyrus 950a6a298f odhcpd: skip MSRs in RAs for prefixes with same size as DP
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 05:34:43 +00:00
hauke d2f8cfa892 BB: mac80211: b43: update b43 to version master-2014-07-29-1
This add 5GHz support for N-PHY to b43, thanks Rafał Miłecki.

b43_wflush16 was put into an extra function because it is pretty big in asm.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

backport: r41900


git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-06 22:02:14 +00:00
blogic d911822880 build: add new option to add disabled feeds commented out to opkg.conf
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r42004

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-06 18:18:49 +00:00
blogic 25d149c3f0 build: introduce per feed repository support
This changeset implements a new menuconfig option to generate separate
repositories for each enabled package feed instead of one monolithic one.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r42002

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-06 18:18:47 +00:00
nbd bcf0163e03 iwinfo: allow scans in AP mode on nl80211
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42014

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-06 17:07:35 +00:00
nbd 6213594d2f mac80211: refresh patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r41953

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-06 10:30:19 +00:00
nbd e074f4a9df ath9k: disable periodic entropy gathering (keep initial) to fix some stability issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r41952

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-06 10:30:18 +00:00
nbd 8c11c916df netfilter: introduce xt_id match
This commit implements a new netfilter match "xt_id" which can be used to
attach unsigned 32bit IDs to iptables rules.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r41945

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-06 10:30:09 +00:00
cyrus 6f7c21ba50 netifd: minor fixes (thanks Hans Dedecker)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-05 10:03:48 +00:00
cyrus a07c9b94a9 gre: Change hostdependcy to remote endpoint tunnel address
Depend on the GRE tunnel peeraddr to trigger setup of the tunnel interface.
Addresses the issue reported in https://lists.openwrt.org/pipermail/openwrt-devel/2014-August/027201.html

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-05 10:00:25 +00:00
cyrus a6a8c6fc58 Merge gre config support since netifd was bumped.
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-04 05:57:05 +00:00
blogic 5e0687472e netfid: update to latest git version
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:37:28 +00:00
blogic 4ecbb4d388 hostapd: revert bogus version that was added in r41872
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r41960

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:15:59 +00:00
blogic 2aa2bb7b47 robocfg: add missing include
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r41959

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:15:57 +00:00
blogic c29d34c2e1 iputils: add missing includes, fix musl support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r41958

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:15:56 +00:00
blogic 4e11e2d7a7 igmpproxy: add missing include
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r41957

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:15:54 +00:00
blogic a999e7c33f iwcap: add missing include
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r41956

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:15:53 +00:00
blogic 4cbce45fdb iwinfo: add missing include statement
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r41955

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:15:51 +00:00
blogic 8db233c5a3 package:grub2: fix build error on linux missing libzfs
configure enables libzfs support on default.
This will break the build, on systems without libzfs.

Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>

Backport of r41935

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:15:48 +00:00
blogic 1b80487ddc valgrind: add x86_64 support
Signed-off-by: Alexandru Ardelean <aa@ocedo.com>

Backport of r41934

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:15:47 +00:00
blogic d7cd6a0428 ugps: add a minimal gps daemon
* set the system time/data
* "ubus call gps info" will tell you lattitude, longitude, elevation, speed and bearing

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

Backport of r41929

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:15:42 +00:00
blogic 3c9fbc6e05 procd: update to the latest version, fixes parsing of /etc/openwrt_release
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r41891

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:15:39 +00:00
blogic 249b39bd20 base-files: add extra version configuration options for OEM manufacturer info
Creates /etc/device_info which will be used to fill in information for
WPS and other protocols that need manufacturer/device information

This helps with creating OpenWrt firmware for OEM or rebranded devices.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r41884

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41967 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:15:37 +00:00