Franco Fichtner
91f984a052
filter: migrate alias handling
2016-06-18 12:48:31 +02:00
Franco Fichtner
2108673851
inc: shift more functions to their rightful place
2016-06-18 12:08:10 +02:00
Franco Fichtner
21803172ce
interface: new home for old mac table load
...
This needs to be ported to the python backend table, because
this code requires nmap to be installed...
2016-06-18 11:53:15 +02:00
Franco Fichtner
33853a10fe
filter: migrate functions here too
2016-06-18 11:50:17 +02:00
Franco Fichtner
d5bff2810b
system: kernel modules belong to system
2016-06-18 11:47:08 +02:00
Franco Fichtner
6e43845723
rc: dynamically load netgraph modules we used to have in the kernel
2016-06-18 11:38:04 +02:00
Franco Fichtner
125808e29d
gateways: change the approach for gateway generation
...
Instead of injecting dynamic gateways after reading the config, we will
inject them before instead. This gives us the opportinuity to check
for matches and remove disabled gateways, finally addressing #933 in a
sane way.
2016-06-15 21:28:58 +02:00
Franco Fichtner
6f1b900c70
plugins: syslog plugging for openvpn/ipsec
2016-06-13 20:13:51 +02:00
Fabian Franz
8ba5aca61c
created a fix for 914 (openvpn-client-export.inc)
2016-06-11 14:15:40 +02:00
Franco Fichtner
d4d27c1489
openvpn: always create interfaces, closes #1002
2016-06-11 08:34:22 +02:00
Franco Fichtner
3201c22144
firmware: I think this file was supposed to do this... ;)
2016-06-11 08:24:57 +02:00
Ad Schellevis
c38a74bb9d
(firewall, scrub) add option to disable all standard scrubbing
2016-06-10 11:32:38 +02:00
Ad Schellevis
449f506b27
(ppp, 4g) show modem descr when selecting a port, for https://github.com/opnsense/core/issues/1004
2016-06-09 12:46:03 +02:00
Franco Fichtner
44cd7aee8e
openvpn: create devices before running initial configure; closes #980
2016-06-08 07:58:49 +02:00
Franco Fichtner
546a7157c7
gateways: better fix for previous, tunnel handling is magic
2016-06-07 21:42:44 +02:00
Franco Fichtner
c0c5677892
gataways: empty ipaddr means there is no gateway; closes #933
2016-06-07 21:25:55 +02:00
Franco Fichtner
acbd63db3d
dns: fix unbound custom options
...
PR: https://forum.opnsense.org/index.php?topic=3137.0
2016-06-07 09:04:58 +02:00
Ad Schellevis
eb7a9a31c5
move firmware mirror/flavour settings to firmware page, closes https://github.com/opnsense/core/issues/834
2016-06-06 14:39:40 +02:00
Franco Fichtner
17f656da41
rc: adjust install mode selection
2016-06-06 12:52:56 +02:00
Franco Fichtner
ae7f000835
cron: migrate away from minicron usage
2016-06-06 12:52:56 +02:00
Franco Fichtner
6dcded9fd3
plugins: forgot to rename this in transition
2016-06-03 15:36:14 +02:00
Franco Fichtner
4cb9fe70af
syslog: better backwards-compat in array handling
2016-06-03 14:40:47 +02:00
Franco Fichtner
87066bbe87
plugins: clear the syslog call path, requires to top
2016-06-03 14:40:47 +02:00
Franco Fichtner
8371e3b9bd
plugins: better plugging for syslog-related call
...
If one deletes "plugins.inc", this way the plugin system can be
disabled. That's a lot better than removing plugins.inc.d/
content and executing the stubs everytime anyway.
2016-06-03 14:40:47 +02:00
Franco Fichtner
9c0d27fc83
src: remove L2TP, PPTP and PPPoE from base
...
Clean-cut move to individual plugins. Ad finished his interface
plugin rework so now it's time. :)
2016-06-03 14:40:47 +02:00
Franco Fichtner
09ab10d1a1
vpn: split up legacy vpns for micro-managing each plugin
2016-06-03 14:40:47 +02:00
Franco Fichtner
4bad5b3437
plugins: tweak wording on functions / files; ipsec and openvpn service plugin
2016-06-03 14:40:47 +02:00
Franco Fichtner
40cfb0da7f
syslogd: allow to plug in local sockets for chroot; closes #985
...
As before, make this a mandatory feature for dhcp chroot in order
to catch problems with the implemenation as early as possible.
2016-06-03 14:40:47 +02:00
Franco Fichtner
ffc1703540
util: refactor to allow mwexecf_bg() without copy+paste; closes #982
...
Add a test case where it hurts: syslog startup. :)
2016-06-01 23:11:12 +02:00
Ad Schellevis
1e4261814a
(filter.inc) cleanup filter.inc, part of inetd removal
2016-06-01 18:09:58 +02:00
Ad Schellevis
6e4b9c4fb8
(interfaces.inc) cleanup interface_proxyarp_configure and actually use provided pid, closes https://github.com/opnsense/core/issues/981
2016-06-01 17:57:40 +02:00
Franco Fichtner
d247155230
firmware: more work on the backend firmware script for #814
...
o Allow side-stepping flock(1) if not installed for rc script
o Pass arguments to subroutine script to allow passing modes
o Print a busy message when e.g. the GUI is running the upgrade
2016-06-01 13:52:38 +02:00
Franco Fichtner
2e10248c4a
firmware: plug console update into locking and progress
...
We do not want to have rc.firmware use the other scripts for
a number of reasons...
* Don't jump through configd in case it's dysfunct
* Don't use the normal script in case it's gone
* tee(1) output so that the console works as usual
2016-06-01 13:30:49 +02:00
Franco Fichtner
0fcf61576b
rc: FreeBSD-style naming conventions
2016-06-01 12:11:59 +02:00
Franco Fichtner
409a032cc0
rc: fix /var MFS for crontab entries
2016-06-01 09:36:05 +02:00
Ad Schellevis
babe3906d2
(filter.inc) cleanups
2016-05-31 18:41:48 +02:00
Ad Schellevis
5d28643151
(filter.inc) restructure filter advanced options
2016-05-31 16:22:32 +02:00
Ad Schellevis
d32f08b861
(filter.inc) not very useful to wrap a single line in a function, filter_rules_spoofcheck_generate
2016-05-31 15:31:32 +02:00
Ad Schellevis
01568e5499
(filter.inc) unused ipcomp
2016-05-31 15:26:20 +02:00
Ad Schellevis
e850f56ce4
filter.inc, fix filter_address_add_vips_subnets
2016-05-31 14:54:40 +02:00
Ad Schellevis
0eef844192
(filter, plugins) add structure to interface plugins
...
Valid properties for interfaces currently are:
* enable (bool)
* virtual (bool)
* networks, list of networks (network, mask)
* if, device node
* descr, user friendly description
2016-05-31 14:24:12 +02:00
Ad Schellevis
0b635bd71d
(filter.inc) code style + proper description for "kill_states"
2016-05-31 11:30:42 +02:00
Ad Schellevis
14895a30bf
(filter.inc) fix previous, inverse match
2016-05-31 11:17:24 +02:00
Ad Schellevis
eefb0d9547
(filter.inc) code style
2016-05-31 11:09:11 +02:00
Ad Schellevis
95193060ae
register plugin interfaces in rc.newwanip
2016-05-31 08:25:16 +02:00
Ad Schellevis
2b74af0cb9
(filter.inc, filterdns) it doesn't make sense to resolve other then host types
2016-05-30 22:09:47 +02:00
Ad Schellevis
542480f12a
system_staticroutes_configure, remove dead code, add rc.newroutedns dependencies and make the optional alias use in static routes explicit with a typeahead
2016-05-30 21:33:58 +02:00
Franco Fichtner
26fbbb0f8c
cron: remove short-lived empty cron, this is better...; #911
2016-05-30 21:20:05 +02:00
Ad Schellevis
e2174e89cd
(filter.inc) cleanups, non functional
2016-05-30 20:09:05 +02:00
Ad Schellevis
06e35b0bf8
(filter, plugins) rename, avoid name collisions
2016-05-30 18:28:26 +02:00