/freebsd-src/contrib/netbsd-tests/ipf/expected/ |
H A D | i8 | 1 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 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 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 D | i19.dist | 1 block in log level user.debug quick proto icmp from any to any 2 block in log level mail.info quick proto icmp from any to any 3 block in log level daemon.notice quick proto icmp from any to any 4 block in log level auth.warn quick proto icmp from any to any 5 block in log level syslog.err quick proto icmp from any to any 6 block in log level lpr.crit quick proto icmp from any to any 7 block in log level news.alert quick proto icmp from any to any 8 block in log level uucp.emerg quick proto icmp from any to any 9 block in log level cron.debug quick proto icmp from any to any 10 block in log level ftp.info quick proto icmp from any to any [all …]
|
/freebsd-src/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 6 pass in proto tcp/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 9 block in proto tcp/udp from any port >= 1024 to any 10 pass in proto tcp from any port >= 1024 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 6 pass in proto tcp/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 9 block in proto tcp/udp from any to any port >= 1024 10 pass in proto tcp from any to any port >= 1024 [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 6 rdr le0 from any to 9.8.7.6/255.255.255.255 port = 8888 -> 1.1.1.1 port 888 ip 7 rdr le0 from any to 9.8.7.6 mask 0xffffffff port = 8888 -> 1.1.1.1 port 888 tcp 8 rdr le0 from any to 9.8.7.6 mask 255.255.255.255 port = 8888 -> 1.1.1.1 port 888 udp 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 [all …]
|
/freebsd-src/share/doc/psd/20.ipctut/ |
H A D | fig2.pic | 6 arc at 5.407,4.723 from 5.375,4.838 to 5.362,4.612 cw 7 arc at 5.907,7.973 from 5.875,8.088 to 5.862,7.862 cw 8 line from 5.963,5.513 to 6.925,5.513 9 line from 5.963,5.650 to 6.925,5.650 10 line from 5.963,5.787 to 6.925,5.787 11 line from 5.963,5.912 to 6.925,5.912 12 line from 5.963,6.050 to 6.925,6.050 13 line from 5.963,6.200 to 6.925,6.200 to 6.925,5.375 to 5.963,5.375 to 5.963,6.200 15 line from 6.388,6.463 to 6.388,6.200 16 line from 3.150,6.200 to 4.112,6.200 to 4.112,5.375 to 3.150,5.375 to 3.150,6.200 [all …]
|
H A D | fig3.pic | 9 line dotted from 5.550,8.012 to 4.362,8.012 10 line from 4.462,8.037 to 4.362,8.012 to 4.462,7.987 11 line dotted from 4.362,7.950 to 5.550,7.950 12 line from 5.450,7.925 to 5.550,7.950 to 5.450,7.975 15 line dotted from 3.925,4.700 to 5.112,4.700 16 line from 5.013,4.675 to 5.112,4.700 to 5.013,4.725 17 line dotted from 5.112,4.763 to 3.925,4.763 18 line from 4.025,4.788 to 3.925,4.763 to 4.025,4.737 19 line from 5.963,5.513 to 6.925,5.513 20 line from 5.963,5.650 to 6.925,5.650 [all …]
|
H A D | fig8.pic | 12 line from 3.150,6.200 to 4.112,6.200 to 4.112,5.375 to 3.150,5.375 to 3.150,6.200 13 line from 3.150,6.050 to 4.112,6.050 14 line from 3.150,5.912 to 4.112,5.912 15 line from 3.150,5.787 to 4.112,5.787 16 line from 3.150,5.650 to 4.112,5.650 17 line from 3.150,5.513 to 4.112,5.513 19 line from 3.575,6.463 to 3.575,6.200 20 line from 5.963,5.513 to 6.925,5.513 21 line from 5.963,5.650 to 6.925,5.650 22 line from 5.963,5.787 to 6.925,5.787 [all …]
|
/freebsd-src/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 15 block drop in inet proto tcp from 10. [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" 13 pass in on lo0 from 127.0.0.1/16 to any label "$srcaddr$srcaddr" 14 pass in on lo0 from 127.0.0.1/31 to any label ":$srcaddr:$srcaddr:" 15 pass in on lo0 inet6 from fe80::1 to any label "$srcaddr" 16 pass in on lo0 inet6 from fe80::1 to any label "$srcaddr$srcaddr" 17 pass in on lo0 inet6 from fe80::1 to any label ":$srcaddr:$srcaddr:" [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 6 pass inet from (lo0) to 0.0.0.1 flags S/SA keep state 7 pass inet from (lo0) to 0.0.0.2 flags S/SA keep state 8 pass inet from (lo0) to 0.0.0.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 [all …]
|
H A D | pf0047.ok | 7 pass in on lo0 inet from 127.0.0.1 to any flags S/SA keep state label "127.0.0.1" 8 pass in on lo0 inet from 127.0.0.1 to any flags S/SA keep state label "127.0.0.1127.0.0.1" 9 pass in on lo0 inet from 127.0.0.1 to any flags S/SA keep state label ":127.0.0.1:127.0.0.1:" 10 pass in on lo0 inet from 127.0.0.0/8 to any flags S/SA keep state label "127.0.0.0/8" 11 pass in on lo0 inet from 127.0.0.0/16 to any flags S/SA keep state label "127.0.0.0/16127.0.0.0/16" 12 pass in on lo0 inet from 127.0.0.0/31 to any flags S/SA keep state label ":127.0.0.0/31:127.0.0.0/3… 13 pass in on lo0 inet6 from fe80::1 to any flags S/SA keep state label "fe80::1" 14 pass in on lo0 inet6 from fe80::1 to any flags S/SA keep state label "fe80::1fe80::1" 15 pass in on lo0 inet6 from fe80::1 to any flags S/SA keep state label ":fe80::1:fe80::1:" 16 pass in on lo0 inet6 from ::/8 to any flags S/SA keep state label "::/8" [all …]
|
H A D | pf0087.ok | 1 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 …]
|
/freebsd-src/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 …]
|
H A D | var-scope-local.exp | 1 …from dir/subdir/target-rule-dir.ir-gen-from inference-rule.ir-to dir/subdir/inference-rule.ir-to i… 2 …from dir/subdir/target-rule-dir.ir-gen-from inference-rule.ir-to dir/subdir/inference-rule.ir-to i… 20 target-rule.ir-gen-from: @ = <target-rule.ir-gen-from> 21 target-rule.ir-gen-from: % = <undefined> 22 target-rule.ir-gen-from: ? = <> 23 target-rule.ir-gen-from: < = <undefined> 24 target-rule.ir-gen-from: * = <target-rule> 25 dir/subdir/target-rule-dir.ir-gen-from: @ = <dir/subdir/target-rule-dir.ir-gen-from> 26 dir/subdir/target-rule-dir.ir-gen-from: % = <undefined> 27 dir/subdir/target-rule-dir.ir-gen-from: ? = <> [all …]
|
/freebsd-src/share/examples/ipfilter/ |
H A D | rules.txt | 2 # block all incoming TCP packets on le0 from host "foo" to any destination. 4 block in on le0 proto tcp from foo/32 to any 9 # block all outgoing TCP packets on le0 from any host to port 23 of host bar. 11 block out on le0 proto tcp from any to bar/32 port != 23 18 block in from any to any 20 # pass through packets to and from localhost. 22 pass in from 127.0.0.1/32 to 127.0.0.1/32 27 pass in from 10.1.3.1 to any 28 pass in from 10.1.3.2 to any 29 pass in from 10.1.3.3 to any [all …]
|
H A D | ipf-howto.txt | 90 work from a HOWTO and impose additional restrictions on its 150 The rules are processed from top to bottom, each one 276 all and the terminal keyword quick from the previous rule 290 blocks of address space from which we should never get traf- 291 fic. One such block is from the unroutable networks, 297 block in quick from 192.168.0.0/16 to any 301 something for us. Let's imagine a packet comes in from 304 block in quick from 192.168.0.0/16 to any 306 The packet is from 1.2.3.4, not 192.168.*.*, so there is no 311 The packet from 1.2.3.4 is definitely a part of all, so the [all …]
|
H A D | firewall.2 | 13 pass out from any to any 14 pass in from any to any 16 # Block any inherently bad packets coming in from the outside world. 21 block in log quick on ppp0 proto icmp from any to any icmp-type redir 23 block in log quick on ppp0 from any to any with ipopts 25 # Block any IP spoofing attempts. (Packets "from" our network 26 # shouldn't be coming in from outside). 28 block in log quick on ppp0 from 192.168.4.0/24 to any 29 block in log quick on ppp0 from localhost to any 30 block in log quick on ppp0 from 0.0.0.0/32 to any [all …]
|
/freebsd-src/crypto/heimdal/lib/asn1/ |
H A D | der_copy.c | 20 * may be used to endorse or promote products derived from this software 41 der_copy_general_string (const heim_general_string *from, in der_copy_general_string() argument 44 *to = strdup(*from); in der_copy_general_string() 51 der_copy_integer (const int *from, int *to) in der_copy_integer() argument 53 *to = *from; in der_copy_integer() 58 der_copy_integer64 (const int64_t *from, int64_t *to) in der_copy_integer64() argument 60 *to = *from; in der_copy_integer64() 65 der_copy_unsigned (const unsigned *from, unsigned *to) in der_copy_unsigned() argument 67 *to = *from; in der_copy_unsigned() 72 der_copy_unsigned64 (const uint64_t *from, uint64_t *to) in der_copy_unsigned64() argument [all …]
|
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | Casting.h | 34 template <typename From> struct simplify_type { 35 using SimpleType = From; // The real type this represents... 38 static SimpleType &getSimplifiedValue(From &Val) { return Val; } in getSimplifiedValue() 41 template <typename From> struct simplify_type<const From> { 42 using NonConstSimpleType = typename simplify_type<From>::SimpleType; 47 static RetType getSimplifiedValue(const From &Val) { 48 return simplify_type<From>::getSimplifiedValue(const_cast<From &>(Val)); 60 // The core of the implementation of isa<X> is here; To and From shoul [all...] |
/freebsd-src/libexec/rc/ |
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 88 ${fwcmd} add 400 deny all from any to ::1 89 ${fwcmd} add 500 deny all from ::1 to any 102 ${fwcmd} add pass ipv6-icmp from :: to ff02::/16 104 ${fwcmd} add pass ipv6-icmp from fe80::/10 to fe80::/10 105 ${fwcmd} add pass ipv6-icmp from fe80::/10 to ff02::/16 108 ${fwcmd} add pass ipv6-icmp from any to any icmp6types 1 111 ${fwcmd} add pass ipv6-icmp from any to any icmp6types 2,135,136 [all …]
|
/freebsd-src/share/examples/ipfilter/rules/ |
H A D | example.3 | 4 block in from any to any 6 # pass through packets to and from localhost. 8 pass in from 127.0.0.1/32 to 127.0.0.1/32 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 [all …]
|
/freebsd-src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_bvgraph.h | 43 bool addEdge(uptr from, uptr to) { in addEdge() argument 44 check(from, to); in addEdge() 45 return v[from].setBit(to); in addEdge() 49 uptr addEdges(const BV &from, uptr to, uptr added_edges[], in addEdges() argument 52 t1.copyFrom(from); in addEdges() 63 // Returns true if an edge from=>to exist. 65 // and thus can be called from different threads w/o locking. 68 bool hasEdge(uptr from, uptr to) { return v[from].getBit(to); } in hasEdge() argument 70 // Returns true if the edge from=>to was removed. 71 bool removeEdge(uptr from, uptr to) { in removeEdge() argument [all …]
|
/freebsd-src/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ASTImporter.h | 1 //===- ASTImporter.h - Importing ASTs from other Contexts -------*- C++ -*-===// 9 // This file defines the ASTImporter class which imports AST nodes from one 51 // \brief Returns with a list of declarations started from the canonical decl 54 // `Decl::redecls()` gives a list of decls which always start from the 60 /// Imports selected nodes from one AST context into another context, 74 // From the call stack of the import functions we can read the very same 112 // they are independent from A,B and E. 206 /// The contexts we're importing to and from. 209 /// The file managers we're importing to and from. 217 /// Whether the last diagnostic came from the "from" context. [all …]
|