Web Hosting Provider - finding blocked ports

Tom Buskey tom at buskey.name
Fri Jan 20 10:48:00 EST 2006


Kludge upon kludge:

#!/bin/sh
mv nmap.txt nmap.bak
nmap -P0 login.oscar.aol.com | egrep -v '^(Starting|Interesting|Nmap
finished)|^$' > nmap.txt
cmp nmap.txt nmap.bak
if [ $? -ne 0 ]
then
  diff nmap.txt nmap.bak | mail -s 'ports changed' your at address
fi

Stick that script in a cronjob :-)  You'll get email every time they change
ports.


On 1/20/06, Drew Van Zandt <drew.vanzandt at gmail.com> wrote:
>
> Right, but my big complaint is that they tell me it may change at any
> time, and that they will not tell me when it does.
>
> --DTVZ
>
>
> If you can run nmap on the server you can find out what ports are blocked:
> >
> >
>


--
A strong conviction that something must be done is the parent of many bad
measures.
  - Daniel Webster
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.gnhlug.org/mailman/private/gnhlug-discuss/attachments/20060120/1332a25d/attachment.html


More information about the gnhlug-discuss mailing list