Ad Schellevis
8d0e40e28e
(legacy) move restore_config_section to diag_backup.php, only used there...
2016-06-20 15:00:57 +02:00
Ad Schellevis
65aa038255
(legacy) move is_private_ip() to util.inc
2016-06-20 14:33:30 +02:00
Ad Schellevis
1a7199cc1a
code style rc.bootup
2016-06-20 12:30:38 +02:00
Ad Schellevis
5fa09cd4d8
typo in ddns static mapping, https://github.com/opnsense/core/issues/1023
2016-06-20 10:50:29 +02:00
Franco Fichtner
638e3d8ff8
led: remove unmaintained support
2016-06-18 15:27:19 +02:00
Franco Fichtner
398ae5bbff
system: migrate setup_serial_port() and friends
2016-06-18 15:06:00 +02:00
Franco Fichtner
951a4cebc1
interfaces: call stack on get_carp_interface_status() is also tricky
2016-06-18 14:55:12 +02:00
Franco Fichtner
382a3d3b68
unbound: move get_dns_servers()
2016-06-18 14:49:19 +02:00
Franco Fichtner
0b486cd14f
util: move is_fqdn()
...
The call stack is pretty loose on is_fqdn() as it is called by
system_routing_configure() which gets called in an uncontrollable
fashion in interface.inc.
2016-06-18 14:43:58 +02:00
Franco Fichtner
7bcc88ce29
system: there is no dnscache
2016-06-18 14:34:30 +02:00
Franco Fichtner
a9c0cd37e8
interfaces: function belongs here
2016-06-18 12:54:20 +02:00
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