Earlier, I wrote about a Wireshark plugin for dissecting Mac-Telnet packets. Now I have created an open source application for connecting to a RouterOS router via its MAC address from Linux without having to install Wine. At the time of writing the project is still in “alpha” stage. But it is fully functional. Though it will probably be rewritten soon. I feel that the second time you write the same application, it tends to be more robust and thought through.. The first time is more of a proof of concept, and I let myself do a lot of short-cuts, just to be able to see it working.
The source code can be found at github. Just find the “download source” link at the top of the page.
To compile it, simply untar it, and compile it with “make” .
Because it needs to alter the frame headers, it uses RAW sockets, which means that you will need root access to use this tool.
What is Telnet service in Linux? TELNET (TELetype NETwork) is a network protocol used on the Internet or local area network LAN connections. Telnetd is normally invoked by the internet server inetd or xinetd for requests to connect to the telnet port as indicated by the /etc/services file. Of course, telnet/ftp are not secure until you can get in the device and configure it for usernames/passwords/SSH/sftp. BTW - It would be nice if Apple would enhance Terminal to enable a ZTerm/PuTTY type virtual serial port for accessing Cisco devices.
To find the MAC address of connected routers, try the included tool mndp. It might take up to 2 minutes to find all routers, since it is a passive tool that waits for the routers to broadcast their info on the network:
HMG is my name of the found router, set in the Identity section of the router.
Here are some mac-telnet usage information:
Tip: Log out using CTRL+D on your keyboard.
Omni Flux sent me a patch that speeds up the MNDP discovery time by sending out a MNDP request before waiting for replies. Thanks!
He also informed me that his tests showed that you could send all the mac-telnet traffic to- and from- the broadcast address. This means that you would not need socket_raw (read: root privileges) capabillities to be able to send data to the router.
So the latest version of mactelnet, now also as a binary .deb package below, can be used without root privileges, unless you don’t want all data from your session to be broadcasted on your local network. You can optionally use the “old” method, where it uses the destination routers mac address as destination instead of broadcast.
Heres the latest “stable”: v0.1 version
Ubuntu/Debian binary package
Last commits on MAC-Telnet at GitHub
- 30.03.2020 - Merge pull request #62 from ugenk/patch-1
- 30.03.2020 - Update README.markdown
- 04.01.2020 - Updated po files and gitignore.
- 04.01.2020 - Fix heap corruption bug. Fixes #60
- 04.01.2020 - Add changes proposed by Sebastian Gottschall, for supporting interfac…
Securely access business applications on UNIX, Linux, or VMS from machines running Windows, Linux, and Mac — employ the rich emulation support for VT100/102/220, TN3270, ANSI, SCO ANSI, Wyse 50/60, Xterm, and Linux console.
Configure, manage, and organize all your sessions with full control over scrollback, key mappings, colors, fonts, and more — whether you have one or thousands of sessions.
Access your full array of network devices from one client with SSH (SSH2, SSH1), Telnet, Telnet/TLS, serial, and other protocols.
Leverage the high-productivity GUI with time-saving capabilities including multi-session launch, tabbed sessions, tab groups, tiled sessions, cloned sessions, a button bar for repeated commands, and mapped keys.
Depend on the open standard Secure Shell (SSH) protocol for encrypted logon and session data, flexible authentication options, and optional FIPS 140-2 -approved ciphers.
Automate repetitive tasks in SecureCRT by running scripts using VBScript, JScript, PerlScript, or Python. The script recorder builds your keystrokes into a VBScript or Python script.
Implement smart cards for highly secure, two-factor authentication. SecureCRT supports X.509 smart cards (PIV/CAC) with the ability to select a specific certificate to be used for public-key authentication.
Transfer files between network devices with SFTP, Xmodem, Ymodem, Zmodem, or Kermit. A built-in TFTP server provides additional file transfer flexibility.
Save steps with the close integration of SecureCRT and the SecureFX®file transfer client, which share sessions and settings that let you run SFTP, FTP, SCP, and FTPS (FTP/TLS) file transfer sessions without reentering passwords.
Mac Telnet For Linux Centos
Learn more about SecureCRTfeatures.