9fans archive / 1998 / 12 / 37 / prev next From: G. David Butler gdb@dbS... Subject: [9fans] Re: multi-ether Date: Tue, 22 Dec 1998 09:22:01 -0600 aux/listen announces net!*!port (and net!*!* also) so will accept a call on any interface on the system. Look at cmd/aux/listen.c, libc/port/announce.c, 9/port/devip.c and you will find there is no way to restrict the announce to a particular interface. If you don't want to accept a call from a particular interface, write into your server the announce/listen for the port and before you accept(), check local. If you don't want to accept(), call reject(). (see dial(2)).