summaryrefslogtreecommitdiffstats
path: root/package/network
Commit message (Collapse)AuthorAgeFilesLines
* odhcpd: fix regression in dhcpv6 t1 and t2 calculationSteven Barth2014-10-181-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42951
* odhcpd: multiple fixesSteven Barth2014-10-171-2/+2
| | | | | | | | | | | * Rewrite ndp proxy using kernel proxying * Aid flash-renumbering in hybrid DHCPv6-mode * Unicast RAs to RS senders * Add support for router address Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42944
* hostapd: CVE-2014-3686 fixesSteven Barth2014-10-179-11/+229
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42942
* scripts: fix wrong usage of '==' operatorJohn Crispin2014-10-145-6/+6
| | | | | | | | | | | | | | [base-files] shell-scripting: fix wrong usage of '==' operator normally the '==' is used for invoking a regex parser and is a bashism. all of the fixes just want to compare a string. the used busybox-ash will silently "ignore" this mistake, but make it portable/clean at least. this patch does not change the behavior/logic of the scripts. Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 42911
* netifd: Make mtu configurable of dynamic 6rd tunnel interfaceSteven Barth2014-10-122-2/+5
| | | | | | | | | Patch allows to configure the mtu of the dynamic 6rd tunnel interface when created by dhcp script. In some setups it's desirable to have config control over the 6rd tunnel mtu to maximize the traffic throughput Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> SVN-Revision: 42871
* odhcp6c: fix parse errors with some dhcpv6 serversSteven Barth2014-10-121-2/+2
| | | | SVN-Revision: 42869
* comgt: add ncm proto supportJohn Crispin2014-10-105-1/+247
| | | | | | | | This will not work for all board/dongle combinations until we hit 3.17. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> SVN-Revision: 42866
* ppp: add unconditional autoipv6-triggerSteven Barth2014-10-092-1/+10
| | | | SVN-Revision: 42860
* ppp: remove ugly ipv6-workaroundSteven Barth2014-10-091-9/+0
| | | | | | | | | | | | | | | This is not needed after all: Omitting option ipv6 or setting it to 'auto' will fire up a dhcpv6 subprotocol (this was added). Setting ipv6 to 1 will only cause the IPv6 link to be brought up and an accompanying dhcpv6 or static interface with ifname @wan can be used to configure addresses. Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42859
* dropbear: ensure the interface has an ip-addressSteven Barth2014-10-091-11/+12
| | | | | | | | | | | | Use network_get_ipaddrs_all to get all ip-addresses of an interface. If the function fails, the interface does not exists or has not any suiteable ip addresses assigned. Use the returned ip-address(es) to construct the dropbear listen address. Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 42857
* ppp: allow auto-detecting and creation of ipv6 subinterfaceSteven Barth2014-10-083-3/+14
| | | | | | | | this makes ipv6 with ppp a bit more comfortable Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42854
* odhcp6c: fix typo in last commitSteven Barth2014-10-081-1/+1
| | | | SVN-Revision: 42852
* odhcp6c: don't assign addresses or prefixes prematurelySteven Barth2014-10-082-2/+5
| | | | SVN-Revision: 42850
* odhcp6c: ensure signal-safety of signal handlersSteven Barth2014-10-081-2/+2
| | | | SVN-Revision: 42841
* lldp: make use of new USERID syntaxJohn Crispin2014-10-081-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42839
* wwan: add a generic 3g/4g protoJohn Crispin2014-10-08356-19/+1980
| | | | | | | | | this proto handler will detect which of 3g, qmi, mbim, ncm or directip you need for a stick and setup uci automagically Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42837
* comgt: split directip support into its own packageJohn Crispin2014-10-081-3/+19
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42836
* uqmi: dont use proto_block_restartJohn Crispin2014-10-081-5/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42835
* uqmi: make the proto depend on the usb driverJohn Crispin2014-10-081-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42834
* umbim: dont use proto_block_restartJohn Crispin2014-10-081-29/+24
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42833
* umbim: work out the ifname instead of relying on it being in uciJohn Crispin2014-10-081-2/+16
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42832
* odhcp6c: add route-workaround for broken IPv6-ISPsSteven Barth2014-10-063-5/+21
| | | | | | | | | | | | | | Some ISP seem to only do stateful DHCPv6 and not sending RAs. This is technically broken because plain DHCPv6 doesn't carry routes. We work around here by faking a default route to the DHCPv6 server if we do not receive a useful RA from the ISP. This workaround can be turned off with: option fakeroutes 0 Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42803
* nftables: bump to 2014-09-30, disable gmpSteven Barth2014-10-066-42/+5038
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42802
* iwinfo: add AR9580 with new subsystem device ID and QCA9880 with no ↵John Crispin2014-10-061-0/+2
| | | | | | | | | | | subsystem vendor/device IDs The AR9580 with the new ID can be found in the EnGenius ESR900 and the QCA9880 without any subsystem IDs can be found in the EnGenius ESR1750. Signed-off-by: Forest Crossman <cyrozap@gmail.com> SVN-Revision: 42793
* hostapd: read missing parameter for dynamic VLANsJohn Crispin2014-10-061-1/+1
| | | | | | | | | | In r41872 Dynamic VLAN support was reintroduced, but the vlan_naming parameter is not read while setting up the config, so it always defaults to 1. Signed-off-by: Reiner Herrmann <reiner@reiner-h.de> SVN-Revision: 42787
* iproute2: add conflict for ip with ip-fullFelix Fietkau2014-10-051-1/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42774
* hostapd: add conflicts with wpad(-mini) to hostapd and wpa_supplicantFelix Fietkau2014-10-051-0/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42772
* relayd: update to the latest version, fixes a build error with the new gcc ↵Felix Fietkau2014-10-051-2/+2
| | | | | | | | (#18010) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42765
* hostapd: allow using iapp for any encryption type (fixes #18022)Felix Fietkau2014-10-051-2/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42764
* hostapd: merge an upstream patch for pmksa cacheFelix Fietkau2014-10-051-0/+32
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42762
* iwinfo: detect AC PHY for broadcom-wlFelix Fietkau2014-10-052-0/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42761
* iwinfo: detect HT PHY for broadcom-wlFelix Fietkau2014-10-052-4/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42760
* iwinfo: fix handling of accessing nl80211 interfaces via radio*Felix Fietkau2014-10-055-6/+100
| | | | | | | | look up device path via uci instead of assuming a direct phy index Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42759
* iwinfo: enable nl80211 support based on cfg80211, not mac80211Felix Fietkau2014-10-051-3/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42758
* iwinfo: handle 802.11ac mode for luaJo-Philipp Wich2014-10-041-0/+3
| | | | | | Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com> SVN-Revision: 42757
* authsae: update to latest versionSteven Barth2014-10-021-2/+2
| | | | | | | | | Send a netlink call to leave the mesh when meshd exits Make hunting-and-pecking loop (more) resistant to side channel attack Signed-off-by: Michel Stam <m.stam@fugro.nl> SVN-Revision: 42750
* 6in4: Tos supportSteven Barth2014-10-021-2/+4
| | | | | | | | | | Tos support is added as a string parameter which can have the following values : -inherit (outer header inherits the tos value of the inner header) -hex value Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> SVN-Revision: 42749
* 6to4: Tos supportSteven Barth2014-10-021-2/+4
| | | | | | | | | | Tos support is added as a string parameter which can have the following values : -inherit (outer header inherits the tos value of the inner header) -hex value Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> SVN-Revision: 42748
* 6rd: Tos supportSteven Barth2014-10-021-2/+4
| | | | | | | | | | Tos support is added as a string parameter which can have the following values : -inherit (outer header inherits the tos value of the inner header) -hex value Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> SVN-Revision: 42747
* IPIP: IP in IP package supportSteven Barth2014-10-022-0/+119
| | | | | | | | | | | | | | | | | | The package supports IP in IP by registering the ipip protocol handler Following options are configurable -peeraddr (IPv4 remote address) -ipaddr (IPv4 local address) -ttl (time to live of encapsulating packet) -tos (type of service of encapsulating packet either inherit (outer header inherits the value of the inner header) or hex value) -df (don't fragment flag of encapsulating packet) -mtu (IPIP tunnel mtu) -tunlink (bind tunnel to this interface) -zone (firewall zone to which the IPIP tunnel will be added) Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> SVN-Revision: 42746
* netifd: fix an error message during network shutdownSteven Barth2014-10-021-1/+2
| | | | | | | | | | | | | When 'wifi down' is called by /etc/init.d/network, it is run from stop_service( ). This function is in turn invoked from stop( ). stop( ) messes up the order by first procd_kill-ing the network settings, then calling wifi to down the wifi networking interfaces. By redefining stop( ) instead, the proper order is restored. Signed-off-by: Michel Stam <m.stam@fugro.nl> SVN-Revision: 42745
* netifd: add IPIP tunnel support (thx Hans Dedecker)Steven Barth2014-10-021-2/+2
| | | | SVN-Revision: 42744
* map: fix portsets starting with 0 and use regular NAT for 1:1 MAPSteven Barth2014-10-023-19/+31
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42741
* uqmi: set data format to 802.3 at startupFelix Fietkau2014-10-021-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42724
* uqmi: do not wait for network connection before starting dhcpFelix Fietkau2014-10-021-11/+9
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42723
* uqmi: update to the latest versionFelix Fietkau2014-10-021-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42722
* uqmi: use the autoconnect featureFelix Fietkau2014-10-021-18/+17
| | | | | | | | | | | | | | Instead of connecting once and saving the packet data handle, let the firmware handle connecting/reconnecting automatically. This is more reliable and reduces reliance on potentially stale data. Use the global packet data handle to attempt to disable autoconnect before restarting the connection. This ensures that the firmware will take the new APN/auth settings. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42721
* uqmi: replace logger calls in netifd with echoFelix Fietkau2014-10-021-12/+12
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42720
* uqmi: work out the ifname instead of relying on it being in uciFelix Fietkau2014-10-021-1/+13
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42719
* GRE: Tos supportSteven Barth2014-09-292-3/+5
| | | | | | | | | | Tos support is added as a generic grev4/grev6 parameter which can have the following values : -inherit (outer header inherits the tos value of the inner header) -hex value Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> SVN-Revision: 42700