summaryrefslogtreecommitdiff
path: root/package/network/services
Commit message (Collapse)AuthorAgeFilesLines
* Add a few SPDX tagsSteven Barth2014-11-0215-3/+15
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 43151
* ppp: support adaptive LCP echosJo-Philipp Wich2014-11-014-9/+68
| | | | | | | | | | | | | | | | | | Port Debians adaptive LCP echo patch to pppd, make it configurable with UCI and enable it by default. When adaptive LCP echo is enabled, LCP echo requests are only sent if the link is idle, this avoids the common situation where a congested PPP link (e.g. during torrenting) is falsely detected as disconnected because the LCP replies are not received in time. Also bump the copyright year in the Makefile, remove a redundant maintainer entry and fix the shell processing of the keepalive option when the two- value syntax is used. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 43143
* uhttpd: fix HTTP incompatibilities in file handlerJo-Philipp Wich2014-10-271-2/+2
| | | | | | | | | | | * Fixes sending an extraneous message body for 204 and 304 resoponses which breaks Chrome in keep-alive mode. * Adds mimetypes for JSON and JSONP. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 43078
* hostapd: update to 2014-10-25Felix Fietkau2014-10-2531-409/+113
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43059
* hostapd: Add wpa_psk_file option to netifd.shJohn Crispin2014-10-201-1/+7
| | | | | | | | | | | | | | | | | | The wpa_psk_file option offers the possibility to use a different WPA-PSK key for each client. The directive points to a file with the following syntax: mac_address wpa_passphrase_or_hex_key Example: 00:11:22:33:44:55 passphrase_for_client_1 00:11:22:33:44:67 passphrase_for_client_2 00:11:22:33:44:89 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef So it is possible to specify both ASCII passphrases and raw 64-chars hex keys. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 43001
* authsae: fix musl buildFelix Fietkau2014-10-191-0/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42980
* 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-144-4/+4
| | | | | | | | | | | | | | [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
* 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
* lldp: make use of new USERID syntaxJohn Crispin2014-10-081-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42839
* 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
* 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
* 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
* dnsmasq: bump to 2.72Steven Barth2014-09-264-404/+3
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42668
* odhcpd: fix segfault when parsing domain options in UCISteven Barth2014-09-251-2/+2
| | | | SVN-Revision: 42663
* dnsmasq: fix lockup when interfaces disappearSteven Barth2014-09-222-1/+48
| | | | SVN-Revision: 42648
* hostapd: do not remove foreign wpa_supplicant socketsJohn Crispin2014-09-171-1/+1
| | | | | | | | https://dev.openwrt.org/ticket/17886 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42586
* hostapd: remove bogus default setting for wps_pin (#17873)Felix Fietkau2014-09-152-4/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42553
* ppp: update to version 2.4.7Hauke Mehrtens2014-09-1315-53/+40
| | | | | | | | This fixes: CVE-2014-3158 and some other bugs. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 42525
* lldp: remove calls to user/group_add/existsJohn Crispin2014-09-112-3/+1
| | | | | | | | use the new ipkg based mechanism Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42472
* hostapd: add ubus bindings for wpsFelix Fietkau2014-09-101-3/+38
| | | | | | | | | | With this patch WPS discovery can be started or canceled over ubus if WPS is enabled in wireless configuration. This is equivalent of 'hostapd_cli wps_pbc' and 'hostapd_cli wps_cancel' commands. Signed-off-by: Petar Koretic <petar.koretic@sartura.hr> SVN-Revision: 42459
* mdns: update to latest git headJohn Crispin2014-09-021-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42407
* dropbear: add mdns support to the init.d scriptJohn Crispin2014-08-291-2/+5
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42326
* mdns: update to latest gitJohn Crispin2014-08-292-2/+3
| | | | | | | | | | | | * ipv6 * 4 bugs in the dns parser * service announcement * tx goodbye support * proper handling of rx goodbye Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42325
* dnsmasq: Make the --dhcp-host logic easier to understandJohn Crispin2014-08-281-6/+8
| | | | | | | | | | | Use an if/else statement to cover the two different syntaxes. Add comments explaining what the end results should look like. This patch should not change the script's output. Signed-off-by: Kevin Cernekee <cernekee@gmail.com> SVN-Revision: 42320
* dnsmasq: Fix hosts file format when MAC address is not specifiedJohn Crispin2014-08-281-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | An entry like this in /etc/config/dhcp: config 'host' option 'name' 'pc2' option 'ip' '192.168.100.56' option 'dns' '1' results in a /tmp/hosts/dhcp entry that looks like this: 192.168.100.56 .lan Obviously it should say "pc2.lan". This happens because $name is set to "" in order to support the MAC-less syntax: "--dhcp-host=lap,192.168.0.199". Fix this by reordering the operations. Also, refuse to add a DNS entry if the hostname or IP is missing. Fixes #17683 Reported-by: Kostas Papadopoulos <kpapad75@travelguide.gr> Signed-off-by: Kevin Cernekee <cernekee@gmail.com> SVN-Revision: 42319
* dnsmasq: Create rDNS records for LuCI "Hostnames"John Crispin2014-08-281-6/+3
| | | | | | | | | | | | | LuCI creates "domain" UCI config sections, which the dnsmasq init file then, currently, translates into "address" config lines. This is not the correct usage of "address" (see r36943), and also causes rDNS records to not be created. This patches dnsmasq.init to utilize the additional hosts file introduced in r40799 for such domain names, resolving both issues. Signed-off-by: Tyler Fenby <tylerf@securecominc.com> SVN-Revision: 42318
* uhttpd: do not configure TLS parameters if libustream-ssl is not presentJo-Philipp Wich2014-08-252-3/+3
| | | | | | | | | | | | A quite frequent problem after sysupgrading from an older, SSL enabled build is that ustream-ssl is not installed so uhttpd fails to come up again due to https listening directives in the preserved configuration. Skip key/cert and ssl listen options when libustream-ssl.so is not present. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42284
* package/*: remove useless explicit set of function returncodeJohn Crispin2014-08-252-3/+0
| | | | | | | | | | | | | | | | | | | | | | somebody started to set a function returncode in the validation stuff and everybody copies it, e.g. myfunction() { fire_command return $? } a function automatically returns with the last returncode, so we can safely remove the command 'return $?'. reference: http://tldp.org/LDP/abs/html/exit-status.html "The last command executed in the function or script determines the exit status." Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 42278
* odhcpd: fix static lease behavior with dhcpv4Steven Barth2014-08-241-2/+2
| | | | SVN-Revision: 42270
* 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> SVN-Revision: 42250
* 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> SVN-Revision: 42249
* dnsmasq: fix a race condition possibly leading to lockupSteven Barth2014-08-202-1/+278
| | | | SVN-Revision: 42225
* odhcpd: various DHCPv4 and DHCPv6 fixesSteven Barth2014-08-191-2/+2
| | | | SVN-Revision: 42217
* dnsmasq: respect option dhcpv4 disabled in dhcp-configSteven Barth2014-08-191-0/+3
| | | | SVN-Revision: 42216
* 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> SVN-Revision: 42162
* odhcpd: improve DHCPv6-PD detectionSteven Barth2014-08-131-2/+2
| | | | SVN-Revision: 42160
* ppp: enable IPv6CP by defaultSteven Barth2014-08-132-2/+6
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42158
* odhcpd: multiple DHCPv4 improvements (thx Christian Mehlis)Steven Barth2014-08-121-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42153
* dropbear: update to 2014.65Steven Barth2014-08-115-10/+10
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42131
* hostapd: fix some whitespacesLuka Perkov2014-08-111-3/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 42111
* odhcpd: avoid logspam in certain corner casesSteven Barth2014-08-081-2/+2
| | | | SVN-Revision: 42067