[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Getting Hacked! Please HELP ASAP!
- Subject: Re: [cobalt-users] Getting Hacked! Please HELP ASAP!
- From: "Robert G. Fisher" <rfisher@xxxxxxxxxxxxxxx>
- Date: Fri Aug 25 14:58:22 2000
On Fri, Aug 25, 2000 at 08:21:32PM +0100, Babu P. Yogarajah wrote:
> Can anyone post me a sample for only blocking sendmail
> through /etc/hosts.deny for certain IPs.
/etc/hosts.deny is only used by tcpwrappers when going through
inetd. Sendmail usually runs as a daemon, you're better off
using the access db usually in /etc/mail/access, the format
is real simple such as:
192.168.10.3 REJECT
You can specify the entry like:
192.168.10. REJECT
To get the subnet on the byte boundaries, no CIDR here folks...not
unless you want to really go insane in sendmail.cf language semantics
;-).
--
Robert G. Fisher Sitestar.net, Inc.
Senior System Engineer (540) 666-9533 x 116