/freebsd/usr.sbin/services_mkdb/ |
H A D | services | 22 tcpmux 1/udp #TCP Port Service Multiplexer 24 compressnet 2/udp #Management Utility 26 compressnet 3/udp #Compression Process 28 rje 5/udp #Remote Job Entry 30 echo 7/udp 33 discard 9/udp sink null 36 systat 11/udp users #Active Users 38 daytime 13/udp 41 qotd 17/udp quote #Quote of the Day 43 msp 18/udp #Message Send Protocol [all …]
|
/freebsd/sbin/dhclient/ |
H A D | packet.c | 115 struct udphdr udp; in assemble_udp_ip_header() local 120 ip.ip_len = htons(sizeof(ip) + sizeof(udp) + len); in assemble_udp_ip_header() 133 udp.uh_sport = htons(LOCAL_PORT); /* XXX */ in assemble_udp_ip_header() 134 udp.uh_dport = port; /* XXX */ in assemble_udp_ip_header() 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() 141 IPPROTO_UDP + (u_int32_t)ntohs(udp.uh_ulen))))); in assemble_udp_ip_header() 143 memcpy(&buf[*bufix], &udp, sizeof(udp)); in assemble_udp_ip_header() 144 *bufix += sizeof(udp); in assemble_udp_ip_header() [all …]
|
/freebsd/contrib/netbsd-tests/ipf/regress/ |
H A D | f5 | 2 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 9 block in proto tcp/udp from any port >= 1024 to any 11 pass in proto udp from any port >= 1024 to any 12 pass in proto tcp/udp from any port >= 1024 to any 14 block in proto udp from any port 0 >< 512 to any 15 block in proto tcp/udp from any port 0 >< 512 to any [all …]
|
H A D | f6 | 2 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 9 block in proto tcp/udp from any to any port >= 1024 11 pass in proto udp from any to any port >= 1024 12 pass in proto tcp/udp from any to any port >= 1024 14 block in proto udp from any to any port 0 >< 512 15 block in proto tcp/udp from any to any port 0 >< 512 [all …]
|
H A D | in6 | 1 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 D | in6_6 | 1 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 D | i14 | 4 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 D | i11 | 2 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/contrib/netbsd-tests/ipf/input/ |
H A D | f5 | 15 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 22 in udp 1.1.1.1,32767 2.2.2.2,2222 23 in udp 1.1.1.1,32768 2.2.2.2,2222 24 in udp 1.1.1.1,65535 2.2.2.2,2222 [all …]
|
H A D | f6 | 15 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 22 in udp 2.2.2.2,2222 1.1.1.1,32767 23 in udp 2.2.2.2,2222 1.1.1.1,32768 24 in udp 2.2.2.2,2222 1.1.1.1,65535 [all …]
|
H A D | f29 | 4 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/tests/sys/mac/portacl/ |
H A D | nobody_test.sh | 19 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 37 bind_test ok ok gid nobody udp 7777 45 bind_test fl fl uid nobody udp 77 46 bind_test fl ok uid nobody udp 7777 [all …]
|
H A D | root_test.sh | 16 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 D | pf0004.ok | 4 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 41 block drop in inet proto udp from 10.0.0.0/8 port = ssh to 192.168.0.0/16 port 6669:65535 42 block drop in inet proto udp from 10.0.0.0/8 port = ftp to 192.168.0.0/16 port = 6667 43 block drop in inet proto udp from 10.0.0.0/8 port = ftp to 192.168.0.0/16 port = 6668 44 block drop in inet proto udp from 10.0.0.0/8 port = ftp to 192.168.0.0/16 port 6669:65535 45 block drop in inet proto udp from 10.0.0.0/8 port = ssh to 12.34.56.78 port = 6667 46 block drop in inet proto udp from 10.0.0.0/8 port = ssh to 12.34.56.78 port = 6668 47 block drop in inet proto udp from 10.0.0.0/8 port = ssh to 12.34.56.78 port 6669:65535 [all …]
|
H A D | pf0005.ok | 4 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 D | pf0087.in | 5 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 D | pf0087.ok | 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 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 D | l1 | 8 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 13 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,2049 -> 3.3.3.3,1023 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 [all …]
|
H A D | l1.b | 7 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 12 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,2049 -> 3.3.3.3,1023 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 [all …]
|
H A D | i14 | 4 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 D | in6 | 1 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 D | in6_6 | 1 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 D | ip_netbios_pxy.c | 74 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 D | ip_tftp_pxy.c | 156 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() 296 udp.uh_sport = 0; /* XXX - don't specify remote port */ in ipf_p_tftp_backchannel() 297 udp.uh_dport = ti->ti_rule->in_ndport; 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() [all …]
|
/freebsd/crypto/heimdal/etc/ |
H A D | services.append | 6 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
|