Michael Tremer
4e9a2b5732
general-functions.pl: Replace lots of broken network code.
...
The state of some code especially in general-functions.pl
is in such a bad shape and faulty.
This is a first step that replaces some of the network
functions with those who have been tested and work for
undefined inputs.
The old functions have been left in place as stubs
and must be removed at some time.
2014-07-27 22:46:20 +02:00
Arne Fitzenreiter
b21618696d
webif: hide main-menu if gpl was not accepted.
2014-07-16 17:26:14 +02:00
Stefan Schantl
4cb523d462
general-functions.pl: Add function to get the used interface on red.
2014-07-10 12:35:05 +02:00
Michael Tremer
d6c50a8591
Merge remote-tracking branch 'amarx/10538' into next
2014-07-05 22:42:32 +02:00
Alexander Marx
1be398ae38
General-functions.pl: rewrite getnetworkip without inet_aton
2014-06-19 12:11:47 +02:00
Alexander Marx
ab92dc0c84
General-functions.pl: rewrite IpInSubnet replace inet_ntoa
2014-06-19 12:11:24 +02:00
Alexander Marx
29f238b239
BUG 10538: Routes may only added once and should not be part of an internal network
2014-06-16 09:45:59 +02:00
Michael Tremer
b3b33f8586
modem-lib.pl: Check if character device exists before trying to connect to it.
2014-06-12 16:44:07 +02:00
Arne Fitzenreiter
d4af74b78a
modem-status: add more ttyUSB and ttyACM ports.
2014-06-06 10:45:59 +02:00
Michael Tremer
03d0b8c7e8
Merge branch 'master' into next
...
Conflicts:
doc/language_issues.nl
doc/language_issues.tr
2014-05-09 01:31:43 +02:00
Alexander Marx
7490b22e9d
Firewall: BUG 10528 - allow subnets greater than /8
2014-04-23 15:08:47 +02:00
Michael Tremer
c5e3d520e9
Add modem status page.
...
On this page, much useful information is displayed about
the hardware and the status of an LTE/3G or other kinds
of modems that respond to AT commands.
2014-04-16 16:05:12 +02:00
Arne Fitzenreiter
af433268e0
graphs.pl: fix links position in chrome for android.
2014-03-23 17:39:47 +01:00
Michael Tremer
7e7788ea0b
Merge remote-tracking branch 'amarx/BETA3' into next
2014-03-13 15:32:00 +01:00
Michael Tremer
9d870c49eb
entropy graph: Remove trend line.
2014-03-13 15:29:53 +01:00
Alexander Marx
4d81e0f381
VPN Checksubnets: Now the remote subnets (OpenVPN/IPSec) are checked. If they are defined elsewhere, there's a warningmessage displayed
2014-03-13 15:09:01 +01:00
Alexander Marx
e55334753d
graphs.pl : fixed layout on Nexus 7 devices "hour-Day-week-month-year" now on top of graph
2014-03-10 12:54:06 +01:00
Michael Tremer
a2b3eba9f5
general-functions.pl: Fix wrong perl syntax.
2014-03-01 18:23:52 +01:00
Alf Høgemark
e06986e853
qos and process graphs: avoid random colors
...
For the graphs for qos classes, and for process
count and memory usage, the colors change on
each page reload, since the colors are currently
totally random.
This change uses defined color indexes, 15 different
ones, that should be enough for qos at least, and is
enough for processes on my setup. This makes
the colors consistent between page loads, so it makes
it easier to monitor changes.
Perhaps one should define 30 different colors meant
to be used for graphing, then one could avoid random
colors also for the sensor graphs, and make it less
likely to get color collision for the process graphs
as well. Defining 30 such colors is not part of this
change.
2014-02-26 18:48:05 +01:00
Alf Høgemark
491957ac2d
qos.cgi: Use Language string for legend in graph
2014-02-15 15:43:56 +01:00
Michael Tremer
c0e8224d1c
network-vlans: Provide a better configuation file.
...
As suggested by Bernhard Bitsch, #10470 .
2014-02-05 13:15:31 +01:00
Michael Tremer
15b023b979
Add an entropy graph.
2014-02-02 14:32:15 +01:00
Michael Tremer
ad9799d20c
header.pl: Remove "Connection: close".
...
Don't require us to re-establish a new connection every time
we send a request.
2014-01-19 14:27:09 +01:00
Alexander Marx
52ca3c8093
fifteen-theme: made tables in dhcp-server themeable
2014-01-07 10:22:22 +01:00
Michael Tremer
935f311ed9
Add an alternative default theme with rounded corners.
2014-01-05 21:07:41 +01:00
Michael Tremer
802d795488
header.pl: Include required perl module.
2014-01-05 19:06:08 +01:00
Michael Tremer
1dc4447136
general-functions.pl: Format output of age().
...
The output of the age() function was a bit messy with
some translations. It was now much simplified and it
now shows the time in a standardized format.
2014-01-05 02:42:21 +01:00
Alexander Marx
6ee9053548
Firewall: Fixed portfw-converter (rules where not converted correctly) And Standard network "IPsec RW" now has brackets around the Ip (when set)
2013-11-14 11:44:11 +01:00
Alexander Marx
68f6312ac5
Firewall: Show IP-Adresses in NAT-Source dropdown
2013-10-30 13:41:33 +01:00
Alexander Marx
8039a71099
Firewall: renamed forwardfwctrl to firewallctrl
2013-10-24 09:42:42 +02:00
Alexander Marx
6d8eb5dec7
Firewall: Renamed directory /var/ipfire/forward to /var/ipfire/firewall
2013-10-24 09:24:12 +02:00
Michael Tremer
0e43079789
firewall: Cleanup rules reloading.
...
This has been messed up a lot because there were multiple
files which indicated that a reload is needed; shell commands
were used to create and remove the indicator file; some
functions were duplicated.
2013-10-22 18:53:48 +02:00
Michael Tremer
196539512a
network-vlans: Remove " from configuration values.
...
" is an invalid character.
2013-10-04 13:39:26 +02:00
Michael Tremer
e2eb09157e
Remove /var/ipfire/firebuild.
...
This file provides lots of bogous information and information
about the build system that is not of much interest.
2013-09-30 21:00:15 +02:00
Michael Tremer
2ac39db92e
Merge remote-tracking branch 'amarx/firewall' into fifteen
2013-08-28 11:33:20 +02:00
Michael Tremer
df05a856cd
Merge remote-tracking branch 'ms/xss' into next
2013-08-21 17:40:44 +02:00
Michael Tremer
8b33e596c4
header.pl: Create new escape function that uses HTML::Entities.
...
This partly replaces cleanhtml(), which is kept for
backwards-compatibility and for a special case.
2013-08-20 11:05:28 +02:00
Michael Tremer
776a1761d0
general-functions.pl: Fix overwritten substitutions.
2013-08-09 14:50:09 +02:00
Alexander Marx
1a8fde0e84
Forward Firewall: changed some names and added subnets to dropdowns
2013-08-09 14:15:30 +02:00
Alexander Marx
cb61489891
Forward Firewall: restored old settings in graphs.pl. With new Monofont the columnsize is ok now
2013-08-09 14:13:11 +02:00
Alexander Marx
9468a6f713
Forward Firewall: Firewall Hits graph now with stacked values
2013-08-09 14:13:10 +02:00
Alexander Marx
94ea1f0346
Forward Firewall: fixed firewall hits statistik and extended it to show input,output,forward,newnotsyn and portscan seperately.
2013-08-09 14:13:10 +02:00
Alexander Marx
223d3b1dca
Forward Firewall: chnaged "Internet" to "INTERNET" in dropdown (Target)
2013-08-09 14:09:17 +02:00
Alexander Marx
a615cab30e
Forward Firewall: reordered Firewall Menu and changed header.pl to reflect the new menuposition for Blue Access
2013-08-09 14:09:17 +02:00
Alexander Marx
c7043621fc
Forward Firewall: savepoint 1. Trying to add OUTGOING to the firewall.
...
actual working:
Create OUTGOING Rules, change external access or foward rules to outgoing ones.
Missing: rules.pl need to be updated
2013-08-09 14:08:20 +02:00
Alexander Marx
b9648e5833
Forward Firewall: added Red interface to get_std_network function
2013-08-09 14:08:08 +02:00
Alexander Marx
bbc14c234d
Forward Firewall: Deleted config/cfgroot/p2protocols
2013-08-09 14:08:08 +02:00
Michael Tremer
111c99ddfa
Forward Firewall: applied all changes as diff and added new files. Also deleted c files from xtaccess and setdmzholes.
...
Signed-off-by: Alexander Marx <amarx@ipfire.org >
Conflicts:
config/backup/include
lfs/configroot
lfs/usb-stick
2013-08-09 14:02:02 +02:00
Erik Kapfer
2c5bb6037f
useragents: Fix the syntax for libww-perl
...
Fixes #10382
2013-07-30 15:09:37 +02:00
Arne Fitzenreiter
3e862ce4f9
Merge remote-tracking branch 'stevee/proxy-squidclamav' into next
...
Conflicts:
config/cfgroot/general-functions.pl
2013-07-15 20:49:23 +02:00