aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
Commit message (Collapse)AuthorAgeFilesLines
* xtables-addons: update to version 2.5Felix Fietkau2014-08-217-127/+1940
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42256 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dropbear: restore performance by disabling mips16Jonas Gorski2014-08-211-1/+2
| | | | | | | | | | | | 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. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42250 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dropbear: fix keepalive moreJonas Gorski2014-08-211-0/+333
| | | | | | | | | | | Add a further upstream commit to more closely match the keepalive to OpenSSH. Should now really fix #17523. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42249 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: the firewall did not start properly on bootJohn Crispin2014-08-211-1/+1
| | | | | | | | https://dev.openwrt.org/ticket/17593 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42233 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: fix a race condition possibly leading to lockupSteven Barth2014-08-202-1/+278
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42225 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: various DHCPv4 and DHCPv6 fixesSteven Barth2014-08-191-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42217 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: respect option dhcpv4 disabled in dhcp-configSteven Barth2014-08-191-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42216 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dropbear: fix keepalive with puttyJonas Gorski2014-08-131-0/+58
| | | | | | | | | | | Don't send SSH_MSG_UNIMPLEMENTED for keepalive responses, which broke at least putty. Fixes #17522 / #17523. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42162 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: assign ipv6-prefixes with length <64 with /64 on-link routesSteven Barth2014-08-131-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42161 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: improve DHCPv6-PD detectionSteven Barth2014-08-131-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42160 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ppp: enable IPv6CP by defaultSteven Barth2014-08-132-2/+6
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42158 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: multiple DHCPv4 improvements (thx Christian Mehlis)Steven Barth2014-08-121-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42153 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42151 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42138 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dropbear: update to 2014.65Steven Barth2014-08-115-10/+10
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42131 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42114 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: fix some whitespacesLuka Perkov2014-08-111-3/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42111 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: avoid logspam in certain corner casesSteven Barth2014-08-081-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42067 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: write host-entries for all leased IPv6 addressesSteven Barth2014-08-081-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42065 3c298f89-4303-0410-b956-a3cf2f4a3e73
* xtables-addons: remove version 1.x for old kernelsFelix Fietkau2014-08-079-19749/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42047 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: update hostfile more oftenSteven Barth2014-08-071-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42042 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42034 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: unblock some proto shell actions in teardown stateSteven Barth2014-08-071-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42032 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: correct incorrect commit-id in last commitSteven Barth2014-08-071-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42026 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: skip MSRs in RAs for prefixes with same size as DPSteven Barth2014-08-071-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42024 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iptables: NFLOG and NFQUEUE targets' full supportSteven Barth2014-08-071-0/+28
| | | | | | | | | | | | | | | | 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/trunk@42022 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: disable ds-lite, map & gre for old kernelsSteven Barth2014-08-061-2/+2
| | | | | | this unbreaks netifd compilation on old kernels git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42019 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: allow scans in AP mode on nl80211Felix Fietkau2014-08-061-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42014 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: minor fixes (thanks Hans Dedecker)Steven Barth2014-08-051-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42000 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41998 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: revert bogus version that was added in r41872Felix Fietkau2014-08-031-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41960 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iputils: add missing includes, fix musl supportFelix Fietkau2014-08-032-1/+37
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41958 3c298f89-4303-0410-b956-a3cf2f4a3e73
* igmpproxy: add missing includeFelix Fietkau2014-08-031-0/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41957 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwcap: add missing includeFelix Fietkau2014-08-031-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41956 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: add missing include statementFelix Fietkau2014-08-031-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41955 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41945 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41897 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fixes and GRE support (thx Hans Dedecker)Steven Barth2014-07-301-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41896 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: Fix white space typo in dhcpv6.scriptSteven Barth2014-07-301-1/+1
| | | | | | Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41893 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: suppress fw3 warnings in dhcp scriptSteven Barth2014-07-301-1/+1
| | | | | | Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41892 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: more race condition fixes in proto-shellSteven Barth2014-07-291-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41887 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ppp: fix a buffer overrun in the ms chap codeJohn Crispin2014-07-291-0/+13
| | | | | | | | https://dev.openwrt.org/ticket/17296 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41882 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: Reintroduce Full Dynamic VLAN supportJo-Philipp Wich2014-07-292-3/+16
| | | | | | | | | | This patch brings full dynamic vlan support to netifd that existed in hostapd.sh in Attitude Adjustment. Signed-off-by: Joseph CG Walker <Joe@ChubbyPenguin.net> [jow@openwrt.org: changed commit message, rebased on top of current hostapd.sh] Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41872 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: add more missing ifdefsFelix Fietkau2014-07-281-1/+18
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41863 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: more dynamic interface improvementsSteven Barth2014-07-281-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41862 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: add missing ifdefFelix Fietkau2014-07-281-0/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41855 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix a small issue in r41831Felix Fietkau2014-07-261-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41836 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: suppress fw3 warningsFelix Fietkau2014-07-261-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41833 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes a race condition with renew/setupFelix Fietkau2014-07-261-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41831 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: avoid creating tmp.* ifaces for scanningJo-Philipp Wich2014-07-251-2/+22
| | | | | | | | | | | | If the iface to scan on already is in ad-hoc, station or monitor mode then do not spawn a temporary iface. Also preventively disable IPv6 on temporary ifaces before bringing them up to avoid potential security issues. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41830 3c298f89-4303-0410-b956-a3cf2f4a3e73