Home
last modified time | relevance | path

Searched refs:proto (Results 1 – 25 of 877) sorted by relevance

12345678910>>...36

/freebsd/contrib/netbsd-tests/ipf/regress/
H A Di816 pass in proto icmp all icmp-type unreach code proto-unr
19 pass in proto icmp all icmp-type inforeq
20 pass in proto icmp all icmp-type inforep
21 pass in proto icmp all icmp-type maskrep
22 pass in proto icmp all icmp-type maskreq
24 pass in proto icmp all icmp-type redir
29 pass in proto icmp all icmp-type timest
31 pass in proto icmp all icmp-type timex
32 pass in proto icmp all icmp-type 254
47 pass in proto icmp all icmp-type unreach code proto-unr
[all …]
H A Df51 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 Df61 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 Di191 block in quick log level user.debug proto icmp all
2 block in quick log level mail.info proto icmp all
3 block in quick log level daemon.notice proto icmp all
4 block in quick log level auth.warn proto icmp all
5 block in quick log level syslog.err proto icmp all
6 block in quick log level lpr.crit proto icmp all
7 block in quick log level news.alert proto icmp all
8 block in quick log level uucp.emerg proto icmp all
9 block in quick log level cron.debug proto icmp all
10 block in quick log level ftp.info proto icmp all
[all …]
H A Di72 block in on lo0 proto tcp from any to any flags A
3 pass in on lo0 proto tcp from any to any flags /SAP
4 block in on lo0 proto tcp from any to any flags 0x80/A
5 pass in on lo0 proto tcp from any to any flags S/18
6 block in on lo0 proto tcp from any to any flags 2/18
7 pass in on lo0 proto tcp from any to any flags 2
8 block in on lo0 proto tcp from any to any flags /16
9 pass in on lo0 proto tcp from any to any flags 2/SA
10 pass in on lo0 proto tcp from any to any flags S/18
12 pass in on lo0 proto tcp from any to any flags 2
[all …]
/freebsd/sbin/pfctl/tests/files/
H A Dpf0004.ok2 block drop in proto tcp all
3 block drop in proto tcp all
4 block drop in proto udp all
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
19 block drop in inet proto tcp from 10.0.0.0/8 port = ssh to 12.34.56.78 port = 6668
[all …]
H A Dpf0010.in2 pass in inet proto icmp all
3 pass in inet6 proto icmp6 all
4 block in inet proto icmp all
5 block in inet6 proto icmp6 all
6 block return-rst in inet proto tcp all
7 block return-rst in inet6 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
13 block return-icmp(5) in inet proto icmp all
[all …]
H A Dpf0010.ok1 pass in inet proto icmp all keep state
2 pass in inet6 proto ipv6-icmp all keep state
3 block drop in inet proto icmp all
4 block drop in inet6 proto ipv6-icmp all
5 block return-rst in inet proto tcp all
6 block return-rst in inet6 proto tcp all
7 block return-rst(ttl 10) in inet proto tcp all
8 block return-rst(ttl 10) in inet6 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
[all …]
H A Dpf0087.in3 pass in on lo1000000 proto tcp from any to 10.0.0.2 port 22 keep state
4 pass in on lo1000001 proto tcp from 10.0.0.1 port 22 to 10.0.0.2 keep state
6 pass in on lo1000000 proto udp from any to 10.0.0.2 port 53 keep state
7 pass in proto tcp to 10.0.0.1 port 80 keep state
9 pass in proto tcp to 10.0.0.3 port 80 keep state
10 pass out proto tcp to 10.0.0.1 port 81 keep state
11 pass in proto udp to 10.0.0.3 port 53 keep state
13 pass out proto udp to 10.0.0.1 port 53 keep state
15 pass out proto udp to 10.0.0.3 port 53 keep state
21 pass out proto tcp to 10.0.0.1 port 80 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
5 pass in inet6 proto ipv6-icmp all icmp6-type 0
7 pass in inet6 proto ipv6-icmp all icmp6-type 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
[all …]
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
5 pass in inet6 proto ipv6-icmp all icmp6-type 0 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
13 block drop in inet6 proto ipv6-icmp all icmp6-type 0
[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 Dpf0047.in37 pass in on lo0 proto tcp from any port = 28 to any label "$srcport"
42 pass in on lo0 proto tcp from any port < 28 to any label "$srcport"
44 pass in on lo0 proto tcp from any port > 28 to any label "$srcport"
54 pass in on lo0 all label "$proto"
55 pass in on lo0 proto esp all label "$proto"
56 pass in on lo0 proto esp all label "$proto$proto"
57 pass in on lo0 proto esp all label "-$proto-$proto-"
58 pass in on lo0 proto 166 all label "$proto"
59 pass in on lo0 proto 166 all label "$proto$proto"
60 pass in on lo0 proto 166 all label "_$proto_$proto_"
[all …]
H A Dpf0007.ok3 block return-rst out log on tun1000000 proto tcp all
4 block return-rst in log on tun1000000 proto tcp all
5 block return-icmp(port-unr, port-unr) out log on tun1000000 proto udp all
15 pass out on tun1000000 proto udp all keep state
17 pass out on tun1000000 proto tcp all flags S/SA modulate state
18 pass in on tun1000000 proto tcp all flags S/SA modulate state
19 pass in on tun1000000 proto udp all keep state
20 pass in on tun1000000 proto icmp all keep state
21 pass in on tun1000000 proto udp all keep state
22 pass in on tun1000000 proto tcp all flags S/SA synproxy state
[all …]
H A Dpf0007.in6 block return-rst out log on tun1000000 proto tcp all
7 block return-rst in log on tun1000000 proto tcp all
8 block return-icmp out log on tun1000000 proto udp all
9 block return-icmp in log on tun1000000 proto udp all
20 pass out on tun1000000 inet proto icmp all icmp-type 8 code 0 keep state
21 pass in on tun1000000 inet proto icmp all icmp-type 8 code 0 keep state
23 pass out on tun1000000 proto udp all keep state
25 pass in on tun1000000 proto udp from any to any port = domain keep state
27 pass out on tun1000000 proto tcp all modulate state
28 pass in on tun1000000 proto { tcp udp icmp } all modulate state
[all …]
/freebsd/sys/netipsec/
H A Dipsec_support.h99 #define IPSEC_ENABLED(proto) \ argument
156 #define IPSEC_FORWARD(proto, m) \ argument
162 #define IPSEC_CAPS(proto, m, ...) \ argument
164 #define IPSEC_HDRSIZE(proto, inp) \ argument
206 #define IPSEC_INPUT(proto, ...) \ argument
210 #define IPSEC_FORWARD(proto, ...) \ argument
212 #define IPSEC_OUTPUT(proto, ...) \ argument
214 #define IPSEC_PCBCTL(proto, ...) \ argument
216 #define IPSEC_CAPS(proto, ...) \ argument
218 #define IPSEC_HDRSIZE(proto, ...) \ argument
[all …]
/freebsd/contrib/netbsd-tests/ipf/expected/
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 Di19.dist1 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 …]
H A Di72 block in on lo0(!) proto tcp from any to any flags A/FSRPAU
3 pass in on lo0(!) proto tcp from any to any flags /SPA
4 block in on lo0(!) proto tcp from any to any flags C/A
5 pass in on lo0(!) proto tcp from any to any flags S/SA
6 block in on lo0(!) proto tcp from any to any flags S/SA
8 block in on lo0(!) proto tcp from any to any flags /A
9 pass in on lo0(!) proto tcp from any to any flags S/SA
10 pass in on lo0(!) proto tcp from any to any flags S/SA
11 block in on lo0(!) proto tcp from any to any flags S/SA
13 block in on lo0(!) proto tcp from any to any flags /A
[all …]
H A Di1216 pass in inet proto tcp from 2.2.2.0/24 port = 53 to 5.5.5.5/32
17 pass in inet proto tcp from 3.3.3.3/32 port = 53 to 5.5.5.5/32
18 pass in inet proto tcp from 2.2.2.0/24 port = 9 to 5.5.5.5/32
19 pass in inet proto tcp from 3.3.3.3/32 port = 9 to 5.5.5.5/32
20 pass in inet proto tcp from 2.2.2.0/24 port = 53 to 6.6.6.6/32
21 pass in inet proto tcp from 3.3.3.3/32 port = 53 to 6.6.6.6/32
22 pass in inet proto tcp from 2.2.2.0/24 port = 9 to 6.6.6.6/32
23 pass in inet proto tcp from 3.3.3.3/32 port = 9 to 6.6.6.6/32
28 pass in inet proto udp from 2.2.2.0/24 to 5.5.5.5/32 port = 9
29 pass in inet proto udp from 3.3.3.3/32 to 5.5.5.5/32 port = 9
[all …]
/freebsd/sys/net/
H A Dnetisr.c390 u_int i, proto; in netisr_register() local
485 u_int i, proto; in netisr_clearqdrops() local
517 u_int i, proto; in netisr_getqdrops() local
549 u_int proto; in netisr_getqlimit() local
683 u_int proto; in netisr_register_vnet() local
758 u_int proto; in netisr_unregister_vnet() local
895 KASSERT(proto >= 0 && proto < NETISR_MAXPROT, in netisr_process_workstream_proto()
1127 proto)); in netisr_dispatch_src()
1387 for (proto = 0; proto < NETISR_MAXPROT; proto++) { in sysctl_netisr_proto()
1496 for (proto = 0; proto < NETISR_MAXPROT; proto++) { in sysctl_netisr_work()
[all …]
/freebsd/usr.sbin/ppp/
H A Dproto.c50 proto_WrapperOctets(struct lcp *lcp, u_short proto) in proto_WrapperOctets() argument
60 cp[0] = proto >> 8; in proto_Prepend()
61 cp[1] = proto & 0xff; in proto_Prepend()
73 int pri __unused, u_short *proto) in proto_LayerPush() argument
76 bp = proto_Prepend(bp, *proto, l->lcp.his_protocomp, in proto_LayerPush()
79 link_ProtocolRecord(l, *proto, PROTO_OUT); in proto_LayerPush()
86 u_short *proto) in proto_LayerPull() argument
96 *proto = cp[0]; in proto_LayerPull()
97 if (!(*proto & 1)) { in proto_LayerPull()
103 *proto = (*proto << 8) | cp[1]; in proto_LayerPull()
[all …]
/freebsd/sys/netlink/
H A Dnetlink_module.c131 nl_verify_proto(int proto) in nl_verify_proto() argument
133 if (proto < 0 || proto >= NL_MAX_HANDLERS) { in nl_verify_proto()
141 nl_get_proto_name(int proto) in nl_get_proto_name() argument
149 if ((proto < 0) || (proto >= NL_MAX_HANDLERS)) in netlink_register_proto()
152 KASSERT((nl_handlers[proto].cb == NULL), ("netlink handler %d is already set", proto)); in netlink_register_proto()
153 nl_handlers[proto].cb = handler; in netlink_register_proto()
161 netlink_unregister_proto(int proto) in netlink_unregister_proto() argument
163 if ((proto < 0) || (proto >= NL_MAX_HANDLERS)) in netlink_unregister_proto()
166 KASSERT((nl_handlers[proto].cb != NULL), ("netlink handler %d is not set", proto)); in netlink_unregister_proto()
167 nl_handlers[proto].cb = NULL; in netlink_unregister_proto()
[all …]
/freebsd/contrib/openbsm/bin/auditdistd/
H A Dproto.c46 struct proto *pc_proto;
57 proto_register(struct proto *proto, bool isdefault) in proto_register() argument
71 proto_alloc(struct proto *proto, int side) in proto_alloc() argument
82 conn->pc_proto = proto; in proto_alloc()
108 struct proto *proto; in proto_common_setup() local
138 if (proto == NULL) { in proto_common_setup()
151 proto->prt_close(ctx); in proto_common_setup()
301 struct proto *proto; in proto_wrap() local
309 if (proto == NULL) { in proto_wrap()
446 struct proto *proto; in proto_exec() local
[all …]
/freebsd/share/examples/ipfilter/rules/
H A DBASIC_1.FW25 block in log proto tcp all flags S/SA head 101 group 100
28 block in log proto tcp all flags S/SA head 201 group 200
29 block in log proto udp all head 202 group 200
60 pass in quick proto udp from any to any port = 53 keep state group 202
70 pass in quick proto tcp from any to any port = ftp keep state group 201
76 pass in quick proto udp from any to any port = ntp keep state group 202
80 pass in quick proto tcp from any to any port = 22 keep state group 201
81 pass in quick proto tcp from any to any port = telnet keep state group 201
82 pass in quick proto tcp from any to any port = www keep state group 201
97 block return-rst in log proto tcp from any to any flags S/SA group 100
[all …]

12345678910>>...36