| /freebsd-13.1/crypto/heimdal/lib/asn1/ |
| H A D | der_copy.c | 44 *to = strdup(*from); in der_copy_general_string() 53 *to = *from; in der_copy_integer() 60 *to = *from; in der_copy_unsigned() 67 *to = *from; in der_copy_generalized_time() 74 *to = *from; in der_copy_utctime() 88 to->length = from->length; in der_copy_printable_string() 107 to->length = from->length; in der_copy_bmp_string() 119 to->length = from->length; in der_copy_universal_string() 137 to->length = from->length; in der_copy_octet_string() 138 if (from->data == NULL) { in der_copy_octet_string() [all …]
|
| H A D | gen_copy.c | 44 typename, from, to); in copy_primitive() 57 t->symbol->gen_name, from, to); in copy_type() 92 from, to); in copy_type() 114 m->optional ? "" : "&", from, in copy_type() 150 from, have_ellipsis->gen_name, in copy_type() 164 to, from, to, from); in copy_type() 169 to, to, from, to); in copy_type() 197 copy_primitive ("utf8string", from, to); in copy_type() 203 copy_primitive ("ia5_string", from, to); in copy_type() 206 copy_primitive ("bmp_string", from, to); in copy_type() [all …]
|
| /freebsd-13.1/contrib/netbsd-tests/ipf/expected/ |
| H A D | i12 | 1 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 33 pass in from pool/101 to hash/202 34 pass in from hash/303 to pool/404 [all …]
|
| H A D | i8 | 2 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 D | in5 | 1 map le0 from 9.8.7.6/32 port > 1024 to 0/0 -> 1.1.1.1/32 portmap tcp 10000:20000 3 rdr le0 from 0/0 to 9.8.7.6/32 port = 0 -> 1.1.1.1/32 port 0 tcp 4 rdr le0 from 0/0 to 9.8.7.6/32 -> 1.1.1.1/32 ip 6 rdr le0 from 0/0 to 9.8.7.6/32 -> 1.1.1.1/32 ip 7 rdr le0 from 0/0 to 9.8.7.6/32 port = 8888 -> 1.1.1.1/32 port 888 tcp 10 rdr le0 from 0/0 to 9.8.7.6/32 -> 1.1.1.1/32 icmp 14 rdr le0 from 0/0 to 9.8.7.6/32 -> 1.1.1.1/32 ip frag 15 rdr le0 from 0/0 to 9.8.7.6/32 -> 1.1.1.1/32 icmp frag 19 rdr le0 from 0/0 to 9.8.7.6/32 -> 1.1.1.1/32 ip frag age 10/10 20 rdr le0 from 0/0 to 9.8.7.6/32 -> 1.1.1.1/32 ip frag age 10/20 [all …]
|
| H A D | in5_6 | 1 map le0 inet6 from 9:8:7::6/128 port > 1024 to any -> 1:1:1::1/128 portmap tcp 10000:20000 3 rdr le0 inet6 from any to 9:8:7::6/128 port = 0 -> 1:1:1::1/128 port 0 tcp 4 rdr le0 inet6 from any to 9:8:7::6/128 -> 1:1:1::1/128 ip 6 rdr le0 inet6 from any to 9:8:7::6/128 -> 1:1:1::1/128 ip 7 rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1:1:1::1/128 port 888 tcp 10 rdr le0 inet6 from any to 9:8:7::6/128 -> 1:1:1::1/128 icmp 14 rdr le0 inet6 from any to 9:8:7::6/128 -> 1:1:1::1/128 ip frag 15 rdr le0 inet6 from any to 9:8:7::6/128 -> 1:1:1::1/128 icmp frag 19 rdr le0 inet6 from any to 9:8:7::6/128 -> 1:1:1::1/128 ip frag age 10/10 20 rdr le0 inet6 from any to 9:8:7::6/128 -> 1:1:1::1/128 ip frag age 10/20 [all …]
|
| H A D | i21 | 1 pass in from any port = 10101 to any 2 pass out from any to any port != 22 3 block in from any port 20:21 to any 4 block out from any to any port 10 <> 100 5 pass out from any to any port = 3 6 pass out from any to any port = 5 7 pass out from any to any port = 7 8 pass out from any to any port = 9 9 block in from any port = 20 to any 10 block in from any port = 25 to any [all …]
|
| /freebsd-13.1/libexec/rc/ |
| H A D | rc.firewall | 89 ${fwcmd} add 400 deny all from any to ::1 90 ${fwcmd} add 500 deny all from ::1 to any 220 ${fwcmd} add pass all from me to ${net} 221 ${fwcmd} add pass all from ${net} to me 223 ${fwcmd} add pass all from me to ${net6} 224 ${fwcmd} add pass all from ${net6} to me 236 ${fwcmd} add pass all from any to any frag 242 ${fwcmd} add pass tcp from me to any setup 393 ${fwcmd} add pass udp from any to me 53 394 ${fwcmd} add pass udp from me 53 to any [all …]
|
| /freebsd-13.1/contrib/netbsd-tests/ipf/regress/ |
| H A D | f5 | 1 block in proto tcp from any port = 23 to any 2 block in proto udp from any port = 23 to any 3 block in proto tcp/udp from any port = 23 to any 4 pass in proto tcp from any port <= 1023 to any 5 pass in proto udp from any port <= 1023 to any 7 block in proto tcp from any port >= 1024 to any 8 block in proto udp from any port >= 1024 to any 10 pass in proto tcp from any port >= 1024 to any 11 pass in proto udp from any port >= 1024 to any 25 pass in proto tcp from any port = 23 to any [all …]
|
| H A D | f6 | 1 block in proto tcp from any to any port = 23 2 block in proto udp from any to any port = 23 3 block in proto tcp/udp from any to any port = 23 4 pass in proto tcp from any to any port <= 1023 5 pass in proto udp from any to any port <= 1023 7 block in proto tcp from any to any port >= 1024 8 block in proto udp from any to any port >= 1024 10 pass in proto tcp from any to any port >= 1024 11 pass in proto udp from any to any port >= 1024 25 pass in proto tcp from any to any port = 23 [all …]
|
| H A D | in5 | 1 map le0 from 9.8.7.6/32 port > 1024 to any -> 1.1.1.1 portmap 10000:20000 tcp 2 map le0 from 9.8.7.6/32 port > 1024 to ! 1.2.3.4 -> 1.1.1.1 portmap 10000:20000 tcp 3 rdr le0 from any to 9.8.7.6/32 port = 0 -> 1.1.1.1 port 0 tcp 4 rdr le0 from any to 9.8.7.6/0xffffffff port = 0 -> 1.1.1.1 port 0 ip 5 rdr le0 ! from 1.2.3.4 to 9.8.7.6 port = 8888 -> 1.1.1.1 port 888 tcp 9 rdr le0 from any to 9.8.7.6/32 port = 8888 -> 1.1.1.1 port 888 tcp/udp 10 rdr le0 from any to 9.8.7.6/32 -> 1.1.1.1 port 888 icmp 11 rdr le0 from any to 9.8.7.6/32 port = 8888 -> 1.1.1.1,1.1.1.2 port 888 tcp 14 rdr le0 from any to 9.8.7.6/32 -> 1.1.1.1 port 0 ip frag 15 rdr le0 from any to 9.8.7.6/32 port = 8888 -> 1.1.1.1 port 888 icmp frag [all …]
|
| H A D | in5_6 | 1 map le0 inet6 from 9:8:7::6/128 port > 1024 to any -> 1:1:1::1 portmap 10000:20000 tcp 3 rdr le0 inet6 from any to 9:8:7::6/128 port = 0 -> 1:1:1::1 port 0 tcp 4 rdr le0 inet6 from any to 9:8:7::6/128 port = 0 -> 1:1:1::1 port 0 ip 5 rdr le0 inet6 ! from 1:2:3::4 to 9:8:7::6 port = 8888 -> 1:1:1::1 port 888 tcp 6 rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1:1:1::1 port 888 ip 7 rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1:1:1::1 port 888 tcp 8 rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1:1:1::1 port 888 udp 9 rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1:1:1::1 port 888 tcp/udp 10 rdr le0 inet6 from any to 9:8:7::6/128 -> 1:1:1::1 port 888 icmp 14 rdr le0 inet6 from any to 9:8:7::6/128 -> 1:1:1::1 port 0 ip frag [all …]
|
| H A D | f9 | 1 block in from any to any with ipopts 2 pass in from any to any with opt sec-class topsecret 9 block in from any to any with opt lsrr,ssrr 10 pass in from any to any with opt lsrr,ssrr 11 pass in from any to any with ipopts 12 block in from any to any with opt lsrr 13 pass in from any to any with opt lsrr 14 block in from any to any with opt ssrr,ts 15 pass in from any to any with opt ssrr,ts 16 block in from any to any with opt rr [all …]
|
| /freebsd-13.1/sbin/pfctl/tests/files/ |
| H A D | pf0004.ok | 6 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 10 block drop in proto tcp from any port = ssh to any 11 block drop in proto tcp from any port = ssh to any port 1024:2048 12 block drop in proto tcp from any port 21 >< 2048 to any port 1024:2048 13 block drop in proto tcp from any port != 1234 to any port 1024:2048 14 block drop in proto tcp from any port >= 80 to any port 1024:2048 18 block drop in inet proto tcp from 10.0.0.0/8 port = ssh to 12.34.56.78 port = ircd [all …]
|
| H A D | pf0081.ok | 3 pass inet6 from (lo0) to ::1 flags S/SA keep state 4 pass inet6 from (lo0) to ::2 flags S/SA keep state 5 pass inet6 from (lo0) to ::3 flags S/SA keep state 9 pass from <foo> to <bar1> flags S/SA keep state 10 pass from <foo> to <bar2> flags S/SA keep state 11 pass from <foo> to <bar3> flags S/SA keep state 12 pass inet6 from <foo> to ::1 flags S/SA keep state 13 pass inet6 from <foo> to ::2 flags S/SA keep state 18 pass from <foo> to <bar1> flags S/SA keep state 19 pass from <foo> to <bar2> flags S/SA keep state [all …]
|
| H A D | pf0047.in | 8 pass in on lo0 from 0/0 to any label "$srcaddr" 9 pass in on lo0 from 127.0.0.1 to any label "$srcaddr" 10 pass in on lo0 from 127.0.0.1 to any label "$srcaddr$srcaddr" 11 pass in on lo0 from 127.0.0.1 to any label ":$srcaddr:$srcaddr:" 12 pass in on lo0 from 127.0.0.1/8 to any label "$srcaddr" 15 pass in on lo0 inet6 from fe80::1 to any label "$srcaddr" 18 pass in on lo0 inet6 from lo0/8 to any label "$srcaddr" 23 pass in on lo0 inet from any to (lo0) label "$dstaddr" 26 pass in on lo0 from any to ! 127.0.0.1/8 label "$dstaddr" 29 pass in on lo0 inet6 from any to ! (lo0) label "$dstaddr" [all …]
|
| H A D | pf0082.in | 3 pass inet from (lo0) 4 pass inet from !(lo0) 5 pass inet from (lo0) 6 pass inet6 from (lo0) 7 pass from <foo> 8 pass from !<foo> 9 pass from <foo> 10 pass inet from <bar> 11 pass from <bar> 13 pass from <foo> [all …]
|
| /freebsd-13.1/tools/tools/tinybsd/conf/wireless/etc/ |
| H A D | rc.firewall | 84 ${fwcmd} add 100 pass all from any to any via lo0 85 ${fwcmd} add 200 deny all from any to 127.0.0.0/8 86 ${fwcmd} add 300 deny ip from 127.0.0.0/8 to any 144 ${fwcmd} add 65000 pass all from any to any 168 ${fwcmd} add pass all from any to any frag 174 ${fwcmd} add pass tcp from ${ip} to any setup 177 ${fwcmd} add deny tcp from any to any setup 262 ${fwcmd} add pass all from any to any frag 269 ${fwcmd} add pass udp from any to ${oip} 53 270 ${fwcmd} add pass udp from ${oip} 53 to any [all …]
|
| /freebsd-13.1/tools/tools/tinybsd/conf/firewall/etc/ |
| H A D | rc.firewall | 84 ${fwcmd} add 100 pass all from any to any via lo0 85 ${fwcmd} add 200 deny all from any to 127.0.0.0/8 86 ${fwcmd} add 300 deny ip from 127.0.0.0/8 to any 144 ${fwcmd} add 65000 pass all from any to any 168 ${fwcmd} add pass all from any to any frag 174 ${fwcmd} add pass tcp from ${ip} to any setup 177 ${fwcmd} add deny tcp from any to any setup 262 ${fwcmd} add pass all from any to any frag 269 ${fwcmd} add pass udp from any to ${oip} 53 270 ${fwcmd} add pass udp from ${oip} 53 to any [all …]
|
| /freebsd-13.1/contrib/bmake/unit-tests/ |
| H A D | hanoi-include.exp | 1 Move the upper disk from stack A to stack C. 2 Move the upper disk from stack A to stack B. 3 Move the upper disk from stack C to stack B. 4 Move the upper disk from stack A to stack C. 5 Move the upper disk from stack B to stack A. 6 Move the upper disk from stack B to stack C. 7 Move the upper disk from stack A to stack C. 8 Move the upper disk from stack A to stack B. 9 Move the upper disk from stack C to stack B. 10 Move the upper disk from stack C to stack A. [all …]
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_bvgraph.h | 44 check(from, to); in addEdge() 45 return v[from].setBit(to); in addEdge() 52 t1.copyFrom(from); in addEdges() 68 bool hasEdge(uptr from, uptr to) { return v[from].getBit(to); } in hasEdge() argument 78 for (uptr from = 0; from < size(); from++) { in removeEdgesTo() local 88 t1.copyFrom(from); in removeEdgesFrom() 100 return v[from].clear(); in removeEdgesFrom() 104 check(from, to); in hasEdge() 115 visited.setBit(from); in isReachable() 130 path[0] = from; in findPath() [all …]
|
| /freebsd-13.1/share/examples/ipfilter/ |
| H A D | rules.txt | 19 block in from any to any 28 pass in from 10.1.3.1 to any 29 pass in from 10.1.3.2 to any 30 pass in from 10.1.3.3 to any 31 pass in from 10.1.3.4 to any 32 pass in from 10.1.3.5 to any 34 pass in from 10.1.1.1/32 to any 35 pass in from 10.1.2.1/32 to any 40 block out from any to any 71 pass from foo to bar [all …]
|
| /freebsd-13.1/share/examples/ipfilter/rules/ |
| H A D | example.3 | 4 block in from any to any 13 pass in from 10.1.3.1/32 to any 14 pass in from 10.1.3.2/32 to any 15 pass in from 10.1.3.3/32 to any 16 pass in from 10.1.3.4/32 to any 17 pass in from 10.1.3.5/32 to any 18 pass in from 10.1.0.13/32 to any 19 pass in from 10.1.1.1/32 to any 20 pass in from 10.1.2.1/32 to any 25 block out from any to any [all …]
|
| /freebsd-13.1/contrib/openbsm/compat/ |
| H A D | endian.h | 57 to[0] = from[1]; in bswap16() 58 to[1] = from[0]; in bswap16() 73 to[0] = from[3]; in bswap32() 74 to[1] = from[2]; in bswap32() 75 to[2] = from[1]; in bswap32() 76 to[3] = from[0]; in bswap32() 91 to[0] = from[7]; in bswap64() 92 to[1] = from[6]; in bswap64() 93 to[2] = from[5]; in bswap64() 94 to[3] = from[4]; in bswap64() [all …]
|
| /freebsd-13.1/contrib/wpa/wpa_supplicant/ |
| H A D | ctrl_iface_udp.c | 93 os_memcpy(&dst->addr, from, sizeof(*from)); in wpa_supplicant_ctrl_iface_attach() 100 inet_ntop(AF_INET6, &from->sin6_addr, addr, sizeof(*from)), in wpa_supplicant_ctrl_iface_attach() 101 ntohs(from->sin6_port)); in wpa_supplicant_ctrl_iface_attach() 104 inet_ntoa(from->sin_addr), ntohs(from->sin_port)); in wpa_supplicant_ctrl_iface_attach() 131 sizeof(*from)), 178 sizeof(*from)), 225 struct sockaddr_in6 from; local 230 struct sockaddr_in from; local 252 inet_ntop(AF_INET6, &from.sin6_addr, addr, sizeof(from)); 632 struct sockaddr_in from; local [all …]
|