Home
last modified time | relevance | path

Searched refs:inet (Results 1 – 25 of 340) sorted by relevance

12345678910>>...14

/freebsd-14.2/contrib/netbsd-tests/ipf/expected/
H A Di121 pass in inet from 1.1.1.1/32 to 2.2.2.2/32
2 pass in inet from 2.2.2.0/24 to 4.4.4.4/32
3 pass in inet from 3.3.3.3/32 to 4.4.4.4/32
4 pass in inet from 2.2.2.0/24 to 5.5.5.5/32
5 pass in inet from 3.3.3.3/32 to 5.5.5.5/32
6 pass in inet from 2.2.2.0/24 to 6.6.6.6/32
7 pass in inet from 3.3.3.3/32 to 6.6.6.6/32
8 pass in inet from 2.2.2.0/24 to 5.5.5.5/32 port = 22
9 pass in inet from 3.3.3.3/32 to 5.5.5.5/32 port = 22
10 pass in inet from 2.2.2.0/24 to 6.6.6.6/32 port = 22
[all …]
H A Di82 block in inet proto icmp from any to any icmp-type unreach code 1
19 pass in inet proto icmp from any to any icmp-type echo
20 pass in inet proto icmp from any to any icmp-type echorep
21 pass in inet proto icmp from any to any icmp-type inforeq
22 pass in inet proto icmp from any to any icmp-type inforep
23 pass in inet proto icmp from any to any icmp-type maskrep
26 pass in inet proto icmp from any to any icmp-type redir
31 pass in inet proto icmp from any to any icmp-type timest
33 pass in inet proto icmp from any to any icmp-type timex
34 pass in inet proto icmp from any to any icmp-type 254
[all …]
H A Di32 pass in inet from 128.16.0.0/16 to 129.10.10.0/24
3 pass in inet from 128.0.0.0/24 to 128.0.0.0/16
4 pass in inet from 128.0.0.0/24 to 128.0.0.0/16
5 pass in inet from 128.0.0.0/24 to 128.0.0.0/16
6 pass in inet from 128.0.0.0/24 to 128.0.0.0/16
7 pass in inet from 128.0.0.0/24 to 128.0.0.0/16
8 pass in inet from 127.0.0.1/32 to 127.0.0.1/32
9 block in log inet from any to any
H A Di1712 0 pass in inet from 1.1.1.1/32 to any
14 0 pass in inet from 3.3.3.3/32 to any
15 0 pass in inet from any to 127.0.0.1/32
16 0 pass in inet from 127.0.0.1/32 to any
17 0 100 pass in inet from 127.0.0.1/32 to any
20 0 110 pass in inet from 2.2.2.2/32 to any
21 0 110 pass in inet from 127.0.0.1/32 to any
/freebsd-14.2/sbin/pfctl/tests/files/
H A Dpf0004.ok6 block drop in inet from 10.0.0.0/8 to any
7 block drop in inet from ! 10.0.0.0/8 to any
8 block drop in inet from 10.0.0.0/8 to any
9 block drop in inet from 172.16.0.0/12 to any
15 block drop in inet proto tcp from 10.0.0.0/8 port = ssh to 192.168.0.0/16 port = ircd
16 block drop in inet proto tcp from 10.0.0.0/8 port = ssh to 192.168.0.0/16 port = 6668
18 block drop in inet proto tcp from 10.0.0.0/8 port = ssh to 12.34.56.78 port = ircd
19 block drop in inet proto tcp from 10.0.0.0/8 port = ssh to 12.34.56.78 port = 6668
21 block drop in inet proto tcp from 10.0.0.0/8 port = ftp to 192.168.0.0/16 port = ircd
24 block drop in inet proto tcp from 10.0.0.0/8 port = ftp to 12.34.56.78 port = ircd
[all …]
H A Dpf0087.ok1 pass in on lo1000000 inet proto tcp from any to 10.0.0.2 port = ssh flags S/SA keep state
4 pass in on lo1000000 inet proto udp from any to 10.0.0.2 port = domain keep state
5 pass in inet proto tcp from any to 10.0.0.1 port = http flags S/SA keep state
6 pass out on lo1000001 inet proto udp from any to 10.0.0.2 port = domain keep state
7 pass in inet proto tcp from any to 10.0.0.3 port = http flags S/SA keep state
8 pass out inet proto tcp from any to 10.0.0.1 port = 81 flags S/SA keep state
9 pass in inet proto udp from any to 10.0.0.3 port = domain keep state
11 pass out inet proto udp from any to 10.0.0.1 port = domain keep state
13 pass out inet proto udp from any to 10.0.0.3 port = domain keep state
20 pass in inet proto udp from any to 10.0.0.1 port = domain keep state
[all …]
H A Dpf0088.ok1 pass in on lo1000000 inet from any to 10.0.0.1 flags S/SA keep state
2 pass in on lo1000000 inet from any to 10.0.0.1 flags S/SA keep state
7 pass on lo1000001 inet from any to 10.0.0.1 flags S/SA keep state
8 pass on lo1000000 inet from any to 10.0.0.1 flags S/SA keep state
9 pass inet from any to 10.0.0.2 flags S/SA modulate state
10 pass inet from any to 10.0.0.2 flags S/SA keep state
11 block drop inet from 10.0.0.3 to 10.0.0.2
12 pass inet from any to 10.0.0.2 flags S/SA modulate state
13 block drop inet from 10.0.0.3 to 10.0.0.2
14 pass inet from any to 10.0.0.2 flags S/SA synproxy state
[all …]
H A Dpf0010.in2 pass in inet proto icmp all
4 block in inet proto icmp all
6 block return-rst in inet proto tcp all
8 block return-rst(ttl 10) in inet proto tcp all
10 block return-icmp in inet proto icmp all
11 block return-icmp(0) in inet proto icmp all
12 block return-icmp(net-unr) in inet proto icmp all
13 block return-icmp(5) in inet proto icmp all
14 block return-icmp(srcfail) in inet proto icmp all
15 block return-icmp(10) in inet proto icmp all
[all …]
H A Dpf0010.ok1 pass in inet proto icmp all keep state
3 block drop in inet proto icmp all
5 block return-rst in inet proto tcp all
7 block return-rst(ttl 10) in inet proto tcp all
9 block return-icmp(port-unr) in inet proto icmp all
10 block return-icmp(net-unr) in inet proto icmp all
11 block return-icmp(net-unr) in inet proto icmp all
12 block return-icmp(srcfail) in inet proto icmp all
13 block return-icmp(srcfail) in inet proto icmp all
14 block return-icmp(host-prohib) in inet proto icmp all
[all …]
H A Dpf0005.ok4 block drop in inet proto udp from 10.0.0.0/8 port = echo to 12.34.56.78 port = 6667
5 block drop in inet proto udp from 10.0.0.0/8 port = echo to 12.34.56.78 port = 16
6 block drop in inet proto udp from 10.0.0.0/8 port = ssh to 12.34.56.78 port = 6667
7 block drop in inet proto udp from 10.0.0.0/8 port = ssh to 12.34.56.78 port = 16
8 block drop in inet proto udp from 10.0.0.0/8 port = ftp to 12.34.56.78 port = 6667
9 block drop in inet proto udp from 10.0.0.0/8 port = ftp to 12.34.56.78 port = 16
10 block drop in inet proto udp from 10.0.0.0/8 port = auth to 12.34.56.78 port = 6667
11 block drop in inet proto udp from 10.0.0.0/8 port = auth to 12.34.56.78 port = 16
H A Dpf0039.ok1 body1 = "pass in log quick on lo0 inet proto icmp all "
2 body2 = "pass in log quick on lo0 inet proto tcp all "
15 pass in log quick on lo0 inet proto tcp all tos 0x08 keep state fragment label "blah"
16 pass in log quick on lo0 inet proto tcp all user = 3 group = 65534 flags S/SA tos 0x08 set ( prio 2…
17 pass in log quick on lo0 inet proto tcp all user = 3 group = 0 flags S/SA tos 0x08 set ( prio 2 ) k…
19 pass in log quick on lo0 inet proto tcp all user = 0 group = 0 flags S/SA tos 0x08 set ( prio 2 ) k…
20 pass in log quick on lo0 inet proto icmp all icmp-type echorep code 0 set ( prio 2 ) keep state lab…
21 pass in log quick on lo0 inet proto tcp all flags S/SA keep state
22 pass in log quick on lo0 inet proto tcp all flags S/SA tos 0x08 set ( prio 2 ) keep state label "bl…
23 pass in log quick on lo0 inet proto icmp all icmp-type echorep code 0 tos 0x08 keep state
[all …]
H A Dpf0011.in1 pass in inet proto icmp all icmp-type 0
2 pass in inet proto icmp all icmp-type 0 code 0
3 pass in inet proto icmp all icmp-type 1
4 pass in inet proto icmp all icmp-type 1 code 1
9 block in inet proto icmp all icmp-type 0
10 block in inet proto icmp all icmp-type 0 code 0
11 block in inet proto icmp all icmp-type 1
12 block in inet proto icmp all icmp-type 1 code 1
17 pass in inet proto icmp all icmp-type unreach code needfrag
H A Dpf0060.ok1 pass inet from 224.4.5.4 to any flags S/SA keep state
2 pass inet from 224.4.0.0/16 to any flags S/SA keep state
3 pass inet from 224.4.5.0/26 to any flags S/SA keep state
4 pass inet from 224.4.5.64/26 to any flags S/SA keep state
5 pass inet from 224.4.5.128/26 to any flags S/SA keep state
6 pass inet from 224.4.5.192/26 to any flags S/SA keep state
7 pass inet from 224.4.5.4 to any flags S/SA keep state
H A Dpf0011.ok1 pass in inet proto icmp all icmp-type echorep keep state
2 pass in inet proto icmp all icmp-type echorep code 0 keep state
3 pass in inet proto icmp all icmp-type 1 keep state
4 pass in inet proto icmp all icmp-type 1 code 1 keep state
9 block drop in inet proto icmp all icmp-type echorep
10 block drop in inet proto icmp all icmp-type echorep code 0
11 block drop in inet proto icmp all icmp-type 1
12 block drop in inet proto icmp all icmp-type 1 code 1
17 pass in inet proto icmp all icmp-type unreach code needfrag keep state
H A Dpf0085.ok1 pass inet from 127.0.0.1 to any flags S/SA keep state tag 127.0.0.1
2 pass inet from 127.0.0.2 to any flags S/SA keep state tag 127.0.0.2
3 pass inet from 127.0.0.3 to any flags S/SA keep state tag 127.0.0.3
4 pass inet from 127.0.0.1 to any flags S/SA keep state tagged 127.0.0.1
5 pass inet from 127.0.0.2 to any flags S/SA keep state tagged 127.0.0.2
6 pass inet from 127.0.0.3 to any flags S/SA keep state tagged 127.0.0.3
H A Dpf0032.ok1 pass in inet from 10.0.0.0/8 to any flags S/SA keep state
2 pass in inet from 10.0.0.0/8 to any flags S/SA keep state
3 pass in inet from 192.168.37.0/25 to any flags S/SA keep state
4 pass in inet from 192.168.37.0/24 to any flags S/SA keep state
5 pass in inet from 192.168.0.0/16 to any flags S/SA keep state
6 pass in inet from 192.0.0.0/8 to any flags S/SA keep state
/freebsd-14.2/share/examples/ipfilter/
H A Dmkfilters14 $net{$i} = $inet{$i}."/".$netmask{$i} if (defined($inet{$i}));
24 print "# route add $inet{$i} localhost 0\n";
37 if (!defined($inet{$i})) {
48 print "block out from any to $inet{$i}/32 group $grpo\n";
51 print "block in from $inet{$i}/32 to any group $grpi\n";
100 ($inet{$iface} = $_) =~ s/.*inet ([^ ]+) \-\-\> ([^ ]+).*/$1/;
101 ($ppp{$iface} = $_) =~ s/.*inet ([^ ]+) \-\-\> ([^ ]+).*/$2/;
103 ($inet{$iface} = $_) =~ s/.*inet ([^ ]+).*/$1/;
/freebsd-14.2/libexec/rc/rc.d/
H A Drouting38 for _a in inet inet6; do
67 for _a in inet inet6; do
113 ${ROUTE_CMD} -n flush -inet
354 ropts_init inet
372 ropts_init inet
380 ropts_init inet
388 ropts_init inet
390 ${SYSCTL} net.inet.ip.forwarding=1 > /dev/null
396 ropts_init inet
404 ropts_init inet
[all …]
H A Dnetoptions31 for _af in inet inet6; do
43 ${SYSCTL} net.inet.tcp.log_in_vain=${log_in_vain} >/dev/null
44 ${SYSCTL} net.inet.udp.log_in_vain=${log_in_vain} >/dev/null
47 ${SYSCTL} net.inet.tcp.log_in_vain=0 >/dev/null
48 ${SYSCTL} net.inet.udp.log_in_vain=0 >/dev/null
53 ${SYSCTL} net.inet.tcp.rfc1323=1 >/dev/null
57 ${SYSCTL} net.inet.tcp.rfc1323=0 >/dev/null
61 ${SYSCTL} net.inet.tcp.always_keepalive=1 >/dev/null
65 ${SYSCTL} net.inet.tcp.always_keepalive=0 >/dev/null
71 ${SYSCTL} net.inet.tcp.drop_synfin=1 >/dev/null
[all …]
/freebsd-14.2/share/examples/netgraph/
H A Dudp.tunnel26 ifconfig ng0 inet down delete >/dev/null 2>&1
29 ngctl mkpeer iface dummy inet
35 ngctl mkpeer ng0: ksocket inet inet/dgram/udp
39 ngctl msg ng0:inet bind inet/${LOC_EXTERIOR_IP}:${UDP_TUNNEL_PORT}
43 ngctl msg ng0:inet connect inet/${REM_EXTERIOR_IP}:${UDP_TUNNEL_PORT}
/freebsd-14.2/contrib/netbsd-tests/net/route/
H A Dt_flags.sh48 $DEBUG && rump.netstat -rn -f inet
63 $DEBUG && rump.netstat -rn -f inet
86 $DEBUG && rump.netstat -rn -f inet
116 $DEBUG && rump.netstat -rn -f inet
129 $DEBUG && rump.netstat -rn -f inet
136 $DEBUG && rump.netstat -rn -f inet
155 $DEBUG && rump.netstat -rn -f inet
162 $DEBUG && rump.netstat -rn -f inet
177 $DEBUG && rump.netstat -rn -f inet
184 $DEBUG && rump.netstat -rn -f inet
[all …]
/freebsd-14.2/tests/sys/netinet/
H A Dfibs_test.sh126 setfib ${FIB0} netstat -rn -f inet
131 setfib 0 netstat -rn -f inet
139 setfib ${FIB0} netstat -rn -f inet
142 setfib 0 netstat -rn -f inet | \
145 setfib 0 netstat -rn -f inet
251 setfib ${FIB0} netstat -rn -f inet
253 setfib ${FIB1} netstat -rn -f inet
330 setup_tap 0 inet ${ADDR} ${MASK0}
332 setup_tap 0 inet ${ADDR} ${MASK1}
337 setup_tap 0 inet ${ADDR} ${MASK0}
[all …]
H A Dforward.sh53 ifconfig ${epair}a inet ${ip4a}/${plen}
66 jexec ${jname} sysctl net.inet.ip.forwarding=1
68 jexec ${jname} sysctl net.inet.ip.redirect=0
110 ifconfig ${epair}a inet ${ip4a}/${plen}
123 jexec ${jname} sysctl net.inet.ip.forwarding=1
125 jexec ${jname} sysctl net.inet.ip.redirect=0
169 ifconfig ${epair}a inet ${ip4a}/${plen}
182 jexec ${jname} sysctl net.inet.ip.forwarding=1
184 jexec ${jname} sysctl net.inet.ip.redirect=0
224 ifconfig ${epair}a inet ${ip4a}/${plen}
[all …]
/freebsd-14.2/contrib/netbsd-tests/net/icmp/
H A Dt_icmp_redirect.sh62 $DEBUG && rump.netstat -rn -f inet
76 $DEBUG && rump.netstat -rn -f inet
99 $DEBUG && rump.netstat -rn -f inet
135 $DEBUG && rump.netstat -rn -f inet
147 $DEBUG && rump.netstat -rn -f inet
171 net.inet.ip.redirect=1
177 net.inet.ip.redirect=0
221 $DEBUG && rump.netstat -rn -f inet
238 $DEBUG && rump.netstat -rn -f inet
245 $DEBUG && rump.netstat -rn -f inet
[all …]
/freebsd-14.2/lib/libc/net/
H A DMakefile.inc44 inet.3 inet_net.3 \
78 MLINKS+=inet.3 addr.3 inet.3 inet_addr.3 inet.3 inet_aton.3 \
79 inet.3 inet_lnaof.3 inet.3 inet_makeaddr.3 inet.3 inet_netof.3 \
80 inet.3 inet_network.3 inet.3 inet_ntoa.3 inet.3 inet_ntoa_r.3\
81 inet.3 inet_ntop.3 inet.3 inet_pton.3 \
82 inet.3 network.3 inet.3 ntoa.3

12345678910>>...14