190 Commits

Author SHA1 Message Date
Michael Steenbeek
552fed10d7 Fix HTML errors (#2943) 2018-11-23 10:38:39 +01:00
Michael Steenbeek
5d49c6afcd PHP: Fix lots of refs to undefined vars (#2952) 2018-11-22 09:22:57 +01:00
Michael Steenbeek
77d628fc4e Clean up array usage in interfaces.php 2018-11-12 13:30:51 +01:00
Franco Fichtner
9d9251fd20 interfaces: stop modifying tracking ifs as fe80::1:1
This is an experiement.
2018-10-31 12:33:43 +01:00
Franco Fichtner
eada2bf5a1 interfaces: override link-local tracking router address if needed
PR: https://forum.opnsense.org/index.php?topic=10034.0
2018-10-24 09:23:13 +00:00
marjohn56
cceb1bcd8c Add FTI/ to password - tidy end of useridhex 2018-10-05 09:49:31 +02:00
marjohn56
bb5144ed88 Correct missing '"'' at the end of the userclass field 2018-10-04 09:44:17 +02:00
marjohn56
472f5d8967 interfaces: Add RFC 3118 Option; closes #2781
This allows us to call a funcion which will generate the correct
credentials where they need to be hashed or not. In the function
in this PR, the function returns all of the request and send
options required for Orange France and fills in the client fields
automatically.

Also in the case of Orange France an extra entry box appears to
allow the entry of the LiveBox_ID.

The PR is a work in progress, but all that is needed to make it
work for Orange France is the hash routine.

It's also possible to use the functions create the hex strings
needed for other ISPs and auto fill the options as needed.
2018-10-03 16:02:22 +02:00
Franco Fichtner
57c29f6cd7 interfaces: overriding automatic IPv6 addresses doesn't work; closes #1993 2018-09-22 23:01:22 +02:00
Franco Fichtner
baa43590d7 src: remove get_configured_interface_with_descr()'s $withdisabled 2018-09-11 22:16:31 +02:00
Franco Fichtner
a35b40a4a7 src: remove unused $only_opt 2018-09-11 21:52:34 +02:00
Franco Fichtner
3192f8f5cc interfaces: some progress on IPv6 address for trackers #1993 2018-09-10 08:51:45 +02:00
Franco Fichtner
6ee54c2c38 interfaces: reverse selection so that "0" is the default
It's the default in the factory reset, too.
2018-09-08 20:16:52 +02:00
Franco Fichtner
0c7e9cba15 interfaces: selection weirdness for "none" value 2018-09-08 15:09:00 +00:00
Franco Fichtner
d8e41511da interfaces: allow IPv4 address override in 6RD; closes #2662 2018-09-08 12:19:16 +00:00
Franco Fichtner
91ecc980bd interfaces: display of prefix ID is wrong here; closes #2622
We still have the validation on save which is correct.  While
here improve the help text.
2018-09-03 23:09:15 +02:00
marjohn56
d1fc5afc2b interfaces: remove use of adv_dhcp6_prefix_interface_statement_sla_id
Section of code I've removed had been removed previously as during recent
PR's the ability to iterate through the interfaces was added. This 'solo'
bit of code appears to have made its way back in, don't know where and
don't know when as the song goes. Remove SLA_ID from Prefix interface.
It's collected from the LAN settings
2018-08-15 17:19:38 +00:00
Franco Fichtner
fb541dd8ba ui: fix footer boxing; closes #2626 2018-08-11 23:22:47 +02:00
Ad Schellevis
7f0b486dbb Firewall/alias, replace legacy alias usage and move transitional code into model for https://github.com/opnsense/core/issues/1858
This code keeps the legacy aliases functional until switched (migrated) to the new ones, improves isAlias() performance which was in 18.7r2 and removes some code duplication.
2018-07-23 20:31:42 +02:00
Franco Fichtner
cc2902e4dd interfaces: 6rd validation and avoid assignment #1501 2018-07-14 09:11:42 +00:00
Franco Fichtner
83f8321bce interfaces: allow /0 to /32 in 6rd #2521 2018-07-08 10:58:38 +00:00
marjohn56
88a45c2bfe Typo in interfaces.php 2018-07-02 08:10:11 +02:00
marjohn56
733f5057d0 interfaces: allow DHCPv6/RA for tracking; closes #2460 2018-06-27 16:21:43 +00:00
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