167 Commits

Author SHA1 Message Date
Franco Fichtner
fdfd65c4bf interfaces: typo #2458 2018-06-25 15:58:37 +00:00
Franco Fichtner
f15d106e51 interfaces: give first-time hint to ajax #2458 2018-06-25 15:55:39 +00:00
Franco Fichtner
0408e32f87 interfaces: add fargw knob, last bits of UX; closes #2458 2018-06-25 15:34:14 +00:00
Franco Fichtner
79b632565b interfaces: more tweaks #2458 2018-06-25 07:27:50 +00:00
Franco Fichtner
7d439db55a interfaces: ordering, labels #2458 2018-06-25 07:16:39 +00:00
Franco Fichtner
1982779e72 interfaces: more wording tweaks for #2458 2018-06-25 09:11:24 +02:00
Franco Fichtner
bd46d9c09a interfaces: IPv6 static gateway for #2458 2018-06-25 09:07:07 +02:00
Franco Fichtner
a386ccc2f2 interfaces: experiment with descriptions #2458 2018-06-23 16:26:44 +02:00
Franco Fichtner
313c3b148a interfaces: keep current selection if not muti-wan #2458 2018-06-23 16:18:05 +02:00
Franco Fichtner
eb96f3c297 interfaces: start to improve #2458 2018-06-23 16:11:21 +02:00
Franco Fichtner
1d6b49090f www: missed some spots #2440
Remove static wol references, going away in 18.7 and
wol hasn't been in the default install for a while.
2018-06-05 19:36:36 +00:00
Franco Fichtner
b77b3a5782 interfaces: flip arguments of interface_configure() 2018-05-22 08:42:52 +02:00
Franco Fichtner
6518699474 interfaces: simplifications for dhclient #2372
Remove the dhclient "handlers" and use the PID file
like everything else.  The pid file is already there
under the same name, but we make it explicit in
case something changes or code needs to be traced.
2018-05-14 15:48:17 +00:00
Franco Fichtner
41e3040386 interfaces: SLAAC may also use IPv4 connectivity #2394 2018-05-07 12:18:54 +00:00
Franco Fichtner
53994b097d interfaces: minimum viable approach for #2394 2018-05-07 06:21:41 +00:00
Franco Fichtner
500b547862 interfaces: tweak previous 2018-05-03 21:49:11 +02:00
Franco Fichtner
a584cb16e9 interfaces: clear up use IPv4 connectivity
PR: https://twitter.com/sjorge/status/992110532860751873
2018-05-03 21:24:11 +02:00
noctarius
932038d36e interfaces: little typo fix ;-) 2018-05-02 14:34:35 +02:00
Franco Fichtner
f850748d1d console: reset VLANs as stated; closes #2342
Regression introduced in 566fe52 a while back.  Checked the commits
and code again so a bit of assorted cleanup attached.  Other spots
in the commits look good.
2018-04-13 07:31:48 +02:00
Franco Fichtner
b27e3f9d00 interfaces: small tweaks
o Do not try to clean up stray config file, it is rewritten either way
  or missed to be deleted during a reconfigure on some other code path.
o Don't stop dhcp6c on save, it stops during interface_bring_down()
2018-03-29 10:04:06 +02:00
Franco Fichtner
77bcfefd97 interfaces: allow all IPv6 prefixes from 48 to 64
PR: https://forum.opnsense.org/index.php?topic=7650.0
2018-03-20 06:58:16 +01:00
Franco Fichtner
b5827a049b interfaces: tweak previous 2018-03-17 17:08:14 +01:00
Franco Fichtner
3b4341286d www: two more 2018-03-17 17:02:14 +01:00
Franco Fichtner
4e70b3acd1 interfaces: spotted error in help texts 2018-03-17 16:38:47 +01: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
ef451142db interfaces: always allow /127, /128 and /32 static IPs; closes #2213 2018-03-12 21:07:17 +01:00
Franco Fichtner
60b3db278f interfaces: revert useless commits
This reverts commit e6dc3265fe76d00aaf250cc7bf5515c1e3d922d4.
This reverts commit e211d1ab2702be8df65e8d1cce1e4589ccd37f5a.
2018-03-11 14:36:16 +00: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
Ad Schellevis
31282787df Interfaces / reconfigure
* remove race conditions in interface_bring_down() so when an old configuration is provided we will actually use the contents of that configuration.
* Next make sure we only save the first occurrence of a changed interface until an apply is hit, to prevent lossing the running configuration.
* Do some additional cleanups for removing virtual ip's when an interface is requested to go down.

For https://github.com/opnsense/core/issues/2221
2018-02-23 19:01:47 +01:00
Ad Schellevis
1891293c64 interfaces, drop validation when changing to dhcp from ppp type interfaces. closes https://github.com/opnsense/core/issues/2206 2018-02-23 15:17:02 +01:00
Franco Fichtner
20ad5b73d7 interfaces: reject leases from in dhcp advanced
PR: https://forum.opnsense.org/index.php?topic=7201.0
2018-02-12 23:26:31 +00: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
e211d1ab27 interfaces: wait for process to exit like previous 2018-01-09 14:23:35 +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
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
6c13cbf4dd interfaces: tweak previous
o do not escape execf shell escaping
o simplify the wording on the labels
2017-12-27 11:07:49 +00:00
marjohn56
e634186ae4 dhcp6c No Release Option
dhcp6c sends a release signal on exit by default. This can cause the loss of the allocated prefix or address and a new one on the next connection. This is especially the case with many ISPs.

This option allows the user to disable the release send.

I added the  -n option to the FreeBSD dhcp6c quite a while back.
2017-12-27 11:47:04 +01:00
Franco Fichtner
ff8b1c77a8 interfaces: simplify previous
It's better to align this with the DHCP setting, remove explicit
mention of PPPoE as it pertains to other PPP types too.
2017-12-27 08:40:14 +01:00
Ad Schellevis
f722081b87 interfaces, add "IPv6 Static over parent v4 PPPoE link" for https://github.com/opnsense/core/pull/2017 ditching some side affects from get_real_interface() in the process. 2017-12-25 13:40:48 +01:00
Franco Fichtner
e95e256227 interfaces: looks like a silly PHP 7.1 fail 2017-12-07 20:25:55 +00:00
Franco Fichtner
4536b239d0 interfaces: missing line break, further rewording / reordering
PR: https://github.com/opnsense/core/issues/1859
2017-10-25 07:06:26 +02:00
Franco Fichtner
a8e3f65c61 interfaces: change order, add warning for MAC override
PR: https://github.com/opnsense/core/issues/1859
2017-10-25 06:58:39 +02:00
Franco Fichtner
43805e9419 interfaces: access point as first entry, also fix stray chars 2017-10-17 06:06:28 +00:00
Franco Fichtner
32d2e31fd2 interfaces: remove a lie 2017-10-05 14:18:41 +02:00
Franco Fichtner
54ae88aea3 interfaces: correct content-type match, it can have ;charset etc. suffix
PR: https://forum.opnsense.org/index.php?topic=5709.0
2017-08-10 22:29:40 +02:00
Ad Schellevis
c14000892b Merge pull request #1766 from opnsense/license_generate
License overview generation for GitHub
2017-08-09 22:49:25 +02:00