[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: how to email traceroute results
- From: "Allen Bolderoff" <allen gist net au>
- To: <redhat-list redhat com>
- Subject: Re: how to email traceroute results
- Date: Sun, 29 Aug 1999 12:44:26 +0930
/usr/sbin/traceroute $TARGET$ | mail -s "Portsentry traceroute" root host
----- Original Message -----
From: Joshua Levitsky <jlevitsk joshie com>
To: <redhat-list redhat com>
Sent: Sunday, August 29, 1999 7:48 AM
Subject: how to email traceroute results
> I'm running RH 6.0 and I'm using Portsentry to watch for portscans. One of
> the options lets me run a command when an alarm goes off with the syntax
>
> "/path/to/script $TARGET$ $PORT$"
>
> What I wanted to do was just do a traceroute and send the output at the
> mail command like
>
> mail -s 'trace to $TARGET$' root joshie com
>
> but I couldn't figure out how to on one line do the traceroute and pipe it
> to that mail command so it actually emails me.
>
> -Josh
>
> --
> Joshua Levitsky
> http://www.joshie.com/
>
>
>
> --
> To unsubscribe: mail redhat-list-request redhat com with "unsubscribe"
> as the Subject.
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]