summaryrefslogtreecommitdiffstats
path: root/package/network
Commit message (Collapse)AuthorAgeFilesLines
...
* wpa_supplicant.sh: always use parameters from the current sectionnbd2012-12-161-7/+2
| | | | | | | | | | | | | | Using variables from the outer scope unnecessarily complicates the code and leads to issues. This patch fixes the bug when having an "adhoc" wifi-iface section before a "sta" section prevents wpa_supplicant from using the key specified in the corresponding section as it tries to use the "adhoc" key instead (1 by default). Signed-off-by: Paul Fertser <fercerpav@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34716 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] fixes uapi helper defineblogic2012-12-161-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34715 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: call /etc/udhcp.user from the netifd dhcp.scriptnbd2012-12-151-0/+3
| | | | | | | | | This was done previously when dhcp was handled by the network scripts. So netifd should behave the same. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34704 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [lantiq] move ltq-adsl-toolblogic2012-12-154-467/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34694 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ppp] make use of uapi directory wrapperblogic2012-12-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34684 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/swconfig: don't use kernel headersjuhosg2012-12-141-2/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34679 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest version, fixes purging old resolv.conf entries ↵nbd2012-12-131-2/+2
| | | | | | after ifdown git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34664 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipv6-support: Make ULA addresses secondarycyrus2012-12-112-2/+4
| | | | | | | * Deprecates ULA prefixes when there are other public prefixes * Fixes issues with clients using incorrect source addresses git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34630 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6distributed: Add support for secondary addressescyrus2012-12-111-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34629 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: Fix announcement of deprecated prefixescyrus2012-12-111-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34628 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipv6-support: Add support for NPT status trackingcyrus2012-12-102-3/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34609 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6distributed: add status-call for luci-integrationcyrus2012-12-101-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34608 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iw: sync with nl80211.h to fix setting antenna gainnbd2012-12-101-11/+331
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34593 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipv6-support: Next iterationcyrus2012-12-094-36/+136
| | | | | | | | * Make ula_prefix a global option * Add preliminary support for NAT (Linux >= 3.7, ip6tables >= 1.4.17) * Minor fixes for prefix fallback git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34586 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6distributed: Correctly handle duplicate prefixescyrus2012-12-091-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34585 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: Always send NA with hop-limit 255cyrus2012-12-091-2/+2
| | | | | | * thanks risa2000 for investigating git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34584 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: fix typo in reflection hotplug scriptjow2012-12-072-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34569 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6to4: Remove static radvd-integrationcyrus2012-12-071-118/+2
| | | | | | * Please use the new ipv6-support package git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34567 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipv6-support: next iterationcyrus2012-12-064-12/+35
| | | | | | | | | * Introduce mode 6rd * Introduce mode 6to4 * Fix announcement of DNS-Servers received from DHCPv6 * Fix some corner-cases in relaying behaviour git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34542 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: More RFC-compatibility and size reductioncyrus2012-12-061-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34541 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6distributed: Add compatibility with 6rd and 6to4cyrus2012-12-061-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34540 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ppp: unconditionally start pppd with nodefaultroute and usepeerdns (#12580)jow2012-12-062-12/+5
| | | | | | | | | | | | | | Since the switch to netifd, proto handlers may always set the defaultroute and provide dns server addresses, netifd will decide in the generic code path whether the announced values are masked or not. Additionally protocol handlers should not modify the routing tables themselves and prevent any launched services from doing so. Remove the additional defaultroute and peerdns option handling from the ppp.sh protocol handler and rely on netifd to mask or not mask the values. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34536 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest version, fixes resolv.conf writes on interface ↵nbd2012-12-051-2/+2
| | | | | | setting changes git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34500 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dropbear: update to 2012.55 and refresh patchesflorian2012-12-045-104/+10
| | | | | | | | | | | | | | | | | Upstream has a few code cleanups, more eagerly burns sensitive memory and includes the fix for CVE-2012-0920. Full changelog: https://matt.ucc.asn.au/dropbear/CHANGES Local changes: - Removed PKG_MULTI which is no longer in options.h (even before 2011.54) - Merged DO_HOST_LOOKUP into 120-openwrt_options.patch - Removed LD from make opts (now included in TARGET_CONFIGURE_OPTS) - Removed 400-CVE-2012-0920.patch which is included in 2012.55 Signed-off-by: Catalin Patulea <cat@vv.carleton.ca> Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34496 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: extend nat reflection supportjow2012-12-042-86/+123
| | | | | | | | - use comment match to keep track of per-network rules - setup reflection for any interface which is part of a masqueraded zone, not just "wan" - delete per-network reflection rules if network is brought down git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34472 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211, hostapd: Fix macfilter for multi bssid setupsnbd2012-12-041-0/+21
| | | | | | | | | | | Previously only the first macfilter configuration would have been used on all interfaces. However, the configuration was always done per vif already. Hence, move the macfilter setup into hostapd.sh where and create one mac list file per vif. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34470 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Make ltq-dsl-app compile with an eglibc-based toolchainmirko2012-12-032-0/+25
| | | | | | Signed-Off-By: Frank Meerkötter <frank@meerkoetter.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34468 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipv6-support: Second Iterationcyrus2012-12-035-53/+119
| | | | | | | | | * mode 'downstream' renamed to 'router' * mode 'upstream' renamed to 'dhcpv6' * mode 'relay' added * cleanups and minor bugfixes in state handling git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34466 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: empty hotplug handler removedcyrus2012-12-031-10/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34465 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6distributed: Poll for ubus to come up (fix race)cyrus2012-12-021-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34462 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Make teql hotplug script run soonerjuhosg2012-12-022-1/+1
| | | | | | | | | | | | | | | In particular, it wants to run before the ntpclient script. Which may block for a long time attempting to do DNS lookups for NTP servers. In my case, that would have *worked* if the new device had been added to teql first, rather than timing out. This was effectively causing a huge delay between an interface coming up, and routing actually starting to work. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34442 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipv6-support: Add conffiles sectioncyrus2012-11-291-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34423 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipv6-support: Add new IPv6-support meta-packagecyrus2012-11-295-0/+437
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34422 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: Add new embedded DHCPv6 clientcyrus2012-11-291-0/+37
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34421 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6distributed: add local IPv6 prefix distributorcyrus2012-11-292-0/+64
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34420 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: Fix some RFC 6204 compatibility issuescyrus2012-11-292-9/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34419 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Remove old IPv6 sysctl-config (deprecated)cyrus2012-11-291-26/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34418 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] iptables: fix typo in iptables musl patch after r34313florian2012-11-251-1/+1
| | | | | | | | Thanks to Frank Meerkötter and Szabolcs Nagy for spotting the issue. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34326 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] iptables: add some musl portability fixesflorian2012-11-235-9/+148
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34313 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] netfid: fix build on muslflorian2012-11-231-0/+11
| | | | | | | | AF_INET* is provided by sys/socket.h Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34310 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hostapd: include sys/stat.h for a struct stat definitionflorian2012-11-214-11/+19
| | | | | | | | Some libcs need this header to be explicitely included (e.g: musl) Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34295 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: add conffiles section, thanks swalkercyrus2012-11-171-1/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34222 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: various updates & fixescyrus2012-11-163-26/+48
| | | | | | | | - Add RD- and DHCPv6-server functionality - Rework configuration and add example UCI file - Fix various bugs and be more RFC compliant git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34204 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ppp:jow2012-11-126-12/+158
| | | | | | | - fix multilink ppp with custom ifnames, patch by George Kashperko <george@znau.edu.ua> - refresh patches git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34171 3c298f89-4303-0410-b956-a3cf2f4a3e73
* resolveip: fix endless getopt() loop when compiled for arm (#12290)jow2012-11-082-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34116 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: don't send a default client identifier in DHCP requests if no ↵jow2012-11-051-2/+2
| | | | | | clientid uci option is given (#12426) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34089 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ppp: add more pppol2tpv3 related structs from the kernel headers to fix ↵nbd2012-11-041-1/+27
| | | | | | compile issues with linux 3.6 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34070 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iptables: remove support for libipq, it has been obsolete for years and is ↵nbd2012-11-041-16/+0
| | | | | | unsupported in newer kernels git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34069 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: auto-configure local interfaces as wellcyrus2012-10-312-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34027 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: update to latest git head, improves handling of invalid requestsjow2012-10-301-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34010 3c298f89-4303-0410-b956-a3cf2f4a3e73