summaryrefslogtreecommitdiff
path: root/mactelnetd.c
AgeCommit message (Collapse)Author
2013-06-29Added some paranoid memory locking on linuxHåkon Nessjøen
2013-01-13Added "batch-mode" output for mactelnet -l option. Added interface info to ↵Håkon Nessjøen
mndp packets.
2012-11-25A few fixes taken from aouyar/MAC-TelnetHåkon Nessjøen
2012-02-28Add comment about \r\n in i18nHåkon Nessjøen
2012-02-28Added i18n supportHåkon Nessjøen
2011-11-13Added support for reloading list of interfaces/addresses on HUP signal, and ↵Håkon Nessjøen
fixed notification to connections of TERM signal.
2011-11-13Code "speedup".Håkon Nessjøen
2011-11-13Simplified checking of mac address (code cleanup)Håkon Nessjøen
2011-11-12New version. 0.3.3. Moved versioning into config.hv0.3.3Håkon Nessjøen
2011-11-12Rewrote the interface handling. Added full support for kFreeBSD, have not ↵Håkon Nessjøen
tested with FreeBSD.
2011-11-08CleanupHåkon Nessjøen
2011-11-08Clean up and bugfix endianess handlingHåkon Nessjøen
2011-11-04move trypassword inside the connection state; generate enckey only once per ↵Boian Bonev
session
2011-11-03handle signals in foreground mode as wellBoian Bonev
2011-11-03tell the new shell that its a login oneBoian Bonev
2011-10-28use unified byte order conversion for uptimeBoian Bonev
2011-08-11New minior versionv0.3.2Håkon Nessjøen
2011-05-01Cleaned up description and synopsis of filesHåkon Nessjøen
2011-02-27New minior versionv0.3Håkon Nessjøen
2011-02-27Add foreground mode support for mactelnetd.Håkon Nessjøen
2011-02-27Code cleanup.Håkon Nessjøen
2011-02-27Missing two endianness checks/handling. Tested successfully with MIPS Malta ↵Håkon Nessjøen
4Kc qemu emulator (big endianed)
2011-02-24Fixed textual typoHåkon Nessjøen
2011-02-24Fixed permissions of slave pts, so the connecting user has access to his own ↵Håkon Nessjøen
pts. Now applications like screen also works.
2011-02-21Added MT_PTYPE_PING/PONG support in mactelnetd and added a macping tool. For ↵Håkon Nessjøen
this udp-checksum code was also added for raw packets.
2011-02-16Fix: Send IP address (if available) of machine also when sending mndp ↵Håkon Nessjøen
packets using raw udp mode
2011-02-16Rewrote MNDP parser, and added MNDP broadcast routines for mactelnetd. ↵Håkon Nessjøen
Thanks to "Marcin Ulikowski" <elceef@itsec.pl> for MNDP reverse engineering. mactelnetd will now be recognized by other routeros devices/applications as neighbours.
2011-02-16Forgot to remove some debuggingHåkon Nessjøen
2011-02-16mactelnetd only listened on interfaces with an ip on it. Rewrote mactelnetd ↵Håkon Nessjøen
to use all IFs it finds MAC addresses on, not only the ones with IP. Testing version, to be cleaned up.
2010-12-27Added support for broadcast packets in mactelnetd also. Fixed a bug where ↵Håkon Nessjøen
the device index was hardcoded in send_custom_udp(). Renamed "broadcast_mode" to "use_raw_socket".
2010-12-26Added code to check if it should answer mactelnet packets or not in mactelnetd.Håkon Nessjøen
2010-12-26Janitor workHåkon Nessjøen
2010-12-26Code cleanup, and made timeout-acking more correctHåkon Nessjøen
2010-12-25Change naming convention on variable names as wellHåkon Nessjøen
2010-12-24Changed naming convention on function namesHåkon Nessjøen
2010-12-23Cleaned up code and added -Wall to the compiler flags. Moved packet types ↵Håkon Nessjøen
over to enums for more ease of use.
2010-12-23Added u/wtmp logout code, and did some minior code cleanup.Håkon Nessjøen
2010-12-23Show mac address of client in syslog, and save correct mac address for wtmp.Håkon Nessjøen
2010-12-23Fix silly bug that made mactelnetd connections time out after only 65k bytesHåkon Nessjøen
2010-12-23Added syslog logging. Added daemonizing of application. Cleaned up login ↵Håkon Nessjøen
code to correctly set up controlling terminal.
2010-12-21Added "nologin" support. And cleaned up a little duplicated code.Håkon Nessjøen
2010-12-20Fix silly warning about ether_ntoa argumentHåkon Nessjøen
2010-12-20Added wtmp/utmp support. Fixed setuid/setgid bug and error detection. Added ↵Håkon Nessjøen
motd message. Minior code cleanup.
2010-12-19Code cleanup in mactelnet daemonHåkon Nessjøen
2010-11-02Simplified the way parseControlPacket is looped/calledHåkon Nessjøen
2010-11-01Removed dependency of libssl/crypto. Added L. Peter Deutsch's implementation ↵Håkon Nessjøen
of MD5 instead.
2010-10-18A lot of small fixes to mactelnetdHåkon Nessjøen
2010-10-11Renamed files, added license info and did some minior fixes.Håkon Nessjøen
2010-10-11First version of mac-telnet server daemon mactelnetd. Use with care until it ↵Håkon Nessjøen
has been tested enough. Not for production use. To be cleaned up a lot.