1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-22 11:17:31 +01:00

see #2347 attach temporary acl to all interfaces

This commit is contained in:
Vadim Kurland 2011-04-14 16:06:21 -07:00
parent 1223e94ebf
commit 9fd0a00218
41 changed files with 60 additions and 44 deletions

View File

@ -791,10 +791,21 @@ string PolicyCompiler_pix::printPreambleCommands()
output << endl;
output << "access-group " << temp_acl
<< " in interface outside" << endl;
output << "access-group " << temp_acl
<< " in interface inside" << endl;
// see #2347 attach temporary acl to all interfaces
list<FWObject*> all_interfaces = fw->getByTypeDeep(Interface::TYPENAME);
list<FWObject*>::iterator i;
for (i=all_interfaces.begin(); i!=all_interfaces.end(); ++i)
{
Interface *iface = Interface::cast(*i);
assert(iface);
output << "access-group "
<< temp_acl
<< " in interface "
<< iface->getLabel()
<< endl;
}
output << endl;
}

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:26 2011 PDT by vadim
! Generated Thu Apr 14 16:05:51 2011 PDT by vadim
!
! Compiled for pix 7.0
! Outbound ACLs: supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:26 2011 PDT by vadim
! Generated Thu Apr 14 16:05:51 2011 PDT by vadim
!
! Compiled for pix 7.0
! Outbound ACLs: supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:26 2011 PDT by vadim
! Generated Thu Apr 14 16:05:51 2011 PDT by vadim
!
! Compiled for pix 7.0
! Outbound ACLs: supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:26 2011 PDT by vadim
! Generated Thu Apr 14 16:05:51 2011 PDT by vadim
!
! Compiled for pix 7.0
! Outbound ACLs: supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:13 2011 PDT by vadim
! Generated Thu Apr 14 16:05:34 2011 PDT by vadim
!
! Compiled for pix 6.2
! Outbound ACLs: not supported
@ -270,6 +270,7 @@ access-list tmp_acl deny ip any any
access-group tmp_acl in interface outside
access-group tmp_acl in interface inside
access-group tmp_acl in interface dmz
clear xlate
clear static

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:13 2011 PDT by vadim
! Generated Thu Apr 14 16:05:34 2011 PDT by vadim
!
! Compiled for pix 6.1
! Outbound ACLs: not supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:13 2011 PDT by vadim
! Generated Thu Apr 14 16:05:35 2011 PDT by vadim
!
! Compiled for pix 6.3
! Outbound ACLs: not supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:13 2011 PDT by vadim
! Generated Thu Apr 14 16:05:35 2011 PDT by vadim
!
! Compiled for pix 6.2
! Outbound ACLs: not supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:14 2011 PDT by vadim
! Generated Thu Apr 14 16:05:36 2011 PDT by vadim
!
! Compiled for pix 6.3
! Outbound ACLs: not supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:14 2011 PDT by vadim
! Generated Thu Apr 14 16:05:36 2011 PDT by vadim
!
! Compiled for pix 6.3
! Outbound ACLs: not supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:15 2011 PDT by vadim
! Generated Thu Apr 14 16:05:37 2011 PDT by vadim
!
! Compiled for pix 6.3
! Outbound ACLs: not supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:15 2011 PDT by vadim
! Generated Thu Apr 14 16:05:37 2011 PDT by vadim
!
! Compiled for pix 6.3
! Outbound ACLs: not supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:15 2011 PDT by vadim
! Generated Thu Apr 14 16:05:37 2011 PDT by vadim
!
! Compiled for pix 6.3
! Outbound ACLs: not supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:16 2011 PDT by vadim
! Generated Thu Apr 14 16:05:38 2011 PDT by vadim
!
! Compiled for pix 6.3
! Outbound ACLs: not supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:15 2011 PDT by vadim
! Generated Thu Apr 14 16:05:38 2011 PDT by vadim
!
! Compiled for pix 7.0
! Outbound ACLs: supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:16 2011 PDT by vadim
! Generated Thu Apr 14 16:05:39 2011 PDT by vadim
!
! Compiled for pix 7.0
! Outbound ACLs: supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:16 2011 PDT by vadim
! Generated Thu Apr 14 16:05:39 2011 PDT by vadim
!
! Compiled for pix 6.3
! Outbound ACLs: not supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:17 2011 PDT by vadim
! Generated Thu Apr 14 16:05:40 2011 PDT by vadim
!
! Compiled for pix 6.2
! Outbound ACLs: not supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:18 2011 PDT by vadim
! Generated Thu Apr 14 16:05:40 2011 PDT by vadim
!
! Compiled for pix 6.3
! Outbound ACLs: not supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:18 2011 PDT by vadim
! Generated Thu Apr 14 16:05:40 2011 PDT by vadim
!
! Compiled for pix 6.3
! Outbound ACLs: not supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:18 2011 PDT by vadim
! Generated Thu Apr 14 16:05:41 2011 PDT by vadim
!
! Compiled for pix 6.2
! Outbound ACLs: not supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:19 2011 PDT by vadim
! Generated Thu Apr 14 16:05:41 2011 PDT by vadim
!
! Compiled for pix 7.0
! Outbound ACLs: supported
@ -122,6 +122,7 @@ access-list tmp_acl deny ip any any
access-group tmp_acl in interface outside
access-group tmp_acl in interface inside
access-group tmp_acl in interface dmz
clear xlate
clear config static

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:19 2011 PDT by vadim
! Generated Thu Apr 14 16:05:41 2011 PDT by vadim
!
! Compiled for pix 6.2
! Outbound ACLs: not supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:19 2011 PDT by vadim
! Generated Thu Apr 14 16:05:42 2011 PDT by vadim
!
! Compiled for pix 6.2
! Outbound ACLs: not supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:20 2011 PDT by vadim
! Generated Thu Apr 14 16:05:43 2011 PDT by vadim
!
! Compiled for pix 8.2
! Outbound ACLs: supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:20 2011 PDT by vadim
! Generated Thu Apr 14 16:05:43 2011 PDT by vadim
!
! Compiled for pix 8.3
! Outbound ACLs: supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:21 2011 PDT by vadim
! Generated Thu Apr 14 16:05:43 2011 PDT by vadim
!
! Compiled for pix 8.3
! Outbound ACLs: supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:21 2011 PDT by vadim
! Generated Thu Apr 14 16:05:44 2011 PDT by vadim
!
! Compiled for pix 8.3
! Outbound ACLs: supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:21 2011 PDT by vadim
! Generated Thu Apr 14 16:05:44 2011 PDT by vadim
!
! Compiled for pix 6.3
! Outbound ACLs: not supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:21 2011 PDT by vadim
! Generated Thu Apr 14 16:05:45 2011 PDT by vadim
!
! Compiled for pix 8.3
! Outbound ACLs: supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:22 2011 PDT by vadim
! Generated Thu Apr 14 16:05:45 2011 PDT by vadim
!
! Compiled for pix 8.3
! Outbound ACLs: supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:22 2011 PDT by vadim
! Generated Thu Apr 14 16:05:46 2011 PDT by vadim
!
! Compiled for pix 8.3
! Outbound ACLs: supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:23 2011 PDT by vadim
! Generated Thu Apr 14 16:05:46 2011 PDT by vadim
!
! Compiled for pix 8.3
! Outbound ACLs: supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:23 2011 PDT by vadim
! Generated Thu Apr 14 16:05:47 2011 PDT by vadim
!
! Compiled for pix 8.3
! Outbound ACLs: supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:23 2011 PDT by vadim
! Generated Thu Apr 14 16:05:48 2011 PDT by vadim
!
! Compiled for fwsm 2.3
! Outbound ACLs: supported
@ -103,6 +103,7 @@ access-list tmp_acl deny ip any any
access-group tmp_acl in interface outside
access-group tmp_acl in interface inside
access-group tmp_acl in interface dmz
clear xlate
clear static

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:24 2011 PDT by vadim
! Generated Thu Apr 14 16:05:48 2011 PDT by vadim
!
! Compiled for fwsm 4.x
! Outbound ACLs: supported
@ -119,6 +119,7 @@ access-list tmp_acl deny ip any any
access-group tmp_acl in interface outside
access-group tmp_acl in interface inside
access-group tmp_acl in interface dmz
clear xlate
clear config static

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:24 2011 PDT by vadim
! Generated Thu Apr 14 16:05:49 2011 PDT by vadim
!
! Compiled for fwsm 4.x
! Outbound ACLs: supported
@ -120,6 +120,7 @@ access-list commit
access-group tmp_acl in interface outside
access-group tmp_acl in interface inside
access-group tmp_acl in interface dmz
clear xlate
clear config static

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:25 2011 PDT by vadim
! Generated Thu Apr 14 16:05:49 2011 PDT by vadim
!
! Compiled for pix 7.0
! Outbound ACLs: supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:25 2011 PDT by vadim
! Generated Thu Apr 14 16:05:49 2011 PDT by vadim
!
! Compiled for pix 6.3
! Outbound ACLs: not supported

View File

@ -3,7 +3,7 @@
!
! Firewall Builder fwb_pix v4.2.0.3526
!
! Generated Thu Apr 14 12:07:25 2011 PDT by vadim
! Generated Thu Apr 14 16:05:50 2011 PDT by vadim
!
! Compiled for pix 6.1
! Outbound ACLs: not supported