Commit Graph

33 Commits

Author SHA1 Message Date
Sean Middleditch 34bb0998c7 require option table to fix negotiation "race" issie (experimental) 2009-03-21 00:20:44 -04:00
Sean Middleditch 4f0c37fc1b shorten the output function names to something more reasonable 2009-03-20 23:08:55 -04:00
Sean Middleditch a6d03ffb89 dont bail on ECONNRESET 2009-03-19 12:45:03 -04:00
Sean Middleditch 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 2009-03-19 02:32:04 -04:00
Sean Middleditch 340a51b1e0 use size_t where appropriate instead of unsigned int 2009-03-19 02:08:46 -04:00
Sean Middleditch 8daf77446e use char buffers instead of unsigned char to make use of API less of a pain in the butt 2009-03-19 02:05:24 -04:00
Sean Middleditch 97a8cb25b9 make API const-safe 2009-03-16 16:51:41 -04:00
Sean Middleditch ceeeddaff3 dont bail on connetion reset return on send() 2009-03-16 11:27:38 -04:00
Sean Middleditch 35b95beeda Merge branch 'master' into rfc1143
Conflicts:
	libtelnet.c
2009-03-15 23:46:31 -04:00
Sean Middleditch 08bb05f96e replace mode with flags (only a PROXY flag so far) 2009-03-15 23:29:46 -04:00
Sean Middleditch 812358d92a remove need for the struct and enum stuff using typedefs 2009-03-15 23:24:03 -04:00
Sean Middleditch 5b5bc92bc0 partial RFC1143 implementation; only reacts to negotiation, cannot handle initiating it yet 2009-03-15 23:02:10 -04:00
Sean Middleditch a720527d71 fix typo 2009-03-15 20:01:56 -04:00
Sean Middleditch 1699227c9c separate non-fatal errors into warnings, error events are always fatal 2009-03-15 19:42:03 -04:00
Sean Middleditch 9f79cc5029 pass user_data to libtelnet_init() only instead of having to pass it to every function call 2009-03-15 13:39:24 -04:00
Sean Middleditch aefcd0cc76 make telnet-proxy loop so its more useful 2009-03-15 13:16:44 -04:00
Sean Middleditch 93b8980f81 make color a build-time option for telnet-proxy 2009-03-15 13:10:08 -04:00
Sean Middleditch 637df7f064 scrap the multiple callbacks thing, just use a single event handler callback 2009-03-15 12:57:32 -04:00
Sean Middleditch 72cc9648c0 added proxy mode 2009-03-15 11:50:36 -04:00
Sean Middleditch d88f1837a5 hostname lookup for telnet-proxy 2009-03-15 01:06:17 -04:00
Sean Middleditch d922c6f7e0 more informative errors 2009-03-14 22:35:01 -04:00
Sean Middleditch 3032302674 make use of a callback table instead of undefined functions for integration 2009-03-14 21:45:28 -04:00
Sean Middleditch 6b37288ec1 the proper term is subnegotiation, not subrequest 2009-03-14 13:06:47 -04:00
Sean Middleditch 072fc0233c highlight non-printable characters better 2009-03-14 05:51:22 -04:00
Sean Middleditch 01ff0124f7 close listening socket immediately after connection 2009-03-14 05:43:09 -04:00
Sean Middleditch 61f8eb6556 completed MCCP2 support 2009-03-14 04:57:27 -04:00
Sean Middleditch 9de1598cd5 initial client-only MCCP2 support 2009-03-14 03:35:49 -04:00
Sean Middleditch ce753de868 PD header 2009-03-14 02:20:03 -04:00
Sean Middleditch d99b36d8bb robustify error handling 2009-03-14 02:13:50 -04:00
Sean Middleditch 5b43a58923 cleanup the connection info stuff 2009-03-14 02:04:28 -04:00
Sean Middleditch 0f91258291 pretty printing command and options names 2009-03-14 01:57:07 -04:00
Sean Middleditch 78f400feff s/input/data/, s/output/send/ 2009-03-14 01:26:43 -04:00
Sean Middleditch b9ab0b6b9a add telnet-proxy 2009-03-14 00:18:44 -04:00