Commit Graph

2603 Commits

Author SHA1 Message Date
Michael Tremer
b062a11bbe firewall: Don't colourise MAC addresses.
Fixes #10491.
2014-03-05 08:05:52 +01:00
Alexander Marx
9556a0fb95 Firewall: When no manual ip is given, standard networks "all" is selected 2014-03-04 16:11:35 +01:00
Alexander Marx
5a09c99a89 Firewall: Now it is possible to just change the remark in input and outgoing 2014-03-04 16:00:14 +01:00
Alexander Marx
abb3cfcc9e Firewall: FIX allowed chars in remark 2014-03-04 15:44:02 +01:00
Alexander Marx
90c2ce0c20 Firewall: get rid of /32 subnetz when using manual ip addresses 2014-03-04 14:51:20 +01:00
Alexander Marx
40962f9760 Firewall: Bugfix - when creating a new hostgroup, the system checked for existing name in servicegroups instead of hostgroups 2014-03-04 14:40:59 +01:00
Alexander Marx
7429ee78b6 Firewall: Fix oversized Textfields 2014-03-04 14:07:04 +01:00
Alexander Marx
f620fa34df Firewall: Fix Bug 10490 and broken colorization of tables in firewall groups 2014-03-04 11:37:58 +01:00
Alf Høgemark
fff2be22a4 firewalllogcountry.dat: Fix filename for piechart image 2014-03-01 15:00:51 +01:00
Alf Høgemark
06f320318f firewalllogcountry.dat: Simplify code for table background color 2014-03-01 14:59:19 +01:00
Alf Høgemark
fde47f5aef firewalllogcountry.dat: Show green0,blue0, and orange0 as countries
It makes sense to see how many fire wall logs entries are dropped
from the interfaces green0, blue0, and orange0, so this is
displayed as a country. The showrequestfromcountry.dat also
supports filtering based on the interface.
2014-03-01 14:59:18 +01:00
Alf Høgemark
bde7a7d296 showrequestfromcountry.dat: Use language string, and fix links
Define language key for input field.
Fix links for older and newer links.
Indentation fixes.

The code is a copy from showrequestfromip.dat, ideally
we should have merged all three showrequestfrom*.dat files
into one file, but I do not do that now, because it would
really require a rewrite of most of the logic, and I understand
that one does not want to do such changes in 2.x.
2014-03-01 14:59:18 +01:00
Alf Høgemark
f424897557 firewalllogcountry.dat: Use language strings and add to menu
Add some language strings for the new firewalllogport.dat, and
include html fixes done in firewalllogip.dat, which this file
is based on.

Also try to add the menu item to the sub menu, but that is
currently not working.
2014-03-01 14:59:18 +01:00
Alf Høgemark
e4aac47370 logs.cgi: Add files for showing firewall blocks by country
Add similair functionality as firewalllogip.dat and
firewalllogport.dat, by listing the number of blocks
per country, and provide a details link to show only
the blocked ip addresses from the country.

This is a preliminary prototype.
2014-03-01 14:59:17 +01:00
Alf Høgemark
326a764de6 firewalllog*.cgi and country.cgi: Use language strings, and align graphs
Put the piechart for firewalllog* in the center of the page horisontally,
this looks visually better. Add language string for count and details
submit button.

Add language strings for country.cgi.
Make html validate for country.cgi.
2014-03-01 14:32:52 +01:00
Michael Tremer
3e5e8a4a88 firewall: Fix firewall policy table if only RED, GREEN + BLUE are present. 2014-02-27 20:53:25 +01:00
Michael Tremer
5a7491ffd6 QoS: Actually accept subnets everywhere. 2014-02-27 19:39:18 +01:00
Alexander Marx
5eee5a607e QOS: IP-Addresses can now be simple IP-Address or IP-Address and subnet 2014-02-27 19:12:06 +01:00
Erik Kapfer
4c962356a0 OpenVPN: Added auth and cipher menu, changed design, fixed bugs.
Added --auth directive with a flip menu for N2N and RW.
Added cipher menu for N2N.
Added new cipher and digest algorithm.
Adapted OpenVPN WUI design to IPSec design.
Changed key lenght for certificates with factor 2.
Added DH menu to WUI, with DH upload possibility and separated DH generation possibility.
Several Bugfixes, reference can be found under Bug #10463.
Also Fixes for #10317 and #10149.
2014-02-27 10:01:57 +01:00
Alf Høgemark
c101827318 firewalllogs*.dat: Reduce amount of code to set row bgcolor
Replace 10 if statements with duplicated code for print
and setting background color by using a variable and
one if statement.
2014-02-25 22:03:40 +01:00
Michael Tremer
25bd6edaaf Merge remote-tracking branch 'alfh/feature_html_validating' into next 2014-02-25 22:02:34 +01:00
Michael Tremer
f2b8668fc8 Merge remote-tracking branch 'alfh/feature_qos_description' into next 2014-02-25 22:01:34 +01:00
Michael Tremer
50294f93c2 Merge remote-tracking branch 'alfh/feature_htmlclean_removefont' into next 2014-02-25 22:01:14 +01:00
Erik Kapfer
4e7c3114ca index.cgi: Add /red/local-ipaddress query.
Fixes# 10480. Added if loop for local-ipaddress query.
2014-02-25 21:57:55 +01:00
Alexander Marx
46a6d6c7fc Firewall: fix error when editing a rule and changing remark with invalid chars the rule was destroyed 2014-02-24 19:39:26 +01:00
Alexander Marx
ec56a5393f Firewall: fixed padding-right of lastrule table in ruleoverview 2014-02-24 19:38:43 +01:00
Alf Høgemark
c010871ab1 index.cgi: Make html valid, and improve dialup and vpn display
Make the html validate. One part of the changes is to
move style from using deprecated attributes to using
style attribute on tag.
The other part is to make sure that tables, rows and cells
are properly closed and nested.

Use a table for showing output from the dialctrl script.
2014-02-22 17:36:45 +01:00
Alf Høgemark
429c1a3fc9 connections.cgi: Make the html pass html validation 2014-02-22 17:36:45 +01:00
Alf Høgemark
d7fe5d7970 aliases.cgi: Make the html pass html validation 2014-02-22 17:36:45 +01:00
Alf Høgemark
8b40eca59e cgi-bin: Remove font tags with no effect, and style tags
The font tag is deprecated, so clean up html by removing
font tags that have no effect.

For font tags that have an effect, move the styling to
the tag controlling the text output.

The aim is to get one step further towards validating html.
2014-02-22 12:13:02 +01:00
Alf Høgemark
be7534e3fa qos.cgi: Show class description in listing, and graph description
When listing the defined qos classes when qos.cgi is initially
displayed, include the description of the class.

Add upload heading for red graph and download graph for imq graph,
since it is not obvious what the graphs means.
2014-02-22 07:07:57 +01:00
Michael Tremer
317638e753 index.cgi: Change display of DNS servers.
Add missing colon and put them into one column in the
table.
2014-02-20 10:56:02 +01:00
Michael Tremer
5e1ee0e6e6 Merge remote-tracking branch 'alfh/bugfix_htmlclean' into next 2014-02-19 20:49:38 +01:00
Michael Tremer
bbb3a931fa Merge remote-tracking branch 'alfh/feature_updxlrator' into next 2014-02-19 20:46:21 +01:00
Alf Høgemark
f8aa06792f cgi-bin: Add title attribute to input type image where missing
Almost all of <input type="image"... has both an alt and a
title attribute, but some are missing title, and when the icon
is not very clear, it makes it harder to understand what the icon
does. By adding title, the browser displays text when mouse pointer
is over the icon.

Also add missing quotes for alt and title attributes where needed.
2014-02-19 18:31:02 +01:00
Alf Høgemark
153cf6406c cgi-bin: Use readonly="readonly" attribute on html input elements
The proper way to mark readonly is to use readonly="readonly", not
readonly="true", like it was done some places.
2014-02-18 18:48:57 +01:00
Michael Tremer
5ee7500e59 Merge remote-tracking branch 'alfh/feature_htmlcleanup' into next
Conflicts:
	html/cgi-bin/logs.cgi/firewalllogip.dat
	html/cgi-bin/logs.cgi/firewalllogport.dat
	html/cgi-bin/media.cgi
2014-02-17 16:33:38 +01:00
Michael Tremer
6d3c8250fe Merge remote-tracking branch 'alfh/feature_langfixes' into next 2014-02-17 16:28:23 +01:00
Michael Tremer
bd4db47085 Merge remote-tracking branch 'alfh/feature_firewalllog_first_last' into next 2014-02-17 16:24:41 +01:00
Alf Høgemark
631b67b7cd cgi-bin: HTML cleanup, add quotes for attribute values 2014-02-15 16:54:38 +01:00
Arne Fitzenreiter
2a72785cf8 atm-status.cgi: display more values for solos-pci. 2014-02-15 16:41:40 +01:00
Alf Høgemark
2c01f467d9 cgi-bin and themes: Remove language attribute on script tag 2014-02-15 16:11:45 +01:00
Alf Høgemark
b740cdd7bf logs.cgi: htmlcleanup, change html tags from uppercase to lowercase 2014-02-15 16:08:49 +01:00
Alf Høgemark
6161430626 pppsetup.cgi: htmlcleanup, change html tags from uppercase to lowercase 2014-02-15 15:51:42 +01:00
Alf Høgemark
52ee27b200 iptables.cgi: htmlcleanup, change html tags from uppercase to lowercase 2014-02-15 15:51:41 +01:00
Alf Høgemark
d2d0d63139 gui.cgi: htmlcleanup, change html tags from uppercase to lowercase 2014-02-15 15:51:41 +01:00
Alf Høgemark
df26152135 services.cgi: htmlcleanup, change html tags from uppercase to lowercase 2014-02-15 15:51:27 +01:00
Alf Høgemark
c1a07263bd remote.cgi: htmlcleanup, change html tags from uppercase to lowercase 2014-02-15 15:48:47 +01:00
Alf Høgemark
71cc3202c0 pppsetup.cgi: htmlcleanup, change html tags from uppercase to lowercase 2014-02-15 15:48:46 +01:00
Alf Høgemark
973f711ad1 ovpnmain.cgi: htmlcleanup, change html tags from uppercase to lowercase 2014-02-15 15:46:27 +01:00