Home
last modified time | relevance | path

Searched refs:ipf (Results 1 – 25 of 78) sorted by relevance

1234

/freebsd-14.2/sbin/ipf/ipsend/
H A DMakefile41 ipf: target
44 -if [ ! -d ipf ] ; then ln -s .. ipf; fi
143 ipsend: ipf $(OBJS) $(UNIXOBJS)
152 ipft_ef.o: ipf/ipft_ef.c ipf/ipt.h ipf/ipf.h ipf/ip_compat.h
155 ipft_hx.o: ipf/ipft_hx.c ipf/ipt.h ipf/ipf.h ipf/ip_compat.h
158 ipft_pc.o: ipf/ipft_pc.c ipf/ipt.h ipf/ipf.h ipf/ip_compat.h
161 ipft_sn.o: ipf/ipft_sn.c ipf/ipt.h ipf/ipf.h ipf/ip_compat.h
164 ipft_td.o: ipf/ipft_td.c ipf/ipt.h ipf/ipf.h ipf/ip_compat.h
167 ipft_tx.o: ipf/ipft_tx.c ipf/ipt.h ipf/ipf.h ipf/ip_compat.h
170 opt.o: ipf/opt.c ipf/ipt.h ipf/ipf.h ipf/ip_compat.h
[all …]
/freebsd-14.2/contrib/netbsd-tests/ipf/
H A Dt_filter_parse.sh38 ipf)
86 test_case i1 itest text ipf
87 test_case i2 itest text ipf
88 test_case i3 itest text ipf
89 test_case i4 itest text ipf
90 test_case i5 itest text ipf
91 test_case i6 itest text ipf
92 test_case i7 itest text ipf
93 test_case i8 itest text ipf
94 test_case i9 itest text ipf
[all …]
H A Dt_bpf.sh38 ipf)
39 atf_check -o file:exp -e ignore ipf -Rnvf reg
61 broken_test_case bpf1 itest text ipf
H A Dt_pools.sh49 cp $(atf_get_srcdir)/regress/$1.ipf ipf
56 atf_check -o save:out ipftest -RD -b -P pool -r ipf -i in
59 atf_check -o save:out ipftest -RD -b -r ipf -i in
H A Dt_nat_ipf_exec.sh37 cp $(atf_get_srcdir)/regress/$1.ipf ipf
64 $format -b -r ipf -N nat -i in
/freebsd-14.2/libexec/rc/rc.d/
H A Dipfs27 if ! ${ipfilter_program:-/sbin/ipf} -V | grep -q 'Running: yes' >/dev/null 2>&1; then
35 if [ -r /var/db/ipf/ipstate.ipf -a -r /var/db/ipf/ipnat.ipf ]; then
37 rm -f /var/db/ipf/ipstate.ipf /var/db/ipf/ipnat.ipf
43 if [ ! -d /var/db/ipf ]; then
44 mkdir /var/db/ipf
45 chmod 700 /var/db/ipf
46 chown root:wheel /var/db/ipf
H A Dipfilter33 if ! ${ipfilter_program:-/sbin/ipf} -V | grep -q 'Running: yes'; then
34 ${ipfilter_program:-/sbin/ipf} -E
36 ${ipfilter_program:-/sbin/ipf} -Fa
38 ${ipfilter_program:-/sbin/ipf} \
45 if ${ipfilter_program:-/sbin/ipf} -V | grep -q 'Running: yes'; then
49 ${ipfilter_program:-/sbin/ipf} -D
57 ${ipfilter_program:-/sbin/ipf} -I -Fa
59 ${ipfilter_program:-/sbin/ipf} -I \
65 ${ipfilter_program:-/sbin/ipf} -s
71 ${ipfilter_program:-/sbin/ipf} -y ${ipfilter_flags}
[all …]
/freebsd-14.2/sbin/ipf/ipf/
H A DMakefile2 PACKAGE= ipf
3 PROG= ipf
4 SRCS= ${GENHDRS} ipf.c ipfcomp.c ipf_y.c ipf_l.c bpf_filter.c
5 MAN= ipfilter.4 ipfilter.5 ipf.8 ipf.4 ipf.5 ipl.4
6 MLINKS= ipf.5 ipf.conf.5 ipf.5 ipf6.conf.5
H A Dipfcomp.c444 fripf_t *ipf; in emitGroup() local
543 ipf = fr->fr_ipf; in emitGroup()
584 if (ipf != NULL && ipf->fri_mip.fi_v != 0) in emitGroup()
588 if (ipf != NULL && ipf->fri_mip.fi_flx != 0) in emitGroup()
592 if (ipf != NULL && ipf->fri_mip.fi_p != 0) in emitGroup()
596 if (ipf != NULL && ipf->fri_mip.fi_ttl != 0) in emitGroup()
600 if (ipf != NULL && ipf->fri_mip.fi_tos != 0) in emitGroup()
604 if (ipf == NULL) in emitGroup()
611 if (ipf == NULL) in emitGroup()
621 if (ipf == NULL) in emitGroup()
[all …]
/freebsd-14.2/contrib/netbsd-tests/ipf/regress/
H A Dip13 table role = ipf type = tree number = 1
5 table role = ipf type = tree number = 100
14 table role = ipf type = hash number = 2
16 table role = ipf type = hash number = 200
25 table role = ipf type = hash number = 240 seed = 101
34 table role = ipf type = hash number = 2000 size = 1001
43 table role = ipf type = hash number = 100 size = 1001 seed = 101
52 group-map in role = ipf number = 300 group = 303
61 group-map out role = ipf number = 400 group = 303
70 group-map in role = ipf number = 500
H A Dip31 pool ipf/dstlist (name fred; policy round-robin;)
3 pool ipf/dstlist (name jack; policy weighted connection;)
5 pool ipf/dstlist (name jill; policy random;)
H A Dp3.pool1 group-map in role = ipf number = 1010
3 group-map out role = ipf number = 2010 group = 2020
/freebsd-14.2/contrib/blocklist/libexec/
H A Dblacklistd-helper20 for f in npf pf ipf; do
54 ipf)
55 /sbin/ipfstat -io | /sbin/ipf -I -f - >/dev/null 2>&1
58 /sbin/ipf -I -f - -s >/dev/null 2>&1 && echo OK
90 ipf)
91 /sbin/ipfstat -io | /sbin/ipf -I -f - >/dev/null 2>&1
94 /sbin/ipf -I -r -f - -s >/dev/null 2>&1 && echo OK
111 ipf)
112 /sbin/ipf -Z -I -Fi -s > /dev/null && echo OK
/freebsd-14.2/contrib/netbsd-tests/ipf/expected/
H A Dip11 table role=ipf type=tree number=1
3 table role=ipf type=tree number=100
11 table role=ipf type=hash number=2 size=1
13 table role=ipf type=hash number=200 size=5
21 table role=ipf type=hash number=240 size=5 seed=101
29 table role=ipf type=hash number=2000 size=1001
37 table role=ipf type=hash number=100 size=1001 seed=101
45 group-map in role=ipf number=300 size=5
53 group-map out role=ipf number=400 size=5
61 group-map in role=ipf number=500 size=5
H A Dip31 pool ipf/dstlist (name fred; policy round-robin;)
3 pool ipf/dstlist (name jack; policy weighting connection;)
5 pool ipf/dstlist (name jill; policy random;)
H A Dl12 missed 1 ipf log entries: 0 1
20 missed 1 ipf log entries: 0 1
27 missed 1 ipf log entries: 0 1
35 missed 1 ipf log entries: 0 1
38 missed 1 ipf log entries: 0 1
H A Dl1.b1 missed 1 ipf log entries: 0 1
16 missed 1 ipf log entries: 0 1
25 missed 1 ipf log entries: 0 1
32 missed 1 ipf log entries: 0 1
35 missed 1 ipf log entries: 0 1
/freebsd-14.2/sbin/ipf/ipftest/
H A DMakefile2 PACKAGE= ipf
28 CLEANFILES+= ipf.tab.c ipf.tab.h
82 ipf.tab.c ipf.tab.h: ipf_y.y
83 ${YACC} -b ipf -d ${.ALLSRC}
85 ipf_y.c: ipf.tab.c
87 ipf.tab.c > ${.TARGET}
89 ipf_y.h: ipf.tab.h
91 ipf.tab.h > ${.TARGET}
/freebsd-14.2/sbin/ipf/ipmon/
H A Dipmon.c1030 ipflog_t *ipf; in print_ipflog() local
1057 ip = (ip_t *)((char *)ipf + sizeof(*ipf)); in print_ipflog()
1058 f = ipf->fl_family; in print_ipflog()
1082 strncpy(ifname, ipf->fl_ifname, sizeof(ipf->fl_ifname)); in print_ipflog()
1093 if ((ipf->fl_group[0] == (char)~0) && (ipf->fl_group[1] == '\0')) in print_ipflog()
1134 lvl = ipf->fl_loglevel; in print_ipflog()
1326 if (ipf->fl_dir == 0) in print_ipflog()
1328 else if (ipf->fl_dir == 1) in print_ipflog()
1338 strncpy(t, ipf->fl_nattag.ipt_tag, sizeof(ipf->fl_nattag)); in print_ipflog()
1403 ipf->fl_plen + ipf->fl_hlen); in print_ipflog()
[all …]
H A Dipmon_y.y435 ipflog_t *ipf; in check_action() local
444 ipf = (ipflog_t *)(ipl +1); in check_action()
445 ip = (ip_t *)(ipf + 1); in check_action()
459 if ((ipf->fl_flags & FR_INQUE) == 0) { in check_action()
464 if ((ipf->fl_flags & FR_OUTQUE) == 0) { in check_action()
525 if (strncmp(a->ac_group, ipf->fl_group, in check_action()
552 } else if (FR_ISPASS(ipf->fl_flags)) { in check_action()
557 } else if (FR_ISBLOCK(ipf->fl_flags)) { in check_action()
571 if (a->ac_rule != ipf->fl_rule) { in check_action()
597 if (a->ac_logtag != ipf->fl_logtag) { in check_action()
[all …]
/freebsd-14.2/share/examples/ipfilter/
H A DMakefile2 PACKAGE=ipf
15 ipf.conf.permissive ipf.conf.restrictive \
16 ipf.conf.sample ipnat.conf.sample
19 FILES+= ipf-howto.txt
H A DREADME4 For information on building ipf based firewalls, read the ipf-howto.txt.
8 http://www.obfuscation.org/ipf/
10 Additional help may be found at the ipf home page:
/freebsd-14.2/sbin/ipf/
H A DMakefile.inc9 CFLAGS+= -I${SRCTOP}/sbin/ipf/common
19 LIBADD+= ipf
24 .PATH: ${SRCTOP}/sbin/ipf/libipf \
25 ${SRCTOP}/sbin/ipf/common
/freebsd-14.2/contrib/sendmail/libsm/
H A Dt-inet6_ntop.c44 char *ip, *ipf, ipv6str[INET6_ADDRSTRLEN]; in test() local
49 ipf = sm_inet6_ntop(&addr.sin6_addr, ipv6str, sizeof(ipv6str)); in test()
50 SM_TEST(ipf != NULL); in test()
51 SM_TEST(strcmp(ipf, ip) == 0); in test()
/freebsd-14.2/tests/sys/netpfil/common/
H A Dutils.subr61 elif [ ${fw} == "ipf" ]; then
62 jexec ${jname} ipf -E
63 jexec ${jname} ipf -Fa -f $cwd/ipf.rule
94 elif [ ${firewall} == "ipf" ]; then
96 atf_skip "This test requires ipf"
100 atf_skip "This test requires ipf"
138 if [ "$1" = "pf" -o "$1" = "ipfw" -o "$1" = "ipf" -o "$1" = "ipfnat" ]; then

1234