[test suite] add spa_fuzzing.py and a few minor helper files for FreeBSD/OpenBSD
This commit is contained in:
parent
3826bb5631
commit
7a98eed759
@ -321,6 +321,7 @@ EXTRA_DIST = \
|
||||
test/fko-wrapper/fko_basic.c \
|
||||
test/fko-wrapper/run.sh \
|
||||
test/fko-wrapper/run_valgrind.sh \
|
||||
test/spa_fuzzing.py \
|
||||
test/fuzzing/patches/enable_perl_fko_bogus_packets.patch \
|
||||
test/fuzzing/patches/encoding_append_b64_modified_byte_eq.patch \
|
||||
test/fuzzing/patches/encoding_append_b64_modified_byte.patch \
|
||||
@ -341,6 +342,9 @@ EXTRA_DIST = \
|
||||
test/fuzzing/patches/invalid_long_proto_define_rijndael_trigger.patch \
|
||||
test/fuzzing/patches/long_ip.patch \
|
||||
test/fuzzing/patches/non_b64_user_char.patch \
|
||||
test/misc/freebsd_rc.conf \
|
||||
test/misc/pf.rules \
|
||||
test/misc/pf.sh \
|
||||
test/tests/build_security.pl \
|
||||
test/tests/preliminaries.pl \
|
||||
test/tests/code_structure.pl \
|
||||
|
||||
12
test/misc/freebsd_rc.conf
Normal file
12
test/misc/freebsd_rc.conf
Normal file
@ -0,0 +1,12 @@
|
||||
hostname="freebsd10"
|
||||
ifconfig_em0="DHCP"
|
||||
sshd_enable="YES"
|
||||
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
|
||||
dumpdev="AUTO"
|
||||
|
||||
#pf_rules="/etc/pf.conf"
|
||||
#pf_enable="YES"
|
||||
#pf_flags=""
|
||||
|
||||
firewall_enable="YES"
|
||||
firewall_type="open"
|
||||
6
test/misc/pf.rules
Normal file
6
test/misc/pf.rules
Normal file
@ -0,0 +1,6 @@
|
||||
anchor "fwknop" all
|
||||
pass in quick proto tcp from any to any port = ssh flags S/SA keep state
|
||||
block drop in quick on ! lo0 proto tcp from any to any port = 1337
|
||||
pass all flags S/SA keep state
|
||||
block drop in log on ! lo0 proto tcp from any to any port 1100:1500
|
||||
block drop in log on ! lo0 proto tcp from any to any port 6000:6010
|
||||
3
test/misc/pf.sh
Executable file
3
test/misc/pf.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
pfctl -f pf.rules
|
||||
Loading…
x
Reference in New Issue
Block a user