217 Commits

Author SHA1 Message Date
Ad Schellevis
36372b939b interfaces: move description into top block and rename titles like suggested by @fichtner closes https://github.com/opnsense/core/pull/3808 2019-11-21 13:43:40 +01:00
Franco Fichtner
b97789b2d9 plugins: extend reach to "configurable" reject spots 2019-11-01 15:31:49 +01:00
Franco Fichtner
48e0c47a96 interfaces: remove the "Directly send SOLICIT" option
We already do a more-or-less hybrid approach by starting rtsold
even if it isn't used at all.  Now we also have ISPs which do
not seem to send router advertisements after successful connect
so that the reconnect misses the HUP for dhcp6c to fix the
connectivity again.

To change that remove the option and its only conditional to
behave unconditionally which has few reasons to cause regressions.
2019-10-31 09:14:35 +01:00
Ad Schellevis
2982424232 interfaces, only trigger newwanip event for affected interfaces 2019-08-30 15:09:06 +02:00
Franco Fichtner
e40b8f51ac interfaces: lock IP configuration type for tunnels
@Adschellvis and me wondered about this so I did a bit of
reseach and multiple workaround oddities exist to fix parts
of the issue.  To be frank, fix the issue at the source and
do not let users otherwise configure these settings in tunnel
interfaces.

See:      https://redmine.pfsense.org/issues/3280
Also see: https://redmine.pfsense.org/issues/8687
2019-04-26 07:42:54 +02:00
Franco Fichtner
3498416734 interfaces: in a perfect world these do not need services.inc
Let's make it so.  :)
2019-04-25 09:37:34 +02:00
Franco Fichtner
715ad3f253 interfaces: check prefix ID for duplicates #3406 2019-04-22 12:57:45 +02:00
Franco Fichtner
8bb992cfe7 interfaces: this is really hard ;) 2019-04-22 08:18:59 +02:00
Franco Fichtner
6fb54a1c11 interfaces: different approach 2019-04-22 08:12:44 +02:00
Franco Fichtner
d19d37e1bd interfaces: not my day 2019-04-21 20:30:24 +02:00
Franco Fichtner
82ab898a5a interfaces: changes to previous 2019-04-21 20:04:32 +02:00
Franco Fichtner
542368628b interfaces: make hexadecimal notation obvious; closes #3405 2019-04-21 19:59:17 +02:00
Franco Fichtner
f3b5c0e8f7 system: hide dpinger configuration inside new plugins_configure() call
Some back and forth between explicit and implicit requires while here.
The code is helplessly glued together and no plugin facility to get
data from a function call currently exists.
2019-04-21 19:04:15 +02:00
Ad Schellevis
96eb3f6f03 filter, move code to highlight (point) selected option from system_advanced_firewall.php to generic javascript legacy function and enable support on interfaces.php page as well, including a fix to firewall_rule_lookup.php for supporting ?if=<interface> lookups
for https://github.com/opnsense/core/issues/3312
2019-03-15 14:38:43 +01:00
Franco Fichtner
ae7af5314b interfaces: change apply flow a bit, comment was misleading 2019-02-06 15:59:42 +01:00
Ad Schellevis
4a8e737ced fix some gettext() + html_safe, discussed c4c7f8d732 2019-02-03 20:04:08 +01:00
Martin Wasley
28796e83a6 interfaces: DHCP Override MTU Option
It seems DHCP in 11.2 is honouring the ISPs MTU if it is sent. It
also seems there are some ISPs who send a stupid value. This fix
allows the user to ignore the ISP-supplied MTU (or not) with the
default set to ignore for compatibility with the previous behaviour.

PR: https://github.com/opnsense/core/issues/3173
2019-02-03 15:49:28 +01:00
Johannes Kastl
9f290d11f6 fix typo 'muti-WAN interface' (#3127) 2019-01-13 12:54:33 +00:00
Michael Steenbeek
97645093c3 Fix missing semicolons 2019-01-11 16:44:23 +01:00
Michael Steenbeek
69cc3895e6 Fix some JS errors 2019-01-04 08:39:22 +01:00
Michael Steenbeek
d27cc83642 Change foreach loops that don't use values to use array_keys() 2018-12-18 14:37:11 +01:00
Michael Steenbeek
28aa54f03f Fix br tags 2018-12-05 08:15:14 +01:00
Michael Steenbeek
6db6598c00 Fix more incorrect HTML tags (#3007) 2018-12-04 10:13:22 +01:00
Michael Steenbeek
88c28e3258 Fix typos and mismatched HTML tags (#2998) 2018-12-03 13:19:11 +01:00
Michael Steenbeek
71774ab376 Fix implicit Javascript global variable assignments (#2945) 2018-12-03 13:17:02 +01:00
Michael Steenbeek
afcae6226a Clean up incorrect/unused variable assignments 2018-11-29 17:29:58 +01:00
Franco Fichtner
c28fb86f37 interfaces: add note about CGN addresses included in private range; closes #2880 2018-11-24 14:15:41 +01:00
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