Coda File System

Re: ports of coda

From: Jan Harkes <jaharkes_at_cs.cmu.edu>
Date: Wed, 21 May 2003 13:11:44 -0400
On Wed, May 21, 2003 at 12:28:09PM +0200, Markus Markert wrote:
> can somebody tell me the ports which coda uses in a normal installation?
> are they fix or dynamic? because i should implement a firewall between my 2 
> webservers and so i should know the ports ;-)

Coda servers use fixed ports, Coda clients use whatever they can get.
There are some differences depending on whether clients have masquerade
enabled or not.

Common used ports,
    clog	???/udp -> 370/udp on the server
    auth2	370/udp -> ???/udp (clog) on the client

    (these probably shouldn't go through the firewall at all)
    rpc2portmap 396/udp -> ???/udp (updateclnt/updatesrv) on the server
    updatesrv	???/udp -> 369/udp and ???/udp (updateclnt) on the server 
    updateclnt	???/udp -> 369/udp and ???/udp (updatesrv) on the server 


Ports used when masquerade=0,
    venus	2430/udp -> 2432/udp on the server
		2431/udp -> 2433/udp on the server
    codasrv	2432/udp -> 2430/udp on the client
		2433/udp -> 2431/udp on the client

Ports used when masquerade=1,
    venus	???/udp -> 2432/udp on the server
    codasrv	2432/udp -> ???/udp on the client

Another useful feature, when masquerade is enabled you can actually
force the client to bind to a specific port number with the
masquerade_port=NNN option in /etc/coda/venus.conf.

Jan
Received on 2003-05-21 13:13:25