Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Nov 2008
Setting additional environment values with tcp-env
The problem is that the added program requires a number of environment variables to be set before it actually does anything. I know tcpserver has rulefiles that you can create, where you can set environment variables for certain IP-addresses. Although I would prefer being able to assign variables for seperate IP-addresses, I'd already be happy if I can set the variables for all incoming connections. Anyone has any idea whether this is possible for tcp-env?
I've been looking into this a bit more and found out that I can edit the hosts.allow file in /etc/ to have a line similar to this:
tcp-env : ip-address : setenv RELAYCLIENT
However, I have a variable that needs to receive a string, anyone has any idea how to put that in there?
Last edited by morfanaion; 08-10-2009 at 01:42 PM. Reason: Followup