Home
last modified time | relevance | path

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

12345678910>>...15

/freebsd/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 Di81 pass in inet proto icmp from 127.0.0.1/32 to 127.0.0.1/32 icmp-type timest
2 block in inet proto icmp from any to any icmp-type unreach code 1
3 pass in inet proto icmp from any to any icmp-type unreach code 15
4 pass in inet proto icmp from any to any icmp-type unreach code 13
5 pass in inet proto icmp from any to any icmp-type unreach code 8
6 pass in inet proto icmp from any to any icmp-type unreach code 4
7 pass in inet proto icmp from any to any icmp-type unreach code 9
8 pass in inet proto icmp from any to any icmp-type unreach code 11
9 pass in inet proto icmp from any to any icmp-type unreach code 14
10 pass in inet proto icmp from any to any icmp-type unreach code 10
[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
/freebsd/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
17 block drop in inet proto tcp from 10.0.0.0/8 port = ssh to 192.168.0.0/16 port 6669:65535
18 block drop in inet proto tcp from 10.0.0.0/8 port = ftp to 192.168.0.0/16 port = ircd
19 block drop in inet proto tcp from 10.0.0.0/8 port = ftp to 192.168.0.0/16 port = 6668
20 block drop in inet proto tcp from 10.0.0.0/8 port = ftp to 192.168.0.0/16 port 6669:65535
[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
2 pass in on lo1000001 inet proto tcp from 10.0.0.1 port = ssh to 10.0.0.2 flags S/SA keep state
3 pass in on lo1000001 inet proto udp from 10.0.0.5 to 10.0.0.4 port = domain 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
10 pass in on lo1000001 inet proto udp from 10.0.0.2 port = domain to 10.0.0.2 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 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…
18 pass in log quick on lo0 inet proto tcp all user = 0 group = 65534 flags S/SA tos 0x08 set ( prio 2…
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…
[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 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 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
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
/freebsd/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
356 ${SYSCTL} net.inet.icmp.bmcastecho=1 > /dev/null
358 ${SYSCTL} net.inet.icmp.bmcastecho=0 > /dev/null
372 ropts_init inet
374 ${SYSCTL} net.inet.icmp.drop_redirect=1 > /dev/null
376 ${SYSCTL} net.inet.icmp.drop_redirect=0 > /dev/null
380 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/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/tests/sys/netinet/
H A Dfibs_test.sh73 setup_iface "$EPAIRA" "$FIB0" inet ${ADDR0} ${MASK0}
74 setup_iface "$EPAIRB" "$FIB1" inet ${ADDR1} ${MASK1}
116 setup_tap ${FIB0} inet ${ADDR} ${MASK}
119 setfib ${FIB0} netstat -rn -f inet | grep -q "^${ADDR}.*UHS.*lo0"
121 setfib ${FIB0} netstat -rn -f inet
124 setfib 0 netstat -rn -f inet | grep -q "^${ADDR}.*UHS.*lo0"
126 setfib 0 netstat -rn -f inet
131 setfib ${FIB0} netstat -rn -f inet | \
134 setfib ${FIB0} netstat -rn -f inet
137 setfib 0 netstat -rn -f inet | \
[all …]
H A Dforward.sh53 ifconfig ${epair}a inet ${ip4a}/${plen}
58 jexec ${jname} ifconfig ${epair}b inet ${ip4b}/${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}
115 jexec ${jname} ifconfig ${epair}b inet ${ip4b}/${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}
174 jexec ${jname} ifconfig ${epair}b inet ${ip4b}/${plen}
[all …]
H A Doutput.sh61 jexec ${jname}a ifconfig ${epair}a inet ${ip_src}/${plen}
66 jexec ${jname}b ifconfig ${epair}b inet ${ip_dst}/${plen}
131 jexec ${jname}a ifconfig ${epair}a inet ${ip_src}/${plen}
135 jexec ${jname}b ifconfig ${epair}b inet ${ip_dst}/${plen}
198 jexec ${jname}a ifconfig ${epair}a inet ${ip_src}/${plen}
203 jexec ${jname}b ifconfig ${epair}b inet ${ip_dst}/${plen}
271 jexec ${jname}a ifconfig ${epair0}a inet 203.0.113.1/30
273 jexec ${jname}a ifconfig ${epair1}a inet 203.0.113.5/30
278 jexec ${jname}b ifconfig ${epair0}b inet 203.0.113.2/30
280 jexec ${jname}b ifconfig ${epair1}b inet 203.0.113.6/30
[all …]
/freebsd/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/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/contrib/netbsd-tests/net/icmp/
H A Dt_icmp_redirect.sh59 net.inet.icmp.redirtimeout=$REDIRECT_TIMEOUT
62 $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
[all …]
/freebsd/lib/libc/net/
H A DMakefile.inc42 inet.3 inet_net.3 \
99 MLINKS+=inet.3 addr.3 \
100 inet.3 inet_addr.3 \
101 inet.3 inet_aton.3 \
102 inet.3 inet_lnaof.3 \
103 inet.3 inet_makeaddr.3 \
104 inet.3 inet_netof.3 \
105 inet.3 inet_network.3 \
106 inet.3 inet_ntoa.3 \
107 inet.3 inet_ntoa_r.3 \
[all …]

12345678910>>...15