Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Intercepting Oracle traffic

Re: Intercepting Oracle traffic

From: Karen Abgarian <abvk_at_ureach.com>
Date: Wed, 08 Jan 2003 07:49:59 GMT
Message-ID: <3E1BD822.B4FA8DBB@ureach.com>


Igor,

Either the way you are approaching the problem is crazy, either the problem itself. I suggest that you give it a fresh look and consider some of the advices the other posters gave you.

The interface to any Oracle software components is very proprietary and Oracle is very reluctant to publish any details. Some people go into great trouble in investigating how Oracle really works, and we call them gurus for that.

The software hacking the Oracle traffic, probably, exists. The BMC salesrep was mentioning some product that does it. I never had a need to check what the software really is and what it does, check www.bmc.com. Given the abovesaid pains in developing such a software, it is probably going to cost lots of money.

Regards

Igor Sidorin wrote:

> Thanks! All this actually supports my feelings. But database triggers
> aside, what approach would you recommend? One thought I have is
> plugging in my own module in place of native Oracle client driver
> (that the client application uses), have it do the magic (like
> checking the SQL statements, acting on some, for others invoking the
> real Oracle driver). My concern is the danger of replacing Oracle
> runtime-link module (that would be my only option, as the application
> has been compiled and linked with the compile-time Oracle libraries,
> and I don't have the source code to recompile with my
> driver-substitute). Is the interface to the runtime libraries
> published or is it proprietary (so that only the compile-time
> libraries know how to invoke it)? Has anybody attempted doing this?
>
> Thanks!
>
> Ron Reidy <rereidy_at_indra.com> wrote in message news:<3E1A52F2.1060908_at_indra.com>...
> > Several years ago, I accepted a contract to work at a company trying to
> > this very thing. They said they had "guaranteed" cooperation from
> > Oracle to break the TCP (TNS) stack, and we would be getting "inside"
> > engineering data and help from them.
> >
> > To make a short story (contact length was 4 weeks (originally stated to
> > be 18 months)), the effort was an abismal failure. Furthermore, they
> > are no more (gone, kaput, bankrupt).
> >
> > So, consider using the databases "published" capabilities, not trying to
> > hack the internals to meet some wierd functionality you may need.
> >
> > --
> > Ron Reidy
> > Oracle DBA
> >
> > Igor Sidorin wrote:
> > > smontgomerie_at_hotmail.com (Steve) wrote in message news:<156709aa.0212292106.2592f578_at_posting.google.com>...
> > >
> > >>i_sidorin_at_hotmail.com (Igor Sidorin) wrote in message news:<1b3cae17.0212271212.1e364cc0_at_posting.google.com>...
> > >>
> > >>>Hi,
> > >>>
> > >>>I need to create a proxy for an Oracle database that will look for
> > >>>certain SQL statements and react to them, while passing through the
> > >>>rest of the traffic to the database server. Has anyone done something
> > >>>like this? Is the protocol public? I would appreciate any information.
> > >>>Thanks!
> > >>>
> > >>>Igor
> > >>
> > >>perhaps auditing you mean? maybe look at fine grained access control
> > >>and definitly provide more details if you require meaningful
> > >>assistance
> > >
> > >
> > > Well, here is a scenario. I want to pass through all the traffic
> > > except updates to a certain table. When I catch a statement attempting
> > > to update the table, I may want to send an email somewhere and either
> > > update or not update the table, based on user priviliges, for example.
> > > Or, I may want to look to "Select" from a certain table and return
> > > results from a different database or file - so that it is transparent
> > > to the client. The problem we have is in integrating two products -
> > > one that acts as a client and uses Oracle database (second product).
> > > The first is a black box, so that we can't really do much to it except
> > > posing ourselves as an Oracle database to the client and monitoring
> > > its use of the database. So, in brief, I want to pose myself as a
> > > database so that the client is unaware of my presence, and intercept
> > > certain SQL statements performing some actions based on them. The
> > > actions may be in additions to passing through the traffic (i.e.,
> > > updating Oracle tables based on 'update' SQL statements and then
> > > sending some emails), or intercepting the statement and substituting
> > > the query results from some other data source. Any advice? And no,
> > > using Oracle triggers will not help me (we are trying to stay away
> > > from them).
> > >
> > > Thanks!
> > >
> > > Igor
Received on Wed Jan 08 2003 - 01:49:59 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US