> I am setting up a firewall and want to know what port fam uses. Thanks
fam is an RPC service started by inetd, so it runs on whatever port inetd
gives it. If you start it yourself instead of through inetd, it calls
bindresvport(), which (I think) uses the first available port at or below
1023. (Perhaps it ought to have a command-line argument for which port to
use.) Anyway, that means you don't know ahead of time what port it will use,
but you can ask the portmapper (either through pmap_getport() or
pmap_getmaps(), or through "rpcinfo -p") what port it's running on after it
starts. Does that help?
--Rusty
--
Source code, list archive, and docs: http://oss.sgi.com/projects/fam/
To unsubscribe: echo unsubscribe fam | mail majordomo@xxxxxxxxxxx
|