From: WScates () amc ! jccbi ! gov
To: tru64-unix-managers
Subject: questions about hosts.deny
Date: Mon, 16 Jul 2001 16:42:26 +0000 [thread overview]
Message-ID: <102653652421876.tru64-unix-managers.marc@archive.invalid> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------_=_NextPart_001_01C10E16.4B6D2CC0", Size: 3115 bytes --]
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C10E16.4B6D2CC0
Content-Type: text/plain;
charset="iso-8859-1"
Hello everyone,
I have a quick question about spawning executables in the /etc/hosts.deny
file.
I know that on a Sun box I can preform the following, and receive the
correct responce:
/ect/hosts.deny :
ALL:ALL: spawn ( echo -e " Attempted connection from %c for %d (pid %p)" |
mail -s "From ghost@$(uname -n) \: %d" ghostd@ids )
On Linux (specifically Slackware) I can preform the same thing with the
following:
ALL:ALL: spawn /bin/echo -e " Attempted connection from %c for %d (pid %p)"
| /bin/mail -s "From ghost@$(uname -n)\ : %d" ghostd@ids
I have tried both ways (and variants between) on my alpha testing box, which
is a DEC 3000 running v4.0g, with no luck.
Could someone point me in the right direction? Wheither it's documents or
personal experience.
Thanks,
William Scates
SMF UNIX Systems Administrator
OAO / FAA @ MMAC
wscates@amc.jccbi.gov
------_=_NextPart_001_01C10E16.4B6D2CC0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>questions about hosts.deny</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2 FACE=3D"Arial">Hello everyone,</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">I have a quick question about spawning =
executables in the /etc/hosts.deny file.</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">I know that on a Sun box I can preform =
the following, and receive the correct responce:</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">/ect/hosts.deny :</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">ALL:ALL: spawn ( echo -e " =
Attempted connection from %c for %d (pid %p)" | mail -s "From =
ghost@$(uname -n) \: %d" ghostd@ids )</FONT></P>
<P><FONT SIZE=3D2 FACE=3D"Arial">On Linux (specifically Slackware) I =
can preform the same thing with the following:</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">ALL:ALL: spawn /bin/echo -e " =
Attempted connection from %c for %d (pid %p)" | /bin/mail -s =
"From ghost@$(uname -n)\ : %d" ghostd@ids</FONT></P>
<P><FONT SIZE=3D2 FACE=3D"Arial">I have tried both ways (and variants =
between) on my alpha testing box, which is a DEC 3000 running v4.0g, =
with no luck.</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Could someone point me in the right =
direction? Wheither it's documents or personal experience.</FONT>
</P>
<BR>
<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks,</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">William Scates</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">SMF UNIX Systems Administrator</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">OAO / FAA @ MMAC</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">wscates@amc.jccbi.gov</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C10E16.4B6D2CC0--
reply other threads:[~2001-07-16 16:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox