1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-05-01 14:47:27 +02:00

re-ran tests

This commit is contained in:
Vadim Kurland 2011-02-03 09:55:19 -08:00
parent 3d88c4ce46
commit 129db6881c
14 changed files with 77 additions and 60 deletions

17
test/ipf/Makefile Normal file
View File

@ -0,0 +1,17 @@
FW_OBJECTS := $(shell fwbedit list -f objects-for-regression-tests.fwb -o /User/Firewalls -c -F%name% | sort)
# CL_OBJECTS := $(shell fwbedit list -f cluster-tests.fwb -o /User/Clusters -c -F%name% | sort)
$(FW_OBJECTS):
fwb_ipf -f objects-for-regression-tests.fwb -xt $@
$(CL_OBJECTS):
fwb_ipf -f cluster-tests.fwb -xt -xc $@
.PHONY: all firewalls clusters $(FW_OBJECTS) $(CL_OBJECTS)
all: firewalls clusters
firewalls: $(FW_OBJECTS)
clusters: $(CL_OBJECTS)

View File

@ -2,9 +2,9 @@
#
# This is automatically generated file. DO NOT MODIFY !
#
# Firewall Builder fwb_ipf v4.2.0.3426
# Firewall Builder fwb_ipf v4.2.0.3457
#
# Generated Mon Jan 10 16:30:51 2011 PST by vadim
# Generated Thu Feb 3 09:54:19 2011 PST by vadim
#
# files: * firewall.fw ipf.fw
# files: firewall-ipf.conf ipf.conf
@ -169,7 +169,7 @@ configure_interfaces() {
update_addresses_of_interface "lo 127.0.0.1/0xff000000" ""
}
log "Activating firewall script generated Mon Jan 10 16:30:51 2011 by vadim"
log "Activating firewall script generated Thu Feb 3 09:54:19 2011 by vadim"
set_kernel_vars
configure_interfaces
@ -178,8 +178,8 @@ prolog_commands
$IPF -Fa
$IPNAT -C
$IPF -I -f ${FWDIR}/ipf.conf
$IPNAT -f ${FWDIR}/nat.conf
$IPF -I -f /etc/fw/ipf.conf
$IPNAT -f /etc/fw/nat.conf
$IPF -s

View File

@ -2,9 +2,9 @@
#
# This is automatically generated file. DO NOT MODIFY !
#
# Firewall Builder fwb_ipf v4.2.0.3426
# Firewall Builder fwb_ipf v4.2.0.3457
#
# Generated Mon Jan 10 16:30:52 2011 PST by vadim
# Generated Thu Feb 3 09:54:19 2011 PST by vadim
#
# files: * firewall1.fw /etc/ipf.fw
# files: firewall1-ipf.conf /etc/fw/ipf.conf
@ -83,7 +83,7 @@ configure_interfaces() {
}
log "Activating firewall script generated Mon Jan 10 16:30:52 2011 by vadim"
log "Activating firewall script generated Thu Feb 3 09:54:19 2011 by vadim"
set_kernel_vars
configure_interfaces

View File

@ -2,9 +2,9 @@
#
# This is automatically generated file. DO NOT MODIFY !
#
# Firewall Builder fwb_ipf v4.2.0.3426
# Firewall Builder fwb_ipf v4.2.0.3457
#
# Generated Mon Jan 10 16:30:52 2011 PST by vadim
# Generated Thu Feb 3 09:54:20 2011 PST by vadim
#
# files: * firewall10.fw
# files: firewall10-ipf.conf
@ -75,7 +75,7 @@ configure_interfaces() {
}
log "Activating firewall script generated Mon Jan 10 16:30:52 2011 by vadim"
log "Activating firewall script generated Thu Feb 3 09:54:20 2011 by vadim"
set_kernel_vars
configure_interfaces
@ -84,7 +84,7 @@ prolog_commands
$IPF -Fa
$IPNAT -C
$IPF -I -f ${FWDIR}/firewall10-ipf.conf
$IPF -I -f /etc/firewall10-ipf.conf
$IPF -s

View File

@ -2,9 +2,9 @@
#
# This is automatically generated file. DO NOT MODIFY !
#
# Firewall Builder fwb_ipf v4.2.0.3426
# Firewall Builder fwb_ipf v4.2.0.3457
#
# Generated Mon Jan 10 16:30:52 2011 PST by vadim
# Generated Thu Feb 3 09:54:20 2011 PST by vadim
#
# files: * firewall11.fw
# files: firewall11-ipf.conf
@ -161,7 +161,7 @@ configure_interfaces() {
update_addresses_of_interface "lo0 127.0.0.1/0xff000000" ""
}
log "Activating firewall script generated Mon Jan 10 16:30:52 2011 by vadim"
log "Activating firewall script generated Thu Feb 3 09:54:20 2011 by vadim"
set_kernel_vars
configure_interfaces
@ -170,8 +170,8 @@ prolog_commands
$IPF -Fa
$IPNAT -C
$IPF -I -f ${FWDIR}/firewall11-ipf.conf
$IPNAT -f ${FWDIR}/firewall11-nat.conf
$IPF -I -f /etc/firewall11-ipf.conf
$IPNAT -f /etc/firewall11-nat.conf
$IPF -s

View File

@ -2,9 +2,9 @@
#
# This is automatically generated file. DO NOT MODIFY !
#
# Firewall Builder fwb_ipf v4.2.0.3426
# Firewall Builder fwb_ipf v4.2.0.3457
#
# Generated Mon Jan 10 16:30:53 2011 PST by vadim
# Generated Thu Feb 3 09:54:21 2011 PST by vadim
#
# files: * firewall2.fw
# files: firewall2-ipf.conf
@ -79,7 +79,7 @@ configure_interfaces() {
}
log "Activating firewall script generated Mon Jan 10 16:30:53 2011 by vadim"
log "Activating firewall script generated Thu Feb 3 09:54:21 2011 by vadim"
set_kernel_vars
configure_interfaces
@ -88,8 +88,8 @@ prolog_commands
$IPF -Fa
$IPNAT -C
$IPF -I -f ${FWDIR}/firewall2-ipf.conf
$IPNAT -f ${FWDIR}/firewall2-nat.conf
$IPF -I -f /etc/fw/firewall2-ipf.conf
$IPNAT -f /etc/fw/firewall2-nat.conf
$IPF -s

View File

@ -2,9 +2,9 @@
#
# This is automatically generated file. DO NOT MODIFY !
#
# Firewall Builder fwb_ipf v4.2.0.3426
# Firewall Builder fwb_ipf v4.2.0.3457
#
# Generated Mon Jan 10 16:30:54 2011 PST by vadim
# Generated Thu Feb 3 09:54:21 2011 PST by vadim
#
# files: * firewall34.fw
# files: firewall34-ipf.conf
@ -162,7 +162,7 @@ configure_interfaces() {
update_addresses_of_interface "lo 127.0.0.1/0xff000000" ""
}
log "Activating firewall script generated Mon Jan 10 16:30:54 2011 by vadim"
log "Activating firewall script generated Thu Feb 3 09:54:21 2011 by vadim"
set_kernel_vars
configure_interfaces
@ -171,8 +171,8 @@ prolog_commands
$IPF -Fa
$IPNAT -C
$IPF -I -f ${FWDIR}/firewall34-ipf.conf
$IPNAT -f ${FWDIR}/firewall34-nat.conf
$IPF -I -f /etc/fw/firewall34-ipf.conf
$IPNAT -f /etc/fw/firewall34-nat.conf
$IPF -s

View File

@ -2,9 +2,9 @@
#
# This is automatically generated file. DO NOT MODIFY !
#
# Firewall Builder fwb_ipf v4.2.0.3426
# Firewall Builder fwb_ipf v4.2.0.3457
#
# Generated Mon Jan 10 16:30:54 2011 PST by vadim
# Generated Thu Feb 3 09:54:21 2011 PST by vadim
#
# files: * firewall35.fw
# files: firewall35-ipf.conf
@ -77,7 +77,7 @@ configure_interfaces() {
}
log "Activating firewall script generated Mon Jan 10 16:30:54 2011 by vadim"
log "Activating firewall script generated Thu Feb 3 09:54:21 2011 by vadim"
set_kernel_vars
configure_interfaces
@ -86,8 +86,8 @@ prolog_commands
$IPF -Fa
$IPNAT -C
$IPF -I -f ${FWDIR}/firewall35-ipf.conf
$IPNAT -f ${FWDIR}/firewall35-nat.conf
$IPF -I -f /etc/firewall35-ipf.conf
$IPNAT -f /etc/firewall35-nat.conf
$IPF -s

View File

@ -2,9 +2,9 @@
#
# This is automatically generated file. DO NOT MODIFY !
#
# Firewall Builder fwb_ipf v4.2.0.3426
# Firewall Builder fwb_ipf v4.2.0.3457
#
# Generated Mon Jan 10 16:30:54 2011 PST by vadim
# Generated Thu Feb 3 09:54:21 2011 PST by vadim
#
# files: * firewall4.fw
# files: firewall4-ipf.conf
@ -80,7 +80,7 @@ configure_interfaces() {
}
log "Activating firewall script generated Mon Jan 10 16:30:54 2011 by vadim"
log "Activating firewall script generated Thu Feb 3 09:54:21 2011 by vadim"
set_kernel_vars
configure_interfaces
@ -89,8 +89,8 @@ prolog_commands
$IPF -Fa
$IPNAT -C
$IPF -I -f ${FWDIR}/firewall4-ipf.conf
$IPNAT -f ${FWDIR}/firewall4-nat.conf
$IPF -I -f /etc/fw/firewall4-ipf.conf
$IPNAT -f /etc/fw/firewall4-nat.conf
$IPF -s

View File

@ -2,9 +2,9 @@
#
# This is automatically generated file. DO NOT MODIFY !
#
# Firewall Builder fwb_ipf v4.2.0.3426
# Firewall Builder fwb_ipf v4.2.0.3457
#
# Generated Mon Jan 10 16:30:55 2011 PST by vadim
# Generated Thu Feb 3 09:54:21 2011 PST by vadim
#
# files: * firewall5.fw
# files: firewall5-ipf.conf
@ -92,7 +92,7 @@ configure_interfaces() {
}
log "Activating firewall script generated Mon Jan 10 16:30:55 2011 by vadim"
log "Activating firewall script generated Thu Feb 3 09:54:21 2011 by vadim"
set_kernel_vars
configure_interfaces
@ -101,8 +101,8 @@ prolog_commands
$IPF -Fa
$IPNAT -C
cat ${FWDIR}/firewall5-ipf.conf | grep -v '#' | sed "s/ (ppp0) / $i_ppp0 /" | $IPF -I -f -
cat ${FWDIR}/firewall5-nat.conf | grep -v '#' | sed "s/ (ppp0) / $i_ppp0 /" | $IPNAT -f -
cat /etc/firewall5-ipf.conf | grep -v '#' | sed "s/ (ppp0) / $i_ppp0 /" | $IPF -I -f -
cat /etc/firewall5-nat.conf | grep -v '#' | sed "s/ (ppp0) / $i_ppp0 /" | $IPNAT -f -
$IPF -s

View File

@ -2,9 +2,9 @@
#
# This is automatically generated file. DO NOT MODIFY !
#
# Firewall Builder fwb_ipf v4.2.0.3426
# Firewall Builder fwb_ipf v4.2.0.3457
#
# Generated Mon Jan 10 16:30:55 2011 PST by vadim
# Generated Thu Feb 3 09:54:22 2011 PST by vadim
#
# files: * firewall7.fw
# files: firewall7-ipf.conf
@ -76,7 +76,7 @@ configure_interfaces() {
}
log "Activating firewall script generated Mon Jan 10 16:30:55 2011 by vadim"
log "Activating firewall script generated Thu Feb 3 09:54:22 2011 by vadim"
set_kernel_vars
configure_interfaces
@ -85,7 +85,7 @@ prolog_commands
$IPF -Fa
$IPNAT -C
$IPF -I -f ${FWDIR}/firewall7-ipf.conf
$IPF -I -f /etc/fw/firewall7-ipf.conf
$IPF -s

View File

@ -2,9 +2,9 @@
#
# This is automatically generated file. DO NOT MODIFY !
#
# Firewall Builder fwb_ipf v4.2.0.3426
# Firewall Builder fwb_ipf v4.2.0.3457
#
# Generated Mon Jan 10 16:30:55 2011 PST by vadim
# Generated Thu Feb 3 09:54:22 2011 PST by vadim
#
# files: * firewall8.fw
# files: firewall8-ipf.conf
@ -76,7 +76,7 @@ configure_interfaces() {
}
log "Activating firewall script generated Mon Jan 10 16:30:55 2011 by vadim"
log "Activating firewall script generated Thu Feb 3 09:54:22 2011 by vadim"
set_kernel_vars
configure_interfaces
@ -85,8 +85,8 @@ prolog_commands
$IPF -Fa
$IPNAT -C
$IPF -I -f ${FWDIR}/firewall8-ipf.conf
$IPNAT -f ${FWDIR}/firewall8-nat.conf
$IPF -I -f /etc/firewall8-ipf.conf
$IPNAT -f /etc/firewall8-nat.conf
$IPF -s

View File

@ -2,9 +2,9 @@
#
# This is automatically generated file. DO NOT MODIFY !
#
# Firewall Builder fwb_ipf v4.2.0.3426
# Firewall Builder fwb_ipf v4.2.0.3457
#
# Generated Mon Jan 10 16:30:56 2011 PST by vadim
# Generated Thu Feb 3 09:54:22 2011 PST by vadim
#
# files: * firewall9.fw
# files: firewall9-ipf.conf
@ -76,7 +76,7 @@ configure_interfaces() {
}
log "Activating firewall script generated Mon Jan 10 16:30:56 2011 by vadim"
log "Activating firewall script generated Thu Feb 3 09:54:22 2011 by vadim"
set_kernel_vars
configure_interfaces
@ -85,8 +85,8 @@ prolog_commands
$IPF -Fa
$IPNAT -C
$IPF -I -f ${FWDIR}/firewall9-ipf.conf
$IPNAT -f ${FWDIR}/firewall9-nat.conf
$IPF -I -f /etc/firewall9-ipf.conf
$IPNAT -f /etc/firewall9-nat.conf
$IPF -s

View File

@ -2,9 +2,9 @@
#
# This is automatically generated file. DO NOT MODIFY !
#
# Firewall Builder fwb_ipf v4.2.0.3426
# Firewall Builder fwb_ipf v4.2.0.3457
#
# Generated Mon Jan 10 16:30:56 2011 PST by vadim
# Generated Thu Feb 3 09:54:22 2011 PST by vadim
#
# files: * host.fw
# files: host-ipf.conf
@ -78,7 +78,7 @@ configure_interfaces() {
}
log "Activating firewall script generated Mon Jan 10 16:30:56 2011 by vadim"
log "Activating firewall script generated Thu Feb 3 09:54:22 2011 by vadim"
set_kernel_vars
configure_interfaces
@ -87,7 +87,7 @@ prolog_commands
$IPF -Fa
$IPNAT -C
$IPF -I -f ${FWDIR}/host-ipf.conf
$IPF -I -f /etc/fw/host-ipf.conf
$IPF -s