Re: home lan

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 12, 2002 at 07:46:14PM -0800, jdow wrote:
> From: "Jack Bowling" <jbinpg@shaw.ca>
> 
> > I, for one:
> >
> > ---------------
> > cat /etc/hosts.deny
> > #
> > # hosts.deny    This file describes the names of the hosts which are
> > #               *not* allowed to use the local INET services, as decided
> > #               by the '/usr/sbin/tcpd' server.
> > #
> > # The portmap line is redundant, but it is left to remind you that
> > # the new secure portmap uses hosts.deny and hosts.allow.  In particular
> > # you should know that NFS uses portmap!
> >
> > ALL: ALL: spawn echo tcpwrap has detected an Unauthorised Connection
> Attempt\
> >  from %h %a to %d at `date`|tee -a /var/log/secure|mail root@xxx.xxx
> 
> Thanks for that bit of cleverness, Jack. It has been incorporated and
> embellished to send to several addresses so I am sure to get and notice it.

Far too clever to have come from my brain :-)) I admit to stealing it from
some other well-versed soul on these lists many a moon ago. Luckily, I
have not had to see any mails to root from this invocation in a long,
long time.

-- 
Jack Bowling
mailto: jbinpg@shaw.ca



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux