10935 Commits

Author SHA1 Message Date
Franco Fichtner
bc5405bd54 interfaces: small adjustments, fix debug read 2020-05-10 08:47:32 +02:00
Martin Wasley
798bd7ec1d
Add multiple interfaces to rtsold call (#4100)
* Add multiple interfaces to rtsold call
fix inccorect pid

* Update interfaces.inc

Change RTSOLD to use -a option and drop interface append

Co-authored-by: Martin Wasley <martin@queens-park.com>
2020-05-10 08:40:00 +02:00
Martin Wasley
39a3a91283 interfaces: Show ISP Assigned PD in status interfaces
Uses the new feature within dhcp6c to display the ISPs allocated prefix.
We may be able to use this rather than asking the user to enter the prefix
size in interfaces.

PR: https://github.com/opnsense/core/pull/4099
2020-05-10 08:37:29 +02:00
Martin Wasley
5ed15ca47c interafces: move settings for dhcp6c to system_advanced_network
PR: https://github.com/opnsense/core/pull/4096
2020-05-10 08:25:59 +02:00
Franco Fichtner
d8c8129889 interfaces: refuse to run dhcp6c on unconfigured interfaces
LAN trackers use SIGHUP only so this is safe.
2020-05-10 08:08:23 +02:00
Martin Wasley
47f40e1782 interfaces: additions for multiwan dhcp6c part 2 2020-05-09 09:39:36 +02:00
Franco Fichtner
6420b41d8e interafces: make rtsold_script easier to work on
This will be refactored into a script or template
soon enough, but for now we need to allow easier
edits to bring it to the next level.
2020-05-08 15:57:14 +02:00
Franco Fichtner
3d365027ae captiveportal: safety belts, we require ipfw #4093 2020-05-08 09:44:06 +02:00
Franco Fichtner
2ba1e4ec7f rc: implement inline variables for skip and defer #4093
Future use cases are dhcp6c and unbound...
2020-05-08 09:36:09 +02:00
Franco Fichtner
da620c4ec1 rc: if we use dhcp6c rc script, we don't want it operated here
PR: https://github.com/opnsense/core/issues/4093
2020-05-08 08:30:16 +02:00
Ad Schellevis
fe32660338 menu: unescape url, to avoid redirecting to &amp; 2020-05-07 15:58:24 +02:00
Ad Schellevis
adbb91289f filter: outbound nat, allow src/dst port range. closes https://github.com/opnsense/core/issues/4090 2020-05-07 14:54:46 +02:00
Franco Fichtner
d87ce014d9 interfaces: bring back special IPv6 vars 2020-05-06 16:54:58 +02:00
Franco Fichtner
732e4b3388 interfaces: one rtsold script to rule them all 2020-05-06 16:06:15 +02:00
Franco Fichtner
fbe5a1909e interfaces: small changes, remove soon to be reinvented flags from GUI 2020-05-06 10:17:52 +02:00
Ad Schellevis
708afdfb96 configd: suppress idna warnings, we already know the contributed idna patches where a bad idea (https://github.com/opnsense/core/pull/2327, https://github.com/opnsense/core/pull/3107)
since this is only a warning that it will unmodified content, we may as well silence the message. closes https://github.com/opnsense/core/issues/4086
2020-05-05 15:38:51 +02:00
Ad Schellevis
c44bb60a01 IDS: compress stats.log backups, for https://github.com/opnsense/core/issues/4085 2020-05-05 15:23:58 +02:00
Ad Schellevis
54c42a1f02 filter: another take on "no translation address with matching address family found." (https://github.com/opnsense/core/issues/2841).
It seems that our nat/interface targets mis braces, which requires addresses to be available on load.
2020-05-04 15:51:34 +02:00
Ad Schellevis
1f4bf173d1 notice: before fitching notice, let's make sure these messages are actually being forwarded to syslog (https://github.com/opnsense/core/issues/4018). this also eases debugging if you can inspect issues in context of other events. 2020-05-04 15:30:42 +02:00
Franco Fichtner
67e4751fb7 interfaces: style update 2020-05-04 13:07:50 +02:00
Franco Fichtner
9d03fa9c09 interfaces: meant to commit this for @marjohn56 2020-05-04 12:57:38 +02:00
Franco Fichtner
b2618e6091 interfaces: style update via @marjohn56 2020-05-04 12:54:35 +02:00
Franco Fichtner
731922834c interfaces: detect dhcpv6 "unique" IA-ID and use it
In theory, the IA-ID is for tracking matching interface configuration.
The default is 0 but it can be any numeric value...
2020-05-03 19:18:37 +02:00
Martin Wasley
d0fba889a5 Interfaces inc changes for multiwan dhcp6 - Part 1
The additions and changes to these files are the first part needed to add multiwan dhcp6.
2020-05-03 18:01:44 +02:00
Ad Schellevis
1b264e8192 MVC: ArrayField sorting, when no sorting is provided return internal structure (unsorted). closes https://github.com/opnsense/core/pull/4072 2020-04-30 13:56:00 +02:00
Franco Fichtner
00c07864f6 filter: change approach, increase automatic limit 2020-04-29 21:15:55 +02:00
Franco Fichtner
8933e787f5 system: set value on the fly, remove nonexistent tunable 2020-04-29 10:03:31 +02:00
Franco Fichtner
10b4bbfe8d system: figure out which sysctls are writeable 2020-04-29 09:21:56 +02:00
NOYB
25e46b988d
Add sort flag param comment to sortedBy function header. (#4075) 2020-04-29 08:33:06 +02:00
Franco Fichtner
4f82e4efa5 system: this new feature is wonky... 2020-04-29 08:18:24 +02:00
Ad Schellevis
3731bd1026 MVC: searchBase() change default sorting behavior to natural for https://github.com/opnsense/core/pull/4070
* although the impact on most endpoints should be very spectacular in a negative sense, we probably better keep this on master for a couple of versions.
2020-04-28 15:02:15 +02:00
NOYB
b2b33c9e26 ArrayField - Add sort_flags optional parameter support
e.g. SORT_NATURAL: 9, 20, 80 rather than 20, 80, 9
Default, SORT_REGULAR, is unchanged.
2020-04-27 22:07:27 -07:00
Ad Schellevis
aef9ada7d1 style sweep https://github.com/opnsense/core/pull/4064 2020-04-26 19:32:41 +02:00
İlteriş Eroğlu
e85557938c
Add AdvLinkMTU to Router Advertisements page (#4064) 2020-04-27 11:36:55 +02:00
Ad Schellevis
0d07fae36a authgui.inc: don't allow login redirects to visit external pages. closes https://github.com/opnsense/core/issues/4061 2020-04-26 15:15:40 +02:00
Franco Fichtner
4bac359e09 system: html_safe() for module outputs
PR: https://forum.opnsense.org/index.php?topic=16955.0
2020-04-26 09:48:42 +02:00
Franco Fichtner
3db7e720cd firewall: avoid greedy match for #4067 2020-04-26 09:39:11 +02:00
Ad Schellevis
74f235ac4a Unbound: prevent wilcard domains for this machines primary domain (since you can't forward all and be responsible for a part). mentioned here https://github.com/opnsense/core/issues/4049 2020-04-23 08:28:08 +02:00
Ad Schellevis
600c794fcf IDPS: disable stats in eve.log to restore 20.1 bevaviour, the current dev version is very load (and we only filter alert entries) 2020-04-21 15:08:56 +02:00
Ad Schellevis
8bfd62c876 interfaces: typo in validation, failed to communicate unassignable targets. closes https://github.com/opnsense/core/issues/4050 2020-04-21 11:09:19 +02:00
Ad Schellevis
3b3577f1f5 plugins_devices: vxlan and loopback devices are configurable, for https://github.com/opnsense/core/issues/4050 2020-04-21 11:05:12 +02:00
Maurice
144272ffbb
Unbound: add DNS64 support (#3943) 2020-04-21 08:20:21 +02:00
Franco Fichtner
e9eb81a87f menu: change as discussed in 7749c098381
PR: https://github.com/opnsense/core/issues/4016
2020-04-20 08:57:43 +02:00
Franco Fichtner
2c3da19953 dpinger: sort and add missing comma 2020-04-19 12:25:12 +02:00
Franco Fichtner
15737656ed src: style sweeep and sync 2020-04-19 12:17:31 +02:00
Ad Schellevis
ab04204151 dpinger: add data length option, while there simplify logic to remove duplicate logic. closes https://github.com/opnsense/core/issues/4047 2020-04-18 19:26:46 +02:00
Ad Schellevis
7749c09838 Interfaces: obey group after POST, the menu can't find the item if the group isn't supplied when using groups. 2020-04-18 14:57:36 +02:00
Ad Schellevis
0c3359689d netflow: flow parser, when flow times are not returned (intermediate data?), stick to receive timestamp.
Setting both flow_start and flow_finished to system uptime, compensates to 0 for duration and flow length offset.

closes https://github.com/opnsense/core/issues/4046
2020-04-10 06:09:57 +02:00
Franco Fichtner
9d2d6d9fe1 firmware: small whitespace issue 2020-04-17 08:31:01 +02:00
Ad Schellevis
d1e1923c96 Update (c) notice in dnsbl.py
Co-Authored-By: Franco Fichtner <franco@opnsense.org>
2020-04-17 08:23:49 +02:00