1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-19 09:47:20 +01:00

18 Commits

Author SHA1 Message Date
Vadim Kurland
db7b0961bf test case for iosacl using ccie4u router setup 2009-03-16 05:13:07 +00:00
Vadim Kurland
3ac34b8c2d 2009-03-12 vadim <vadim@vk.crocodile.org>
* PolicyCompiler_iosacl.cpp (PolicyCompiler_iosacl::prolog): fixed
few bugs (no #) in policy compiler for Cisco IPv6 ACLs:

  - The "extended" keyword is not supported by IOS for IPv6 ACLs

  - keyword "established" is only valid in combination with
protocol tcp. If standard CustomService objects "ESTABLISHED" and
"ESTABLISHED ipv6" are used in a rule, enforce protocol to "tcp".

  - command to clear ipv6 access lists should be "no ipv6
access-list ipv6_management_in"

  - command to assign ipv6 acl to interface should be "ipv6
traffic-filter ipv6_acl in"
2009-03-13 05:04:54 +00:00
Vadim Kurland
067cfb650e * objects_init.xml.in: Added CustomService object "ESTABLISHED
ipv6" which defines code for iptables, ipfw and IOS extended
access lists for IPv6.

* PolicyCompiler_ipfw_writers.cpp (PrintRule::_printProtocol):
fixed behavior or policy compiler for ipfw which was broken in
rev714 - it should print protocol "tcp" when custom service object
that adds option "established" is used. This compiler worked like
that before attribute "protocol" was added to the CustomService
object.
2009-01-25 06:35:06 +00:00
Vadim Kurland
f1dded95b3 2009-01-23 vadim <vadim@vk.crocodile.org>
* PolicyCompiler_PrintRule.cpp (PrintRule::_printAddr): fixed bug
#2526173: "fwb_ipt crashes due to old-broadcast". This bug was
introduced when support for module iprange was sadded. Need
special check for AddressRange objects where start and end of
range addresses are equal.

* NetworkDialog.cpp (NetworkDialog::addressEntered): fixed bug (no
#): the GUI used to check ip address entered for the network
object whenever user switched focus from the address input widget
in the network object dialog to another widget or even a different
application to look up the address. This caused the program to
show error dialog if this happened when the address was
incomplete. This change makes the program verify the address only
when user clicks "Apply".
2009-01-23 21:37:12 +00:00
Vadim Kurland
743c601984 2009-01-02 vadim <vadim@vk.crocodile.org>
* RoutingCompiler_iosacl.cpp (RoutingCompiler_iosacl::compile):
Added support for generation of "ip route" commands for Cisco IOS.
Variant of Cisco IOS "ip route" command where gateway is the name
of one of the interfaces of the router is also supported. To get
this, put interface object in the "gateway" column of the routing
rule.

* pix.xml.in, RuleSetView.cpp: Routing ruleset view shows column
"interface" only for platforms that require it. Currently IOS does
not require it, while other platforms for which routing commands
generation is supported require it (iptables and PIX).
2009-01-02 08:26:24 +00:00
Vadim Kurland
78a73c0e58 support for custom service in ios acl compiler 2008-12-28 22:58:55 +00:00
Vadim Kurland
5ef36c5a52 2008-12-25 vadim <vadim@vk.crocodile.org>
* All policy compilers: using FWObjectDatabase::createClass
methods to create rules and other objects in compilers wherever
the type is known at the (code) compile time. This makes code
cleaner and speeds it up a little because of eliminated cast() and
string comparison.

* changes in libfbuilder: eliminated excessive use of dynamic_cast
and long chains of "if" comparing object type names in
FWObjectDatabase in methods that create new objects of given type.
2008-12-25 20:38:53 +00:00
Vadim Kurland
149c16f0f9 bug 2154906 2008-10-10 15:41:38 +00:00
Vadim Kurland
2c115fa00b bug 2078107 ] IOS ACL compiler issue 2008-08-27 15:23:46 +00:00
Vadim Kurland
75d30ae964 added -xt option to fwb_iosacl 2008-07-07 04:36:10 +00:00
Vadim Kurland
6766d917b9 support for tos and dscp matching in ios access lists 2008-07-06 02:35:45 +00:00
Vadim Kurland
07be919f07 checking for unsupported UserService objects in compilers for ipf, iosacl and pix 2008-06-07 03:44:57 +00:00
Vadim Kurland
2e2135bcbf updated test cases; testing xslt transformations that add TagService objects 2008-06-04 22:46:06 +00:00
Vadim Kurland
c5f9a8f99b compilers for iosacl and pix use getAddressPtr 2008-05-20 00:02:10 +00:00
Vadim Kurland
41d6790592 compiler for ipfw works with getAddressPtr 2008-05-19 23:06:34 +00:00
Vadim Kurland
c52a266bb0 merging -r102:HEAD from branch rule-element-action 2008-05-03 03:46:18 +00:00
Vadim Kurland
f5cebe98e2 merge -r62:HEAD from branch inet-addr-changes 2008-04-26 19:13:45 +00:00
Vadim Kurland
3dc8099fc3 merging cisco and pix modules 2008-03-19 03:43:11 +00:00