Franco Fichtner
8fce959f64
src: fix indent on copyright blocks
2016-02-25 22:35:57 +01:00
Ad Schellevis
dab8632421
(legacy) spaces in IPv6.inc
2016-02-25 22:26:35 +01:00
Ad Schellevis
f0631f9b7e
(legacy) spaces and curly braces in filter_log.inc
2016-02-25 22:18:59 +01:00
Ad Schellevis
880980a7fc
(legacy) spaces and curly braces in gwlb.inc
2016-02-25 22:11:38 +01:00
Franco Fichtner
0d70b4a9db
ntp: disable when no servers are set; closes #332
...
This will make a few good people very happy. :)
2016-02-25 22:09:26 +01:00
Ad Schellevis
334e49365e
(legacy) spaces in crypt.inc
2016-02-25 21:40:35 +01:00
Ad Schellevis
234f54d818
spaces in config.inc
2016-02-25 21:39:21 +01:00
Ad Schellevis
9a9af1b6c3
(legacy) spaces, curly braces etc in auth.inc
2016-02-25 21:30:37 +01:00
Franco Fichtner
aceea37698
dhcpd: directly execute the chroot setup
2016-02-25 07:53:50 +01:00
Franco Fichtner
5a091c263b
dhcpd: try to contain usage of global dhcpd_chroot_path
2016-02-25 07:29:06 +01:00
Ad Schellevis
ab85b60ef4
(legacy) fix advanced options in unbound.inc
2016-02-24 20:22:46 +01:00
Franco Fichtner
79b125c21f
interfaces: slightly restructure the netgraph needed logic
2016-02-24 18:08:41 +01:00
Franco Fichtner
5adfd6bf12
interfaces: replace netgraph functions with portable alternatives
2016-02-24 18:08:41 +01:00
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
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
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
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
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
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
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
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
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
3600c6a307
services: shrink stop further and start fixing openvpn
2016-02-21 12:04:42 +01:00
Franco Fichtner
de8882444c
services: adapt stop commands to new approach
2016-02-21 11:22:17 +01:00
Franco Fichtner
60f0f46127
services: migrate service start commands to array
2016-02-20 20:21:31 +01:00
Franco Fichtner
6f2daad533
serivce: need another type for command launcher
2016-02-20 12:54:44 +01:00
Franco Fichtner
4d3ac63ac3
services: design service commands as arrays by default
2016-02-20 12:46:31 +01:00
Franco Fichtner
77696bd81e
services: tracer code for start logic into service array
2016-02-20 12:39:16 +01:00