Re: [Firebird-net-provider] Firebird .net + ZeBeDee + Events

2008-08-07 Thread Jiri Cincura
2008/8/7 Ivan Arabadjiev [EMAIL PROTECTED]:
 Is there any way currently in the provider to get the server event port

Right now no.

 (or could it be implemented in the future)? I suppose I could add it by
 myself, but doing that on every new version is a not really a

You can do the patch, send it to me and I'll review it. If it will not
bring up any problems, I'll commit it to sources, so it'll be in every
future version(s).

-- 
Jiri {x2} Cincura (CTO x2develop.com)
http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider


Re: [Firebird-net-provider] Firebird .net + ZeBeDee + Events

2008-08-07 Thread Mercea Paul
As I remember you can set the event port in firebird.conf...at least in FB
2.1

#
# The TCP Port Number to be used for server Event Notification
# messages.  The value of 0 (Zero) means that the server will choose
# a port number randomly.
#
# Type: integer
#
#RemoteAuxPort = 0

Best regards,
Paul

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf
 Of Jiri Cincura
 Sent: Thursday, August 07, 2008 8:02 PM
 To: For users and developers of the Firebird .NET providers
 Subject: Re: [Firebird-net-provider] Firebird .net + ZeBeDee + Events
 
 2008/8/7 Ivan Arabadjiev [EMAIL PROTECTED]:
  Is there any way currently in the provider to get the server event
 port
 
 Right now no.
 
  (or could it be implemented in the future)? I suppose I could add it
 by
  myself, but doing that on every new version is a not really a
 
 You can do the patch, send it to me and I'll review it. If it will not
 bring up any problems, I'll commit it to sources, so it'll be in every
 future version(s).
 
 --
 Jiri {x2} Cincura (CTO x2develop.com)
 http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com
 
 ---
 --
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Firebird-net-provider mailing list
 Firebird-net-provider@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/firebird-net-provider



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider


Re: [Firebird-net-provider] Firebird .net + ZeBeDee + Events

2008-08-07 Thread Helen Borrie
At 05:44 AM 8/08/2008, you wrote:
As I remember you can set the event port in firebird.conf...at least in FB
2.1

#
# The TCP Port Number to be used for server Event Notification
# messages.  The value of 0 (Zero) means that the server will choose
# a port number randomly.
#
# Type: integer
#
#RemoteAuxPort = 0

AFAIR, this setting won't work with SSH, because all connections are routed 
through localhost ports, typically bypassing localhost:80, starting with 
localhost:81 and stepping up by ones.  So to use asynchronous events, Zebedee 
would need to have access to at least two ports off localhost.  Firebird 
doesn't have any control over the ports it is allowed to access.

It would be interesting to see where Jiri goes with this, since I recall that 
Microsoft choked the localhost ports in XP and above, as a security fix of some 
kind. There was a period where async events would not work with SSH in any 
environment...I don't know whether this is still the case.

Helen


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider


Re: [Firebird-net-provider] Firebird .net + ZeBeDee + Events

2008-08-07 Thread Ivan Arabadjiev
Fri, 08 Aug 2008 01:39:35 +0300, Helen Borrie [EMAIL PROTECTED]:

 At 05:44 AM 8/08/2008, you wrote:
 As I remember you can set the event port in firebird.conf...at least in  
 FB
 2.1

 #
 # The TCP Port Number to be used for server Event Notification
 # messages.  The value of 0 (Zero) means that the server will choose
 # a port number randomly.
 #
 # Type: integer
 #
 #RemoteAuxPort = 0

 AFAIR, this setting won't work with SSH, because all connections are  
 routed through localhost ports, typically bypassing localhost:80,  
 starting with localhost:81 and stepping up by ones.  So to use  
 asynchronous events, Zebedee would need to have access to at least two  
 ports off localhost.  Firebird doesn't have any control over the ports  
 it is allowed to access.

 It would be interesting to see where Jiri goes with this, since I recall  
 that Microsoft choked the localhost ports in XP and above, as a security  
 fix of some kind. There was a period where async events would not work  
 with SSH in any environment...I don't know whether this is still the  
 case.

 Helen


 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's  
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great  
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the  
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Firebird-net-provider mailing list
 Firebird-net-provider@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/firebird-net-provider


Using the RemoteAuxPort is an option. The problem in my case is that I`m  
joining a group of programmers who don`t really like the idea of a static  
port (probably bad memories from the classic version).

I`ll try to spare some time on the provider and add a Int32 GetEventPort  
function ... or property. I would really appreaciate it if you could tell  
me when the port is randomized (for every database connection, at every  
Nth event etc.). I`ll send a proposal as soon as I do a few tests on it.

As for this setting won`t work with ssh, I have done tests. If you wish  
I could post working ZeBeDee configs for further stability tests.

-- 
Потребител на революционната програма за работа
с електронна поща в Opera: http://www.opera.com/mail/

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider