503 Commits

Author SHA1 Message Date
Franco Fichtner
4485895274 dhcp: allow custom configuration from directories; closes #5313 2022-04-08 14:23:48 +02:00
Franco Fichtner
5ae1244fb3 pkg: fix plist 2022-04-03 20:46:12 +02:00
Franco Fichtner
0e4c3c6321 pkg: fix plist 2022-03-22 14:57:53 +01:00
Franco Fichtner
9dfafbc2ec src: lint pass 2022-03-22 13:40:28 +01:00
Stephan de Wit
6832fd75a0
unbound: implement custom forwarders over current dot setup (#5606)
This PR pulls query forwarding over the current dot setup, so visually nothing changes.

All API calls are redirected to new Forward functions, which slightly modifies what is returned based on whether "Query Forwarding" or "DNS over TLS" is selected from the menu. This way backwards compatibility is preserved.

As an addition, a user is now able to specify a specific domain for a forward zone as well. Meaning that queries for this specific domain will skip a catch-all (".") domain (if specified), and instead use the server specified for this domain.

Entering a forward zone with a catch-all domain (".") in both Query Forwading and DNS over TLS is considered a duplicate by Unbound, so a static warning for this has been attached in the grid - however, it might be possible for a user to be warned dynamically over this.
2022-03-22 13:38:26 +01:00
Franco Fichtner
56bd1c33c2 interfaces: add manual page for ifctl; closes #5631 2022-03-18 09:28:44 +01:00
Franco Fichtner
cea2768c71 system: document configctl in a manual page #5631 2022-03-18 09:00:17 +01:00
Franco Fichtner
6446a4ccfa interfaces: ifctl link for nameserver.sh
Not sure about nameserver.sh name and scope yet so try to
hide it under a link.  We can always change the name later
although having .sh suffix helps us lint the script more easily.
2022-03-11 10:50:04 +01:00
Franco Fichtner
652ae0881c interfaces: add nameserver script to contain the situation #5565
Routes only get added in system_resolvconf_generate() now where
the DNS override is properly checked.  The nameservers are added
through the new script for convenience and removed from there as
well.  As a bonus we still scrub the routes from the nameserver
file removal to avoid creating "state" about what was done elsewhere.

This is still subject to a lot of funky races for overlapping host
routes either by ISP, manual DNS, gateway monitors or static routes.
2022-02-24 15:00:05 +01:00
Franco Fichtner
d9f2d53ea7 pkg: fix plist 2022-02-24 08:21:00 +01:00
Ad Schellevis
df01d880c6 fix plist 2022-02-22 18:46:09 +01:00
Franco Fichtner
b6ca1be13a firmware: no need to hint at upgrades anymore 2022-02-01 14:22:58 +01:00
Franco Fichtner
84a41ab1e0 pkg: fix plist 2022-01-25 10:26:22 +01:00
Stephan de Wit
161d24650b
unbound: overrides: migrate to mvc model (#5488)
* unbound: overrides: migrate to mvc model
* unbound: overrides: generate host_entries via model, revert template generation
* unbound: overrides migration: fix missing include
* unbound: overrides: clean up

Co-authored-by: Stephan de Wit <stephan.de.wit@deciso.com>
2022-01-24 20:19:06 +01:00
Ad Schellevis
94ed9756c9 fix plist 2021-12-21 19:02:30 +01:00
Franco Fichtner
876604b392 pkg: fix plist 2021-12-16 15:23:04 +01:00
Franco Fichtner
b3ec15fe0c firmware: no need for this file anymore starting with 21.7.7
opnsense-update.conf will take over and firmware-upgrade doesn't
exist on stable/21.7 anyway.
2021-12-08 08:17:20 +01:00
Franco Fichtner
0332b6bc1e pkg: fix plist 2021-12-04 10:24:19 +01:00
Franco Fichtner
cc76580b16 pkg: fix plist 2021-11-24 22:33:55 +01:00
Franco Fichtner
19d89e0fd9 system: add a tiny manual page for opnsense-log 2021-11-23 09:20:40 +01:00
Franco Fichtner
731a69c6e6 system: add opnsense-log helper POC
Wanted to do this every now and then since people were not
familiar with clog but never got around to do it.  Now that
clog is gone it's easier to do so let's write a few lines
and extend as necessary.  :)

It looks like `tail -f' doesn't watch the symlink and instead
tails the target file which makes nightly rotation invisible
and the log starts stalling so it means for any readers of
latest.log it shouldn't be a persistent read.

PR: https://github.com/opnsense/core/issues/4993
2021-11-18 09:34:27 +01:00
Franco Fichtner
c2c1119a2e firmware: properly migrate cron actions
Cron jobs move from direct execution to random delay
2021-11-17 12:14:13 +01:00
Franco Fichtner
cd77cec93a firmware: add a 'latest' script to derive update info from changelog 2021-11-16 10:14:10 +01:00
Franco Fichtner
2a4c3a4869 firmware: add a configuration file and fix prompt hint 2021-11-15 13:35:14 +01:00
Franco Fichtner
d446a5909f pkg: fix plist 2021-11-15 11:31:21 +01:00
Franco Fichtner
e22a0656f8 system: deal with legacy.conf remnants #5337 2021-11-08 13:42:54 +01:00
Ad Schellevis
b3e3391943 Syslog - remove clog support
remove all remnants from syslogd and circular log support excluding support from the log readers. When a user upgrades and was using clog, the old files remain and are still readable from the ui, new entries are generated into our syslog-ng directory structure.

for https://github.com/opnsense/core/issues/5337
2021-11-05 21:17:35 +01:00
Ad Schellevis
ecb34928fb VPN / IPSec / Tunnel settings - Change overview page to support pagination lowering load times on large setups, closes https://github.com/opnsense/core/issues/5279
o remove legacy page and references
o bug fix delete phase 1 button (using wrong id)
2021-11-02 14:46:56 +01:00
Franco Fichtner
bae5ccbc3a pkg: fix plist 2021-10-28 16:46:39 +02:00
Franco Fichtner
1ddeeca108 system: assorted improvements
o Only modify default sysctls when default is known
o Let user know a default is not available for tunable
o Parse system descripton and type and show in GUI
2021-10-26 10:06:00 +02:00
Franco Fichtner
30694a69c6 firewall: add .py suffix to Python script 2021-10-20 14:29:16 +02:00
Ad Schellevis
dba9d1c39c plist 2021-10-18 21:18:50 +02:00
Franco Fichtner
312e690767 pkg: fix plist 2021-10-17 20:17:10 +02:00
Franco Fichtner
f129c4682b interfaces: deprecate *up(v6) files, PPP is only user
Create a more distinguished file _uptime which could be used later
for other things.  Adjust scripting and remove unneeded cruft.
2021-10-05 10:09:12 +02:00
Franco Fichtner
13e311e057 firmware: make uprade testing easier
For people who want to have fun upgrading into snapshot
releases:

    # opnsense-update -uz
2021-09-28 08:10:27 +02:00
Franco Fichtner
7063dc9e02 firmware: shift away from old-style firmware-xxx files
opnsense-update can read the upgrade hint itself.  We may have
to stash an ABI in there to reach to a different location without
the need to publish a symbolic link.

Move the firmware message to a data location for cleanliness.
2021-09-28 07:38:21 +02:00
Franco Fichtner
7bd5f2ae4c pkg: fix plist, license and parsing thereof 2021-09-09 09:16:18 +02:00
Franco Fichtner
45c2dde9b9 pkg: fix plist 2021-09-03 14:29:59 +02:00
Ad Schellevis
4afaebf691 fix plist 2021-08-17 20:11:30 +02:00
Franco Fichtner
4a919798e2 pkg: fix plist 2021-08-08 08:52:11 +02:00
Franco Fichtner
e16b1343eb pkg: fix plist 2021-08-02 12:26:59 +02:00
Franco Fichtner
7165b665eb firmware: sync plugins in console update; closes #5136 2021-08-01 11:27:05 +02:00
Franco Fichtner
f331061387 firmware: changes for EoL of 21.1
o Remove revoked business fingerprints that were never used
o Revoke fingerprint for 21.1 as it is no longer needed
o Remove upgrade hint file to avoid development version upgrade loops
2021-07-27 16:04:57 +02:00
Franco Fichtner
2e8269bc21 pkg: fix plist 2021-07-21 07:55:18 +02:00
Franco Fichtner
3e66f270b1 unbound: migrate to single model #4327 2021-07-20 16:50:54 +02:00
Franco Fichtner
72e6ca2fee unbound: more refactoring, less pages, blacklist -> blocklist
PR: https://github.com/opnsense/core/issues/4327
2021-07-20 11:00:00 +02:00
Franco Fichtner
d6d0971677 unbound: integrade DoT grid; closes #5101
Extensive rewrite based on the original PR, but the models
have been merged into one Unbound.xml and the migration will
follow in the next commit.
2021-07-19 15:00:30 +02:00
Franco Fichtner
e8d7876d21 unbound: add 'unbound check' target for advanced options #4327 2021-07-13 12:27:14 +02:00
Franco Fichtner
4a1bc9f8b5 unbound: allow to retain cache; closes #2750 2021-07-13 11:21:01 +02:00
Franco Fichtner
09f510fba2 unbound: fix /var MFS dilemma for DNSBL after boot; closes #4938
o Create a persistent directory to feed the unbound includes
o Move runtime data to /tmp directory

After reboot we use the old persistent list still available.

I am not sure if it's clear enough that the blacklists cannot
auto-update and therefore require a cron job or manual update
from the respective GUI page ("apply" essentially is "download
and apply").
2021-07-09 13:57:07 +02:00