Re: [lyntin-devl] Connection reset by peer
Brought to you by:
glasssnake,
willhelm
From: will <wi...@bl...> - 2009-04-30 23:20:25
|
Munelear wrote: > I love lyntin- it's been a very stable, reliable, light weight client. > About half a year ago I started getting "Connection reset by peer" > issues while idling (so it's not a critical problem, like mid-fight). > My setup involves SSH'ing to my server and then connecting to a screen > that has lyntin running. When I'm done playing I'll get somewhere safe > to idle and detach the screen, log out of the SSH connection. For > several years this worked fine in all cases. It continues to work fine > when I have an item (like the energy staff) that sends a text string > from the mud every couple of rounds to spam the connection as a poor > man's keep alive. If I am naked with no spam at regular intervals I'll > receive the disconnect. > > I can think of a few things that happened about half a year ago: > 1) I moved from an apartment to a house. I kept the same DSL modem, > router, etc so my network from the modem to my server remained the same. Something between the computer Lyntin is running on and 3k is dropping the telnet session when no data is passing through for some period of time. I don't know offhand how to figure out what though. My vote is that you should idle in spammy rooms. Jump comes to mind. :) > 3) I installed lyntin 4.2 and subsequently removed it. I didn't like > the integration with easyinstall- lyntin is too small to warrant that > kind of integration (not to mention by the time I downloaded lyntin 4.2, > the acceptable egg list was stale so I had to modify the install file to > point to the current list of easyinstall eggs... apparently old eggs are > removed?) I don't really know what you're talking about here. Too small to warrant using setuptools? Acceptable egg? > I've tried to include as much information from lyntin as I know to. If > anyone has any ideas on what might be causing the error or possible > solutions I'm all ears. Also if there's more information that would be > useful in diagnosing the problem, I'll gladly include it. > [snip] It's not really a problem with Lyntin. You should get the same behavior with any long-running TCP session connection where there are periods of time when no data passes across the session (telnet, ssh, ...). You could write a plugin that sends an IAC AYT which is telnet parlance for "are you there?" every 5 minutes. If 3k handles that appropriately or ignores it, then you should be all set. If 3k does something stupid with it like tries to handle it like a command, then this won't work very well since it'll violate the botting rules. You could set up a ticker that sends a #cr every 5 minutes. But if you're away from your keyboard when that happens, then you're violating 3k's botting rules. That's all the ideas I have. Hope it helps! /will |