5284 Commits

Author SHA1 Message Date
Ad Schellevis
408bab1a37 (legacy) fix previous commit, interfaces_assign.php wasn't supposed to be in yet. 2016-05-26 15:42:09 +02:00
Ad Schellevis
75eec3cfe8 (config) set description when empty in legacy_config_get_interfaces 2016-05-26 15:41:13 +02:00
Ad Schellevis
2fd3a68d24 (config) add legacy_config_get_interfaces to easily return a filtered set of interfaces.
for example, return all active non virtual interfaces:

$interfaces = legacy_config_get_interfaces(array("virtual" => false, "enable" => true));
2016-05-26 15:19:19 +02:00
Ad Schellevis
b3dd9217fa (menu) hide "virtual" interfaces 2016-05-26 14:53:07 +02:00
Ad Schellevis
17dad5a7d8 (menu, cleanup) move interface items to model, remove duplicate code 2016-05-26 14:46:31 +02:00
Ad Schellevis
3c8541685a (plugins) config listags() is very annoying from time to time in plugins_interfaces
"reserved" names in interfaces leads to converting arrays to arrays in arrays, not easy to solve without the need to change a lot of the legacy code in same run.
2016-05-26 13:54:08 +02:00
Ad Schellevis
e2a8141960 (plugins) fix cleanup in plugins_interfaces() 2016-05-26 10:03:31 +02:00
Franco Fichtner
210d20f3d1 pkg: tweak previous 2016-05-26 08:15:22 +02:00
Franco Fichtner
db649ef038 pkg: target consolidation for metadata 2016-05-26 08:07:02 +02:00
Franco Fichtner
aa510985a6 pkg: employ better pluggability for branding 2016-05-26 07:19:17 +02:00
Franco Fichtner
a44b468809 Merge pull request #955 from fabianfrz/translation
whitespace cleanup
2016-05-25 21:19:28 +02:00
Franco Fichtner
217c0c9b35 dns: fix AAAA record save
PR: https://forum.opnsense.org/index.php?topic=3092.0
2016-05-25 18:12:54 +02:00
Ad Schellevis
570b51afda remove sctp, dccp no proper support in FreeBSD 2016-05-25 18:05:34 +02:00
Ad Schellevis
510e7defef firewall, nat cleanup $localport switcheroo 2016-05-25 17:30:17 +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
a356f26b63 remove RFC 2893 from firewall advanced, https://github.com/opnsense/core/issues/964 2016-05-25 14:03:11 +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
8d0cb3c55f (filter.inc) style / simplify things 2016-05-25 11:21:57 +02:00
Ad Schellevis
6c7f63b8f7 (firewall, advanced) remove RFC 2893 from ui, will dissapear in 16.7 2016-05-25 09:16:37 +02:00
Ad Schellevis
7d174d322a (plugins) rename plugins_register_interfaces 2016-05-25 09:12:40 +02:00
Franco Fichtner
8a72c9704f mvc: fix translations by adding an escaping wrapper
PR: https://forum.opnsense.org/index.php?topic=3083.0
2016-05-24 22:20:20 +02:00
Ad Schellevis
bf2f9ab991 (plugins) work in progress interface infrastructure
Plugins should be able to register new interfaces.
The basic idea is to materialize interface settings into the running config, so other services can utilize them in a uniform way.
Current hooks for legacy vpns, ipsec and openvpn should move into the same structure, which eliminates current static hooks.

The return content of the interface type itself needs to be further refined.
2016-05-24 21:20:11 +02:00
Ad Schellevis
f3bdca7d1b (trafficshaper) remove unused burst, in freebsd 10.2 it doesn't crash anymore, but doesn't appear to be very useful either. closes https://github.com/opnsense/core/issues/226 2016-05-24 18:02:34 +02:00
Ad Schellevis
74428f5b66 (cert) Allow keysize up to 8192, closes https://github.com/opnsense/core/issues/960 2016-05-24 16:37:30 +02:00
Ad Schellevis
0d169fc480 (filter.inc) cleanup 2016-05-24 16:00:14 +02:00
Ad Schellevis
1684635cfc (filter, outbound nat) add ipv6, closes https://github.com/opnsense/core/issues/667 2016-05-24 15:18:37 +02:00
Ad Schellevis
ddb33b3f9e (legacy) curly braces 2016-05-24 14:49:55 +02:00
Ad Schellevis
b676a002a5 (interfaces.lib.inc) regression, parse "inet6 2001:470:xxx:xxx::2 --> 2001:470:xxx:xxx::1 prefixlen 128" 2016-05-24 14:46:49 +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
d089441be5 fix previous 2016-05-24 13:12:28 +02:00
Ad Schellevis
318224cdc4 (filter) align icmp -> icmp6 behaviour in filter_nat_rules_generate 2016-05-24 13:07:40 +02:00
Ad Schellevis
5a54c06bac Merge branch 'master' of github.com:opnsense/core 2016-05-24 10:54:54 +02:00
Ad Schellevis
4addfd23c7 (dhcpv6) don't override values the user just put in. 2016-05-24 10:53:28 +02:00
Franco Fichtner
8ca78d38f8 menu: move administration back; closes #832
Nothing to gain from clustering too much.  The upside is that
we've got to clean up the settings for firewall, general and
misc considerably.
2016-05-24 10:30:07 +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
Franco Fichtner
266a1e87a0 firmware: hotfix cannot take more than one arg 2016-05-24 09:25:12 +02:00
Franco Fichtner
39c780e5cc firmware: strip data-placement; left/right don't work well for button groups 2016-05-24 08:57:08 +02:00
Ad Schellevis
1bddcb5d44 (firewall, nat) change default for none to empty, 610013dcf3 (commitcomment-17585636) 2016-05-24 08:32:50 +02:00
Franco Fichtner
49bb2b8287 resolver: add a mall hint to description that this has...
... the utmost potential to implode your setup.
2016-05-24 07:59:12 +02:00
Franco Fichtner
a154812fb8 make: refactor previous, some missing spots 2016-05-24 07:47:38 +02:00
Franco Fichtner
3ecf0b8a6c make: add want- helper, also need phpunit soon 2016-05-24 06:52:15 +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
ebe341ec2f (ui) select highest visible option in hook_ipv4v6 2016-05-23 22:19:09 +02:00
Ad Schellevis
63e8e6fe3e Revert "(configd) send received output on script_output type when there is any, closes https://github.com/opnsense/core/issues/951"
This reverts commit b3049270f0f68716320ed8d5da65c37e10e06324.
2016-05-23 17:58:50 +02:00
Ad Schellevis
6edd90273d (ui) fix menu width on small size screens, closes https://github.com/opnsense/core/issues/657 2016-05-23 17:22:23 +02:00
Ad Schellevis
b4395817e6 (legacy) filter_log.inv move convert_real_interface_to_friendly_descr out of parse loop, https://github.com/opnsense/core/issues/672 2016-05-23 16:39:59 +02:00
Ad Schellevis
36710dce4c (dnsmasq) add custom port option for domain overrides, closes https://github.com/opnsense/core/issues/799 2016-05-23 14:59:46 +02:00
Ad Schellevis
f57c0f046c (dnsmasq) add some missing escapes 2016-05-23 14:58:45 +02:00
Ad Schellevis
91756d8152 (interfaces/dhcpv6 client) add debug option to advanced dhcpv6 client config, closes https://github.com/opnsense/core/issues/859 2016-05-23 13:55:10 +02:00