Home
last modified time | relevance | path

Searched +full:short +full:- +full:ping (Results 1 – 25 of 64) sorted by relevance

123

/freebsd/sbin/ping/tests/
H A Dtest_ping.py40 if special == "no-payload":
52 # (time-warped package)
57 payload_no_last_byte = sc.bytes_hex(load)[:-2]
59 if special == "not-mine":
91 elif opts == "NOP-40":
96 elif opts == "RR-same":
99 elif opts == "RR-trunc":
105 elif opts == "LSRR-trunc":
111 elif opts == "SSRR-trunc":
117 elif opts == "unk-40":
[all …]
/freebsd/sys/contrib/device-tree/Bindings/mfd/
H A Drohm,bd9576-pmic.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/mfd/rohm,bd9576-pmic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Matti Vaittinen <mazziesaccount@gmail.com>
14 powering the R-Car series processors.
16 monitoring. A watchdog logic with slow ping/windowed modes is also included.
21 - rohm,bd9576
22 - rohm,bd9573
32 rohm,vout1-en-low:
[all …]
H A Drohm,bd96801-pmic.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/mfd/rohm,bd96801-pmic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
13 BD96801 is an automotive grade single-chip power management IC.
15 over-/under voltage and over current detection and a watchdog.
30 where the SoC is not powered by the PMIC or has a short time backup
36 interrupt-names:
39 - enum: [intb, errb]
[all …]
/freebsd/tests/sys/netpfil/pf/
H A Dether.sh2 # SPDX-License-Identifier: BSD-2-Clause
53 atf_check -s exit:0 -o ignore ping -c 1 -t 1 192.0.2.2
55 # Now enable. Ping should fail.
56 jexec alcatraz pfctl -e
58 atf_check -s exit:2 -o ignore ping -c 1 -t 1 192.0.2.2
63 atf_check -s exit:2 -o ignore ping -c 1 -t 1 192.0.2.2
68 atf_check -s exit:0 -o ignore ping -c 1 -t 1 192.0.2.2
73 atf_check -s exit:2 -o ignore ping -c 1 -t 1 192.0.2.2
78 atf_check -s exit:2 -o ignore ping -c 1 -t 1 192.0.2.2
83 atf_check -s exit:0 -o ignore ping -c 1 -t 1 192.0.2.2
[all …]
/freebsd/sbin/ping/
H A Dping.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
39 * measure round-trip-delays and packet loss across network paths.
41 * Author -
46 * Status -
48 * Bugs -
89 #include "ping.h"
94 #define MASK_LEN (ICMP_MASKLEN - ICMP_MINLEN)
95 #define TS_LEN (ICMP_TSLEN - ICMP_MINLEN)
155 static struct sockaddr_in whereto; /* who to ping */
[all …]
/freebsd/share/examples/ipfilter/rules/
H A DBASIC_2.FW1 #!/sbin/ipf -f -
7 # ppp0 - (external) PPP connection to ISP, address a.b.c.d/32
9 # ed0 - (internal) network interface, address w.x.y.z/32
14 #-------------------------------------------------------
16 # short packets which are packets fragmented too short to be real.
17 block in log quick all with short
18 #-------------------------------------------------------
28 #-------------------------------------------------------
42 #-------------------------------------------------------
54 #-------------------------------------------------------
[all …]
/freebsd/tools/test/stress2/misc/
H A Dnfs_halfpage2.sh4 # SPDX-License-Identifier: BSD-2-Clause
30 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
38 [ -z "$nfs_export" ] && exit 0
39 ping -c 2 `echo $nfs_export | sed 's/:.*//'` > /dev/null 2>&1 ||
46 mycc -o nfs_halfpage -Wall -Wextra -O0 -g nfs_halfpage.c || exit 1
47 rm -f nfs_halfpage.c
50 mount | grep "$mntpoint" | grep -q nfs && umount $mntpoint
51 mount -t nfs -o tcp -o retrycnt=3 -o intr,soft -o rw $nfs_export $mntpoint
56 ls -l $file
62 mount | grep -q "on $mntpoint " || break
[all …]
H A Dnfs_halfpage.sh4 # SPDX-License-Identifier: BSD-2-Clause
30 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
38 [ -z "$nfs_export" ] && exit 0
39 ping -c 2 `echo $nfs_export | sed 's/:.*//'` > /dev/null 2>&1 ||
42 mount | grep "$mntpoint" | grep -q nfs && umount $mntpoint
47 mycc -o nfs_halfpage -Wall -Wextra -O0 -g nfs_halfpage.c || exit 1
48 rm -f nfs_halfpage.c
51 mount -t nfs -o tcp -o retrycnt=3 -o intr,soft -o rw $nfs_export $mntpoint
61 mount | grep -q "on $mntpoint " || break
64 [ $i -eq 6 ] && s=1 || s=0
[all …]
/freebsd/sbin/pfctl/
H A Dpfctl.835 .Bk -words
109 .Bl -tag -width Ds
150 .Bd -literal -offset indent
151 # pfctl -a "authpf/smith(1234)" -s rules
158 .Bd -literal -offset indent
159 # pfctl -a foo/bar -t mytable -T add 1.2.3.4 5.6.7.8
180 .Bd -literal -offset indent
181 # pfctl -a 'authpf/*' -sr
187 .Bd -literal -offset indent
188 # pfctl -a '*' -sr
[all …]
/freebsd/crypto/openssh/
H A DPROTOCOL4 Note that OpenSSH's sftp and sftp-server implement revision 3 of the SSH
7 https://www.openssh.com/txt/draft-ietf-secsh-filexfer-02.txt
12 The protocol used by OpenSSH's ssh-agent is described in the file
17 1.1. transport: Protocol 2 MAC algorithm "umac-64@openssh.com"
19 This is a new transport-layer MAC method using the UMAC algorithm
20 (rfc4418). This method is identical to the "umac-64" method documented
23 https://www.openssh.com/txt/draft-miller-secsh-umac-01.txt
27 This transport-layer compression method uses the zlib compression
34 https://www.openssh.com/txt/draft-miller-secsh-compression-delayed-00.txt
36 1.3. transport: New public key algorithms "ssh-rsa-cert-v01@openssh.com",
[all …]
/freebsd/contrib/tcpdump/
H A Dprint-ldp.c21 #include "netdissect-stdinc.h"
36 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
38 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
40 * + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
42 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
60 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
62 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
64 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
70 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
76 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[all …]
H A Dprint-lspping.c16 /* \summary: MPLS LSP PING printer */
22 #include "netdissect-stdinc.h"
39 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
41 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
43 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
45 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
47 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
49 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
51 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
53 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[all …]
H A DCHANGES5 BGP: Fix an undefined behavior when it tries to parse a too-short packet.
7 CDP: only hex-dump unknown TLVs in verbose mode.
9 DHCPv6: client-id/server-id DUID type 2 correction; parse the user class,
10 boot file URL, and SZTP redirect options; add DUID-UUID printing
12 DNS: Detect and correctly handle too-short URI RRs.
25 IPv6: Fix invalid 32-bit versus 64-bit printouts of fragment headers.
37 NFS: Avoid printing non-ASCII characters.
39 OSPF: Update LS-Ack printing not to run off the end of the packet.
44 Use the buffer stack for de-escaping PPP; fixes CVE-2024-2397;
49 RPKI-Router: Refine length and bounds checks.
[all …]
/freebsd/tools/tools/so_splice/
H A Dpingpong.c2 * SPDX-License-Identifier: BSD-2-Clause
8 * A utility which implements a simple ping-pong over TCP, and prints the amount
31 "usage: pingpong [-c <target addr> [-l <msgsz>] [-n <count]]|[-s <listen addr>]\n"); in usage()
55 for (res1 = res; res != NULL; res = res->ai_next) { in addrinfo()
56 if (res->ai_protocol == IPPROTO_TCP) { in addrinfo()
57 memcpy(ss, res->ai_addr, res->ai_addrlen); in addrinfo()
80 while ((ch = getopt(argc, argv, "c:l:n:s:")) != -1) { in main()
91 errx(1, "message size must be non-zero"); in main()
123 if (s == -1) in main()
126 -1) in main()
[all …]
/freebsd/share/doc/psd/26.rpcrfc/
H A Drpc.rfc.ms2 .\" Must use -- tbl -- with this one
51 One program may deal with high-level applications such as file system
52 access control and locking. The other may deal with low-level file
62 procedure in some well-specified location (such as a result
65 procedure are extracted from the well-specified location, and the
105 is own retransmission and time-out policy as the RPC layer does not
113 application retransmits RPC messages after short time-outs, the only
120 execute-at-most-once semantics. A server can do this by taking
128 execute-at-most-once semantics. The server is not allowed to examine
135 connection-oriented protocol like TCP is used, an application still
[all …]
/freebsd/crypto/openssl/ssl/quic/
H A Dquic_txp.c2 * Copyright 2022-2025 The OpenSSL Project Authors. All Rights Reserved.
23 #define MIN_FRAME_SIZE_STREAM 3 /* minimum useful size (for non-FIN) */
37 * - It bypasses CC, but *is* counted as in flight for purposes of CC;
38 * - It must be ACK-eliciting.
43 * An ACK-only packet is different in that:
44 * - It bypasses CC, and is considered a 'non-inflight' packet;
45 * - It may not contain anything other than an ACK frame, not even padding.
64 QUIC_FIFD fifd; /* QUIC Frame-in-Flight Dispatcher */
72 /* Internal state - frame (re)generation flags. */
78 /* Internal state - frame (re)generation flags - per PN space. */
[all …]
/freebsd/tests/sys/netinet/
H A Dfibs_multibind_test.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2024-2025 Stormshield
24 #include <atf-c.h>
102 ATF_REQUIRE(s != -1); in mksockp()
147 multibind = -1; in require_fibs_multibind()
203 error = seteuid(passwd->pw_uid); in multibind_different_user()
209 ATF_REQUIRE_ERRNO(EADDRINUSE, error == -1); in multibind_different_user()
259 ATF_REQUIRE_MSG(ns != -1, "accept failed: %s", strerror(errno)); in per_fib_listening_socket()
268 ATF_REQUIRE_MSG(error == -1, "connect succeeded unexpectedly"); in per_fib_listening_socket()
[all …]
/freebsd/usr.bin/rpcinfo/
H A Drpcinfo.c33 * Copyright (c) 1986 - 1991 by Sun Microsystems, Inc.
38 * rpcinfo: ping a particular rpc program
53 * all the portmapper specific options such as -u, -t, -p become void.
89 #define TCPPING 2 /* ping TCP service */
90 #define UDPPING 3 /* ping UDP service */
91 #define BROADCAST 4 /* ping broadcast service */
96 #define RPCBDUMP_SHORT 9 /* dump rpcbind registrations - short version */
167 while ((c = getopt(argc, argv, "a:bdlmn:pstT:u")) != -1) {
169 while ((c = getopt(argc, argv, "a:bdlmn:sT:")) != -1) {
255 if (argc - optind > 1)
[all …]
/freebsd/usr.sbin/ypbind/
H A Dypbind.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
87 #define READFD ypdb->dom_pipe_fds[0]
88 #define WRITEFD ypdb->dom_pipe_fds[1]
89 #define BROADFD broad_domain->dom_pipe_fds[1]
96 int ping(struct _dom_binding *);
175 syslog(LOG_WARNING, "Domain name '%s' has embedded slash -- \ in ypbindproc_domain_2_yp()
180 for (ypdb = ypbindlist; ypdb; ypdb = ypdb->dom_pnext) { in ypbindproc_domain_2_yp()
181 if (strcmp(ypdb->dom_domain, *argp) == 0) in ypbindproc_domain_2_yp()
187 …syslog(LOG_NOTICE, "Running in restricted mode -- request to bind domain \"%s\" rejected.\n", *arg… in ypbindproc_domain_2_yp()
[all …]
H A Dyp_ping.c2 * SPDX-License-Identifier: BSD-4-Clause
18 * 4. Neither the name of the author nor the names of any co-contributors
35 /*-
41 * - Redistributions of source code must retain the above copyright notice,
43 * - Redistributions in binary form must reproduce the above copyright notice,
46 * - Neither the name of Sun Microsystems, Inc. nor the names of its
110 int sock = -1; in __pmap_getport()
114 address->sin_port = htons(PMAPPORT); in __pmap_getport()
134 if (sock != -1) in __pmap_getport()
136 address->sin_port = 0; in __pmap_getport()
[all …]
/freebsd/share/man/man7/
H A Dsecurity.747 multi-user systems have some inherent security, the job of building and
60 As yesterday's mini-computers and mainframes
74 .Bl -enum -offset indent
89 Typically, DoS attacks are brute-force mechanisms that attempt
99 Brute-force network attacks are harder to deal with.
100 A spoofed-packet attack, for example, is
101 nearly impossible to stop short of cutting your system off from the Internet.
114 The result is that if you have any moderate-sized user base,
137 may find a bug in a root-ru
[all...]
/freebsd/share/examples/ipfilter/
H A Dexamples.txt21 Pre-authenticating packets
23 ------------------------------------------------------------------------
37 ------------------------------------------------------------------------
49 ------------------------------------------------------------------------
74 ------------------------------------------------------------------------
97 ------------------------------------------------------------------------
116 The problem arises that fragments can actually be a non-malicious. The
117 really malicious ones can be grouped under the term "short fragments" and
121 # get rid of all short IP fragments (too small for valid comparison)
123 block in proto tcp all with short
[all …]
/freebsd/sys/dev/xen/netback/
H A Dnetback_unit_tests.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2009-2011 Spectra Logic Corporation
53 buflen -= MIN(buflen, new_chars); \
228 buflen -= new_chars; in xnb_unit_test_runner()
237 n_passes = ntests - n_failures; in xnb_unit_test_runner()
414 req->flags = 0; in xnb_ring2pkt_1req()
415 req->size = 69; /* arbitrary number for test */ in xnb_ring2pkt_1req()
445 req->flags = NETTXF_more_data; in xnb_ring2pkt_2req()
446 req->size = 100; in xnb_ring2pkt_2req()
[all …]
/freebsd/tools/regression/sockets/udp_pingpong/
H A Dudp_pingpong.c1 /*-
31 * reading clock after recv() completes or using kernel-supplied
32 * via recvmsg(). End-to-end time t(A->B->A) is then calculated
33 * and compared against time for both t(A->B) + t(B->A) to make
57 * Timeout to receive ping on the side B. 4x as large as on the side A,
101 #define SEC(x) ((x)->tv_sec)
102 #define NSEC(x) ((x)->tv_nsec)
108 SEC(ts) = (tv)->tv_sec; \
109 NSEC(ts) = (tv)->tv_usec * NSEC_IN_USEC; \
116 enum ts_types {TT_TIMESTAMP = -2, TT_BINTIME = -1,
[all …]
/freebsd/lib/msun/src/
H A Dcatrigf.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2012 Stephen Montgomery-Smith <stephen@FreeBSD.ORG>
32 * Fairgrieve, and Ping Tak Peter Tang, published in ACM Transactions on
33 * Mathematical Software, Volume 23 Issue 3, 1997, Pages 299-335,
38 * XXX comments were removed automatically, and even short ones on the right
60 FOUR_SQRT_MIN = 0x1p-61,
62 m_e = 2.7182818285e0, /* 0xadf854.0p-22 */
63 m_ln2 = 6.9314718056e-1, /* 0xb17218.0p-24 */
64 pio2_hi = 1.5707962513e0, /* 0xc90fda.0p-23 */
[all …]

123