telnet
vs socat
socat tcp4-listen:9000 -
socat tcp4-connect:ftp.linux.cz:21,sourceport=9001 -
USER anonymous
PASS xrucka@fi.muni.cz
TYPE A
LIST
TYPE I
EPSV
RETR favicon.ico
[pb156cv][l5] - SMTP Demo
tr '!' $'\r' | socat - tcp4-connect:relay.fi.muni.cz:25
HELO relay.fi.muni.cz
MAIL FROM:<xrucka@fi.muni.cz>
RCPT TO:<xrucka@fi.muni.cz>
DATA
From: "Prednaska" <xrucka@fi.muni.cz>
To: "Mailbox" <xrucka@fi.muni.cz>
Subject: [pb156cv][l5] - SMTP Demo
text
QUIT
v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
t=0 0
a=tool:libavformat 58.17.101
m=video 5004 RTP/AVP 96
c=IN IP4 172.17.1.220
b=AS:200
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=1
m=audio 5006 RTP/AVP 97
c=IN IP4 172.17.1.220
b=AS:48
a=rtpmap:97 opus/48000/2