aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid M. Syzdek <david@syzdek.net>2020-02-08 17:07:15 -0900
committerDavid M. Syzdek <david@syzdek.net>2020-02-08 17:07:15 -0900
commitdcb33846def6f401963d255c14294566b14eefb6 (patch)
tree18dbc1a7a7d58297fce0c1917b37a2df49d4b491
parent4c98f8aa896d49df52ba6b9a0aca488e00c41d63 (diff)
downloadakcom-udpecho-dcb33846def6f401963d255c14294566b14eefb6.tar.gz
akcom-udpecho-dcb33846def6f401963d255c14294566b14eefb6.tar.bz2
akcom-udpecho-dcb33846def6f401963d255c14294566b14eefb6.tar.xz
akcom-udpecho-dcb33846def6f401963d255c14294566b14eefb6.zip
docs: updating readme
-rw-r--r--README.md95
1 files changed, 84 insertions, 11 deletions
diff --git a/README.md b/README.md
index 6011ec5..9555b40 100644
--- a/README.md
+++ b/README.md
@@ -37,13 +37,20 @@ Contents
37-------- 37--------
38 38
39 * Overview 39 * Overview
40 * Software Requirements
41 * Utilities
42 - akcom-udpecho
43 - akcom-udpechod
40 * Source Code 44 * Source Code
45 * Package Maintence Notes
41 46
42 47
43Overview 48Overview
44========== 49==========
45 50
46This package contains a simple UDP echo server and UDP echo client. 51This package contains a UDP echo server and client. Both the client and the
52server support RFC 862 (default) and support TR-143 UDPEchoPlus if passed the
53`--echoplus` flag.
47 54
48 55
49Software Requirements 56Software Requirements
@@ -56,6 +63,73 @@ Software Requirements
56 * Git 1.7.2.3 63 * Git 1.7.2.3
57 64
58 65
66Utilities
67=========
68
69akcom-udpecho
70-------------
71
72akcom-udpecho is a shell utility for testing UDP echo servers.
73
74Example usage (RFC 862 compliant):
75
76 $ akcom-udpecho -c 5 udpecho.example.com 30006
77 UDPECHO udpecho.example.com:30006 (209.112.131.108:30006): 20 bytes
78 udpecho_seq=1 time=17.3 ms
79 udpecho_seq=2 time=13.7 ms
80 udpecho_seq=3 time=19.0 ms
81 udpecho_seq=4 time=18.3 ms
82 udpecho_seq=5 time=12.6 ms
83
84 --- udpecho.example.com udpecho statistics ---
85 5 packets transmitted, 5 packets received, 0.0% packet loss
86 round-trip min/avg/max = 12.6/16.1/19.0 ms
87 $
88
89Example usage (TR-143 UDPEchoPlus compliant):
90
91 $ akcom-udpecho -c 5 --echoplus udpecho.example.com 30006
92 UDPECHO udpecho.example.com:30006 (209.112.131.108:30006): 20 bytes
93 udpecho_seq=1 time=20.9 ms delay=1.5 ms adj_time=19.4 ms
94 udpecho_seq=2 time=17.4 ms delay=2.8 ms adj_time=14.6 ms
95 udpecho_seq=3 time=19.7 ms delay=0.3 ms adj_time=19.4 ms
96 udpecho_seq=4 time=18.7 ms delay=0.7 ms adj_time=18.0 ms
97 udpecho_seq=5 time=14.1 ms delay=2.7 ms adj_time=11.4 ms
98
99 --- udpecho.example.com udpecho statistics ---
100 5 packets transmitted, 5 packets received, 0.0% packet loss
101 round-trip min/avg/max = 14.1/18.1/20.9 ms
102 adjusted round-trip min/avg/max = 11.4/16.5/19.4 ms
103 $
104
105akcom-udpechod
106--------------
107
108akcom-udpechod is simple UDP echo server.
109
110Example usage (RFC 862 compliant):
111
112 akcom-udpechod \
113 --port 30007 \
114 --pidfile /var/run/akcom-udpecho/akcom-udpecho.pid \
115 --user nobody \
116 --group nobody \
117 --delay=10000 \
118 --drop=10
119
120Example usage (TR-143 UDPEchoPlus compliant):
121
122 akcom-udpechod \
123 --port 30007 \
124 --pidfile /var/run/akcom-udpecho/akcom-udpecho.pid \
125 --echoplus \
126 --user nobody \
127 --group nobody \
128 --delay=10000 \
129 --drop=10 \
130 --echoplus
131
132
59Source Code 133Source Code
60=========== 134===========
61 135
@@ -65,10 +139,12 @@ source code from the git repository.
65 139
66Browse Source: 140Browse Source:
67 141
142 * https://github.com/alaskacommunications/akcom-udpecho/
68 * https://scm.prv.acsalaska.net/pub/scm/ipeng/akcom-udpecho.git/ 143 * https://scm.prv.acsalaska.net/pub/scm/ipeng/akcom-udpecho.git/
69 144
70Git URLs: 145Git URLs:
71 146
147 * https://github.com/alaskacommunications/akcom-udpecho.git
72 * https://scm.prv.acsalaska.net/pub/scm/ipeng/akcom-udpecho.git 148 * https://scm.prv.acsalaska.net/pub/scm/ipeng/akcom-udpecho.git
73 * scm.prv.acsalaska.net:/pub/scm/ipeng/akcom-udpecho.git 149 * scm.prv.acsalaska.net:/pub/scm/ipeng/akcom-udpecho.git
74 150
@@ -76,19 +152,16 @@ Downloading Source:
76 152
77 $ git clone https://scm.prv.acsalaska.net/pub/scm/ipeng/akcom-udpecho.git 153 $ git clone https://scm.prv.acsalaska.net/pub/scm/ipeng/akcom-udpecho.git
78 154
79Preparing Source: 155Compiling source using basic method:
80
81 156
82Compiling Source using basic method: 157 $ cd akcom-udpecho/src
83 158 $ make && make install
84 $ cd src && make && make install
85 159
86Compiling Source using GNU autotools method: 160Preparing and compiling source using GNU autotools method:
87 161
88 $ cd akcom-udpecho 162 $ cd akcom-udpecho/build
89 $ ./autogen.sh 163 $ ../autogen.sh
90 $ cd build 164 $ ../configure
91 $ ./configure
92 $ make && make install 165 $ make && make install
93 166
94For more information on building and installing using configure, please 167For more information on building and installing using configure, please