[plug] smtp madness.

Russell Steicke r.steicke at bom.gov.au
Tue Jun 22 15:18:26 WST 2004


On Tue, Jun 22, 2004 at 05:09:53PM +1000, Martin wrote:
> $quoted_author = "Shayne O'Neill" ;
> > 
> > The problem of course is that if this is the case then the ip block wont
> > work.
> > 
> > tcp        0      1 yourguild.murdoch.:2825 yhaaus.lnk.telstra:auth
> > SYN_SENT
> > tcp        0      0 yourguild.murdoch.:smtp yhaaus.lnk.telstra:8342
> > ESTABLISHED
> > tcp        0      0 yourguild.murdoch.:smtp yhaaus.lnk.telstra:8314
> > TIME_WAIT
> 
> i imagine the reverse dns is yhaaus.lnk.telstra.net but if you run
> netstat with the -n flag it will give you IP address.

Yes, netstat is truncating the host name, and there doesn't seem to be a
way to make its output wider.  But lsof doesn't do that:

  lsof -i :25

to get a list of smtp connections.



-- 
Russell Steicke

-- Fortune says:
  If I could drop dead right now, I'd be the happiest man alive!
  -Samuel Goldwyn



More information about the plug mailing list