[TriLUG] how to write a host.allow file

crimsun at fungus.sh.nu crimsun at fungus.sh.nu
Fri Feb 13 00:41:42 EST 2004


On Thu, Feb 12, 2004 at 09:41:20PM -0500, Ralph Blach wrote:
> I want to write a host.allow file which will open the
> pop port to only host.

Do you mean to ask what line in /etc/hosts.allow allows only one host to
connect to 110/tcp (presuming you mean pop3)? If the daemon has support
for tcp-wrappers, you could try:

pop3: thehost

Really, however, you should simply deny 110 (tcp and udp) to all hosts
by default with ipchains/iptables and explicitly allow the single host
with a separate rule.

-- 
Daniel T. Chen          crimsun at fungus.sh.nu
GPG key:   www.sh.nu/~crimsun/pubkey.gpg.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://www.trilug.org/pipermail/trilug/attachments/20040212/137cd8b0/attachment.pgp>


More information about the TriLUG mailing list