ports

Matthew Seaman m.seaman at infracaninophile.co.uk
Tue Jul 8 17:07:23 UTC 2008


Lowell Gilbert wrote:
> kalin m <mail at godfur.com> writes:
> 
>> brand new install of freebsd 7. some httpd and named.
>> what are these?
> 
> Use sockstat(1) to find out?
> 
>> udp6       0      0  *.54168                *.*
>> udp4       0      0  *.54167                *.*                    

Almost certainly named -- it appears to listen on a high numbered
UDP port, but all it is is the next /source/ port for an outgoing
UDP packet.  You can configure named to always send packets using a
fixed port number (which can be helpful for firewalling) by:

    query-source       address 12.34.56.78 port 53;
    query-source-v6    address 1999:aaaa:bbbb:cccc::1 port 53;
    transfer-source    12.34.56.78 port 53;
    transfer-source-v6 1999:aaaa:bbbb:cccc::1 port 53;
    notify-source      12.34.56.78 port 53;
    notify-source-v6   1999:aaaa:bbbb:cccc::1 port 53;

	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: 258 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080708/1c95e9ff/signature.pgp


More information about the freebsd-questions mailing list