[Asterisk-Users] service scan

info at beprojects.com info at beprojects.com
Mon Jun 20 16:59:49 MST 2005


Try "nmap -sU -p 5060 host.server.com" (has to be run as root to scan 
udp port).


Moises Silva wrote:
> i want to make  script in bash to determine whether or not a server is
> up and running with asterisk, so i tought i could use someting like
> 
> # nmap -p 5060 host.server.com
> 
> but it does not matter if asterisk is down or up, it keeps saying
> 
> PORT     STATE  SERVICE
> 5060/tcp closed unknown
> 
> why does it says closed? any other ideas?
> 



More information about the asterisk-users mailing list