4242 Commits

Author SHA1 Message Date
Ad Schellevis
ce2b145185 Firewall/alias/geoip. make sure to trigger a download if no stats are found. Which should fix startup issues when aliases don't require a change and a new valid subscription is entered. 2020-02-25 10:38:05 +01:00
Ad Schellevis
f3adf835ef Unbound/dhcpd, missed a line in 96396f782e for https://github.com/opnsense/core/issues/3730 2020-02-24 20:48:00 +01:00
Ad Schellevis
96396f782e Unbound: refactor dhcpd watcher, contains multiple bugfixes (https://github.com/opnsense/core/issues/3730)
-  remove unbound registration if lease expires (previously this was only written to disk, not supplied to unbound-control)
-  when leases change, remove old fqdn's using unbound-control, this should mimic the current output in dhcpleases.conf more closely (if a manual registration was already there, it will be overwitten)
-  log when entries are removed, eventually it might be better to lower the level a bit, but informal seems like a good starting point for now.
-  switch to argparse for handling parameters
2020-02-24 16:29:50 +01:00
Ad Schellevis
ae60b1266d IPsec: add mvc service control api for https://github.com/opnsense/core/issues/3738 2020-02-24 13:44:05 +01:00
Ad Schellevis
e5831a7df1 MVC: add LegacyLinkField as described in a5b3177774
- acts as a link to legacy configuration values, which eases migration in some scenarios
2020-02-24 13:41:37 +01:00
Franco Fichtner
2ad9300a32 firmware: also show not installed not orphaned missing #1663 2020-02-20 20:32:23 +01:00
Franco Fichtner
6f73ec2073 pkg: fix plist and lint pass 2020-02-20 19:52:10 +01:00
Franco Fichtner
15fbeec367 firmware: good-will nit-picking and some more work to do 2020-02-20 19:50:12 +01:00
Ad Schellevis
49afa0595e unbound_dhcpd: skip empty hostnames, closes https://github.com/opnsense/core/issues/3944 2020-02-19 19:31:34 +01:00
Ad Schellevis
d60990f8d5 dismiss/capture installed plugins for https://github.com/opnsense/core/issues/1663 2020-02-19 09:11:45 +01:00
Ad Schellevis
383a8fe8f1 firmware: highlight configured but not installed plugins and add show a button when there are missing plugins. for https://github.com/opnsense/core/issues/1663 2020-02-18 16:57:16 +01:00
Ad Schellevis
e202940403 logging: split formats from queryLog.py implementation. for https://github.com/opnsense/core/pull/3941 2020-02-18 13:07:17 +01:00
Franco Fichtner
6db615b5bb shell: one isset() is enough 2020-02-18 10:10:57 +01:00
Ad Schellevis
1f1776260d setaddr.php: improve type checks. closes https://github.com/opnsense/core/issues/3939 2020-02-17 20:50:11 +01:00
Ad Schellevis
64052fae97 install missing plugins configd call: configctl firmware confplugins for https://github.com/opnsense/core/issues/1663 2020-02-17 10:19:49 +01:00
Ad Schellevis
862a60b774 stylesweep previous 2020-02-16 19:34:30 +01:00
xx4h
7d72dbdc28
(Auth) fix expiry and validity for vouchers (#3931)
Always check if voucher is not expired (either
because of never expires or because of expiry
date is in the future) and ensure session timeout
will be the lowest of validity based on the first
usage, the starttime or expiry (if not never expires).
If one of those conditions is not true, reject
authentication.

Fix #3930
2020-02-17 08:58:23 +01:00
Franco Fichtner
e690ff6fec src: style sweep 2020-02-14 13:24:19 +01:00
Ad Schellevis
769d7a9a2e mirrors: Quantum Mirror 2020-02-07 14:55:59 +01:00
Franco Fichtner
f66582d7ed src: style fixes 2020-02-06 19:20:36 +01:00
Ad Schellevis
5833339c3d log: ppp log type, in c56fff792d changed ppps for ppp. 2020-02-03 17:12:17 +01:00
Ad Schellevis
5c1756e6e9 flowd: netflow_egress_only missing separator, caused by 5f3936ab36 2020-01-31 19:47:22 +01:00
Franco Fichtner
adc7f3fc78 pkg: this is 20.1 now 2020-01-30 20:50:13 +01:00
Franco Fichtner
df712946eb firmware: prep for final 20.1 transition 2020-01-28 17:28:46 +01:00
Ad Schellevis
d837785c32 Config: accidental issue in c1c32c9eed 2020-01-28 16:50:08 +01:00
Ad Schellevis
928a75bb0b PortField: fix backwards compatibility in previous. for https://github.com/opnsense/core/issues/3895 2020-01-28 15:57:58 +01:00
Ad Schellevis
c1c32c9eed Extend PortField to support multiple items, closes https://github.com/opnsense/core/issues/3895
- while here fix unit tests to support 8.5.x
- add unit test for PortField
2020-01-28 15:41:29 +01:00
Franco Fichtner
bc32593434 firmware: add glue for upgrade testing 2020-01-22 08:57:15 +01:00
Ad Schellevis
a057c97940 syslog: remove legacy remote logging. closes https://github.com/opnsense/core/issues/3540 2020-01-21 17:53:45 +01:00
Ad Schellevis
c0b7d96059 MVC: BaseListField ignoring empty selected field. closes https://github.com/opnsense/core/issues/3891 2020-01-21 17:25:09 +01:00
Ad Schellevis
bc4272abdd firmware: add search in mirror selection for better overview. 2020-01-20 21:51:31 +01:00
Ad Schellevis
505accac0b mirrors: add ServerBase AG 2020-01-20 21:49:13 +01:00
Michael
a38fae9f08 Update alias.volt (#3881) 2020-01-10 15:05:33 +01:00
Ad Schellevis
644b4f82c2 GeoIP: business edition users can use Deciso's geoip feed, for https://github.com/opnsense/core/issues/3856 2020-01-04 11:58:41 +01:00
Franco Fichtner
57e8b9ddd0 src: fix last bits of obvious PSR12 style issues
CodeSniffer wants to have its way with authgui.inc but
fortunately it doesn't break while fixing the style
anymore so to keep this consistent and approachable
just accept its criticism.  ;)
2020-01-03 11:20:27 +01:00
Ad Schellevis
8775c03bbd Jquery upgrade, "jQuery.fn.size() is deprecated and removed; use the .length property". closes https://github.com/opnsense/core/issues/3869 2020-01-02 18:40:57 +01:00
Franco Fichtner
bbee5f518f dhcp: fix killbyname() usage which kills both services 2019-12-31 11:41:11 +01:00
Ad Schellevis
b4147a1e94 GeoIP, last bits and pieces for https://github.com/opnsense/core/issues/3856
* show a message when GeoIP is used but no addresses are found
* support other vendors as well (format should be documented in our docs)
2019-12-29 14:02:22 +01:00
Ad Schellevis
fbe9586724 GeoIP, minor help text changes. 2019-12-29 13:04:08 +01:00
Martin Wasley
d500ab29e3 Update geoIPSettings.xml
Just a little addition to the help.
2019-12-27 13:17:32 +00:00
Ad Schellevis
789eac7d99 GeoIP download settings, work in progress for https://github.com/opnsense/core/issues/3856 2019-12-25 16:00:09 +01:00
Franco Fichtner
bb35688f0e src: more style updates 2019-12-22 19:14:26 +01:00
Franco Fichtner
6e64afa041 system: style in new log volt 2019-12-17 07:21:10 +01:00
Franco Fichtner
4bc90402dc firmware: indent issue 2019-12-16 11:09:04 +01:00
Franco Fichtner
57db2e31ab ipsec: small style issue 2019-12-16 11:01:00 +01:00
Ad Schellevis
75df59b8c7 Health. remove disfunctional event handler (not related to new jQuery version). This probably hasn't functioned for quite some time, not sure why we need it either. closes https://github.com/opnsense/core/issues/3846 2019-12-15 19:47:44 +01:00
Ad Schellevis
ac97016105 jquery-3.4.1 + compatibility fixes. keep old version available for now to keep old volt (vendor specific) templates functional. 2019-12-14 19:30:18 +01:00
Franco Fichtner
b20f6fa400 inc: partial PSR12 style sweep 2019-12-09 06:36:17 +01:00
Ad Schellevis
c8d0a07bdf System -> Routes -> Status: support for manually removing static route entries.
A bit triggered by looking at these system_host_route() usages b2560c6eb4/src/www/vpn_ipsec.php (L97-L98)

If for some reason we do want to drop a route which was created elsewhere, we can do this from the gui.

Although the drop likely won't remove all entries in the table, the relevant ones should be removeable.
2019-12-06 18:49:43 +01:00
Ad Schellevis
09f74fe1ce IDS: point Emerging threats open rules to suricata 5 and add a migration for the rules that moved. Includes a small patch to the rule management scripts, so we can support deprecated sets (which should be removed). 2019-12-06 15:47:18 +01:00