Home
last modified time | relevance | path

Searched refs:udp (Results 1 – 25 of 349) sorted by relevance

12345678910>>...14

/freebsd/usr.sbin/services_mkdb/
H A Dservices30 echo 7/udp
38 daytime 13/udp
57 telnet 23/udp
416 ipx 213/udp
455 rap 256/udp
495 fxp 286/udp
766 macon-udp 456/udp
823 ph 481/udp
1356 ns 760/udp
1396 fcp-udp 810/udp #FCP Datagram
[all …]
/freebsd/sbin/dhclient/
H A Dpacket.c115 struct udphdr udp; in assemble_udp_ip_header() local
135 udp.uh_ulen = htons(sizeof(udp) + len); in assemble_udp_ip_header()
136 memset(&udp.uh_sum, 0, sizeof(udp.uh_sum)); in assemble_udp_ip_header()
138 udp.uh_sum = wrapsum(checksum((unsigned char *)&udp, sizeof(udp), in assemble_udp_ip_header()
143 memcpy(&buf[*bufix], &udp, sizeof(udp)); in assemble_udp_ip_header()
167 struct udphdr *udp; in decode_udp_ip_header() local
207 len = ntohs(udp->uh_ulen) - sizeof(*udp); in decode_udp_ip_header()
226 usum = udp->uh_sum; in decode_udp_ip_header()
227 udp->uh_sum = 0; in decode_udp_ip_header()
229 sum = wrapsum(checksum((unsigned char *)udp, sizeof(*udp), in decode_udp_ip_header()
[all …]
/freebsd/contrib/netbsd-tests/ipf/input/
H A Df515 in udp 1.1.1.1,0 2.2.2.2,2222
16 in udp 1.1.1.1,1 2.2.2.2,2222
17 in udp 1.1.1.1,23 2.2.2.2,2222
18 in udp 1.1.1.1,21 2.2.2.2,2222
19 in udp 1.1.1.1,1023 2.2.2.2,2222
20 in udp 1.1.1.1,1024 2.2.2.2,2222
21 in udp 1.1.1.1,1025 2.2.2.2,2222
25 in udp 1.1.1.1,5999 2.2.2.2,2222
26 in udp 1.1.1.1,6000 2.2.2.2,2222
27 in udp 1.1.1.1,6009 2.2.2.2,2222
[all …]
H A Df615 in udp 2.2.2.2,2222 1.1.1.1,0
16 in udp 2.2.2.2,2222 1.1.1.1,1
17 in udp 2.2.2.2,2222 1.1.1.1,23
18 in udp 2.2.2.2,2222 1.1.1.1,21
19 in udp 2.2.2.2,2222 1.1.1.1,1023
20 in udp 2.2.2.2,2222 1.1.1.1,1024
21 in udp 2.2.2.2,2222 1.1.1.1,1025
25 in udp 2.2.2.2,2222 1.1.1.1,5999
26 in udp 2.2.2.2,2222 1.1.1.1,6000
27 in udp 2.2.2.2,2222 1.1.1.1,6009
[all …]
H A Df294 in on nic0 udp 4.4.3.1,1000 4.2.3.2,2000
5 in on nic0 udp 4.4.3.1,1000 4.2.3.2,2000
6 in on nic0 udp 4.4.1.1,1001 4.2.1.2,2001
7 in on nic0 udp 4.4.1.1,1001 4.2.1.2,2001
8 in on nic0 udp 4.4.2.1,1002 4.2.2.2,2002
9 in on nic0 udp 4.4.2.1,1002 4.2.2.2,2002
10 in on nic0 udp 4.4.3.1,1003 4.2.3.2,2003
11 in on nic0 udp 4.4.3.1,1003 4.2.3.2,2003
/freebsd/contrib/netbsd-tests/ipf/regress/
H A Df52 block in proto udp from any port = 23 to any
3 block in proto tcp/udp from any port = 23 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
8 block in proto udp from any port >= 1024 to any
11 pass in proto udp from any port >= 1024 to any
17 pass in proto udp from any port 0 >< 512 to any
26 pass in proto udp from any port = 23 to any
29 block in proto udp from any port != 21 to any
32 pass in proto udp from any port != 21 to any
[all …]
H A Df62 block in proto udp from any to any port = 23
3 block in proto tcp/udp from any to any port = 23
5 pass in proto udp from any to any port <= 1023
6 pass in proto tcp/udp from any to any port <= 1023
8 block in proto udp from any to any port >= 1024
11 pass in proto udp from any to any port >= 1024
17 pass in proto udp from any to any port 0 >< 512
26 pass in proto udp from any to any port = 23
29 block in proto udp from any to any port != 21
32 pass in proto udp from any to any port != 21
[all …]
H A Din61 map foo0 from any port = 1 to any port != 0 -> 0/32 udp
2 map foo0 from any port eq 1 to any port ne 0 -> 0/32 udp
5 map foo0 from any port <= 1 to any port >= 0 -> 0/32 tcp/udp
6 map foo0 from any port le 1 to any port ge 0 -> 0/32 tcp/udp
7 map foo0 from any port 1 >< 20 to any port 20 <> 40 -> 0/32 tcp/udp
8 map foo0 from any port 10:20 to any port 30:40 -> 0/32 tcp/udp
H A Din6_61 map foo0 inet6 from any port = 1 to any port != 0 -> 0/32 udp
2 map foo0 inet6 from any port eq 1 to any port ne 0 -> 0/32 udp
5 map foo0 inet6 from any port <= 1 to any port >= 0 -> 0/32 tcp/udp
6 map foo0 inet6 from any port le 1 to any port ge 0 -> 0/32 tcp/udp
7 map foo0 inet6 from any port 1 >< 20 to any port 20 <> 40 -> 0/32 tcp/udp
8 map foo0 inet6 from any port 10:20 to any port 30:40 -> 0/32 tcp/udp
H A Di144 block out on ed0 proto udp all group 1000000
5 block in on vm0 proto tcp/udp all head 101
8 pass in proto udp from 2.0.0.2 to 3.0.0.3 group 101
9 block in on vm0 proto tcp/udp all head vm0-group
11 block in on vm0 proto tcp/udp all head vm0-group
14 block in inet6 proto udp
H A Di112 block in log first on lo0 proto tcp/udp from any to any port = echo keep state
3 pass in proto udp from localhost to localhost port = 20499 keep frag
4 pass in proto udp from localhost to localhost port = 2049 keep frag(strict)
5 pass in proto udp from localhost to localhost port = 53 keep state keep frags
6 pass in on ed0 out-via vx0 proto udp from any to any keep state
8 pass in on ed0,vx0 out-via vx0,ed0 proto udp from any to any keep state
12 pass in proto udp all keep state(age 10/20,sync)
/freebsd/tests/sys/mac/portacl/
H A Dnobody_test.sh19 bind_test fl fl uid nobody udp 77
20 bind_test ok ok uid nobody udp 7777
24 bind_test fl fl gid nobody udp 77
25 bind_test ok ok gid nobody udp 7777
31 bind_test fl fl uid nobody udp 77
32 bind_test ok ok uid nobody udp 7777
36 bind_test fl fl gid nobody udp 77
45 bind_test fl fl uid nobody udp 77
50 bind_test fl fl gid nobody udp 77
60 bind_test fl ok uid nobody udp 77
[all …]
H A Droot_test.sh16 bind_test ok ok uid root udp 77
17 bind_test ok ok uid root udp 7777
21 bind_test ok ok gid root udp 77
22 bind_test ok ok gid root udp 7777
30 bind_test fl ok uid root udp 77
31 bind_test ok ok uid root udp 7777
35 bind_test fl ok gid root udp 77
36 bind_test ok ok gid root udp 7777
44 bind_test fl ok uid root udp 77
45 bind_test fl ok uid root udp 7777
[all …]
/freebsd/sbin/pfctl/tests/files/
H A Dpf0004.ok4 block drop in proto udp all
39 block drop in inet proto udp from 10.0.0.0/8 port = ssh to 192.168.0.0/16 port = 6667
40 block drop in inet proto udp from 10.0.0.0/8 port = ssh to 192.168.0.0/16 port = 6668
42 block drop in inet proto udp from 10.0.0.0/8 port = ssh to 12.34.56.78 port = 6667
43 block drop in inet proto udp from 10.0.0.0/8 port = ssh to 12.34.56.78 port = 6668
45 block drop in inet proto udp from 10.0.0.0/8 port = ftp to 192.168.0.0/16 port = 6667
46 block drop in inet proto udp from 10.0.0.0/8 port = ftp to 192.168.0.0/16 port = 6668
48 block drop in inet proto udp from 10.0.0.0/8 port = ftp to 12.34.56.78 port = 6667
49 block drop in inet proto udp from 10.0.0.0/8 port = ftp to 12.34.56.78 port = 6668
54 block drop in inet proto udp from 172.16.0.0/12 port = ssh to 12.34.56.78 port = 6667
[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 Dpf0087.in5 pass in on lo1000001 proto udp from 10.0.0.5 to 10.0.0.4 port 53 keep state
6 pass in on lo1000000 proto udp from any to 10.0.0.2 port 53 keep state
8 pass out on lo1000001 proto udp from any to 10.0.0.2 port 53 keep state
11 pass in proto udp to 10.0.0.3 port 53 keep state
12 pass in on lo1000001 proto udp from 10.0.0.2 port 53 to 10.0.0.2 keep state
13 pass out proto udp to 10.0.0.1 port 53 keep state
14 pass out on lo1000000 proto udp from any to 10.0.0.2 port 53 keep state
15 pass out proto udp to 10.0.0.3 port 53 keep state
18 pass in on lo1000001 proto udp from any to 10.0.0.2 port 53 keep state
22 pass in proto udp to 10.0.0.1 port 53 keep state
[all …]
H A Dpf0087.ok3 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
6 pass out on lo1000001 inet proto udp from any to 10.0.0.2 port = domain 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
11 pass out inet proto udp from any to 10.0.0.1 port = domain keep state
12 pass out on lo1000000 inet proto udp from any to 10.0.0.2 port = domain keep state
13 pass out inet proto udp from any to 10.0.0.3 port = domain keep state
16 pass in on lo1000001 inet proto udp from any to 10.0.0.2 port = domain keep state
20 pass in inet proto udp from any to 10.0.0.1 port = domain keep state
[all …]
/freebsd/contrib/netbsd-tests/ipf/expected/
H A Dl18 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1 -> 4.4.4.4,53 PR udp len 20 40 IN
9 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 40 IN
10 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 56 IN
12 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 3.3.3.3,1023 -> 1.1.1.1,2049 PR udp len 20 28 IN
22 01/01/1970 00:00:00.000000 anon0 @0:1 p 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 40 IN
23 01/01/1970 00:00:00.000000 anon0 @0:1 p 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 56 IN
46 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1 -> 4.4.4.4,53 PR udp len 20 40 IN
47 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 40 IN
48 01/01/1970 00:00:00.000000 anon0 @0:3 p 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 40 IN
49 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 56 IN
[all …]
H A Dl1.b7 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1 -> 4.4.4.4,53 PR udp len 20 40 IN
8 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 40 IN
9 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 56 IN
11 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 3.3.3.3,1023 -> 1.1.1.1,2049 PR udp len 20 28 IN
18 01/01/1970 00:00:00.000000 anon0 @0:1 p 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 40 IN
20 01/01/1970 00:00:00.000000 anon0 @0:1 p 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 56 IN
43 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1 -> 4.4.4.4,53 PR udp len 20 40 IN
44 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 40 IN
45 01/01/1970 00:00:00.000000 anon0 @0:3 p 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 40 IN
47 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 56 IN
[all …]
H A Di144 block out on ed0(!) proto udp from any to any group 1000000
5 block in on vm0(!) proto tcp/udp from any to any head 101
6 pass in inet proto tcp/udp from 1.1.1.1/32 to 2.2.2.2/32 group 101
8 pass in inet proto udp from 2.0.0.2/32 to 3.0.0.3/32 group 101
9 block in on vm0(!) proto tcp/udp from any to any head vm0-group
10 pass in inet proto tcp/udp from 1.1.1.1/32 to 2.2.2.2/32 group vm0-group
11 block in on vm0(!) proto tcp/udp from any to any head vm0-group
12 pass in inet proto tcp/udp from 1.1.1.1/32 to 2.2.2.2/32 group vm0-group
14 block in inet6 proto udp from any to any
H A Din61 map foo0 from 0/0 port = 1 to 0/0 port != 0 -> 0/32 udp
2 map foo0 from 0/0 port = 1 to 0/0 port != 0 -> 0/32 udp
5 map foo0 from 0/0 port <= 1 to 0/0 port >= 0 -> 0/32 tcp/udp
6 map foo0 from 0/0 port <= 1 to 0/0 port >= 0 -> 0/32 tcp/udp
7 map foo0 from 0/0 port 1 >< 20 to 0/0 port 20 <> 40 -> 0/32 tcp/udp
8 map foo0 from 0/0 port 10:20 to 0/0 port 30:40 -> 0/32 tcp/udp
H A Din6_61 map foo0 inet6 from any port = 1 to any port != 0 -> ::/32 udp
2 map foo0 inet6 from any port = 1 to any port != 0 -> ::/32 udp
5 map foo0 inet6 from any port <= 1 to any port >= 0 -> ::/32 tcp/udp
6 map foo0 inet6 from any port <= 1 to any port >= 0 -> ::/32 tcp/udp
7 map foo0 inet6 from any port 1 >< 20 to any port 20 <> 40 -> ::/32 tcp/udp
8 map foo0 inet6 from any port 10:20 to any port 30:40 -> ::/32 tcp/udp
/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_netbios_pxy.c74 udphdr_t *udp; in ipf_p_netbios_out() local
82 dlen = fin->fin_dlen - sizeof(*udp); in ipf_p_netbios_out()
90 udp = (udphdr_t *)fin->fin_dp; in ipf_p_netbios_out()
91 off = (char *)udp - (char *)ip + sizeof(*udp) + fin->fin_ipoff; in ipf_p_netbios_out()
109 dgmbuf[4] = (char)((udp->uh_sport )&0xFF); in ipf_p_netbios_out()
110 dgmbuf[5] = (char)((udp->uh_sport >> 8)&0xFF); in ipf_p_netbios_out()
H A Dip_tftp_pxy.c156 udphdr_t *udp; in ipf_p_tftp_new() local
182 udp = (udphdr_t *)fin->fin_dp; in ipf_p_tftp_new()
183 aps->aps_sport = udp->uh_sport; in ipf_p_tftp_new()
184 aps->aps_dport = udp->uh_dport; in ipf_p_tftp_new()
278 udphdr_t udp; in ipf_p_tftp_backchannel() local
295 bzero((char *)&udp, sizeof(udp)); in ipf_p_tftp_backchannel()
298 udp.uh_ulen = htons(sizeof(udp)); in ipf_p_tftp_backchannel()
299 udp.uh_sum = 0; in ipf_p_tftp_backchannel()
302 fi.fin_dp = (char *)&udp; in ipf_p_tftp_backchannel()
305 fi.fin_dlen = sizeof(udp); in ipf_p_tftp_backchannel()
[all …]
/freebsd/crypto/heimdal/etc/
H A Dservices.append6 kerberos 88/udp kerberos-sec # Kerberos v5 UDP
8 kpasswd 464/udp # password changing
14 kerberos-adm 749/udp # v5 kadmin
16 kerberos-iv 750/udp kdc # Kerberos authentication--udp
18 kerberos_master 751/udp # v4 kadmin
29 krb524 4444/udp # MIT 5->4

12345678910>>...14