Commit Graph

29 Commits

Author SHA1 Message Date
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
7326051edb Forward Firewall: Updated outgoingfw-converter. redesign of the ruletable's defaultrules 2013-08-09 14:15:32 +02:00
Alexander Marx
ac9e77e3ba Forward Firewall: added missing fields to the converters (for dnat) 2013-08-09 14:15:30 +02:00
Alexander Marx
e09884e04f Forward Firewall: some fixes:
1) Counter was not correctly decreased when deleting a network from a customgroup
2) Convert-outgoingfw improved
3) Backup didn't set filepermissions correctly
2013-08-09 14:12:39 +02:00
Alexander Marx
8343fd1250 Forward Firewall: Fix converter-outgoingfw. Produced wrong counters while converting 2013-08-09 14:11:57 +02:00
Alexander Marx
f2ab6fba4a Forward Firewall:
1) Custom Hosts: now 17 chars can be entered into IP/MAC field
2) Forwardfw: Bugfix: When no alias is set and IPFIRE is selected as target, no target address is recognised
3) Forwardfw: Now source and Target addressfield (manual) are set to 17 chars maxlegth.
4) Converter: Bugfix: When starting converter from commandline, all hosts are entered into groups again.
2013-08-09 14:11:56 +02:00
Alexander Marx
05612a544b Forward Firewall: fix converter for outgoingfw. remarkfield (new) was not implemented here
fwhosts: Some layout changes in tables (cellspacing='0')
2013-08-09 14:11:55 +02:00
Alexander Marx
d58677779f Forward Firewall: forgot to delete devel-comment 2013-08-09 14:11:55 +02:00
Alexander Marx
fccf52cf7e Forward Firewall: fixed a bug in convert-outgoingfw. THe hosts are created with wrong amount of fields in hasharray.
Also fixed a bug which sets wrong firewall mode for FORWARD when outgoing rules are used.
2013-08-09 14:11:55 +02:00
Alexander Marx
3f6bba6dbb Forward Firewall: Forgot to delete a dev-comment 2013-08-09 14:09:15 +02:00
Alexander Marx
12a43202a6 Forward Firewall: bugfix converter->default forward mode is now set correctly
some layout changes
2013-08-09 14:08:23 +02:00
Alexander Marx
6128ded855 Forward Firewall: convert-outgoingfw now supports outgoing rules 2013-08-09 14:08:22 +02:00
Alexander Marx
046d88c2d0 Forward Firewall: outgoing converter is now ble to set default policy correctly 2013-08-09 14:08:22 +02:00
Alexander Marx
c178bf21c1 Forward Firewall: added Policymode for OUTGOING to converterscript 2013-08-09 14:08:21 +02:00
Alexander Marx
70d38e5089 Forward Firewall: fixed converterbug and added ruleposition to new rules in forwardfw.cgi 2013-08-09 14:08:15 +02:00
Alexander Marx
e3afaf8890 Forward Firewall: bugfix: network ip was treated like single host 2013-08-09 14:08:15 +02:00
Alexander Marx
8d1beadce3 Forward Firewall:
1) fixed outgoingfw converter: now checkbox for logging is converted corectly
2) edited p2p_block: now a checked prot is allowed
2013-08-09 14:08:14 +02:00
Alexander Marx
3b81fad442 Forward Firewall: converter now creates cdir format from ip-addresses 2013-08-09 14:08:13 +02:00
Alexander Marx
5238a8719d Forward Firewall: minor improvements, if an outgoingrule has a given port and prot "all", there are two new rules generated for UDP and TCP.
If an outgoingrule has only "all" as prot, but no port, there's only one new rule created
2013-08-09 14:08:13 +02:00
Alexander Marx
5a9fd5dbd1 Forward Firewall: extended converter 2013-08-09 14:08:13 +02:00
Alexander Marx
9edb1d7a8e Forward Firewall: edited Backup.pl. If someone put /var/ipfire/outgoing into /var/ipfire/backup/include, the rules are backed up and need to be restored.
Now the backup takes care of this and checks if there are old rules to convert.
2013-08-09 14:08:13 +02:00
Alexander Marx
8794629653 Forward Firewall: edited convert-outgoingfw.
When a Protocol ESP or GRE is used AND a Port is selected (in old system), the rule was not converted successfully.
2013-08-09 14:08:12 +02:00
Alexander Marx
99e698d033 Forward Firewall: Minor changes...
1) improved convert-outgoingfw. source was wrong when tun+ interface
2) target had always a ":" in ruletable
3) convert-outgoingfw bugfix: ports where not cleared for next rule
2013-08-09 14:08:12 +02:00
Alexander Marx
8b3dd79147 Forward Firewall: deleted comments from converterscript 2013-08-09 14:08:12 +02:00
Alexander Marx
8f0b047b4b Forward Firewall: implemented multiport support for source and target ports 2013-08-09 14:08:12 +02:00
Alexander Marx
8910ee647c Forward Firewall: Removed console output from outgoingfw-converter 2013-08-09 14:08:11 +02:00
Alexander Marx
2833f5678e Forward Firewall: changed LOG directory to /var/log/converters 2013-08-09 14:08:11 +02:00
Alexander Marx
27f4a6b159 Forward Firewall: added converters for old exaccess rules and old rules from outgoingfw and old firewallgroups.
Also fixed a Bug: Day SUN was not checked when in rule-edit mode
2013-08-09 14:08:11 +02:00