6.0, allow remote logging?
Matthew Seaman
m.seaman at infracaninophile.co.uk
Sat Feb 4 03:11:06 PST 2006
Bill Schoolcraft wrote:
> But when I go to check an see if the external port 514/udp is open I
> get nothing showing:
>
> #############################################################
>
> [root at logserv ~]-> nmap localhost
>
> (The 1660 ports scanned but not shown below are in state: closed)
> PORT STATE SERVICE
> 22/tcp open ssh
> 25/tcp open smtp
> 80/tcp open http
>
> #############################################################
Umm... by default nmap only scans /TCP/ ports. syslog is a /UDP/ service.
Try sockstat(1) to see what network ports processes are listening on, and
use nmap like so to scan for UDP listeners:
# nmap -sU -p U:1-8080 hostname
Note that UDP scans intrinsically tend to take a lot longer than TCP scans --
the nmap(1) man page explains why -- so don't try scanning too many ports at
once, or you'll be waiting years for a result.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060204/d2dba53c/signature.bin
More information about the freebsd-questions
mailing list