Install Configure Psybnc
Make sure the default library is purged with apt-get purge before installing the compiled version. – Schien Apr 9 '14 at 20:27. Note that you don't need to build and install OpenSSL manually. The patch was backported to the packages in use in Ubuntu (see advisory).
I'd just like to see if anyone else with a similar setup to me has these problems. My setup is:
Linode 64
Redhat 9 Large install
Just two 'services' running - SSH and psyBNC
The problem I have is that both seem to time out after about 20 minutes to an hour if there is no activity. SSH simply doesn't respond to any character input unless I reconnect (in which case it works fine as long as I don't leave it idle). psyBNC causes more of a problem - whilst it stays connected to the IRC network, the user connected to it is silently disconnected and often does not realise this has happened.
Does anyone know if this is a configuration problem that can be fixed at my end, or an inevitable consequence of something?
Remote_addr empty nginx php. I have setup an Nginx reverse proxy in front of my Apache server. When my php application uses the REMOTEADDR function it gets the IP of the Nginx server instead off the user. I'm using Apache 2.4.10, so moduleremoteip.c should be installed. But it is not loaded. Therefore I installed rpafmodule. I've noticed one obvious mistake in your code sample above, that is, you define mymemvar as a 'local' Lua variable in initbylua but you use it later in your setbylua, which will not work at all.
Thanks in advance for any help you can offer.
4 Replies
@Quik:
The problem I have is that both seem to time out after about 20 minutes to an hour if there is no activity.
This is likely not a problem with your Linode, but instead a firewall or router near the client taking down a connection after some period of inactivity. If this is the issue, you can investigate 'keepalive' options on your client apps. For example, for OpenSSH you can put 'KeepAlive yes' in your $HOME/.ssh/config file.
Roy