Subject Re: Zebedee and RemoteAuxPort
Author colinriley666
Thanks for your answer. This does indeed raise more questions.
I tried this without zebedee, and used ethereal on my client to
trace network activity. What I noticed was that "normal" traffic
via port 3050 showed IP addreses = the client and the public ip
address of the server's router. (Fine).

As soon as an event occurred, I saw in the ethereal log on the
server entries with the IP address of the server machine, not the
router. i.e. 192.168.0.101.

So the question is:
Suppose that the server RemoteAuxPort = 4321, how does the client
know, when something arrives on port 4321, that it is firebird-
related?

regards, Colin

--- In firebird-support@yahoogroups.com, Alexandre Benson Smith
<iblist@t...> wrote:
> colinriley666 wrote:
>
> >I am trying to attempt something like the following:
> >
> >I need to be able to connect to firebird databases on a multitude
of
> >remote servers using zebedee.
> >
> >I define the connection strings as:
> >
> >for remote 1 : localhost/10001:myAlias
> >for remote 2 : localhost/10002:myAlias
> >etc.
> >
> >Each server has RemoteAuxPost = 3051 in Firebird.Conf, and starts
> >zebedee to listen on ports 3050 and 3051.
> >
> >The client starts zebedee with:
> > 10001:<ip-addr of server1>:3050
> > 10002:<ip-addr of server2>:3050
> >etc.
> >
> >If I specify to zebedee on the client :
> > 3051:<ip-addr of server1>:3051
> >Then my application starts up fine on the client when connecting
to
> >remote1. Without it, I get a message something like "unable to
> >create secondary connection".
> >
> >How should I specify the 3051 port when I want to connect to more
> >than 1 server? Our firewalls are VERY strict, and basically only
> >open the zebedee default port 11965.
> >
> >regards, Colin
> >
> >
> Colin,
>
> Good question !
>
> I think you don't have optons beside open in your firewall the
ports for
> the secondary connection (event ports).
>
> I will say what I think about, not sure how it really works (Never
used
> events). The Server specifies to the client what the secondary
port is,
> since the client doesn 't need a frebird.conf file, basically,
just the
> client library and message files.
>
> If I am correct in my assumption that the server speficies the aux
port,
> what about if you define port 3051 on remote1 and 3052 on remote2,
and
> in ZeBeeDee Client config file change you configuration to:
>
> 3051:<ip-addr of server1>:3051
> 3052:<ip-addr of server2>:3052
>
> Maybe it works.
>
> Now a question to the gurus.
>
> Could be a possibility for the client to specify the secondary
> connection port in the connection string ?
>
>
> see you !
>
> --
>
> Alexandre Benson Smith
> Desenvolvimento
> THOR Software e Comercial Ltda.
> Santo Andre - Sao Paulo - Brasil
> www.thorsoftware.com.br
> (11) 4992-3496 / 4990-8332
> (11) 9641-1808
>
>
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.323 / Virus Database: 267.8.6/33 - Release Date:
28/06/2005