Skip to content
Snippets Groups Projects
Commit f1d1e349 authored by Peter Gerwinski's avatar Peter Gerwinski
Browse files

Beispiele und Screenshots 2.11.2023

parent b68321d1
Branches
No related tags found
No related merge requests found
Showing
with 444 additions and 3 deletions
No preview for this file type
......@@ -529,9 +529,7 @@
\vbitno{64}\databitbox{32}{data}
\end{center}
\end{frame}
\begin{frame}
\bigskip
ICMP-Paket: transportiert Steuernachrichten
......
#!/bin/bash
echo "Hello, world!"
#!/bin/bash
echo -n "Name: "
read name
echo "Hallo, $name!"
cassini/home/peter/bo/2023ws/dbs/20231102> nc 88.198.170.60 80
GET /
HTTP/1.1 400 Bad Request
Date: Thu, 02 Nov 2023 10:54:35 GMT
Server: Apache/2.4.56 (Debian)
Content-Length: 308
Connection: close
Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
<hr>
<address>Apache/2.4.56 (Debian) Server at m31.gerwinski.de Port 80</address>
</body></html>
cassini/home/peter/bo/2023ws/dbs/20231102> nc 88.198.170.60 80
GET /^M
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>ngc224.gerwinski.de</title>
</head>
<body background="ngc224.jpg" bgcolor="#000000" text="#CFCFCF"
link="#7F7FFF" alink="#CFCFFF" vlink="#FF5FFF">
<h1>ngc224.gerwinski.de - der Server</h1>
<p>Benannt nach der Andromeda-Galaxie - M31 - NGC224
<p align="center"><img src="null.png" alt="" width="1" height="1" vspace="360">
<p><font size="-2"><a href="http://www.peter.gerwinski.de">Peter Gerwinski</a><br>
<a href="http://www.noao.edu/image_gallery/html/im0424.html">Bild:
Bill Schoening, Vanessa Harvey/REU program/NOAO/AURA/NSF</a></font>
</body>
</html>
cassini/home/peter/bo/2023ws/dbs/20231102>
cassini/home/peter/bo/2023ws/dbs/20231102> /sbin/route -n
Kernel-IP-Routentabelle
Ziel Router Genmask Flags Metric Ref Use Iface
0.0.0.0 10.128.29.1 0.0.0.0 UG 0 0 0 wlan0
10.128.29.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
cassini/home/peter/bo/2023ws/dbs/20231102> /sbin/ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Lokale Schleife)
RX packets 2141231 bytes 2409535237 (2.2 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2141231 bytes 2409535237 (2.2 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.128.29.120 netmask 255.255.255.0 broadcast 10.128.29.255
inet6 fe80::c685:8ff:fe4a:5042 prefixlen 64 scopeid 0x20<link>
ether c4:85:08:4a:50:42 txqueuelen 1000 (Ethernet)
RX packets 2051475 bytes 905394925 (863.4 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4252967 bytes 2323112955 (2.1 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
cassini/home/peter/bo/2023ws/dbs/20231102>
cassini/home/peter/bo/2023ws/dbs/20231102> ip route
default via 10.128.29.1 dev wlan0
10.128.29.0/24 dev wlan0 proto kernel scope link src 10.128.29.120
cassini/home/peter/bo/2023ws/dbs/20231102> /sbin/route -n
Kernel-IP-Routentabelle
Ziel Router Genmask Flags Metric Ref Use Iface
0.0.0.0 10.128.29.1 0.0.0.0 UG 0 0 0 wlan0
10.128.29.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
cassini/home/peter/bo/2023ws/dbs/20231102>
cassini/home/peter/bo/2023ws/dbs/20231102> /sbin/route -n
Kernel-IP-Routentabelle
Ziel Router Genmask Flags Metric Ref Use Iface
0.0.0.0 10.128.29.1 0.0.0.0 UG 0 0 0 wlan0
10.128.29.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
cassini/home/peter/bo/2023ws/dbs/20231102> traceroute -n 88.198.170.60
traceroute to 88.198.170.60 (88.198.170.60), 30 hops max, 60 byte packets
1 10.128.29.1 2.345 ms 2.854 ms 2.848 ms
2 * * *
3 188.1.231.93 4.512 ms 4.727 ms 5.389 ms
4 188.1.144.178 10.100 ms 10.073 ms 10.072 ms
5 188.1.242.10 9.438 ms 9.111 ms 11.022 ms
6 213.239.224.69 15.161 ms 13.278 ms 213.239.224.85 12.722 ms
7 213.239.229.62 12.697 ms 13.011 ms 213.239.229.58 12.491 ms
8 144.76.104.6 12.759 ms 12.650 ms 16.253 ms
9 144.76.104.6 15.634 ms 12.525 ms 12.840 ms
cassini/home/peter/bo/2023ws/dbs/20231102> traceroute 88.198.170.60
traceroute to 88.198.170.60 (88.198.170.60), 30 hops max, 60 byte packets
1 _gateway (10.128.29.1) 2.266 ms 2.802 ms 2.782 ms
2 * * *
3 cr-dui1-pwether10722.x-win.dfn.de (188.1.231.93) 5.425 ms 4.740 ms 5.416 ms
4 cr-fra2-be16.x-win.dfn.de (188.1.144.178) 9.844 ms 9.828 ms 8.831 ms
5 kr-fra307.x-win.dfn.de (188.1.242.10) 9.796 ms 9.782 ms 9.765 ms
6 core23.fsn1.hetzner.com (213.239.224.69) 13.576 ms core22.fsn1.hetzner.com (213.239.224.13) 12.551 ms core21.fsn1.hetzner.com (213.239.224.101) 12.231 ms
7 ex9k2.dc10.fsn1.hetzner.com (213.239.229.58) 12.722 ms static.213-239-254-86.clients.your-server.de (213.239.254.86) 16.846 ms ex9k2.dc10.fsn1.hetzner.com (213.239.229.62) 17.091 ms
8 static.6.104.76.144.clients.your-server.de (144.76.104.6) 17.633 ms 14.226 ms 13.191 ms
9 static.6.104.76.144.clients.your-server.de (144.76.104.6) 13.144 ms * 15.826 ms
cassini/home/peter/bo/2023ws/dbs/20231102>
cassini/home/peter/bo/2023ws/dbs/20231102> cat hello-01
#!/bin/bash
echo "Hello, world!"
cassini/home/peter/bo/2023ws/dbs/20231102> chmod +x hello-01
cassini/home/peter/bo/2023ws/dbs/20231102> ./hello-01
Hello, world!
cassini/home/peter/bo/2023ws/dbs/20231102> nc -p 1234 -l -c ./hello-01
cassini/home/peter/bo/2023ws/dbs/20231102>
8< ---------------------------------------------------------------------
cassini/home/peter> nc 127.0.0.1 1234
Hello, world!
cassini/home/peter/bo/2023ws/dbs/20231102> cat hello-02
#!/bin/bash
echo -n "Name: "
read name
echo "Hallo, $name!"
cassini/home/peter/bo/2023ws/dbs/20231102> ./hello-02
Name: Peter
Hallo, Peter!
cassini/home/peter/bo/2023ws/dbs/20231102> nc -p 1234 -l -c ./hello-02
cassini/home/peter/bo/2023ws/dbs/20231102>
8< ---------------------------------------------------------------------
cassini/home/peter> nc 127.0.0.1 1234
Name: Peter
Hallo, Peter!
cassini/home/peter>
cassini/home/peter/bo/2023ws/dbs/20231102> nc 88.198.170.60 25
220 mx1.gerwinski.de ESMTP Exim 4.94.2 Thu, 02 Nov 2023 11:24:26 +0100
Hallo?
500 unrecognized command
HELO cassini
250 mx1.gerwinski.de Hello cassini [195.37.15.82]
MAIL FROM: <peter.gerwinski@hs-bochum.de>
250 OK
RCPT TO: <peter@gerwinski.de>
250 Accepted
DATA
354 Enter message, ending with "." on a line by itself
From: Prof. Dr. rer. nat. Peter Gerwinski <peter.gerwinski@hs-bochum.de>
To: Peter Gerwinski <peter@gerwinski.de>
Subject: Test
Hallo,
dies ist ein Test.
Schöne Grüße!
.
250 OK id=1qyUuM-00GWUO-5J
QUIT
221 mx1.gerwinski.de closing connection
cassini/home/peter/bo/2023ws/dbs/20231102>
cassini/home/peter/bo/2023ws/dbs/20231102> nc 88.198.170.60 25
220 mx1.gerwinski.de ESMTP Exim 4.94.2 Thu, 02 Nov 2023 11:36:40 +0100
HELO cassini
250 mx1.gerwinski.de Hello cassini [195.37.15.82]
MAIL FROM: <peter.gerwinski@hs-bochum.de>
250 OK
RCPT TO: <peter@gerwinski.de>
250 Accepted
DATA
354 Enter message, ending with "." on a line by itself
Content-Length: 5
Subject: Punkt-Test
vor dem Punkt
.
nach dem250 OK id=1qyV4V-00GXJw-Ld
Punkt
500 unrecognized command
Schade.
500 unrecognized command
QUIT
221 mx1.gerwinski.de closing connection
cassini/home/peter/bo/2023ws/dbs/20231102>
cassini/home/peter/bo/2023ws/dbs/20231102> nc 88.198.170.60 25
220 mx1.gerwinski.de ESMTP Exim 4.94.2 Thu, 02 Nov 2023 11:38:20 +0100
HELO cassini
250 mx1.gerwinski.de Hello cassini [195.37.15.82]
MAIL FROM: <peter.gerwinski@hs-bochum.de>
250 OK
RCPT TO: <peter@gerwinski.de>
250 Accepted
DATA
354 Enter message, ending with "." on a line by itself
Lines: 5
vor dem Punkt
.
na250 OK id=1qyV6A-00GXPs-Gi
500 unrecognized command
QUIT
221 mx1.gerwinski.de closing connection
cassini/home/peter/bo/2023ws/dbs/20231102>
cassini/home/peter/bo/2023ws/dbs/20231102> nc 88.198.170.60 25
220 mx1.gerwinski.de ESMTP Exim 4.94.2 Thu, 02 Nov 2023 11:43:37 +0100
HELO cassini
250 mx1.gerwinski.de Hello cassini [195.37.15.82]
MAIL FROM: Jeff Bezos <bezos@amazon.com>
250 OK
RCPT TO: Peter Gerwinski <peter@gerwinski.de>
451-195.37.15.82 is not yet authorized to deliver mail from <bezos@amazon.com>
451 to <peter@gerwinski.de>. Please try later.
QUIT
221 mx1.gerwinski.de closing connection
cassini/home/peter/bo/2023ws/dbs/20231102> nc 88.198.170.60 25
220 mx1.gerwinski.de ESMTP Exim 4.94.2 Thu, 02 Nov 2023 11:45:12 +0100
HELO cassini
250 mx1.gerwinski.de Hello cassini [195.37.15.82]
MAIL FROM: Jeff Bezos <bezos@amazon.com>
250 OK
RCPT TO: Peter Gerwinski <peter@gerwinski.de>
250 Accepted
DATA
354 Enter message, ending with "." on a line by itself
From: Elon Musk <musk@tesla.com>
To: Bill Gates <gates@microsoft.com>
Subject: Darlehensangebot
Brauchen Sie schnell Geld?
Hier können Sie schnell Geld verlieren!
Hier klicken und sämtliche Passwörter eingeben:
[KLICK]
.
250 OK id=1qyVCl-00GXuG-JM
QUIT
221 mx1.gerwinski.de closing connection
cassini/home/peter/bo/2023ws/dbs/20231102>
cassini/home/peter/bo/2023ws/dbs/20231102> nc 88.198.170.60 25
220 mx1.gerwinski.de ESMTP Exim 4.94.2 Thu, 02 Nov 2023 11:51:13 +0100
HELO cassini
250 mx1.gerwinski.de Hello cassini [195.37.15.82]
MAIL FROM: <bezos@amazon.com>
250 OK
RCPT TO: <peter.gerwinski@hs-bochum.de>
550 relay not permitted
QUIT
221 mx1.gerwinski.de closing connection
cassini/home/peter/bo/2023ws/dbs/20231102>
pgerwinski@main-0:~$ nc -l -p 1234
Hallo?
pgerwinski@main-0:~$
8< ---------------------------------------------------------------------
cassini/home/peter> nc main-0.cvh-server.de 1234
main-0.cvh-server.de [88.99.194.201] 1234 (?) : Connection refused
cassini/home/peter> ssh main-0.cvh-server.de
Linux main-0 6.1.0-11-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-4 (2023-08-08) x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Nov 2 12:56:11 2023 from 195.37.15.82
pgerwinski@main-0:~$ nc localhost 1234
Hallo?
^C
pgerwinski@main-0:~$
cassini/home/peter/bo/2023ws/dbs/20231102> ssh -X -L 2345:localhost:1234 main-0.cvh-server.de
Linux main-0 6.1.0-11-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-4 (2023-08-08) x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Nov 2 12:57:37 2023 from 195.37.15.82
pgerwinski@main-0:~$ nc -l -p 1234
Hallo, da bin ich! :-)
8< ---------------------------------------------------------------------
cassini/home/peter> nc localhost 2345
Hallo, da bin ich! :-)
12:23:21.181037 IP 10.128.29.120.38042 > 195.37.15.39.22: Flags [P.], seq 3563445:3564597, ack 4140, win 501, length 1152
12:23:21.181049 IP 195.37.15.39.22 > 10.128.29.120.38042: Flags [P.], seq 4140:4176, ack 3552141, win 5157, length 36
12:23:21.181118 IP 195.37.15.39.22 > 10.128.29.120.38042: Flags [.], ack 3554577, win 5157, length 0
12:23:21.181126 IP 195.37.15.39.22 > 10.128.29.120.38042: Flags [.], ack 3558097, win 5157, length 0
12:23:21.182058 IP 195.37.15.39.22 > 10.128.29.120.38042: Flags [.], ack 3561017, win 5157, length 0
12:23:21.182772 IP 195.37.15.39.22 > 10.128.29.120.38042: Flags [.], ack 3564597, win 5157, length 0
12:23:21.189369 IP 10.128.29.120.36290 > 88.99.194.201.64738: UDP, length 101
12:23:21.196348 IP 10.128.29.120.40313 > 88.99.194.245.443: Flags [P.], seq 274090:275179, ack 8103, win 2872, length 1089
12:23:21.209739 IP 10.128.29.120.36290 > 88.99.194.201.64738: UDP, length 101
12:23:21.222529 IP 10.128.29.120.38042 > 195.37.15.39.22: Flags [.], ack 4176, win 501, length 0
12:23:21.223089 IP 88.99.194.245.443 > 10.128.29.120.40313: Flags [P.], seq 8103:8252, ack 275179, win 9243, length 149
12:23:21.228356 IP 10.128.29.120.40313 > 88.99.194.245.443: Flags [P.], seq 275179:276140, ack 8252, win 2872, length 961
12:23:21.230318 IP 10.128.29.120.36290 > 88.99.194.201.64738: UDP, length 101
12:23:21.250856 IP 10.128.29.120.36290 > 88.99.194.201.64738: UDP, length 101
12:23:21.257762 IP 88.99.194.245.443 > 10.128.29.120.40313: Flags [P.], seq 8252:8397, ack 276140, win 9243, length 145
12:23:21.258390 IP 10.128.29.120.40313 > 88.99.194.245.443: Flags [P.], seq 276140:277241, ack 8397, win 2872, length 1101
^C
5545 packets captured
5636 packets received by filter
0 packets dropped by kernel
cassini/root# tcpdump -n -i wlan0
12:26:16.721144 IP 10.128.29.120.36290 > 88.99.194.201.64738: UDP, length 102
0x0000: 45e0 0082 ad7c 4000 4011 48ea 0a80 1d78
0x0010: 5863 c2c9 8dc2 fce2 006e 7f77 e554 76a8
0x0020: 6ebc 46e3 aed0 e632 2a22 a62b 66b1 34c8
0x0030: 4465 dfef 8b40 7708 2129 11b4 3c03 f141
0x0040: f376 bfbc 830c 5ff6 c575 f5a1 9771 3d12
0x0050: 067e 4b1c f274 8b39 9a52 ac02 a31b 9df0
0x0060: 7501 61f7 68b5 e8e2 c7b2 3f7d 610a d16b
0x0070: 78ab b056 31ff 76fb 9947 986c 40de 9fc6
0x0080: 559e
12:26:16.729240 IP 10.128.29.120.40313 > 88.99.194.245.443: Flags [P.], seq 58714:59895, ack 1628, win 2913, length 1181
0x0000: 4500 04c5 42a5 4000 4006 b03d 0a80 1d78
0x0010: 5863 c2f5 9d79 01bb ef86 2a4c b23f f7b0
0x0020: 5018 0b61 e620 0000 1703 0304 9800 0000
0x0030: 0000 033e 7dc7 4216 6e0d c0df 4358 f7f6
0x0040: ced5 c96c 9900 a44a 5dab 23b1 c190 5363
0x0050: 150a ee8d 86eb 516d 453b 0864 a391 e079
0x0060: f4cc b00e 2b1d d4e0 39f3 0d15 6571 a4c6
0x0070: e6af 732d 127c a63a 9401 00ef 312b 9365
0x0080: e137 3e12 1fb3 e7bd 9bc4 db8e d452 b0a1
0x0090: f76a 481f 2155 f22f 19a5 3d8e f7da 579d
0x00a0: 3025 d2a8 680e d872 67f8 ac36 218a 28e9
0x00b0: e4ed 8dfc 65a0 94ec d467 5305 e4a0 d5ae
0x00c0: e8c2 f366 f722 161d 20b2 f883 468a 65c1
0x00d0: 019a 9986 3955 3756 dcf6 0b4c 3718 8e9d
0x00e0: aa71 3ef4 334d bc54 454b fe70 76c1 2e72
0x00f0: 318f 028c c106 5278 0514 c209 7a6e 862b
0x0100: 16ce eea6 411a 2756 e2bd a972 a55b 1381
0x0110: f5df 618b 6369 13f6 12d0 2245 3870 831d
0x0120: 3c3d 6d4b 038a d775 9736 f13b 7f8c 8f17
0x0130: 956f 36a9 a41b ae8b 4060 3f3b f57a c1d1
0x0140: 72d8 dfd5 95ba cf56 0f1e b70f 10ad a466
0x0150: 9d10 677f 1602 92b4 4f6c ed04 6555 a7a0
0x0160: ac94 addd 150d c955 ec93 2f33 8eb1 d689
0x0170: 88ee a417 e643 a396 eafe d8ed 5408 107d
0x0180: 00f0 bdb4 d8db 6883 b109 f4eb d930 7f31
0x0190: 42bb 5e41 8a9b 8a22 e51f 6407 88f0 1e9f
0x01a0: 014a 4c6b 17c5 fd9b 9382 c029 ab27 ce5d
0x01b0: e922 0129 6ae9 60d9 e898 60ba 22be 138b
0x01c0: 396d c9a7 34a6 211b 275d bbf8 df0d fe8f
0x01d0: 4cd9 0c14 580e 77bd 1b94 43fb 5c31 9a37
0x01e0: d297 09e1 1b6e 5455 fbbc 5321 4621 5a80
0x01f0: ff5c 1747 4dce 4621 3525 797c 9a96 a2bf
0x0200: 88b5 978c f9cc 3782 823c f344 229e 04ce
0x0210: c964 72eb a7a6 4fef 4f14 d7c1 998f fd48
0x0220: 649e 9047 97a8 e4c5 b538 20ed 81f6 2820
0x0230: 9728 29e9 165c 6ded 0b9b 58ab 64d2 5e1d
0x0240: 46cf 2394 0c2b f7f1 eda5 1e0e e4ed 72e5
0x0250: ff3a 8460 bea5 4b11 a85b ab8d 6d29 4747
0x0260: d240 4197 7225 5c97 c33c f724 36d0 2fb1
0x0270: 75c1 0991 9d0b 5c84 4955 e9d8 0dee 54fc
0x0280: 2405 c69a b97b e831 3ba4 da08 1041 9b3b
0x0290: 06c7 216a 1a47 6bc2 1b15 19d7 a214 9fe9
0x02a0: d4ac b6ff 1af9 6bb1 bfa5 a84f ed8c 0a43
0x02b0: fa1c 731c c2c1 3190 2833 0707 5745 36f9
0x02c0: 6d6b 355f 70d5 cbac 2662 6104 9020 3b8b
0x02d0: 4e28 1c1b 7477 d40f 2c48 8456 9bb0 9c86
0x02e0: f176 f5fd 3e04 23fa 7bb3 aa12 47f2 94b6
0x02f0: 3d80 fe2f db2c 9854 e6da a3da 2c40 4b07
0x0300: 2079 d98e 52a6 f242 e088 3a5a faef c8fc
0x0310: 4017 42ba a78f 2d72 0d7e 8941 bdcc ce3e
0x0320: 8eb6 c030 08cb 3f68 8c2f 80df 2e90 d390
0x0330: d75f f575 dea3 b078 0ffd c8a4 35c2 f8ea
0x0340: 381d 2014 7b11 6d58 78a6 6bf9 b770 1249
0x0350: 1766 b8a5 8943 3298 d0f3 5bad a329 ea2b
0x0360: f061 7475 5ab7 e8fa 0dc9 85e0 c65b e1b8
0x0370: f7ca 726c a650 40e3 f88e 8d74 ad9e 2372
0x0380: 01f0 fe5a c278 9a3b 4aaf 8cee 8004 6739
0x0390: 7aea c8a4 a4af bff1 3837 a4be ffc3 8a4a
0x03a0: 0740 f63f 347e bd07 fc3d 338d 3535 c61e
0x03b0: ba22 f4c4 20fa 092c bbb6 03d7 03e0 9d22
0x03c0: b360 0e23 1b2b ed54 6d0e 6935 c30a c5ce
0x03d0: 9c4f 6870 6b48 2083 a9ae cf7a 09b2 ffbf
0x03e0: 5957 0030 eb89 12eb de08 56b6 25b3 f33c
0x03f0: 7275 ceb6 cbd7 1f60 e8cf c362 dcef f06e
0x0400: 5449 5204 aec4 c666 2743 0f51 51d1 442d
0x0410: 3f78 eaf1 ce3e 1b91 5a44 3f11 fd73 9999
0x0420: 4afe bbc2 6a65 660a 4b73 0070 30c7 4798
0x0430: b6b3 0059 ded5 3ee4 6a38 751f a5a8 8350
0x0440: 849c 92fe b7b9 6f09 2ca8 72b0 4943 f247
0x0450: ec4d 62f1 8b9c 2fd4 2af9 a5e0 e6ba 5b39
0x0460: 3ccb 635d a6b5 757c 6743 de67 4d11 6af9
0x0470: 0337 b09b cf5c 76d8 58d4 9bea 5493 0d18
0x0480: bd1e 7d13 5351 2693 c3f1 ead8 5b64 065c
0x0490: 51cc 5833 e73f 7290 d987 8454 24d2 8fad
0x04a0: 94c0 55b5 d9f0 9ac3 2c69 d14c bfb7 5052
0x04b0: 2390 afc6 d666 8edb 7931 c7e9 1544 11da
0x04c0: 7cbd 7647 a1
^C
803 packets captured
817 packets received by filter
0 packets dropped by kernel
cassini/root# tcpdump -n -i wlan0 -x
cassini/root# tcpdump -n -i lo -x port 1234
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on lo, link-type EN10MB (Ethernet), snapshot length 262144 bytes
12:31:29.286657 IP 127.0.0.1.55462 > 127.0.0.1.1234: Flags [S], seq 3414759276, win 65495, options [mss 65495,sackOK,TS val 2171609293 ecr 0,nop,wscale 7], length 0
0x0000: 4500 003c 344e 4000 4006 086c 7f00 0001
0x0010: 7f00 0001 d8a6 04d2 cb89 176c 0000 0000
0x0020: a002 ffd7 fe30 0000 0204 ffd7 0402 080a
0x0030: 8170 20cd 0000 0000 0103 0307
12:31:29.286668 IP 127.0.0.1.1234 > 127.0.0.1.55462: Flags [S.], seq 1205734117, ack 3414759277, win 65483, options [mss 65495,sackOK,TS val 2171609293 ecr 2171609293,nop,wscale 7], length 0
0x0000: 4500 003c 0000 4000 4006 3cba 7f00 0001
0x0010: 7f00 0001 04d2 d8a6 47de 0ae5 cb89 176d
0x0020: a012 ffcb fe30 0000 0204 ffd7 0402 080a
0x0030: 8170 20cd 8170 20cd 0103 0307
12:31:29.286679 IP 127.0.0.1.55462 > 127.0.0.1.1234: Flags [.], ack 1, win 512, options [nop,nop,TS val 2171609293 ecr 2171609293], length 0
0x0000: 4500 0034 344f 4000 4006 0873 7f00 0001
0x0010: 7f00 0001 d8a6 04d2 cb89 176d 47de 0ae6
0x0020: 8010 0200 fe28 0000 0101 080a 8170 20cd
0x0030: 8170 20cd
12:31:53.307321 IP 127.0.0.1.55462 > 127.0.0.1.1234: Flags [P.], seq 1:8, ack 1, win 512, options [nop,nop,TS val 2171633313 ecr 2171609293], length 7
0x0000: 4500 003b 3450 4000 4006 086b 7f00 0001
0x0010: 7f00 0001 d8a6 04d2 cb89 176d 47de 0ae6
0x0020: 8018 0200 fe2f 0000 0101 080a 8170 7ea1
0x0030: 8170 20cd 4861 6c6c 6f3f 0a
12:31:53.307355 IP 127.0.0.1.1234 > 127.0.0.1.55462: Flags [.], ack 8, win 512, options [nop,nop,TS val 2171633313 ecr 2171633313], length 0
0x0000: 4500 0034 2140 4000 4006 1b82 7f00 0001
0x0010: 7f00 0001 04d2 d8a6 47de 0ae6 cb89 1774
0x0020: 8010 0200 fe28 0000 0101 080a 8170 7ea1
0x0030: 8170 7ea1
8< ---------------------------------------------------------------------
cassini/home/peter> nc localhost 1234
Hallo?
8< ---------------------------------------------------------------------
cassini/home/peter> nc -p 1234 -l
Hallo?
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment