Results 1 to 10 of 10

Thread: callback and firewall

  1. #1
    jerry_cym is offline Registered User
    Join Date
    Jan 2006
    Posts
    15

    callback and firewall

    HELLO,if ice/demo/callback client is at 192.168.0.2,gateway 192.168.0.1/1.2.3.4 and ice/demo/callback server is at public network(5.6.7.8)

    how can i modi config file to make client communicate server and sucess callback client object?
    full name:程贇明
    company:上海日益昌信息技术有限公司
    web address:eformosan.com
    the use of ICE:sale and buy platform

  2. #2
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458
    You either need to redirect the port in the firewall back to your client, or use bi-directional communications. Its probably simplest to use bidir. See the Ice manual and demo/Ice/bidir for an example.

  3. #3
    marc's Avatar
    marc is offline ZeroC Staff
    Name: Marc Laukien
    Organization: ZeroC, Inc.
    Project: The Internet Communications Engine
    Join Date
    Feb 2003
    Location
    Florida
    Posts
    1,860
    You can also use Glacier2, our firewall solution. Please refer to the manual for details.

  4. #4
    jerry_cym is offline Registered User
    Join Date
    Jan 2006
    Posts
    15
    thank you ,zeroc stuff
    full name:程贇明
    company:上海日益昌信息技术有限公司
    web address:eformosan.com
    the use of ICE:sale and buy platform

  5. #5
    jerry_cym is offline Registered User
    Join Date
    Jan 2006
    Posts
    15
    sorry
    thank you,zero staff
    full name:程贇明
    company:上海日益昌信息技术有限公司
    web address:eformosan.com
    the use of ICE:sale and buy platform

  6. #6
    jerry_cym is offline Registered User
    Join Date
    Jan 2006
    Posts
    15
    but the ICE MANUAL PDF is only introduce of glacier that server at private network and client at public network,not introduce of glacier that server at public network and client at private network,i only want to modi config file to make client and server commicate.
    how can i modi following config file:
    -----------------------------------------------------------------------
    Callback.Client.CallbackServer=callback:tcp -p 10000:udp -p 10000:ssl -p 10001
    Callback.Client.Endpoints=tcp:udp:ssl
    Callback.Server.Endpoints=tcp -p 10000:udp -p 10000:ssl -p 10001

    #Ice.Trace.Network=1
    #Ice.Trace.Protocol=1
    Ice.Warn.Connections=1

    Ice.Plugin.IceSSL=IceSSL:create
    IceSSL.Client.CertPath=../../../certs
    IceSSL.Client.Config=sslconfig.xml
    IceSSL.Server.CertPath=../../../certs
    IceSSL.Server.Config=sslconfig.xml
    #IceSSL.Trace.Security=1
    ---------------------------------------------------------------------

    server at 5.6.7.8,client at 192.168.0.2,gatway 192.168.0.1/1.2.3.4

    thank you zeroc staff
    full name:程贇明
    company:上海日益昌信息技术有限公司
    web address:eformosan.com
    the use of ICE:sale and buy platform

  7. #7
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458
    If you don't want to use Glacier2 for whatever reason then as I said you have two choices:

    Poke a hole in the firewall (port forward the port on the firewall to the client, and have the client publish the firewalls address intead of its own -- see the PublishedEndpoints section in the Ice Manual. In the Ice 3.0.1 manual this starts on page 722.

    If you don't want to reconfigure your firewall you have to alter your client & server to use bi-directional connections. Again look at the Ice manual for details, and check out the bidir demo (demo/Ice/bidir).

  8. #8
    jerry_cym is offline Registered User
    Join Date
    Jan 2006
    Posts
    15
    can /demo/ice/bidir use udp protocal to through firewall?
    full name:程贇明
    company:上海日益昌信息技术有限公司
    web address:eformosan.com
    the use of ICE:sale and buy platform

  9. #9
    marc's Avatar
    marc is offline ZeroC Staff
    Name: Marc Laukien
    Organization: ZeroC, Inc.
    Project: The Internet Communications Engine
    Join Date
    Feb 2003
    Location
    Florida
    Posts
    1,860
    No, it cannot. You can only use TCP/IP or SSL with bi-directional connections (or Glacier, which uses bi-directional connections). We do not have any firewall solution for UDP. If you have a commercial need for such a feature, and would like to sponsor such a development, please contact us at info@zeroc.com.

  10. #10
    jerry_cym is offline Registered User
    Join Date
    Jan 2006
    Posts
    15
    thank you very much
    full name:程贇明
    company:上海日益昌信息技术有限公司
    web address:eformosan.com
    the use of ICE:sale and buy platform

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. IceGrid behind a firewall
    By davidcr1983 in forum Help Center
    Replies: 1
    Last Post: 08-08-2006, 11:11 AM
  2. ICE and Windows Firewall
    By aroan in forum Help Center
    Replies: 1
    Last Post: 10-21-2005, 03:46 AM
  3. Replies: 1
    Last Post: 07-30-2005, 07:12 AM
  4. a questoin about firewall
    By freshman in forum Help Center
    Replies: 2
    Last Post: 06-17-2005, 05:14 AM
  5. Questions on firewall traversal
    By rhochmuth in forum Help Center
    Replies: 2
    Last Post: 11-16-2004, 12:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •