4330 Commits

Author SHA1 Message Date
Franco Fichtner
404caff1c5 vpn: really attach netgraph to the used interfaces 2016-02-23 15:35:13 +01:00
Franco Fichtner
23b3474686 interfaces: replace two out of three custom netgraph hooks 2016-02-23 14:27:51 +01:00
Ad Schellevis
537470018f (legacy) move logfile generation to system_syslogd_start() 2016-02-23 14:01:07 +01:00
Ad Schellevis
39c8bc8be0 (legacy) add <plugin>_syslog support 2016-02-23 11:52:36 +01:00
Ad Schellevis
18c38ccdf0 tab/space 2016-02-23 11:38:30 +01:00
Ad Schellevis
9297c0e04f (legacy/vpn) add syslog facilities to legacy vpn.inc 2016-02-23 11:26:59 +01:00
Franco Fichtner
14a40cf79a vpn: fix and improve service probing 2016-02-23 10:32:07 +01:00
Ad Schellevis
4bffccf813 (legacy/plugins) move plugin_scan to system.inc for dependency reasons 2016-02-23 10:28:34 +01:00
Ad Schellevis
9fdca30079 (legacy) fix "enableserial" marker in default config system_advanced_admin.php 2016-02-23 10:20:39 +01:00
Ad Schellevis
addcca545c spacing 2016-02-23 09:37:12 +01:00
Ad Schellevis
62b75c1a37 (legacy) refactor services_dnsmasq_domainoverride_edit.php 2016-02-23 09:36:27 +01:00
Ad Schellevis
674fa9825e (legacy) refactor services_dnsmasq_edit.php 2016-02-22 20:50:14 +01:00
Ad Schellevis
9fe3e40108 (legacy) prevent some notices in refactored dhcp code 2016-02-22 20:10:48 +01:00
Ad Schellevis
05528a541b (legacy) refactor services_dnsmasq.php 2016-02-22 18:41:54 +01:00
Ad Schellevis
654e3d4d0c (legacy/dhcp) add all_help button 2016-02-22 18:26:02 +01:00
Ad Schellevis
301eb33ec2 whitespace 2016-02-22 14:26:34 +01:00
Ad Schellevis
2b3e98834e (legacy) remove duplicate facilities in syslog generation 2016-02-22 14:05:41 +01:00
Ad Schellevis
8594ccea33 small changes related to https://github.com/opnsense/core/pull/788 2016-02-22 12:13:55 +01:00
Franco Fichtner
75bbd00956 menu: tweak previous 2016-02-22 11:40:20 +01:00
Franco Fichtner
ca10a6f2cd menu: polish help items, shuffle history icon 2016-02-22 11:37:21 +01:00
Ad Schellevis
23ac5a28cc (plugins) fix tabs 2016-02-22 10:46:39 +01:00
Ad Schellevis
eda621c577 Merge pull request #788 from opnsense/plugins
vpn: split off PPTP, L2TP and PPPoE servers
2016-02-22 10:09:18 +01:00
Franco Fichtner
28cf9dbab8 src: whitespace sweep 2016-02-22 08:05:45 +01:00
Franco Fichtner
b6cfa710f7 openvpn: *_by_id() sounds a little more idiomatic 2016-02-22 08:03:52 +01:00
Franco Fichtner
6d7d0bc357 vpn: plug pppoe servers into services 2016-02-21 20:09:07 +01:00
Franco Fichtner
3b42ee7e80 plugins: try something new :) 2016-02-21 20:09:07 +01:00
Franco Fichtner
e8fa56c5ac services: bubble down plugins_services hook
This way, the caller only needs to specify plugins.inc on the
top to let the subsystem(s) know plugin hooks need to be executed.
2016-02-21 20:09:07 +01:00
Franco Fichtner
669f6e03eb plugins: rules change, plugins.inc is required now
This is done so that services.inc can load plugins when
plugins.inc was invoked, if not, it stays clear of the
extra work.
2016-02-21 20:09:07 +01:00
Franco Fichtner
269b9b6a1b plugins: support start and restart 2016-02-21 20:09:07 +01:00
Franco Fichtner
4635ac7b98 l2tp: make it shine (as a service) 2016-02-21 20:09:07 +01:00
Franco Fichtner
40516e542e pptp: improve edit page like l2tp already does 2016-02-21 20:09:07 +01:00
Franco Fichtner
07bafdf64c services: enrich with plugins 2016-02-21 20:09:07 +01:00
Franco Fichtner
9709336b25 plugins: add hooks for services 2016-02-21 20:09:07 +01:00
Franco Fichtner
cbd9ffb5f9 plugins: make plugins.inc side-effect free
The rules are simple:

* plugins_configure() requires all available plugins, probes their
  configure functions and then calls the advertised functions.

* All GUI pages must directly include their includes in plugins.inc.d
  to not overly pollute their loading phase.
2016-02-21 20:09:07 +01:00
Franco Fichtner
c9b7076609 plugins: don't need so many includes 2016-02-21 20:09:07 +01:00
Franco Fichtner
93e47fac38 plugins: clean up a bit, add temporary laucher for functions 2016-02-21 20:09:07 +01:00
Franco Fichtner
c68033bc46 ipsec: strip vpn_ prefix from backend functions for clarity 2016-02-21 20:09:07 +01:00
Franco Fichtner
1373b01a95 plugins: move ipsec functions to ipsec.inc 2016-02-21 20:09:07 +01:00
Franco Fichtner
d7df9ecf10 src: move ipsec.inc require to top pages
For now plugins.inc and ipsec.inc will coexist on pages that
may need only one or none to avoid unefined function errors.
This will be pruned after investigating the contents of both
files...
2016-02-21 20:09:07 +01:00
Franco Fichtner
f79fac8f25 src: first shuffling for splitting off plugins from core 2016-02-21 20:09:07 +01:00
Franco Fichtner
7b17ac34dc openvn: remove service control from pages
This doesn't work out at all for the fact that the control picks
up the first instance it finds, either client or server, but not
clearly stating so.  That's why there is a status page with all
the services for clients and servers...
2016-02-21 20:07:06 +01:00
Franco Fichtner
918df6eae3 services: finish rework by removing last custom glue 2016-02-21 19:33:27 +01:00
Franco Fichtner
d03b53b30b services: extent for openvpn's special arguments 2016-02-21 19:24:59 +01:00
Ad Schellevis
71bd852ff6 (health) add some comments 2016-02-21 18:36:02 +01:00
Ad Schellevis
731d5ab600 (proxy) add option maximum_object_size, issue https://github.com/opnsense/core/issues/787 2016-02-21 18:29:20 +01:00
Franco Fichtner
9784c8b038 services: restructure restart, work in progress 2016-02-21 12:58:43 +01:00
Franco Fichtner
f90e96f243 universal plug and play: move functions to their file
services.inc already includes unbound.inc and miniupnpd.inc so
it's safe to do this...
2016-02-21 12:36:56 +01:00
Franco Fichtner
79edae2ce8 universal plug and play: align with service hooks 2016-02-21 12:32:56 +01:00
Franco Fichtner
d981002517 services: align openvpn stop 2016-02-21 12:16:09 +01:00
Franco Fichtner
3600c6a307 services: shrink stop further and start fixing openvpn 2016-02-21 12:04:42 +01:00