93 Commits

Author SHA1 Message Date
Ad Schellevis
4a8e737ced fix some gettext() + html_safe, discussed c4c7f8d732 2019-02-03 20:04:08 +01:00
Franco Fichtner
723d97bbdf system: move settings as per #2279
Not the perfect spot either as this is for gateway groups
now but still better than firewall and actually the original
spot where the setting could be found.
2018-12-03 08:40:42 +01:00
Ad Schellevis
b52e139d34 fix typo 2018-11-24 15:08:24 +01:00
Franco Fichtner
06151559bd system: top part of default gatway group switching #2279 2018-11-24 12:48:35 +01:00
Franco Fichtner
cae5ec3f69 system: remove apinger, dpinger takes over 2018-11-10 23:42:17 +01:00
Ad Schellevis
09a13913ec firewall, add state-policy if-bound, closes https://github.com/opnsense/core/issues/2575 2018-07-29 12:12:06 +02:00
Franco Fichtner
9572345477 firewall: reset states on IPv4 change; closes #2414 2018-05-20 09:08:36 +00:00
Franco Fichtner
910a12990d system: dpiner cleanups #2396 2018-05-07 16:27:30 +00:00
Franco Fichtner
84ce6c13ff firewall: immediately flip service for #2396 2018-05-07 08:42:01 +00:00
Franco Fichtner
9567a1d8d8 firewall: move monitoring daemon preference for #2396 2018-05-07 08:38:48 +00:00
Franco Fichtner
fc0c66e87b firewall: auto-increase table size for IPv6 bogons
While here, kill the $GatewaysList side-effect that is no
longer necessary.

PR: https://forum.opnsense.org/index.php?topic=7194.0
2018-04-08 09:29:22 +00:00
Franco Fichtner
6a5f74e2d4 firewall: shared forwarding is fine 2018-03-28 15:36:33 +02:00
Franco Fichtner
e9c3be35d6 www: visual cleanups, unused class/style zapping #2290 2018-03-25 13:10:27 +00:00
Franco Fichtner
b074216e93 www: style updates, less strong/bold markup #2290 2018-03-25 10:08:53 +00:00
NOYB
9d96bdcbc7 Help For - Data For Attribute
Use original element (<div>/<small>) with "data-for" attribute.

The old jquery "for" attribute selectors can be removed once conversion to "data-for" attribute is complete (including plugins).

The old jquery selectors to remove once conversion is complete.
  opnsense_ui.js & head.inc
  $("*[for='" + $(this).attr('id') + "']")....
  $('[for*="help_for"]')....
2018-03-17 16:12:55 +01:00
Franco Fichtner
d823cc7193 firewall: switch back to old NAT auto-outbound behaviour
Use the first address only, ignoring all VIPs.

Discussed with: @adschellevis

PR: https://forum.opnsense.org/index.php?topic=7438.0
2018-03-12 14:36:11 +01:00
Franco Fichtner
b30cbe1570 system: reorder routing calls for #1821
In order for default gateway switching to work we need to
call routing first, then set up gateways, lastly invoke
filter reload which currently chains the gateway swtich code.

While here, remove deprecation notes.
2018-02-27 18:13:13 +00:00
Franco Fichtner
e072f97294 firewall: typo 2018-02-06 08:20:21 +01:00
Franco Fichtner
44622dc97a www: "formselect" hasn't been around for a long time 2018-02-04 22:36:51 +01:00
NOYB
4a7bcae7af HTML Compliance - Attribute "for" on Element <div>
Error: Attribute "for" not allowed on element "div" at this point.
Attributes for element "div": http://www.w3.org/html/wg/drafts/html/master/single-page.html#the-div-element

HTML attribute reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes
The "Output" element: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/output

Attributes for element "output": http://www.w3.org/html/wg/drafts/html/master/single-page.html#the-output-element
2018-01-06 10:52:17 +01:00
NOYB
b2f4cfa7c1 HTML Compliance - Attribute "type" on Element <i>
Error: Attribute "type" not allowed on element <i> at this point.
2018-01-05 08:36:26 +01:00
NOYB
76aab5cb52 HTML Compliance - Obsolete table attributes
width, align, valign, cellpadding, cellspacing, border, summary

Error: The width attribute on the table element is obsolete. Use CSS instead.
Error: The align attribute on the table element is obsolete. Use CSS instead.
Error: The valign attribute on the table element is obsolete. Use CSS instead.
Error: The cellpadding attribute on the table element is obsolete. Use CSS instead.
Error: The cellspacing attribute on the table element is obsolete. Use CSS instead.
Error: The border attribute on the table element is obsolete. Use CSS instead.
Error: The summary attribute on the table element is obsolete. Consider describing the structure of the table in a caption element or in a figure element containing the table; or, simplify the structure of the table so that no description is needed.
2018-01-04 18:26:02 +01:00
Franco Fichtner
e38b845725 firewall: prune help text trivia and make "pure nat" a checkbox 2017-12-29 13:02:15 +00: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
Ad Schellevis
fa72a9205f firewall/advanced settings, ditch filterdns for https://github.com/opnsense/core/issues/1971 2017-12-18 19:19:09 +01:00
Franco Fichtner
086b91c04a firewall: move anti-lockout rule to advanced settings #1347 2017-12-16 13:28:58 +00:00
Ad Schellevis
65a55bb1aa add firewall advanced setting pf_disable_force_gw, closes https://github.com/opnsense/core/issues/1801 2017-09-12 12:30:17 +02:00
Franco Fichtner
c5d4002541 src: add Scott's e-mail everywhere 2017-08-05 20:57:29 +02:00
Franco Fichtner
d87c6ff556 Scripts: add a license generator for GitHub 2017-08-05 20:21:35 +02:00
Franco Fichtner
9b957e31d6 gateways: several changes
* Plug gateway fixup "feature" into filter_configure_sync(), the
  only point where it should matter as everything else is GUI
  trigger-happy disruption.

* Discourage the use of the "feature" by moving it into the firewall
  advanced settings, adding a deprecated note.

* Use the new system_default_route() call to avoid code drift.
2017-05-31 09:33:21 +02:00
Ian Matyssik
8cdd61f0be Add ruleset-optimization for better performance 2017-02-27 22:10:07 +09:00
Franco Fichtner
4462372b28 firewall: text tweaks and a bug in prio handling 2017-02-15 08:42:01 +01:00
Franco Fichtner
734de5e8a7 firewall: shared forwarding is off by default, config option 2017-02-15 08:25:18 +01:00
Ad Schellevis
aaa4813103 (firewall) add maximum fragements, closes https://github.com/opnsense/core/issues/1246 2016-11-21 20:20:58 +01:00
Franco Fichtner
ec679740a5 system: move system_cron_configure() to new home 2016-11-20 11:22:49 +01:00
Franco Fichtner
b508d4d9f7 services: rename again for consistency 2016-11-20 11:16:10 +01:00
Franco Fichtner
83e21691e5 ipsec: move deprecated disablevpnrules to its only user 2016-11-17 19:44:24 +01:00
Franco Fichtner
f16199ffe9 cron: prepend system_, but move to system.inc later 2016-11-14 23:09:22 +01:00
Franco Fichtner
c0b10d0691 src: more translation tweaks
Suggested by: @Antonio-Prado
2016-08-16 21:38:55 +02:00
Franco Fichtner
e24d19706a firewall: removed NAT+proxy, this option is unused 2016-08-03 17:03:23 +02:00
Franco Fichtner
f6b554f87e www: consistent use of <?=, some escapes while at it; closes #986 2016-06-11 07:45:49 +02:00
Ad Schellevis
0b635bd71d (filter.inc) code style + proper description for "kill_states" 2016-05-31 11:30:42 +02:00
Ad Schellevis
21b9a551ef remove negate rules, closes https://github.com/opnsense/core/issues/972 2016-05-30 14:39:47 +02:00
Ad Schellevis
23c6d1b766 (firewall, scrub) move relevant scrub options to firewall_scrub.php
ditch disablescrub option,  fragment reassemble is enabled by default.
2016-05-30 14:11:02 +02:00
Franco Fichtner
93de08bd36 src: clean up global 'g' handling, still more work to do 2016-05-30 08:36:18 +02:00
Franco Fichtner
a44b468809 Merge pull request #955 from fabianfrz/translation
whitespace cleanup
2016-05-25 21:19:28 +02:00
Ad Schellevis
5ea45d864b (filter) remove nat+proxy, https://github.com/opnsense/core/issues/963 2016-05-25 13:59:06 +02:00
Ad Schellevis
6c7f63b8f7 (firewall, advanced) remove RFC 2893 from ui, will dissapear in 16.7 2016-05-25 09:16:37 +02:00
Fabian Franz
8028daeee4 whitespace cleanup 2016-05-21 12:33:56 +02:00
Ad Schellevis
845cb7aff1 add opnsense_standard_table_form class to forms (2) 2016-05-20 18:13:49 +02:00