8077 Commits

Author SHA1 Message Date
Franco Fichtner
3ae9866ea7 src: consistent use of readonly as xhtml 2018-01-02 14:47:46 +01:00
Franco Fichtner
fd7d59c856 firewall: natural language translation for previous
It's ok to use breaking spaces, comma-separated values read ok.
2018-01-02 10:51:17 +01:00
Franco Fichtner
3109b519e5 src: regenerate dhparam files 2018-01-02 10:51:17 +01:00
Ad Schellevis
4ac6fae7da Firewall/Nat outbound, change caption 2018-01-02 08:46:44 +01:00
Franco Fichtner
81a6424f72 firewall: natural CSV for previous 2018-01-02 07:28:26 +01:00
Ad Schellevis
30366b8bee Firewall/Nat, cleanup outbound overview page, ditch some old code 2018-01-01 20:10:52 +01:00
Ad Schellevis
1955d26b80 Firewall/Nat missing localhost and vpn networks for default outbound rules, https://github.com/opnsense/core/issues/1326 2018-01-01 20:07:34 +01:00
Franco Fichtner
35b80ddc78 mvc: fix typo 2018-01-01 19:45:29 +01:00
Franco Fichtner
936b0461f7 LICENSE: regenerate 2018-01-01 12:08:47 +01:00
Franco Fichtner
369a5e40fe web proxy: backend reconfigure is a reload
PR: https://github.com/opnsense/plugins/issues/454
2018-01-01 12:08:38 +01:00
Franco Fichtner
8f706cb62b Happy new year! 2018-01-01 12:02:04 +01:00
Ad Schellevis
dd589009f4 Firewall/rule parsing, move plugin init code to it's own function, for easier reuse. 2018-01-01 11:48:05 +01:00
Franco Fichtner
eb666c0212 web proxy: flip setup.sh order on restart 2017-12-31 14:44:55 +01:00
Franco Fichtner
b5f0902407 interfaces: tweak previous
It boils down to trigger during specific requests or don't.
2017-12-31 13:59:58 +01:00
marjohn56
d36f0f4f62 dhcp6c - Use Reasons
Use the REASONS given by dhcp6c when it calls its script. This then only calls newipv6 when 'REQUEST' is the reason.

RENEW, REBIND or INFO do not have changes to the leases, therefore no call to update is needed and this prevents reloading which can affect VPNs, Unbound etc.

On RELEASE or EXIT, once again newipv6 is called as the lease addresses should have been removed by dhcp6c.
2017-12-31 13:47:35 +01:00
Franco Fichtner
617dcaee88 interfaces: small selected bug, reorder settings for clarity 2017-12-31 13:46:16 +01:00
Franco Fichtner
ba725881f8 interfaces: simplify previous 2017-12-31 12:26:55 +01:00
marjohn56
7762f4e7c5 Set dhcp6c vlan Priority
Certain ISP's, Orange France for example use a VLAN, it is a requirement that the dhcpv6 packets are sent with a different priority, in Orange Frances case it is 6.

This PR allows the user to select whether or not to enable the setting of the VLAN priority for dhcpv6 packets and the value to use.

The is then used in the filter.lib.inc to add the extra set-prio value when the fillter is created.

This PR requires the the sysctl net.link.vlan.mtag_pcp be set to 1.
2017-12-31 12:07:53 +01:00
Franco Fichtner
080219e270 firmware: after requested new sorting, plugins went in twice
PR: https://forum.opnsense.org/index.php?topic=6722.0
2017-12-31 11:54:31 +01:00
Franco Fichtner
99ac5f6fb0 mvc: fix class name in doc; usual header prettification 2017-12-31 10:28:52 +01:00
Franco Fichtner
8d569f2cb7 proxy: provide mutable force restart hook for reconfigure
It's a bit tricky to get this right.  More testing needed, but
shouldn't intruduce regressions.  It could, but if the code works
it will not.  ;)
2017-12-30 23:55:10 +01:00
Franco Fichtner
99c783a934 web proxy: use the mutable service controller
We still want to refactor the calls to provide a soft-reload
as indicated here...
2017-12-30 23:22:02 +01:00
Franco Fichtner
5646749c83 intrusion detection: use mutable service controller 2017-12-30 23:14:45 +01:00
Ad Schellevis
34e7a98df3 Firewall/Nat, missed no nat/rdr on carp 2017-12-29 17:25:07 +01:00
Franco Fichtner
5e87c80fee Revert "interfaces: add a no default value for #2032"
Looks like this was already misbehaving even before we added
the explicit PCP change.  Probably since FreeBSD 11.0.

This reverts commit 4d9533d05e918d14117975f4b74ae337f370adc6.
2017-12-29 15:33:44 +00:00
Franco Fichtner
4d9533d05e interfaces: add a no default value for #2032 2017-12-29 16:09:54 +01:00
Franco Fichtner
398a335179 system: do not wrap action buttons 2017-12-29 15:31:10 +01:00
Franco Fichtner
71df9cc1cc system: sort ciphers a bit, not perfect but easier to read 2017-12-29 13:23:26 +00:00
Franco Fichtner
e38b845725 firewall: prune help text trivia and make "pure nat" a checkbox 2017-12-29 13:02:15 +00:00
Franco Fichtner
6b24c4ba57 system: fix openssl binary path #51 2017-12-29 12:35:16 +01:00
Ad Schellevis
9af1ae60db Firewall/snat, add default sticky option for outbound nat rules. https://github.com/opnsense/core/issues/1326 2017-12-29 12:05:23 +01:00
Franco Fichtner
8928b99b92 filter: small cleanups 2017-12-29 10:42:48 +00:00
Ad Schellevis
8af5e4da01 Firewall/Nat, rule logic. better to force spacing in ruleToText() to prevent different pf command's from sticking together. for https://github.com/opnsense/core/issues/1326 2017-12-29 11:01:50 +01:00
Franco Fichtner
c1d54e3e1e filter: simplify scrub code 2017-12-29 10:49:31 +01:00
Ad Schellevis
457e8cd87d Firewall/rules engine, small regression in removal of old interface aliases, scrubbing still seemed to be using it.. 2017-12-29 10:36:39 +01:00
Franco Fichtner
4637139074 firmware: allow dot in package name; closes #2031 2017-12-29 09:10:21 +01:00
Ad Schellevis
9849a8e781 Firewall, rule parsing, cleanup. it should be safe now to remove the interface aliases since our new code doesn't use them anymore.. https://github.com/opnsense/core/issues/1326 2017-12-28 21:58:30 +01:00
Ad Schellevis
41e89fe13c Firewall/rule parsing, fix some spacings. for https://github.com/opnsense/core/issues/1326 2017-12-28 21:50:44 +01:00
Ad Schellevis
70d795dfe2 Firewall/rule engine, plugin outbound rules, move functions out of the way for further cleanup later. https://github.com/opnsense/core/issues/1326
This needs additional testing, rules look ok, but the number of changes has been quite a few.
Next on the list is firewall_nat_out.php, make sure it reflects reality.
2017-12-28 21:38:54 +01:00
Ad Schellevis
a75a6a1186 Firewall/forward, when parsing rdr rules, don't generate reflection redirects for nordr type, for https://github.com/opnsense/core/issues/1326 2017-12-28 21:31:24 +01:00
Franco Fichtner
59faa1e918 wizard: fix this appropriately 2017-12-28 12:42:31 +01:00
Franco Fichtner
ae79fa4f51 wizard: adhere to defaults in the xml
Instead of using the config values even if set...
2017-12-28 11:32:31 +01:00
Franco Fichtner
7b10393f5a wizard: uncheck dnssec by default 2017-12-28 11:25:32 +01:00
Ad Schellevis
a94700e7cc diag_packet_capture.php, stick level of detail... 2017-12-28 10:54:35 +01:00
marjohn56
bff4ace717 interfaces: allow the user to fix the dhcp6 duid; closes #2021
The existing DUID may be recalled and stored in the
config file or else a new DUID may be created.
2017-12-28 10:26:20 +01:00
Franco Fichtner
20654c3869 rc: kill _opnsense_bootup_run migration glue on master branch 2017-12-27 18:51:08 +01:00
Ad Schellevis
12d174e79d firewall/rule engine, keep some behaviour from legacy code as long as we're not sure wrong data can enter the config. for https://github.com/opnsense/core/issues/1326 2017-12-27 18:27:34 +01:00
Franco Fichtner
19c4253b1c webgui: explain the confirm / recovery
PR: https://github.com/opnsense/core/issues/1347
2017-12-27 18:23:23 +01:00
Franco Fichtner
fa3ad8025a webgui: flip-flop on old and new URL in case something went wrong
The initial timeout of 20 seconds is long, but it's safer to wait so
that we're not bouncing back to the old web GUI before it goes down.

PR: https://github.com/opnsense/core/issues/1347
2017-12-27 17:55:20 +01:00
Franco Fichtner
e63299809a firmware: list installed plugins first
The markup is a bit too much now, but we can figure something
out sooner or later.
2017-12-27 14:26:42 +00:00