aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
Commit message (Collapse)AuthorAgeFilesLines
* hostapd: move reading of rsn_preauth out of auth_type=eap contextFelix Fietkau2014-06-051-3/+3
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41012 3c298f89-4303-0410-b956-a3cf2f4a3e73
* igmpproxy: register interface change triggersJohn Crispin2014-06-053-10/+10
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41011 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netfid: make procd watch the network.interface object for eventsJohn Crispin2014-06-051-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41010 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest git HEADJohn Crispin2014-06-051-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41009 3c298f89-4303-0410-b956-a3cf2f4a3e73
* map: add support for map-t if availableSteven Barth2014-06-042-2/+48
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41003 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: replace undefined $bridge with $network_bridgeFelix Fietkau2014-06-041-3/+3
| | | | | | Signed-off-by: Reiner Herrmann <reiner@reiner-h.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41002 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dhcpv6: set default solicit timeout back to 120sSteven Barth2014-06-042-3/+6
| | | | | | This deliberatly breaks RFC 7083 since its not really user-friendly. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41001 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package: swconfig: let variable name be localJohn Crispin2014-06-041-0/+1
| | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41000 3c298f89-4303-0410-b956-a3cf2f4a3e73
* igmpproxy: update init.d script to procd and add a hotplug scriptJohn Crispin2014-06-043-19/+40
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40997 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netfilter: split off header matching modules not used by the default config ↵Felix Fietkau2014-06-021-0/+11
| | | | | | | | (reduces rootfs size and memory usage) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40983 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: update nl80211 api to the latest oneJohn Crispin2014-06-021-140/+1478
| | | | | | | | modified version of http://patchwork.openwrt.org/patch/4533/ Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40954 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: add 802.11ac hwmode supportJohn Crispin2014-06-023-3/+13
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40953 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: add Atheros AR9580 to hardware.txtJohn Crispin2014-06-021-0/+1
| | | | | | Signed-off-by: Stefan Agner <stefan@agner.ch> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40952 3c298f89-4303-0410-b956-a3cf2f4a3e73
* comgt: add support for defining dial number in config fileJohn Crispin2014-06-023-3/+10
| | | | | | Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40942 3c298f89-4303-0410-b956-a3cf2f4a3e73
* soloscli: upgrade to 1.04John Crispin2014-06-025-42/+28
| | | | | | | | | | | - 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40940 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package: netifd: remove blank line at the end of fileJohn Crispin2014-06-021-1/+0
| | | | | | Signed-off-by: Zhao, Gang <gamerh2o@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40937 3c298f89-4303-0410-b956-a3cf2f4a3e73
* qos-script: Add comments to existing rulesJohn Crispin2014-06-021-0/+3
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40936 3c298f89-4303-0410-b956-a3cf2f4a3e73
* qos-script: Improve usability by adding comment field to rulesJohn Crispin2014-06-021-0/+4
| | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40935 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: Add optional support for hostapd own_ip_addr in wireless configJohn Crispin2014-06-022-1/+5
| | | | | | | | | | | | `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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40934 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ppp: allow to set PPP interface name via configJohn Crispin2014-06-021-2/+4
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40933 3c298f89-4303-0410-b956-a3cf2f4a3e73
* openvpn: enable ipv6 parametersJohn Crispin2014-06-021-1/+2
| | | | | | | | http://patchwork.openwrt.org/patch/4945/ Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40931 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iptables: Makefile: only build ip6tc, if IPv6 is enabledJohn Crispin2014-06-021-1/+1
| | | | | | | | when disabling ipv6, the iptables build breaks without a manul clean or this patch Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40916 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dropbear: make missing variables localJohn Crispin2014-06-021-1/+1
| | | | | | Signed-off-by: Reiner Herrmann <reiner@reiner-h.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40914 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: add configuration for userclass-filterSteven Barth2014-06-021-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40900 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: superseded by odhcpdSteven Barth2014-06-015-255/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40893 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: replace the sleep 5 with an ubus wait_for call to speed up init scriptFelix Fietkau2014-05-311-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40891 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: fix last commitSteven Barth2014-05-301-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40887 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: improve passthrough filterSteven Barth2014-05-301-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40886 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: null-terminate the ssid on nl80211 scan to avoid printing trailing ↵Felix Fietkau2014-05-301-1/+4
| | | | | | | | garbage Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40884 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: Fix a segfault in DHCPv6 option handlingSteven Barth2014-05-291-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40881 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6in4: adjust update url (#16617)Jo-Philipp Wich2014-05-292-3/+3
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40876 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uqmi: Add support for QMI-based mobile broadband modemsFelix Fietkau2014-05-282-0/+185
| | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40868 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: add support for configuring raw dhcpv6 optionsSteven Barth2014-05-261-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40862 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: improve passthru filterSteven Barth2014-05-231-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40826 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: export passthru options as netifd dataSteven Barth2014-05-231-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40825 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: add support for option passthruSteven Barth2014-05-231-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40824 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Initial support for MAP-E and Lightweight 4over6 protocolSteven Barth2014-05-224-0/+597
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40823 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix a segfault and improve ipip6 tunnel setupSteven Barth2014-05-221-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40821 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: remove old lua compat macrosFelix Fietkau2014-05-211-31/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40816 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: un-export internal api header filesFelix Fietkau2014-05-218-4/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40815 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: bump release and start using ABI_VERSIONFelix Fietkau2014-05-211-1/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40814 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: move wl_ops to iwinfo_wl.c, make functions staticFelix Fietkau2014-05-214-145/+88
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40813 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: move nl80211_ops to iwinfo_nl80211.c, make functions staticFelix Fietkau2014-05-215-313/+281
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40812 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: move madwifi_ops to iwinfo_madwifi.c, make functions staticFelix Fietkau2014-05-214-144/+85
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40811 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: move wext_ops to iwinfo_wext.c, make functions staticFelix Fietkau2014-05-2110-173/+146
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40810 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: keep an array of backends, reduce the number of ifdefs and hardcoded ↵Felix Fietkau2014-05-216-52/+35
| | | | | | | | strcmp calls Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40809 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: bump to 2.71Steven Barth2014-05-201-2/+2
| | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40803 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iw: sync nl80211.hFelix Fietkau2014-05-202-24/+137
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40801 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: Allow creating static DNS entries from static lease entriesFlorian Fainelli2014-05-201-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40799 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: add a package for eapol_testFelix Fietkau2014-05-192-0/+56
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40782 3c298f89-4303-0410-b956-a3cf2f4a3e73