92 Commits

Author SHA1 Message Date
Ad Schellevis
8d22e9f0af firewall, nat. no need to substr() filter descriptions. closes https://github.com/opnsense/core/pull/3600 2019-07-26 14:52:17 +02:00
Ad Schellevis
7af6473081 filter, port forward. support multiple interfaces per rule, when used and an automatic filter rule association is created it will be set as "Floating" + quick. closes https://github.com/opnsense/core/issues/1242 2019-05-10 16:59:32 +02:00
Franco Fichtner
0b879022ae www: d+f for #3218 2019-02-14 12:31:48 +01:00
Ad Schellevis
4a8e737ced fix some gettext() + html_safe, discussed c4c7f8d732 2019-02-03 20:04:08 +01:00
Michael Steenbeek
5e364254d5 Fix input groups with selectpicker in legacy pages (#3151) 2019-01-24 17:41:16 +01:00
Michael Steenbeek
71774ab376 Fix implicit Javascript global variable assignments (#2945) 2018-12-03 13:17:02 +01:00
Franco Fichtner
7c4489cc59 firewall: allow port forward to log, live view too; closes #1494 2018-11-11 08:55:22 +01:00
Ad Schellevis
c9a9c283d4 some cleanups for filter rule associations https://github.com/opnsense/core/issues/2879 2018-11-05 16:07:14 +01:00
Ad Schellevis
9ee4921d42 Firewall / VIP, missing "other" type in vip expand, closes https://github.com/opnsense/core/issues/2783 2018-10-29 21:07:17 +01:00
Ad Schellevis
ee98ebb29e firewall/nat, hide Redirect target port when port is not applicable 2018-08-13 19:42:14 +02: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
dd71f72b45 src: style fix 2018-03-11 00:13:02 +01:00
NOYB
6ef9a127ff HTML Compliance - Attribute "type" on Element <script>
Warning: The type attribute is unnecessary for JavaScript resources.

HTML5: Edition for Web Authors
http://www.w3.org/TR/2014/REC-html5-20141028/scripting-1.html
The default, which is used if the attribute is absent, is "text/javascript".

The Script element
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script
HTML5 specification urges authors to omit the attribute rather than provide a redundant MIME type.
2018-01-22 19:13:34 +01:00
Franco Fichtner
e199201a37 firewall: enabled is enabled, only one mode
PR: https://forum.opnsense.org/index.php?topic=6838.0
2018-01-13 12:45:20 +01:00
Ad Schellevis
8ea59ed7ec firewall/nat, support ipv+ipv6 for port-forwards, closes https://github.com/opnsense/core/issues/1589 2018-01-09 21:09:54 +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
Ad Schellevis
328bfe7d29 firewall / nat, align target port to dst port when creating a new entry, for https://github.com/opnsense/core/issues/1787 2017-08-27 11:41:27 +02:00
Ad Schellevis
69510a5fad legacy ui pages cleanup for https://github.com/opnsense/core/issues/1733 2017-07-22 15:01:26 +02:00
Ad Schellevis
2abbf0dc43 firewall_nat_edit.php, missing selectpicker refresh 2017-05-02 07:59:46 +02:00
Ad Schellevis
f5c25d7252 firewall/nat, disable nordr controls. closes https://github.com/opnsense/core/issues/1585 2017-05-01 20:42:31 +02:00
Ad Schellevis
765bfbb4b3 Revert "firewall: do not hide associated rule settings from no-rdr #1585"
This reverts commit 6eda8aec2f0b736461aaa399d7c8da647292c717.
2017-05-01 20:28:56 +02:00
Franco Fichtner
6eda8aec2f firewall: do not hide associated rule settings from no-rdr #1585 2017-05-01 13:10:20 +02:00
Franco Fichtner
e29f1b4038 firewall: add pool options to redirection target in port forward; closes #1423 2017-03-05 20:57:18 +01:00
Franco Fichtner
76a2a1f34e firewall: subnets are valid redirection targets, even 0.0.0.0/0 #1423 2017-03-05 20:39:41 +01:00
Franco Fichtner
87dfc1f126 firewall: add tag/tagged to port forwarding for #1423
It's a bit funny that the help text indicates we can use tag/tagged with
NAT rules as well, because this was never implemented although it really
works.
2017-03-05 20:09:27 +01:00
Andrew Berry
16ffbff991 Note that src and dst ports only apply to TCP and UDP 2016-12-28 15:59:08 +01:00
Ad Schellevis
52b95b80c0 (legacy) cancel button behaviour, closes https://github.com/opnsense/core/issues/1099 2016-12-12 21:34:03 +01:00
Franco Fichtner
029393adf2 firewall: url_safe() conversion, closes #1168
While there, kill "if (write_config())" constructs as this
really isn't a thing.
2016-10-12 08:36:16 +02:00
Ad Schellevis
0be295ac38 (firewall, nati) wrong validation 2016-09-15 19:36:36 +02:00
Ad Schellevis
d3d583ab83 (firewall, nat) change "Redirect target IP" to alias/host selectionbox like the rest. 2016-09-06 21:00:06 +02:00
Franco Fichtner
5f50315c00 firewall: fix typo 2016-08-18 20:15:18 +02:00
Ad Schellevis
4e3b66c257 zapp pfsense-utils.inc 2016-06-20 16:59:19 +02:00
Ad Schellevis
5402a89af1 firewall_nat_edit.php fix some html errors 2016-06-09 09:11:58 +02:00
Ad Schellevis
c660d3ec8c firewall, formNetworks() is the same as get_specialnets() now 2016-06-01 13:40:25 +02:00
Ad Schellevis
c7d03899f5 firewall pages, normalize interface selection, using the new interface plugins 2016-06-01 13:21:01 +02:00
Ad Schellevis
58001db0cc (firewall) parse /etc/protocols for valid options, sort most used on top. 2016-05-25 16:12:34 +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
dcb6dc8a55 firewall_nat_edit.php duplicate field 2016-05-24 13:24:39 +02:00
Ad Schellevis
16348d265e (firewall, ui) remove IPV6 as valid protocol selection 2016-05-24 13:17:09 +02:00
Ad Schellevis
5cb39a7077 (firewall, nat) detect current configured address family, https://github.com/opnsense/core/issues/807 2016-05-24 09:27:40 +02:00
Ad Schellevis
610013dcf3 (firewall, nat) add address family for portforwards, https://github.com/opnsense/core/issues/807 2016-05-23 22:26:12 +02:00
Ad Schellevis
0b31dc522f add opnsense_standard_table_form class to forms 2016-05-20 17:09:58 +02:00
Ad Schellevis
7ab0b3463f (legacy) www: strip action attribute from forms where not needed, closes https://github.com/opnsense/core/issues/929 2016-05-12 19:45:28 +02:00
Ad Schellevis
bae8ece59b code style 2016-04-11 18:13:45 +02:00
Fabian Franz
4aa0ce0f9a add link to proxy page and extend the nat template 2016-04-08 17:04:33 +02:00
Ad Schellevis
50a9e241b5 remove link to referenced filter rule, closes https://github.com/opnsense/core/issues/858 2016-03-26 09:40:03 +01:00
Ad Schellevis
67b827a84f html correction 2016-03-04 12:07:12 +01:00
Ad Schellevis
a7e4762b9c (legacy) fix html errors, remove $closehead 2016-01-27 18:18:05 +01:00