webif: Add a GUI for configuring VLAN interfaces

This patch adds a new CGI file which allows users to edit the
VLAN configuration as well as configuring zones as bridges.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Florian Bührle
2019-05-08 11:56:18 +01:00
committed by Michael Tremer
parent a494174979
commit 1dcf513a41
15 changed files with 638 additions and 0 deletions

View File

@@ -237,6 +237,7 @@ WARNING: translation string unused: err rs 1
WARNING: translation string unused: err rs 6 decrypt
WARNING: translation string unused: err rs 7 untartst
WARNING: translation string unused: err rs 8 untar
WARNING: translation string unused: error
WARNING: translation string unused: error config
WARNING: translation string unused: error external access
WARNING: translation string unused: esp encryption
@@ -734,6 +735,18 @@ WARNING: translation string unused: xtaccess all error
WARNING: translation string unused: xtaccess bad transfert
WARNING: translation string unused: year-graph
WARNING: translation string unused: yearly firewallhits
WARNING: translation string unused: zoneconf access native
WARNING: translation string unused: zoneconf access none
WARNING: translation string unused: zoneconf access vlan
WARNING: translation string unused: zoneconf nic assignment
WARNING: translation string unused: zoneconf nicmode bridge
WARNING: translation string unused: zoneconf nicmode default
WARNING: translation string unused: zoneconf nicmode macvtap
WARNING: translation string unused: zoneconf val native assignment error
WARNING: translation string unused: zoneconf val ppp assignment error
WARNING: translation string unused: zoneconf val vlan amount assignment error
WARNING: translation string unused: zoneconf val vlan tag assignment error
WARNING: translation string unused: zoneconf warning incorrect configuration
WARNING: untranslated string: Scan for Songs = unknown string
WARNING: untranslated string: addons = Addons
WARNING: untranslated string: bytes = unknown string

View File

@@ -2199,3 +2199,4 @@ WARNING: untranslated string: yes = Yes
WARNING: untranslated string: you can only define one roadwarrior connection when using pre-shared key authentication = You can only define one Roadwarrior connection when using pre-shared key authentication.<br />Either you already have a Roadwarrior connection with pre-shared key authentication, or you're trying to add one now.
WARNING: untranslated string: your department = Your department
WARNING: untranslated string: your e-mail = Your e-mail address
WARNING: untranslated string: zoneconf title = Zone Configuration

View File

@@ -1371,3 +1371,4 @@ WARNING: untranslated string: wlanap management frame protection = Management Fr
WARNING: untranslated string: wlanap neighbor scan = Neighborhood scan
WARNING: untranslated string: wlanap neighbor scan warning = Warning! Disabling may violate regulatory rules!
WARNING: untranslated string: wlanap ssid = SSID
WARNING: untranslated string: zoneconf title = Zone Configuration

View File

@@ -885,3 +885,4 @@ WARNING: untranslated string: wlanap broadcast ssid = Broadcast SSID
WARNING: untranslated string: wlanap client isolation = Client Isolation
WARNING: untranslated string: wlanap management frame protection = Management Frame Protection (802.11w)
WARNING: untranslated string: wlanap ssid = SSID
WARNING: untranslated string: zoneconf title = Zone Configuration

View File

@@ -1038,3 +1038,4 @@ WARNING: untranslated string: wlanap management frame protection = Management Fr
WARNING: untranslated string: wlanap neighbor scan = Neighborhood scan
WARNING: untranslated string: wlanap neighbor scan warning = Warning! Disabling may violate regulatory rules!
WARNING: untranslated string: wlanap ssid = SSID
WARNING: untranslated string: zoneconf title = Zone Configuration

View File

@@ -1084,3 +1084,4 @@ WARNING: untranslated string: wlanap management frame protection = Management Fr
WARNING: untranslated string: wlanap neighbor scan = Neighborhood scan
WARNING: untranslated string: wlanap neighbor scan warning = Warning! Disabling may violate regulatory rules!
WARNING: untranslated string: wlanap ssid = SSID
WARNING: untranslated string: zoneconf title = Zone Configuration

View File

@@ -1371,3 +1371,4 @@ WARNING: untranslated string: wlanap management frame protection = Management Fr
WARNING: untranslated string: wlanap neighbor scan = Neighborhood scan
WARNING: untranslated string: wlanap neighbor scan warning = Warning! Disabling may violate regulatory rules!
WARNING: untranslated string: wlanap ssid = SSID
WARNING: untranslated string: zoneconf title = Zone Configuration

View File

@@ -1366,3 +1366,4 @@ WARNING: untranslated string: wlanap management frame protection = Management Fr
WARNING: untranslated string: wlanap neighbor scan = Neighborhood scan
WARNING: untranslated string: wlanap neighbor scan warning = Warning! Disabling may violate regulatory rules!
WARNING: untranslated string: wlanap ssid = SSID
WARNING: untranslated string: zoneconf title = Zone Configuration

View File

@@ -901,3 +901,4 @@ WARNING: untranslated string: wlanap management frame protection = Management Fr
WARNING: untranslated string: wlanap neighbor scan = Neighborhood scan
WARNING: untranslated string: wlanap neighbor scan warning = Warning! Disabling may violate regulatory rules!
WARNING: untranslated string: wlanap ssid = SSID
WARNING: untranslated string: zoneconf title = Zone Configuration

View File

@@ -273,6 +273,7 @@
< encryption
< entropy
< entropy graphs
< error
< fifteen minutes
< fireinfo ipfire version
< fireinfo is disabled
@@ -846,6 +847,19 @@
< wlan client wpa mode ccmp ccmp
< wlan client wpa mode ccmp tkip
< wlan client wpa mode tkip tkip
< zoneconf access native
< zoneconf access none
< zoneconf access vlan
< zoneconf nic assignment
< zoneconf nicmode bridge
< zoneconf nicmode default
< zoneconf nicmode macvtap
< zoneconf title
< zoneconf val native assignment error
< zoneconf val ppp assignment error
< zoneconf val vlan amount assignment error
< zoneconf val vlan tag assignment error
< zoneconf warning incorrect configuration
############################################################################
# Checking cgi-bin translations for language: fr #
############################################################################
@@ -865,6 +879,7 @@
< dnsforward dnssec disabled
< dns forwarding dnssec disabled notice
< emerging pro rules
< error
< generate ptr
< ids apply
< ids apply ruleset changes
@@ -912,6 +927,19 @@
< wlanap client isolation
< wlanap management frame protection
< wlanap ssid
< zoneconf access native
< zoneconf access none
< zoneconf access vlan
< zoneconf nic assignment
< zoneconf nicmode bridge
< zoneconf nicmode default
< zoneconf nicmode macvtap
< zoneconf title
< zoneconf val native assignment error
< zoneconf val ppp assignment error
< zoneconf val vlan amount assignment error
< zoneconf val vlan tag assignment error
< zoneconf warning incorrect configuration
############################################################################
# Checking cgi-bin translations for language: it #
############################################################################
@@ -1027,6 +1055,7 @@
< email tls
< email usemail
< emerging pro rules
< error
< fifteen minutes
< firewall graph country
< firewall graph ip
@@ -1189,6 +1218,19 @@
< wlan client password
< wlan client tls cipher
< wlan client tls version
< zoneconf access native
< zoneconf access none
< zoneconf access vlan
< zoneconf nic assignment
< zoneconf nicmode bridge
< zoneconf nicmode default
< zoneconf nicmode macvtap
< zoneconf title
< zoneconf val native assignment error
< zoneconf val ppp assignment error
< zoneconf val vlan amount assignment error
< zoneconf val vlan tag assignment error
< zoneconf warning incorrect configuration
############################################################################
# Checking cgi-bin translations for language: nl #
############################################################################
@@ -1322,6 +1364,7 @@
< email tls
< email usemail
< emerging pro rules
< error
< fifteen minutes
< firewall graph country
< firewall graph ip
@@ -1524,6 +1567,19 @@
< wlan client password
< wlan client tls cipher
< wlan client tls version
< zoneconf access native
< zoneconf access none
< zoneconf access vlan
< zoneconf nic assignment
< zoneconf nicmode bridge
< zoneconf nicmode default
< zoneconf nicmode macvtap
< zoneconf title
< zoneconf val native assignment error
< zoneconf val ppp assignment error
< zoneconf val vlan amount assignment error
< zoneconf val vlan tag assignment error
< zoneconf warning incorrect configuration
############################################################################
# Checking cgi-bin translations for language: pl #
############################################################################
@@ -1740,6 +1796,7 @@
< encryption
< entropy
< entropy graphs
< error
< extrahd because there is already a device mounted
< extrahd cant umount
< extrahd install or load driver
@@ -2299,6 +2356,19 @@
< wlan client wpa mode ccmp ccmp
< wlan client wpa mode ccmp tkip
< wlan client wpa mode tkip tkip
< zoneconf access native
< zoneconf access none
< zoneconf access vlan
< zoneconf nic assignment
< zoneconf nicmode bridge
< zoneconf nicmode default
< zoneconf nicmode macvtap
< zoneconf title
< zoneconf val native assignment error
< zoneconf val ppp assignment error
< zoneconf val vlan amount assignment error
< zoneconf val vlan tag assignment error
< zoneconf warning incorrect configuration
############################################################################
# Checking cgi-bin translations for language: ru #
############################################################################
@@ -2519,6 +2589,7 @@
< encryption
< entropy
< entropy graphs
< error
< extrahd because there is already a device mounted
< extrahd cant umount
< extrahd install or load driver
@@ -3081,6 +3152,19 @@
< wlan client wpa mode ccmp tkip
< wlan client wpa mode tkip tkip
< year-graph
< zoneconf access native
< zoneconf access none
< zoneconf access vlan
< zoneconf nic assignment
< zoneconf nicmode bridge
< zoneconf nicmode default
< zoneconf nicmode macvtap
< zoneconf title
< zoneconf val native assignment error
< zoneconf val ppp assignment error
< zoneconf val vlan amount assignment error
< zoneconf val vlan tag assignment error
< zoneconf warning incorrect configuration
############################################################################
# Checking cgi-bin translations for language: tr #
############################################################################
@@ -3103,6 +3187,7 @@
< dnsforward forward_servers
< dns forwarding dnssec disabled notice
< emerging pro rules
< error
< fwdfw all subnets
< generate ptr
< ids apply
@@ -3163,3 +3248,16 @@
< wlanap neighbor scan
< wlanap neighbor scan warning
< wlanap ssid
< zoneconf access native
< zoneconf access none
< zoneconf access vlan
< zoneconf nic assignment
< zoneconf nicmode bridge
< zoneconf nicmode default
< zoneconf nicmode macvtap
< zoneconf title
< zoneconf val native assignment error
< zoneconf val ppp assignment error
< zoneconf val vlan amount assignment error
< zoneconf val vlan tag assignment error
< zoneconf warning incorrect configuration