Subject: Re: [netatalk-admins] Disabling Routing
From: Stefan Bethke (stefan@promo.de)
Date: Tue Jan 06 1998 - 05:23:48 EST
On Mon, 5. Jan 1998 16:33 Uhr -0600 "Nate Carlson"
<netatalk@infinity.infiniteloop.com> wrote:
> I applied the patch I found, and routing was
> disabled just fine, but it seems that afpd binds itself only to one of the
> two addresses. So, it serves one side of the network just fine, but the
> other side of the network can see the server but cannot access it. Does
> anyone have a solution for this? TIA.
You probably will need to tweak afpd to bind to a specific address and run
two afpd's on the machine, one for each interface.
Specifically, you'll need an additional option in etc/afpd/main.c:main() to
specify the address to bind to, and a call to a modified version of
atp_open().
In the modified version of libatalk/atop/atp_open.c:atp_open(), instead of
initializing the sockaddr_at to *_ANY values, initialize the address to the
one given by the caller.
Hope this helps,
Stefan
-- Stefan Bethke Promo Datentechnik | Tel. +49-40-851744-18 + Systemberatung GmbH | Fax. +49-40-851744-44 Eduardstrasse 46-48 | e-mail: stefan@Promo.DE D-20257 Hamburg | http://www.Promo.DE/
This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:30:13 EST