summaryrefslogtreecommitdiff
path: root/package
Commit message (Collapse)AuthorAgeFilesLines
* package: fix segfault of iwinfo.scanlist("radio0").Jo-Philipp Wich2014-08-122-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | 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> SVN-Revision: 42151
* imx6: kernel: add GW16083 Ethernet Expansion Mezzanine supportLuka Perkov2014-08-111-0/+18
| | | | | | | | | | | | | | | | The GW16083 Ethernet Expansion Mezzanine adds the following to supported Gateworks baseboards: * 7-port Ethernet Switch * 4x RJ45 ports (ENET1-4) supporing 802.11af/at PoE (with optional PoE module) * 2x RJ45 ports or SFP module (ENET5-6) (auto-selected) This series adds support for a phy driver that adds support for ENET5/ENET6 PHY adding initialization for those PHY's and a polling mechanism that detects SFP insertion and configuration. Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 42147
* mac80211: fix warning with kernel 3.14Hauke Mehrtens2014-08-111-0/+27
| | | | | | | | This fixes a redefinition of net_get_random_once() warning. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 42141
* base-files: /lib/functions/network.sh: fix network_get_ipaddr6Jo-Philipp Wich2014-08-112-2/+13
| | | | | | | | | | | | 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> SVN-Revision: 42139
* firewall: fix potential NULL pointer accessJo-Philipp Wich2014-08-111-2/+2
| | | | | | | | Properly skip struct ifaddr entries with NULL ifa_addr, thanks Kostas Papadopoulos for reporting. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42138
* dropbear: update to 2014.65Steven Barth2014-08-115-10/+10
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42131
* firewall: implement selective conntrack flushing (#10225)Jo-Philipp Wich2014-08-111-2/+2
| | | | | | | | | | Utilize the new selective conntrack flushing facility to clear out active conntrack entries referring to old IP addresses after a firewall reload. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42114
* build: enable PER_FEED_REPO by defaultJo-Philipp Wich2014-08-111-1/+1
| | | | | | | | | Enable the separate feed repositories by default to align custom builds with the repositories available on the snapshot download server. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42112
* hostapd: fix some whitespacesLuka Perkov2014-08-111-3/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 42111
* broadcom-wl: add default tx and rx antennasHauke Mehrtens2014-08-081-1/+2
| | | | | | | | This adds default tx and rx antennas, so that LuCI shows automatic as the default radio option for the antennas. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 42085
* broadcom-wl: add support for a8xx broadcom devicesHauke Mehrtens2014-08-081-0/+12
| | | | | | | | Tested on Comtrend VR-3025u (brcm6368 + a8d6-43222). Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 42084
* uboot-kirkwood: bump to 2014.07Luka Perkov2014-08-085-30/+30
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 42080
* uboot-envtools: bump to 2014.07Luka Perkov2014-08-082-19/+12
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 42078
* odhcpd: avoid logspam in certain corner casesSteven Barth2014-08-081-2/+2
| | | | SVN-Revision: 42067
* odhcpd: write host-entries for all leased IPv6 addressesSteven Barth2014-08-081-2/+2
| | | | SVN-Revision: 42065
* cyassl: update to 3.1.0Steven Barth2014-08-082-3/+3
| | | | SVN-Revision: 42063
* polarssl: bump to 1.3.8Steven Barth2014-08-083-35/+31
| | | | SVN-Revision: 42061
* openssl: another day another bug fix updateJohn Crispin2014-08-071-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42055
* base-files: enable option to skip the netfilter "filter" table for ↵Felix Fietkau2014-08-071-0/+1
| | | | | | | | established connection packets by default Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42048
* xtables-addons: remove version 1.x for old kernelsFelix Fietkau2014-08-079-19749/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42047
* odhcpd: update hostfile more oftenSteven Barth2014-08-071-2/+2
| | | | SVN-Revision: 42042
* build: consider sub-directories when deploying packages to image with ↵Jo-Philipp Wich2014-08-071-1/+1
| | | | | | | | CONFIG_PER_FEED_REPO (#17430) Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42041
* iptables: add kmod-ipt-nf* to dependency list of iptables-mod-nf*.Steven Barth2014-08-071-2/+2
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 42034
* netifd: unblock some proto shell actions in teardown stateSteven Barth2014-08-071-2/+2
| | | | SVN-Revision: 42032
* odhcpd: correct incorrect commit-id in last commitSteven Barth2014-08-071-1/+1
| | | | SVN-Revision: 42026
* odhcpd: skip MSRs in RAs for prefixes with same size as DPSteven Barth2014-08-071-2/+2
| | | | SVN-Revision: 42024
* iptables: NFLOG and NFQUEUE targets' full supportSteven Barth2014-08-072-10/+76
| | | | | | | | | | | | | | | | 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> SVN-Revision: 42022
* netifd: disable ds-lite, map & gre for old kernelsSteven Barth2014-08-061-2/+2
| | | | | | this unbreaks netifd compilation on old kernels SVN-Revision: 42019
* iwinfo: allow scans in AP mode on nl80211Felix Fietkau2014-08-061-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42014
* build: add new option to add disabled feeds commented out to opkg.confJo-Philipp Wich2014-08-062-0/+12
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42004
* build: introduce per feed repository supportJo-Philipp Wich2014-08-055-6/+36
| | | | | | | | | 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> SVN-Revision: 42002
* netifd: minor fixes (thanks Hans Dedecker)Steven Barth2014-08-051-2/+2
| | | | SVN-Revision: 42000
* gre: Change hostdependcy to remote endpoint tunnel addressSteven Barth2014-08-052-3/+3
| | | | | | | | | 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> SVN-Revision: 41998
* hostapd: revert bogus version that was added in r41872Felix Fietkau2014-08-031-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41960
* robocfg: add missing includeFelix Fietkau2014-08-031-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41959
* iputils: add missing includes, fix musl supportFelix Fietkau2014-08-032-1/+37
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41958
* igmpproxy: add missing includeFelix Fietkau2014-08-031-0/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41957
* iwcap: add missing includeFelix Fietkau2014-08-031-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41956
* iwinfo: add missing include statementFelix Fietkau2014-08-031-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41955
* mac80211: refresh patchFelix Fietkau2014-08-021-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41953
* ath9k: disable periodic entropy gathering (keep initial) to fix some ↵Felix Fietkau2014-08-021-14/+0
| | | | | | | | stability issues Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41952
* uboot-mxs: bump u-boot to 2014.07Zoltan Herpai2014-08-021-3/+3
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 41946
* netfilter: introduce xt_id matchJo-Philipp Wich2014-08-011-0/+59
| | | | | | | | | 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> SVN-Revision: 41945
* mac80211: b43: include ucode30 by defaultJonas Gorski2014-08-011-2/+2
| | | | | | | | | | | | Fixes b43-phy0 ERROR: Firmware file "b43-open/ucode30_mimo.fw" not found for BCM43217 devices. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 41943
* package:grub2: fix build error on linux missing libzfsJohn Crispin2014-08-011-0/+2
| | | | | | | | | 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> SVN-Revision: 41935
* valgrind: add x86_64 supportJohn Crispin2014-08-011-5/+12
| | | | | | Signed-off-by: Alexandru Ardelean <aa@ocedo.com> SVN-Revision: 41934
* ugps: add a minimal gps daemonJohn Crispin2014-08-013-0/+65
| | | | | | | | | * 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> SVN-Revision: 41929
* mac80211: b43: update b43 to version master-2014-07-29-1Hauke Mehrtens2014-07-307-165/+283
| | | | | | | | | | 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> SVN-Revision: 41900
* gre: Generic Routing Encapsulation package supportSteven Barth2014-07-302-0/+299
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The package supports Generic Routing Encapsulation support by registering following protocol kinds: -gre -gretap -grev6 -grev6tap Following options are valid for gre and gretap kinds: -ipaddr -peeraddr -df -mtu -ttl -tunlink -zone -ikey -okey -icsum -ocsum -iseqno -oseqno The gretap kind supports additionally the network option Following options are valid for grev6 and grev6tap kinds: -ip6addr -peer6addr -weakif -mtu -ttl -tunlink -zone -ikey -okey -icsum -ocsum -iseqno -oseqno The grev6tap kind supports additionally the network option Typical network config for a GREv4 tunnel : config interface 'gre' option peeraddr '172.16.18.240' option mtu '1400' option proto 'gre' option tunlink 'wan' option zone 'tunnel' Typical network config for a GREv4 tap tunnel : config interface 'gretap' option peeraddr '195.207.5.79' option mtu '1400' option proto 'gretap' option zone 'tunnel' option tunlink 'wan' option network 'wlan_ap' I added myself as maintainer for the moment; feel free to change. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> SVN-Revision: 41897
* netifd: fixes and GRE support (thx Hans Dedecker)Steven Barth2014-07-301-2/+2
| | | | SVN-Revision: 41896