Skip site navigation (1)Skip section navigation (2)
Date:      18 Mar 2003 15:48:32 -0800
From:      Dave Byrne <dave@glynjones.com>
To:        freebsd-stable@freebsd.org
Subject:   portmap on all tcp addresses?
Message-ID:  <1048031312.9815.18.camel@dave.glynjones.com>

next in thread | raw e-mail | index | archive | help
Is there a reason that portmap(8) has to listen on INADDR_ANY for tcp
connections?

the -h option specifies which ip addresses to bind to for UDP requests,
but regaurdless of what is specified, portmap will bind to all addresses
for TCP connections.

I looked at portmap.c in /usr/usr.sbin/portmap and its an easy patch to
fix this, which leads me to believe this was by design.

Will forcing portmap to only bind to certain addresses on multi-homed
hosts break its functionality?

Thanks
Dave


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1048031312.9815.18.camel>