Commit Graph

160 Commits

Author SHA1 Message Date
Alexander Marx
8cdfbf5aeb Firewall: Make it possible to use NAT without Ports specified 2013-10-23 16:30:17 +02:00
Michael Tremer
989d0fd717 firewall: Straighten the format of the rule table.
Lots of markup and code cleanup.
2013-10-22 20:21:33 +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
0eadfdad4a firewall: Predefine value for checkboxes.
It turns out, that this is not good style, but as the
rest of the CGI depends on it, we need to stick with
this.
2013-10-22 17:39:56 +02:00
Michael Tremer
6bcb5ffe56 firewall: Move NAT port field to the protocol section. 2013-10-22 17:23:23 +02:00
Michael Tremer
93e0855b6f firewall: Fix collapsing the NAT menu.
Also removing a lot of redundant HTML code and invalid
attributes.
2013-10-22 16:59:16 +02:00
Michael Tremer
85d6e8a910 firewall: Update the re-read button.
Change to a more meaningful description and remove the
big green box.
2013-10-22 16:44:43 +02:00
Michael Tremer
d8d7dd3bd8 firewall: Don't show rule activation checkbox when creating a rule.
Almost certainly, the user wants the new rule to be active when
it is created. We should put as few input elements as possible
on the rule creation page.
2013-10-17 17:58:45 +02:00
Michael Tremer
d50ef220b6 firewall: Fix invalid HTML syntax. 2013-10-17 17:39:12 +02:00
Michael Tremer
0c7d0c0883 firewall: Simplify rule action selection.
Instead of two clicks, this is now changable with only
one click. The color coding should make the decision easier
and warn to not make unwanted configurations.
2013-10-17 17:33:46 +02:00
Michael Tremer
f18c38312c firewall: Make time constraints selection collapsable. 2013-10-17 16:49:07 +02:00
Alexander Marx
c9493d6c4f Firewall: Language changes, JQuery code cleanup 2013-10-17 14:27:41 +02:00
Alexander Marx
86a921ee47 Firewall: Some changes in Strings and languagefiles 2013-10-17 11:27:48 +02:00
Alexander Marx
79bb8c75f2 Firewall: completed michaels JQuery code and some language changes. This is BETA2-base 2013-10-16 14:27:08 +02:00
Michael Tremer
a1e89f481d firewall: Simplify protocol selection.
Plausibility checks and removed checkboxed need to be made
functional again. Also proper styling is missing.
2013-10-15 21:08:38 +02:00
Alexander Marx
ec6fd189ee Firewall: Jquery with errors for michael... 2013-10-15 15:45:51 +02:00
Alexander Marx
a5cb9aca78 Firewall: Try to clean up JS code part 1 2013-10-15 12:05:13 +02:00
Alexander Marx
3af3ecd319 Firewall: fix rules.pl when using custom hosts/networks and services no rule was applied because no protokoll could be found
Also extended JS code to correctly show ICMP Types only, if NO Targetport is selcted
2013-10-09 10:31:35 +02:00
Alexander Marx
90f8339a42 Firewall: Bugfix: WHen using servicegroup with only ICMP services, the ruletable was broken. Also fixed another useless if clause in rules.pl 2013-10-08 10:08:09 +02:00
Alexander Marx
e6e9a81176 Firewall: added some more plausichecks and additional errormessages 2013-10-05 13:50:35 +02:00
Alexander Marx
03dd9a2949 Firewall: fixed JS code for toggeling div areas 2013-10-03 12:01:19 +02:00
Alexander Marx
a4c7bf6b73 Firewall: Reorganized layout of rulecreationpage
Protocol is now an extra area containing protocol, ICMP-Type and
source/target ports
2013-10-02 21:28:50 +02:00
Alexander Marx
fadcfb7320 Firewall: moved nat part between source and target and moved protocol dropdown behind target area 2013-09-30 15:43:51 +02:00
Alexander Marx
2aeb4b256e Firewall: Bugfix: wrong counter when using selfdefinded services in a rule that could not be applied
Bugfix: When using ICMP-ALL in a rule, the rule was not applied
Bugfix: When using selfdefined services (icmp) and group them together. Then when using these services/groups in a rule and afterwards changing the service, the edited service was not applied
2013-09-27 10:16:52 +02:00
Michael Tremer
35f95ba741 firewall: Remove version information. 2013-09-02 22:04:42 +02:00
Alexander Marx
b119578f02 Forward Firewall: Now all customhosts are colored correctly in ruletable. Also the ip addresses in firewall-groups (hosts) are colored correctly if they are part of green,orange,blue,openvpn or ipsec 2013-08-14 12:51:21 +02:00
Alexander Marx
5bee9a9df5 Forward Firewall: edited GPL-header 2013-08-13 13:47:27 +02:00
Alexander Marx
dc21519f68 Forward Firewall: added GPL header to all files 2013-08-13 12:44:01 +02:00
Alexander Marx
ab4fe66fc9 Forward Firewall: Network addresses are now allowed as source and the ip addressfield has now size 18. 2013-08-09 14:49:35 +02:00
Alexander Marx
43215686ce Forward Firewall: changed rule coloring. Now whole field is colored instead of just borders. Back Button in firewall groups /hostgroups showed a white site 2013-08-09 14:49:35 +02:00
Alexander Marx
653a71b951 Forward FIrewall: Bugfix: When using predefined services in rulecreation, the rule was not applied. Bugfix: when in rulecreationpage and pressing "back" the site gets white. 2013-08-09 14:49:35 +02:00
Alexander Marx
6143bc300e Forward FIrewall: BUGFIX: when setting outgoing to blocked and creating a rule, the last rule changes to "accept" 2013-08-09 14:49:35 +02:00
Alexander Marx
357b3fe80d Forward Firewall: renamed IPFire to Firewall in SNAT area 2013-08-09 14:49:35 +02:00
Alexander Marx
4affc3e889 Forward Firewall: show default rule when input is empty 2013-08-09 14:16:42 +02:00
Alexander Marx
cb051c577c Forward Firewall: language fixes on last rule in ruletable 2013-08-09 14:16:42 +02:00
Alexander Marx
b88c88291b Forward Firewall: added some java Script to automatically select radiobuttons when dropdowns are changed. Some cleanup of the code 2013-08-09 14:16:40 +02:00
Alexander Marx
6584a984a0 Forward Firewall: just increased version number 2013-08-09 14:15:33 +02:00
Alexander Marx
595a90f003 Forward Firewall: The default rule table (at the end of Forward) shows only default values depending on the network configuration 2013-08-09 14:15:33 +02:00
Alexander Marx
f8bf364f0d Forward Firewall: fixed check for already existing rules. 2013-08-09 14:15:33 +02:00
Alexander Marx
7326051edb Forward Firewall: Updated outgoingfw-converter. redesign of the ruletable's defaultrules 2013-08-09 14:15:32 +02:00
Alexander Marx
4d2e7a35d9 Forward Firewall: some textalignment in last rule row 2013-08-09 14:15:32 +02:00
Alexander Marx
a648546338 Forward Firewall: added "default-rules-table" at the end of forward ruletable 2013-08-09 14:15:31 +02:00
Alexander Marx
b044bb0569 Forward Firewall: Bugfixes wrong interface in ruletable,when selecting alias firewall interface 2013-08-09 14:15:31 +02:00
Alexander Marx
fc83b09d43 Forward Firewall: some bugfixes 2013-08-09 14:15:31 +02:00
Alexander Marx
72586f0ff0 Forward Firewall: colorize ip addresses when possible in firewall groups. subnetmask now in cidr format 2013-08-09 14:15:31 +02:00
Alexander Marx
f1934a05ad Forward Firewall: delted subnets from hosts in firewallgroups, colorized all ip-addresses from the firewall-groups if possible. Some minor changes in forwardfw.cgi 2013-08-09 14:15:31 +02:00
Alexander Marx
cb4439f394 Forward Firewall: Bugfix of last commit. Added "Interface" to source or target that uses "Firewall" interfaces 2013-08-09 14:15:31 +02:00
Alexander Marx
d4cb89d2d1 Forward Firewall: When using "Firewall" as source or target, the ruletable looks confusing. Theres "RED" in source and target. Now theres "INTERFACE RED". 2013-08-09 14:15:31 +02:00
root
43d8be093c Forward Firewall: some language changes de.pl and en.pl as well as forwardfw.cgi and fwhost.cgi 2013-08-09 14:15:30 +02:00
Alexander Marx
1a8fde0e84 Forward Firewall: changed some names and added subnets to dropdowns 2013-08-09 14:15:30 +02:00