8836 Commits

Author SHA1 Message Date
Franco Fichtner
0abc31dcad services: for full consistency 2018-05-22 07:47:08 +02:00
Franco Fichtner
32aad857a8 interfaces: unwind inverted call stack, interfaces_configure() can do less 2018-05-22 07:37:02 +02:00
Franco Fichtner
66bd3db022 rc: fix syntax 2018-05-22 07:23:02 +02:00
Franco Fichtner
145ff37678 rc: remove unused script 2018-05-22 07:16:41 +02:00
Franco Fichtner
3c38c26440 rc: reload filter as well in previous 2018-05-22 07:12:27 +02:00
Franco Fichtner
046eaa80d1 rc: missing local reload spot 2018-05-21 18:45:52 +02:00
Franco Fichtner
b3f8477d27 interfaces: consolidate reload behaviour
PR: https://github.com/opnsense/core/pull/2337
2018-05-21 18:19:47 +02:00
Franco Fichtner
8b0f702cd5 interfaces: pass reload flag instead of guessing
PR: https://github.com/opnsense/core/pull/2337
2018-05-21 18:02:41 +02:00
Franco Fichtner
d15d3b9080 interfaces: zap unused gobal $config invokes
Incremental cleanups over the years seem to pay off.  :)
2018-05-21 17:54:08 +02:00
Franco Fichtner
904b0598a4 openssh: do not mask stop return value 2018-05-21 13:06:44 +02:00
Franco Fichtner
9a23b66065 system: fixup previous 2018-05-21 10:57:01 +00:00
Franco Fichtner
c2160d727e intrusion detection: remote syslog and associated cleanups; closes #2349 2018-05-21 10:54:48 +00:00
Franco Fichtner
062ad3f82c intrusion detection: optional fast log to syslog
Change syslog to be always on but use the syslog checkbox
to decide whether alert logging is forwarded or not.

Discussed with: @adschellevis
2018-05-21 10:18:50 +00:00
Franco Fichtner
9f9e54e815 interfaces: tracking again, naming and check for track6 marker 2018-05-21 11:28:48 +02:00
Ad Schellevis
4cbc8e1dd1 python, improve performance of reverse_log_reader() by avoiding string copies while parsing. Tried the new method using a 50MB suricata log file, which was parsed about 30% quicker then using the previous version. 2018-05-20 18:45:13 +02:00
Franco Fichtner
901551fe5c interfaces: in track6, wancfg is lancfg; cleanups
Make it easier to read the code and remove unused bits
and doubled validation.  The track6 functions are internal
and could potentially be inlined as well, but some of them
are a bit heavy.
2018-05-20 12:52:31 +02:00
Franco Fichtner
0c1c48bf8b interfaces: reconfigure interfaces tracking SLAAC WAN #2394 2018-05-20 12:37:39 +02:00
Franco Fichtner
1cde6c33b4 interfaces: fix typo in comment 2018-05-20 12:22:47 +02:00
Franco Fichtner
456fb9ab75 interfaces: style update 2018-05-20 12:21:36 +02:00
Franco Fichtner
fd94b3affd interfaces: simplify semantics of link_interface_to_track6() 2018-05-20 12:16:37 +02:00
Franco Fichtner
b357788c1a man: annotate arguemnt `disk' 2018-05-20 11:42:14 +02:00
Franco Fichtner
57148f483a rc: remove unused variable 2018-05-20 09:11:24 +00:00
Franco Fichtner
9572345477 firewall: reset states on IPv4 change; closes #2414 2018-05-20 09:08:36 +00:00
Franco Fichtner
68ac728d1f rc: gmirror/graid import was never broken
Simply list the devices that are available.  ;)
2018-05-19 21:04:12 +02:00
Franco Fichtner
cfa83d4097 man: clarify RAID as GEOM mirror 2018-05-19 20:34:19 +02:00
Franco Fichtner
2a14dd88ce rc: opnsense-importer [disk] is for installer
This will dedup the code and make the installer lighter!
2018-05-19 18:00:04 +00:00
Franco Fichtner
d12a594608 rc: parse arguments for our shell, harmless!? 2018-05-19 17:39:58 +00:00
Franco Fichtner
b123c3a11d man: document the use of `!' in the importer
Document the shell invoke in the importer for 18.7 and the people
who will want the installer to run early.  This is really not what
we want to do ever since we moved to a `installer' user and try to
enforce a live environment to help people test the look and feel,
either by first impression for new users or for previewing the new
version prior to installation.
2018-05-19 17:47:33 +02:00
Franco Fichtner
6258ab987d LICENSE: small fix on script, man pages are different 2018-05-19 17:32:01 +02:00
Franco Fichtner
73109c2ed9 man: also for opnsense-shell
Add a bit of history for the interested parties.
2018-05-19 17:29:51 +02:00
Franco Fichtner
b1b75de43b man: page for opnsense-installer 2018-05-19 17:01:33 +02:00
Franco Fichtner
ef61ac3ed7 rc: different approach for tty detection 2018-05-19 16:18:59 +02:00
Franco Fichtner
4d3d04abd1 rc: revert interface timeout, it's long enough 2018-05-19 16:10:20 +02:00
Franco Fichtner
69a3e12bb9 man: small correction 2018-05-19 16:02:01 +02:00
Franco Fichtner
86350fc183 man: allow to enroll and install man pages
Support was missing for quite a while.  Time to write a couple
of docs for our "opnsense-" tools in core.
2018-05-19 15:57:16 +02:00
Franco Fichtner
272a5b8b41 rc: rc.initital is now opnsense-shell 2018-05-19 15:23:36 +02:00
Franco Fichtner
242912aa6d rc: increase both keypress timeouts slightly 2018-05-19 09:44:19 +02:00
Franco Fichtner
4ac26c6286 rc: merge rc.importer into opnsense-importer
Hooray for cleanups.  Let's try to thin out the rc.* files more.
2018-05-18 23:39:33 +02:00
Franco Fichtner
89831fccf9 rc: csh has auto-completion for binaries in PATH 2018-05-18 23:08:45 +02:00
Franco Fichtner
3ed6c0b3c4 rc: simply loop here, installer reboots anyway
And thus we can use the escape to do some dev work on the
early importer, e.g. the missing gmirror import support.
2018-05-18 20:09:21 +02:00
Franco Fichtner
8951ccb1a5 rc: allow to launch a shell in importer...
So that users can use the installer here too manually.
2018-05-18 19:58:45 +02:00
Franco Fichtner
655f8ea573 installer: ifconfig knows this is 127.0.0.1/8
While here, also register ::1 -- it's only polite.
2018-05-18 19:48:15 +02:00
Franco Fichtner
fc0c0478b5 rc: bring in additions to start the installer early again
People ask for this sporadically, so we should weave this back
in a way that doesn't break the ncurses view and properly sets
up loopback when needed this early.
2018-05-18 19:42:35 +02:00
Franco Fichtner
9df08987b7 rc: merge rc.installer into opnsense-installer
We have successfully decoupled rc.installer from other components
so now we can merge both utilities.  We use opnsense-installer for
user support, which is easier to invoke and remember.
2018-05-18 19:42:34 +02:00
Franco Fichtner
8844e7260a rc: a bit for #2414 2018-05-18 17:21:33 +00:00
Franco Fichtner
a0e982f492 system: fix error in GDrive backup 2018-05-18 17:21:31 +02:00
Franco Fichtner
f438a9ef98 LICENSE: sync 2018-05-18 17:02:11 +02:00
Franco Fichtner
1d68157990 reporting: source mapping url fix 2018-05-18 16:01:13 +02:00
Franco Fichtner
86d9a32648 src: avoid "|| exit 0" usage to indicate the return value is irrelevant 2018-05-18 10:47:08 +02:00
Ad Schellevis
b7840df5ea style, remove duplicate class 2018-05-18 10:44:53 +02:00