135 Commits

Author SHA1 Message Date
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
Franco Fichtner
81aed9877d interfaces: add ability to lock vital interfaces
They will prevent any interface mismatch and individual deletion
from the GUI on the assignment page.

PR: https://forum.opnsense.org/index.php?topic=5667.0
2017-08-07 06:07:45 +02:00
Franco Fichtner
bd6c566f2d interfaces: some settings are not in advanced; closes #1735
Maybe the dhcpv6 opts should be, but currently are not.  At least
now the GUI makes this very clear.
2017-08-06 12:42:28 +02:00
Franco Fichtner
c5d4002541 src: add Scott's e-mail everywhere 2017-08-05 20:57:29 +02:00
Fabian Franz
74ba371152 use strings which I guessed from dhcp6c source and copied from RFC 2471; closes #1178 2017-08-05 20:18:22 +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
velati
7681a2915d interfaces: Host-Uniq field in PPPoE connection; closes #1730
PR: https://forum.opnsense.org/index.php?topic=5307.0
2017-07-19 17:29:43 +02:00
Ad Schellevis
8236ddcc5f interfaces.php, rework last 2017-07-14 21:17:10 +02:00
Ad Schellevis
576799a181 interfaces.php, vlan mtu, check with actual parent 2017-07-14 18:54:40 +02:00
Ad Schellevis
093895e37e Networking, side affects. when an "other type" interface is configured it's automatically created, but if the interface got unconfigured it's dropped,leading to broken laggs for example.
We should trust the "other type" create/drop to handle the interface itself and interface_bring_down() should only unconfigure it, so possible parent/child interfaces won't break for no reason.
Fixes part of https://github.com/opnsense/core/issues/1709
2017-07-14 09:42:54 +02:00
Franco Fichtner
96318bd970 plugins: split vpn/newwanip configures 2017-04-29 15:25:25 +02:00
Franco Fichtner
0028518541 interfaces: drop trivia "some XXX want this or that" 2017-04-16 12:47:30 +02:00
Franco Fichtner
6c022705b2 interfaces: tweak whitespace in these strings 2017-04-12 06:17:38 +02:00
Franco Fichtner
c7a488dcb5 rrd: naming conventions and a side note
We have a function pair rrd_import() / rrd_export() now, which do
wildly different things even though they've been used for a single
purpose:

(1) rrd_export() writes a string, appends it to the config.xml

(2) rrd_import() takes a parsed config portion, but not as an
    argument, rather as a global config element

(3) There was also an older backup clue which exported files, but
    simply packed them up for restore after boot

If we can get the system to unify the usage we'll end up with a
neat way of backing, restoring and migrating RRD data, although
I'm not sure if this can be fully compatible with the old files.
2017-03-28 01:06:53 +02:00
Franco Fichtner
9b694b705d start to hide IPsec and OpenVPN for pluginification 2017-03-11 17:51:54 +01:00
Franco Fichtner
bdd1be3962 plugins: not going away anytime soon
If we want to be pluggable, simply delete contents of
/usr/local/etc/inc/plugins.inc.d/ and be done with it.
2017-02-22 15:49:22 +01:00
Franco Fichtner
3bbe389533 interfaces: fix validation of hex in PHP 7
PR: https://github.com/opnsense/core/issues/1331
2017-01-08 09:38:56 +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
836a07c56e interfaces: stray line break in previous 2016-12-09 00:09:04 +01:00
Franco Fichtner
28dccacf78 interfaces: simplify help strings for dhcp config overrides
People who use these know what they are doing, for everybody else
this is just plain confusing.
2016-12-09 00:01:24 +01:00
Franco Fichtner
04ccf983d4 plugins: allow to configure through multiple call sites
This is the glue needed to be entirely plugin-agnostic, it only
needs new hooks for spots we haven't pluginified yet.  The dns
subsystem is another likely candidate in the long run.

Allows to move these plugins away from core: bsnmpd, igmpproxy,
relayd, miniupnpd.  ACL and menu entries pending...
2016-11-20 13:38:13 +01:00
Franco Fichtner
79b87986d5 igmpproxy: pluginify 2016-11-20 12:15:27 +01:00
Franco Fichtner
a0b769e85d bsnmpd: pluginify 2016-11-20 11:49:14 +01:00
Franco Fichtner
715b636793 unbound: clean up includes and function usage
o consolidate "unbound_" prefix for unbound.inc for pluginification
o services.inc includes unbound.inc rightfully, a bit like a
  plugin would do in the future, but this also means we can
  zap all requires from top pages, which are entirely spurious.
o get_dns_servers() moves to system.inc because it is used by
  status_interfaces.php
o RIP read_hosts()
2016-11-14 11:28:01 +01:00
Franco Fichtner
152141866b interfaces: url_safe() redirects for #1168 2016-10-09 18:26:39 +02:00
Franco Fichtner
c852405968 interfaces: wait for dhcp6c to exit et al for #1202 2016-09-29 07:19:49 +02:00
Ad Schellevis
bcd96a58cd (legacy, interfaces) it doesn't look very usefull to fill empty "provider" with 1. 2016-08-23 19:56:34 +02:00
Franco Fichtner
081415d4fa rc: remove IP checks for PPTP and L2TP servers
The console would refuse to assign an IP that was used by the
PPTP or L2TP server (surprisingly not PPPoE).  This rule changed
during the MPD4 -> MDP5 migration, so remove that code.  Also,
the subnet check was never executed, good time to remove it as
well.
2016-08-13 15:18:06 +02:00
Franco Fichtner
b236262878 interfaces: annotate dhcp modes; closes #1052 2016-08-12 07:44:07 +02:00
Franco Fichtner
57bb583c1d interfaces: add missing validation for previous #1052 2016-08-12 07:25:47 +02:00
Fabian Franz
6411baeaa1 translation; closes #1069
Omit the console changes, we are not prepared for improving
the translation there.
2016-08-10 08:34:05 +02:00
Franco Fichtner
3da906b624 interfaces: optionally allow to set txpower
PR: https://forum.opnsense.org/index.php?topic=3462.0
2016-08-01 09:09:44 +02:00
Franco Fichtner
224b5d8247 www: util.inc is provided by guiconfig.inc for #1065 2016-07-22 07:12:21 +02:00