TELNET dont work with eve-ng

I have installed eve-ng on mac m2 max but when i open telnet i doesn' t work .


can you please help me i work on this issue during dtwo week .

i have installed telnet but i can't found the solution .

i use macbook pro M2 max 2023 macos Venbtura and use utm to emulate eve-ng .



MacBook Pro (M2 Max, 2023)

Posted on Apr 3, 2023 4:26 PM

Reply
29 replies

Apr 4, 2023 2:46 AM in response to MOMOSKI

But that's the correct behavior, the server is waiting for you to send the correct HTTP command so that it knows, which page it should send you.


$ telnet apple.com 80
Trying 2620:149:af0::10...
Connected to apple.com.
Escape character is '^]'.
GET / HTTP/1.1
Host: apple.com

HTTP/1.1 301 Redirect
Date: Tue, 04 Apr 2023 09:42:59 GMT
Connection: close
Via: http/1.1 nlams2-edge-bx-027.ts.apple.com (acdn/67.14256)
Cache-Control: no-store
Location: https://www.apple.com/
Content-Type: text/html
Content-Language: en
X-Cache: none
CDNUUID: c8845a53-3900-49b0-9e00-6e39eef37d01-3509093314
Content-Length: 304

<HTML>
<HEAD>
<TITLE>Document Has Moved</TITLE>
</HEAD>

<BODY BGCOLOR="white" FGCOLOR="black">
<H1>Document Has Moved</H1>
<HR>

<FONT FACE="Helvetica,Arial"><B>
Description: The document you requested has moved to a new location.  The new location is "https://www.apple.com/".
</B></FONT>
<HR>
</BODY>
Connection closed by foreign host.


But the telnet command will not help you much, most sites will send you only a redirect to their encrypted https version. You should use the `openssl` for requests:


openssl s_client -crlf -quiet -connect <host>:<port, mostly 443>

Apr 4, 2023 5:27 AM in response to MOMOSKI

Also i check where telnet is located


admin-momoski@MacBook-Pro-Advanced ~ % sudo find / -name telnet

Password:

/usr/local/bin/telnet

/Library/Ruby/Gems/2.6.0/gems/net-telnet-0.2.0/lib/net/telnet

/System/Library/Templates/Data/Library/Ruby/Gems/2.6.0/gems/net-telnet-0.2.0/lib/net/telnet

/System/Volumes/Data/usr/local/bin/telnet

find: /System/Volumes/Data/.Spotlight-V100: No such file or directory

find: /System/Volumes/Data/.adobeTemp: No such file or directory

/System/Volumes/Data/Library/Ruby/Gems/2.6.0/gems/net-telnet-0.2.0/lib/net/telnet

/System/Volumes/Data/System/Library/Templates/Data/Library/Ruby/Gems/2.6.0/gems/net-telnet-0.2.0/lib/net/telnet

find: /System/Volumes/Data/mnt: No such file or directory

find: /System/Volumes/Data/.fseventsd: No such file or directory

find: /System/Volumes/Data/.DocumentRevisions-V100: No such file or directory

/System/Volumes/Data/Users/admin-momoski/inetutils-2.0/telnet

/System/Volumes/Data/Users/admin-momoski/inetutils-2.0/telnet/telnet

/System/Volumes/Data/Users/admin-momoski/Library/Logs/Homebrew/telnet

/System/Volumes/Data/Applications/GNS3.app/Contents/MacOS/telnet

/System/Volumes/Data/opt/homebrew/bin/telnet

/System/Volumes/Data/opt/homebrew/var/homebrew/linked/telnet

/System/Volumes/Data/opt/homebrew/opt/telnet

/System/Volumes/Data/opt/homebrew/Cellar/telnet

/System/Volumes/Data/opt/homebrew/Cellar/telnet/64/bin/telnet

find: /System/Volumes/Data/.TemporaryItems: No such file or directory

find: /System/Volumes/iSCPreboot: No such file or directory

find: /System/DriverKit: No such file or directory

/Users/admin-momoski/inetutils-2.0/telnet

/Users/admin-momoski/inetutils-2.0/telnet/telnet

/Users/admin-momoski/Library/Logs/Homebrew/telnet

/Applications/GNS3.app/Contents/MacOS/telnet

/opt/homebrew/bin/telnet

/opt/homebrew/var/homebrew/linked/telnet

/opt/homebrew/opt/telnet

/opt/homebrew/Cellar/telnet

/opt/homebrew/Cellar/telnet/64/bin/telnet

find: /dev/fd/3: Not a directory

find: /dev/fd/4: Not a directory

find: /dev/fd/6: Not a directory



i made this command :


sudo ln -s /usr/local/bin/telnet /usr/bin/


i disabled the sip




Apr 4, 2023 7:05 AM in response to MOMOSKI

That HTTP and HTML output indicates that the telnet client and IP networking from your client to Apple and back again is working just fine. That output is exactly what is expected when a web browser (telnet, in this case) connects to a web server.


The connection to 10.211.55.2:32778 is also working, and whatever that device is—in my very limited French—recommending the use of ssh. Which would be expected in any environment expecting security.


Your error here lurks elsewhere.


Probably something related to the EVE environment or its configuration or its operations, as a guess.


I’d suggest re-reading EVE documentation, updating to EVE 5.0.1-79 from the last few days, then checking in an EVE-related forum for assistance. (EVE targets networking, devops, and security, and telnet and ssh are right in the middle of all of that, too.)


If the EVE doc is insufficient, ask again here: https://www.eve-ng.net/forum/


TELNET dont work with eve-ng

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.