* Oliver Lehmann <[EMAIL PROTECTED]> [001112 14:34]:
> > RTFM -- <http://cr.yp.to/ucspi-tcp/tcprulescheck.html>
> 
> Ok, and how can i become the ip's listed in the cdb file?

(pcg@j) /etc/tcpcontrol> cat smtp.rules
204.253.132.:allow
:deny
(pcg@j) /etc/tcpcontrol> env TCPREMOTEIP=204.253.132.20 tcprulescheck smtp.cdb
rule 204.253.132.:
allow connection
(pcg@j) /etc/tcpcontrol> env TCPREMOTEIP=1.2.3.4 tcprulescheck smtp.cdb
rule :
deny connection

IOW, the TCP* stuff refers to environment variables...

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
I hope if dogs ever take over the world and they choose a king, they don't 
just go by size, because I bet there are some Chihuahuas with some good 
ideas.
 (Jack Handey)

Reply via email to