RE: port forwarding and oracle

From: Bucaille, Lionel (lionel.bucaille_at_caissedesdepots.fr)
Date: 10/22/04

  • Next message: C. Linus Hicks: "Re: port forwarding and oracle"
    Date: Fri, 22 Oct 2004 11:23:15 +0200
    To: "Chris Cheshire" <ccheshire@bigredwire.com>, <secureshell@securityfocus.com>
    
    

    Ehlo,
    AFAIK, Oracle's Listener (Net8 Environnement) could be configured in 2 modes :
     - listener and clients answers on the same port
     - listener redirects (wrapper) clients to another _dynamic_ port :(
    Hope this help ...
    Lionel.

    -----Message d'origine-----
    De : Chris Cheshire [mailto:ccheshire@bigredwire.com]
    Envoyé : vendredi 22 octobre 2004 04:38
    À : secureshell@securityfocus.com
    Objet : port forwarding and oracle

    Has anyone got port forwarding to work with an oracle database?

    I have OpenSSH 3.9p1 on my database server (Oracle 8i running Solaris
    2.6) and my client is a PowerBook (running OSX 10.3.5) with OpenSSH
    3.6p1 (I wish apple would update this) and when I try to set up the port
    forward the connection (using java thin client drivers) through it times
    out. Running the following from the client :

    ssh -v -L 2521:dbserver:1521 user@dbserver

    connects successfully and starts up a shell and then when I connect
    using the java thin client () I get :

    debug1: Connection to port 2521 forwarding to dbserver port 1521 requested.
    debug1: channel 3: new [direct-tcpip]
    debug1: channel 3: open confirm rwindow 131072 rmax 32768
    debug1: channel 3: read<=0 rfd 9 len 0
    debug1: channel 3: read failed
    debug1: channel 3: close_read
    debug1: channel 3: input open -> drain
    debug1: channel 3: rcvd eof
    debug1: channel 3: output open -> drain
    debug1: channel 3: obuf empty
    debug1: channel 3: close_write
    debug1: channel 3: output drain -> closed
    debug1: channel 3: ibuf empty
    debug1: channel 3: send eof
    debug1: channel 3: input drain -> closed
    debug1: channel 3: send close
    debug1: channel 3: rcvd close
    debug1: channel 3: is dead
    debug1: channel 3: garbage collecting
    debug1: channel_free: channel 3: direct-tcpip: listening port 2521 for
    dbserver port 1521, connect from 127.0.0.1 port 49818, nchannels 4

    All this happens almost immediately, and the connection takes a further
    minute or so to time out.

    Any suggestions?

    Thanks

    Chris

    Ce message et toutes les pièces jointes (ci-après le « message ») sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. Si vous recevez ce message par erreur, merci de le détruire sans en conserver de copie et d'en avertir immédiatement l'expéditeur. Internet ne permettant pas de garantir l'intégrité de ce message, la Caisse des dépôts et consignations décline toute responsabilité au titre de ce message s'il a été modifié, altéré, déformé ou falsifié.

    This message and any attachments (the « message ») are confidential and intended solely for the addressees. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. If you receive this message in error, please delete it without storing any evidence and immediately notify the sender. Internet can not guarantee the integrity of this message, neither Caisse des depots et consignations shall be liable for the message if modified, altered, changed or falsified.


  • Next message: C. Linus Hicks: "Re: port forwarding and oracle"

    Relevant Pages

    • Tru64 Unix v5.1B SSH2D chroot environment
      ... The ssh daemon that came with the system has this feature. ... I can only imagine that the client software is ... Opened channel for session ... debug1: ssh-userauth2 successful: method password ...
      (comp.unix.tru64)
    • Re: Server refusing connection.
      ... the command line through my PuTTY client, but I cannot load the URLs ... I need some assistance to figure out why my ssh server is refusing my ... debug1: read PEM private key done: type RSA ... Server listening on 0.0.0.0 port 22. ...
      (comp.security.ssh)
    • OpenSSH closing prematurely
      ... I'm using OpenSSH 3.02 to forward a local port to a remote port over ssh and ... debug1: Rhosts Authentication disabled, ... debug3: start over, passed a different list publickey,password ... debug1: channel 1: obuf empty ...
      (comp.security.ssh)
    • Trouble using VNC thru a ssh tunnel
      ... "work" using VNC through a ssh tunnel with port forwarding. ... debug1: Connections to local port 5902 forwarded to remote address ... debug1: channel 2: new ...
      (comp.os.linux.security)
    • Re: Calling delegate on client raises a RemotingException
      ... using port "0" on the client is exactly what you want to do. ... you haven't registered a channel at all. ... then it needs a server channel as well. ...
      (microsoft.public.dotnet.framework.remoting)