Commit Graph

  • 2d5f4bfa9f change behavior of invalid IAC sequence inside subnegotiation to match BSD telnet implementation Sean Middleditch 2009-03-20 23:32:47 -0400
  • 330c261562 _negotiate just uses state, simplifies things a bit; not (int) hack in switch to get gcc to shut up Sean Middleditch 2009-03-20 23:29:17 -0400
  • 447d3ad9f8 will/wont states before do/wont, just like actual telnet codes and event numbers Sean Middleditch 2009-03-20 23:22:37 -0400
  • b43c10c9ee minor cleanups Sean Middleditch 2009-03-20 23:21:02 -0400
  • 4f0c37fc1b shorten the output function names to something more reasonable Sean Middleditch 2009-03-20 23:08:55 -0400
  • 9b07e92022 gcc/c99 inline for small internal functions Sean Middleditch 2009-03-19 18:18:44 -0400
  • b7bf8f3ce1 fix __GNUC__ macro test Sean Middleditch 2009-03-19 18:18:22 -0400
  • 2cb166c889 remove empty case statements in RFC1143 code Sean Middleditch 2009-03-19 18:08:50 -0400
  • 7894384d70 fix last commit Sean Middleditch 2009-03-19 15:22:06 -0400
  • 90e79da676 remove telnet_send_telopt() as it has no real purpose and using it can have surprising results; added telnet_begin_subnegotiation and telnet_finish_subnegotiation Sean Middleditch 2009-03-19 15:17:13 -0400
  • c0e9fcd165 COMPRESS2 support for chatd Sean Middleditch 2009-03-19 15:16:32 -0400
  • f713302661 send events for option state changes Sean Middleditch 2009-03-19 14:57:15 -0400
  • 1688da10e1 fix RFC1143 more Sean Middleditch 2009-03-19 13:02:09 -0400
  • 4987f9fbf0 fix RFC1143 to actually work Sean Middleditch 2009-03-19 12:51:40 -0400
  • 5dea1f79f6 dont leak Sean Middleditch 2009-03-19 12:45:34 -0400
  • a6d03ffb89 dont bail on ECONNRESET Sean Middleditch 2009-03-19 12:45:03 -0400
  • 79376a0bcd re-add telnet-chatd.c again, now that the Makefile bug is fixes Sean Middleditch 2009-03-19 02:32:23 -0400
  • f65f27d77d remove the lib/LIB from identifier prefixes; also, swap printf and printf2 so the more common one is the one with the shorter name Sean Middleditch 2009-03-19 02:32:04 -0400
  • 156f5862a6 fix broken Makefile clean Sean Middleditch 2009-03-19 02:12:39 -0400
  • 340a51b1e0 use size_t where appropriate instead of unsigned int Sean Middleditch 2009-03-19 02:08:46 -0400
  • 8daf77446e use char buffers instead of unsigned char to make use of API less of a pain in the butt Sean Middleditch 2009-03-19 02:05:24 -0400
  • 80f119bbc7 silence warning Sean Middleditch 2009-03-16 18:02:35 -0400
  • e5b4759618 fix compilation when HAVE_ZLIB is not defined Sean Middleditch 2009-03-16 17:37:43 -0400
  • 1f962f02f0 dont forward-declare enums, as C++ does not support that Sean Middleditch 2009-03-16 17:37:04 -0400
  • 4613e6818a document libtelnet_printf and libtelnet_printf2 Sean Middleditch 2009-03-16 17:21:48 -0400
  • 4a15604d10 added libtelnet_printf2 which does CRLF automagic stuff Sean Middleditch 2009-03-16 17:10:58 -0400
  • 4a1240e2a7 remove AUTO_CRLF flag, realized it is conceptually broken Sean Middleditch 2009-03-16 17:01:35 -0400
  • 97a8cb25b9 make API const-safe Sean Middleditch 2009-03-16 16:51:41 -0400
  • c337ba6bca add AUTO_CRLF flag Sean Middleditch 2009-03-16 16:47:27 -0400
  • a7a6b31e1c added super simple chat server Sean Middleditch 2009-03-16 12:49:50 -0400
  • d58f49f03a add printf data sender Sean Middleditch 2009-03-16 12:49:35 -0400
  • ceeeddaff3 dont bail on connetion reset return on send() Sean Middleditch 2009-03-16 11:27:38 -0400
  • 225c229e9a build/dist updates Sean Middleditch 2009-03-16 01:42:33 -0400
  • 2b4bfc4f79 minor cleanup, added libtelnet_send_telopt() Sean Middleditch 2009-03-16 01:25:52 -0400
  • 5a458548ee Merge branch 'master' into rfc1143 Sean Middleditch 2009-03-16 01:12:59 -0400
  • e68511b144 fix receiving end of MCCP2 Sean Middleditch 2009-03-16 01:12:50 -0400
  • 3df17f91d6 fix receiving end of MCCP2 Sean Middleditch 2009-03-16 01:12:16 -0400
  • 91c2b2d960 remove completed RFC1143 TODO item Sean Middleditch 2009-03-16 01:11:03 -0400
  • ebc96f7660 remove redundant check Sean Middleditch 2009-03-16 01:09:41 -0400
  • 823bc00ab9 add fix lost in conflict/merge from master Sean Middleditch 2009-03-16 01:09:26 -0400
  • 8b78896ac1 implement request side of RFC1143 Sean Middleditch 2009-03-16 01:06:27 -0400
  • 59ef42ceed Merge branch 'master' into rfc1143 Sean Middleditch 2009-03-16 00:58:07 -0400
  • 4611d911d5 rather critical fix Sean Middleditch 2009-03-16 00:53:57 -0400
  • 562257e754 compilation fix Sean Middleditch 2009-03-15 23:56:25 -0400
  • 35b95beeda Merge branch 'master' into rfc1143 Sean Middleditch 2009-03-15 23:46:31 -0400
  • fbe93e36bd save a few bytes and use only a single z_stream, because mccp2 is unidirectional Sean Middleditch 2009-03-15 23:39:31 -0400
  • 08bb05f96e replace mode with flags (only a PROXY flag so far) Sean Middleditch 2009-03-15 23:29:46 -0400
  • 812358d92a remove need for the struct and enum stuff using typedefs Sean Middleditch 2009-03-15 23:24:03 -0400
  • 5b5bc92bc0 partial RFC1143 implementation; only reacts to negotiation, cannot handle initiating it yet Sean Middleditch 2009-03-15 23:02:10 -0400
  • e7c442681a fix line ending in telnet-client Sean Middleditch 2009-03-15 20:59:48 -0400
  • a7896d1117 various telnet-client updates making it capable of real use for vim/nethack/etc. on a real telnet server Sean Middleditch 2009-03-15 20:41:24 -0400
  • 5cf66661e5 actually send error info in error event Sean Middleditch 2009-03-15 20:02:14 -0400
  • a720527d71 fix typo Sean Middleditch 2009-03-15 20:01:56 -0400
  • 1699227c9c separate non-fatal errors into warnings, error events are always fatal Sean Middleditch 2009-03-15 19:42:03 -0400
  • ae229d3dbd gitignore for binaries Sean Middleditch 2009-03-15 14:19:50 -0400
  • da394be304 add a simplistic TELNET client utility Sean Middleditch 2009-03-15 14:19:40 -0400
  • 9f79cc5029 pass user_data to libtelnet_init() only instead of having to pass it to every function call Sean Middleditch 2009-03-15 13:39:24 -0400
  • da0e695e62 dont require a buffer for subnegotiations with no data; more efficient for apps that dont use more advanced subnegotiation features Sean Middleditch 2009-03-15 13:28:09 -0400
  • 124a1c24f2 implement libtelnet_begin_compress2() Sean Middleditch 2009-03-15 13:20:03 -0400
  • aefcd0cc76 make telnet-proxy loop so its more useful Sean Middleditch 2009-03-15 13:16:44 -0400
  • 93b8980f81 make color a build-time option for telnet-proxy Sean Middleditch 2009-03-15 13:10:08 -0400
  • 637df7f064 scrap the multiple callbacks thing, just use a single event handler callback Sean Middleditch 2009-03-15 12:57:32 -0400
  • f66a7ee768 shorten name of error enumerations Sean Middleditch 2009-03-15 11:54:07 -0400
  • 72cc9648c0 added proxy mode Sean Middleditch 2009-03-15 11:50:36 -0400
  • d88f1837a5 hostname lookup for telnet-proxy Sean Middleditch 2009-03-15 01:06:17 -0400
  • d922c6f7e0 more informative errors Sean Middleditch 2009-03-14 22:35:01 -0400
  • 3032302674 make use of a callback table instead of undefined functions for integration Sean Middleditch 2009-03-14 21:45:28 -0400
  • aac2c12904 fix include protection Sean Middleditch 2009-03-14 18:31:26 -0400
  • c04224bc3c complete list of telnet commands and options Sean Middleditch 2009-03-14 18:30:57 -0400
  • 892c5f18ff documentation Sean Middleditch 2009-03-14 13:39:07 -0400
  • c974b97939 s/type/opt/ for sub-negotiation Sean Middleditch 2009-03-14 13:23:33 -0400
  • 6b37288ec1 the proper term is subnegotiation, not subrequest Sean Middleditch 2009-03-14 13:06:47 -0400
  • d30fd57bb2 fix buffer bug Sean Middleditch 2009-03-14 12:55:17 -0400
  • 2d432c57fb zlib free fix Sean Middleditch 2009-03-14 11:32:58 -0400
  • 072fc0233c highlight non-printable characters better Sean Middleditch 2009-03-14 05:51:22 -0400
  • 01ff0124f7 close listening socket immediately after connection Sean Middleditch 2009-03-14 05:43:09 -0400
  • 9d2f98af5e add temporary TODO list to README Sean Middleditch 2009-03-14 05:24:56 -0400
  • 61f8eb6556 completed MCCP2 support Sean Middleditch 2009-03-14 04:57:27 -0400
  • 9de1598cd5 initial client-only MCCP2 support Sean Middleditch 2009-03-14 03:35:49 -0400
  • ce753de868 PD header Sean Middleditch 2009-03-14 02:20:03 -0400
  • d99b36d8bb robustify error handling Sean Middleditch 2009-03-14 02:13:50 -0400
  • 5b43a58923 cleanup the connection info stuff Sean Middleditch 2009-03-14 02:04:28 -0400
  • 0f91258291 pretty printing command and options names Sean Middleditch 2009-03-14 01:57:07 -0400
  • 78f400feff s/input/data/, s/output/send/ Sean Middleditch 2009-03-14 01:26:43 -0400
  • b9ab0b6b9a add telnet-proxy Sean Middleditch 2009-03-14 00:18:44 -0400
  • 7e517ecacb fix silly typo Sean Middleditch 2009-03-14 00:18:30 -0400
  • 8b5e2b1229 send data to input_cb in the biggest chunks we can Sean Middleditch 2009-03-13 23:39:18 -0400
  • 4d9444d028 get libtelnet compiling; more buffer work Sean Middleditch 2009-03-13 22:48:05 -0400
  • fddf1c4731 minor cleanup Sean Middleditch 2009-03-13 20:18:11 -0400
  • f9cebec3cf fix typod identifiers Sean Middleditch 2009-03-13 20:17:31 -0400
  • 51ad679e47 work on buffer handling Sean Middleditch 2009-03-13 20:15:59 -0400
  • b9e4864539 initial README Sean Middleditch 2009-03-12 23:33:27 -0400
  • 6aef073203 public domain header, include protection Sean Middleditch 2009-03-12 23:27:35 -0400
  • b1e452e85a remove per-tracker callbacks, just use functions user must implement Sean Middleditch 2009-03-12 23:26:34 -0400
  • 2914485114 initial commit Sean Middleditch 2009-03-12 23:14:47 -0400