aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services
Commit message (Collapse)AuthorAgeFilesLines
* odhcpd: Fix a memory corruption when static leases are usedSteven Barth2014-01-181-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39319 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: be even less verbose and don't start unnecessary relaysSteven Barth2014-01-171-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39315 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: fix logspamSteven Barth2014-01-171-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39314 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: use hybrid management mode by defaultSteven Barth2014-01-171-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39313 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: add dnsmasq.d config folder & improve odhcpd coexistenceSteven Barth2014-01-171-2/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39312 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: several bugfixes and improved integrationSteven Barth2014-01-173-3/+27
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39308 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: fix mcast_rate settingJohn Crispin2014-01-141-1/+1
| | | | | | | | | | Introduced by ("netifd: add wireless configuration support and port mac80211 to the new framework") Reported-by: René van Weert <r.vanweert@sowifi.com> Signed-off-by: Antonio Quartulli <antonio@meshcoding.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39288 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: fix frequency setting for IBSS/RSNJohn Crispin2014-01-121-2/+4
| | | | | | | | | | Introduced by ("netifd: add wireless configuration support and port mac80211 to the new framework") Reported-by: René van Weert <rene@sowifi.com> Signed-off-by: Antonio Quartulli <antonio@meshcoding.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39231 3c298f89-4303-0410-b956-a3cf2f4a3e73
* samba: add browsable optionJohn Crispin2014-01-121-0/+3
| | | | | | | | https://dev.openwrt.org/ticket/14682 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39227 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: fix mixed wep/wpa with netifdFelix Fietkau2013-12-281-0/+1
| | | | | | Signed-off-by: Catalin Patulea <cat@vv.carleton.ca> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39174 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: fix the uci option name for ap isolateFelix Fietkau2013-12-281-5/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39173 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: fix wep with netifdFelix Fietkau2013-12-231-4/+4
| | | | | | Signed-off-by: Catalin Patulea <cat@vv.carleton.ca> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39156 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wpa_supplicant: fix interface combination parsing issuesFelix Fietkau2013-12-211-0/+18
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39155 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: rework init procedureJo-Philipp Wich2013-12-213-11/+46
| | | | | | | | | | | - cache udhcp check results to speed up subsequent reloads - enable procd file tracking for /var/etc/dnsmasq.conf to only reload service if needed - implement reload action to only restart dnsmasq if /var/etc/dnsmasq.conf actually changed - launch dnsmasq from interface hotplug to avoid race conditions with network bringup Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39152 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: move old wifi setup scripts to hostapd-common-oldFelix Fietkau2013-12-161-4/+13
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39103 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: switch to /lib/functions/network.shJo-Philipp Wich2013-12-161-15/+11
| | | | | | | | | | | This commit changes the dnsmasq init script to use the interface status exposed by netifd. The old references to scan_interfaces() and (indirect) accesses to uci state variables are removed and replaced with corresponding network_*() calls. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39101 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: don't process ubus_* and lua_* options if corresponding plugin is ↵Jo-Philipp Wich2013-12-151-4/+8
| | | | | | not installed (#14618) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39057 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: fix short_preamble optionJo-Philipp Wich2013-12-101-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39027 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: properly parse wmm and hidden uci options (#14589)Jo-Philipp Wich2013-12-081-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39005 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd/6c: Add config menu for prefix class ext.Steven Barth2013-12-051-0/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38996 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: Fix ubus integrationSteven Barth2013-12-041-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38994 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: fix maclist processing with netifdFelix Fietkau2013-12-031-2/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38991 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add wireless configuration support and port mac80211 to the new ↵Felix Fietkau2013-12-022-0/+588
| | | | | | | | framework Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38988 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: change the wildcard for the hostapd control socket directoryFelix Fietkau2013-12-021-1/+1
| | | | | | | | prepare for using /var/run/hostapd instead of /var/run/hostapd-phy* Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38986 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wpa_supplicant: clean up hostapd control socket on exit to fix socket leak ↵Felix Fietkau2013-12-021-0/+12
| | | | | | | | in ap+sta mode on wifi restarts Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38985 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: fix os_daemonize vs starting process race by creating the pid file ↵Felix Fietkau2013-12-021-0/+97
| | | | | | | | in the parent Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38984 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: always include p2p options in wpa_cliFelix Fietkau2013-12-021-0/+13
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38981 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: add support for auto-channel selectionFelix Fietkau2013-11-252-0/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38915 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: update to version 2013-11-20Felix Fietkau2013-11-2533-430/+224
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38914 3c298f89-4303-0410-b956-a3cf2f4a3e73
* pppd: Place plugin-specific options after `plugin name`.John Crispin2013-11-251-1/+1
| | | | | | | | | | | | | | | | | | | Before this patch, if we specify a plugin specific option through `pppd_options` in /etc/config/network, e.g. `rp_pppoe_verbose 1`, pppd would quit with the following error in log. Wed Oct 9 09:42:58 2013 daemon.notice netifd: GORG (1689): /usr/sbin/pppd: unrecognized option 'rp_pppoe_verbose' Wed Oct 9 09:42:58 2013 daemon.err pppd[1689]: unrecognized option 'rp_pppoe_verbose' Wed Oct 9 09:42:58 2013 daemon.notice netifd: GORG (1689): pppd version 2.4.5 Wed Oct 9 09:42:58 2013 daemon.notice netifd: GORG (1689): Usage: /usr/sbin/pppd [ options ], where options are: This is due to the requirement that function add_option() should be called by the plugin_init() function first before pppd can parse those options. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38911 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: update to the latest version, fixes crashes in the ubus pluginFelix Fietkau2013-11-211-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38888 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: remove random pool support - the entropy it gathers is questionable ↵Felix Fietkau2013-11-186-177/+5
| | | | | | | | and we have better entropy sources on common platforms now Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38852 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: fixup 2 wrong option typesJohn Crispin2013-11-131-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38789 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: convert services to the new validation apiJohn Crispin2013-11-131-58/+51
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38787 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: remove #ifdef MULTICALL around ap+sta support code (to support ↵Felix Fietkau2013-11-125-20/+11
| | | | | | | | separately installed supplicant+hostapd) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38782 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: return after processing -d switch, only set ubus prefix if not ↵Jo-Philipp Wich2013-11-112-4/+8
| | | | | | already defined git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38743 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttp: add ubus.defaultJohn Crispin2013-11-111-0/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38741 3c298f89-4303-0410-b956-a3cf2f4a3e73
* pppd: don't call modprobe at all from pppoatmJohn Crispin2013-11-111-0/+13
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38737 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttp: make the service auto respawn if it crashesJohn Crispin2013-11-111-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38724 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttp: make sure that the ubus module is loaded when when installedJohn Crispin2013-11-111-1/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38723 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: fix backward compatibility with existing configsJo-Philipp Wich2013-11-042-2/+5
| | | | | | | | | | | | | | Changeset r36943 ("dnsmasq: use host-record instead of address") removed the automatic domain expansion for config domain sections, this breaks existing setups and alters the old behaviour in unexpected ways, therfore restore behaviour of the current stable release. Additionally handle fully qualified hostnames properly when setting up the own hostrecord by stripping the local domain part form the given name instead of unconditionally appending it, so that "example.lan" results in "example example.lan" and not "example.lan example.lan.lan". git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38648 3c298f89-4303-0410-b956-a3cf2f4a3e73
* openvpn: clean up and fix the init scriptFelix Fietkau2013-10-311-17/+16
| | | | | | | | | | | | | - clean up duplication of procd instance handling code - using --cd *after* --config is rather pointless - to be able to log errors properly, --syslog needs to be passed before --config - tell procd about the generated or referenced config file instead of the uci file. this avoids having to restart all instances if only one of them changes. Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38632 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: fix cleaning of configuration on reloadSteven Barth2013-10-231-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38503 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: various bugfixesSteven Barth2013-10-181-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38454 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wpa_supplicant: fix beacon_int configuration optionJo-Philipp Wich2013-10-181-3/+3
| | | | | | | | | wpa_supplicant expects beacon_int instead of beacon_interval in its config file. Signed-off-by: Bruno Randolf <br1@einfach.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38451 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: add new experimental dhcp-serverSteven Barth2013-10-163-0/+71
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38428 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dropbear: add dropbear.nl mirror, provided by dropbear maintainerJo-Philipp Wich2013-10-151-1/+2
| | | | | | Signed-off-by: Catalin Patulea <cat@vv.carleton.ca> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38413 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] openvpn: make comp_lzo a parameterLuka Perkov2013-10-153-5/+5
| | | | | | | | Possible parameters are yes, no and adaptive. See manpage for more information. Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38412 3c298f89-4303-0410-b956-a3cf2f4a3e73
* openvpn-easy-rsa: restore essential patch to make it actually work on the ↵Jo-Philipp Wich2013-10-152-2/+154
| | | | | | target (#14324) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38411 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: add option broadcast to host sectionsJo-Philipp Wich2013-10-112-2/+7
| | | | | | | | | | | | | | | | | | | There are certain consumer devices which are outliers in protocol conformance. An example is Samsung bluray players, which require broadcast DHCP responses (on Ethernet only, strangely not on Wifi). By specifying: config host ... option broadcast 1 this will enable the response to be sent as an Ethernet broadcast and not as a unicast. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38365 3c298f89-4303-0410-b956-a3cf2f4a3e73