Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: tcp spy ?

From: sqlab:gmx at: 12-Aug-2003 11:45

Hello Patrick Galt Barber wrote an SQL -Proxy for MS-SQL7 a few years ago. Modifying his script I was able to snoop the connections to the Caché DB too. If you are interested I can look if I have the scripts still on my laptop at home. AR
> Hi Carl, > > Dbtcp.exe is not written in Robol. This server is capable of executing SQL > query on any ODBC database. My goal is to insert a Rebol spy between the > server and the client to dump the transferred data without interfering in > any way (Starfleet first directive: "do not interfere"). > > As Petr suggested, I have turned myself towards existing software > (tcpviewer > and Socket workbench). It works but ... > > However I am sure that such a "tcp sniffer" could be done with Rebol. > But the only example I found is the Proxy.r from the Rebol library which > is > very specific to the HTTP protocol. > > Olivier Auverlot book's gives me also some clues, but I am still looking > for > something more appropriate to my needs. > > So if any one has some piece of code, even unfinished ... > > Regards > Patrick > ----- Original Message ----- > From: <[carl--rebol--com]> > To: <[rebol-list--rebol--com]> > Sent: Monday, August 11, 2003 9:44 PM > Subject: [REBOL] Re: tcp spy ? > > > It wasn't entirely clear to me if dbtcp.exe is written in REBOL in your > example here. > > If it is, then you can just insert a PROBE into parts of the program to > see what's > > being sent/received. > > > > If not in REBOL, then you can create a proxy in REBOL and send your TCP > thru it. > > I wrote one a couple years ago to spy on my browser's connections, and > there > > are some examples circulating around in the script lib and by folks on > this list. > > > > But, Petr is right... if all you want is to see the packets for any > connection, > > you can use a tool like tcpdump (or whatever the equiv is on Windows). > > > > -Carl > > > > >I am looking for a script/an example/a piece of code to spy what is > going > on between a server and a client. > > > > > >The server, dbtcp.exe, is listening on tcp://3000. > > >The client, DBTCPClientTest.exe, is sending its request on the same > port. > > >My goal is to write a Rebol client, but I don't know exactly what the > client is sending and what the server is answering. > > >So I wonder it is perhaps possible to write a Rebol program to dump the > data. > > > > > >I have tried a few things, but it is too hard for me! > > > > > >Note: the port number can be changed on both the client and the server, > and for the moment both programs are on the same machine. > > > > > >Any help will be greatly appreciated... > > > > > > > > >Regards > > >Patrick > > > > > > > -- > > To unsubscribe from this list, just send an email to > > [rebol-request--rebol--com] with unsubscribe as the subject. > > > > -- > To unsubscribe from this list, just send an email to > [rebol-request--rebol--com] with unsubscribe as the subject. >
-- COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test -------------------------------------------------- 1. GMX TopMail - Platz 1 und Testsieger! 2. GMX ProMail - Platz 2 und Preis-Qualitätssieger! 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post