Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: port forwarding and oracle |
|---|---|
| Date: | Tue, 26 Oct 2004 09:32:33 +0200 |
SID_LIST_lst_estad =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = ESTAD)
(ORACLE_HOME = /opt/oracle/product/8.1.7)
(SID_NAME = ESTAD)
)
)STARTUP_WAIT_TIME_lst_estad = 0 CONNECT_TIMEOUT_lst_estad = 10
The tnsnames.ora on the localmachine is:
ESTAD_TUNNEL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = LOCALHOST)(PORT = 1702))
)
(CONNECT_DATA =
(SID = ESTAD)
)Making a tunnel with cygwin with this line, i think this is your problem: ssh -L 1702:localhost:1528 root@whatever
Best regards David Roman Esteban
Chris Cheshire wrote:
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
-- Un saludo David Román Esteban droman@plcendesa.com (+34)669229194
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: port forwarding and oracle, Jesse Waters |
|---|---|
| Next by Date: | Re: port forwarding and oracle, Chris Cheshire |
| Previous by Thread: | Re: port forwarding and oracle, Jesse Waters |
| Next by Thread: | Re: port forwarding and oracle, Chris Cheshire |
| Indexes: | [Date] [Thread] [Top] [All Lists] |