• Welcome to Valhalla Legends Archive.
 

Articles on Proxy theories and sample implementations?

Started by taylorjonl, December 16, 2003, 12:02 PM

Previous topic - Next topic

taylorjonl

I am looking for a good article on the theories of proxy servers.  I am especially interested in articles that discuss how to handle multiple connections that possible has sample code in C/C++ or Java.

If you know of a really good article please post.

Banana fanna fo fanna


taylorjonl

I am attempting to make a DII proxy that I can parse/modify packets sent to/from a battlenet server.

Banana fanna fo fanna

You're going to have to hook winsock. Please see the advanced programming forum - it has a thread with what you're trying to do.

Skywing

Quote from: St0rm.iD on December 17, 2003, 06:05 PM
You're going to have to hook winsock. Please see the advanced programming forum - it has a thread with what you're trying to do.
Wasn't there a certain program called BinaryGateway written by a certain St0rm.iD that did something like this and did not require hooking Winsock?

Banana fanna fo fanna


Skywing


Banana fanna fo fanna

I don't know how D2 works.

And why exactly is this on web development...?

taylorjonl

#8
Quote from: St0rm.iD on December 18, 2003, 03:11 PM
I don't know how D2 works.

And why exactly is this on web development...?

I posted in web development because I want a general article on proxy implementation, not specifically for DII, which is a web development subject isn't it?

Someone asked why I wanted to know about proxies and I answered for a DII proxy.  Writing a DII proxy and a HTTP proxy should be very similar, shouldn't it?

As for hooking the winsock that isn't what I am looking to do.  I want to be able to run a computer on my network and have all the DII clients connect through my proxy each one doesn't have to have something installed.

I don't really think bot development is the best place for this since I just would like some articles on general proxy theories with possibly a sample implementation.  Not specifically in the context of a bot program.

Skywing

Quote from: taylorjonl on December 18, 2003, 04:15 PM
Quote from: St0rm.iD on December 18, 2003, 03:11 PM
I don't know how D2 works.

And why exactly is this on web development...?

I posted in web development because I want a general article on proxy implementation, not specifically for DII, which is a web development subject isn't it?

Someone asked why I wanted to know about proxies and I answered for a DII proxy.  Writing a DII proxy and a HTTP proxy should be very similar, shouldn't it?
A proxy isn't necessarily HTTP-related - for instance, see SOCKS.  Specialized proxy programs that interpret the protocol(s) they are intended for (such as caching HTTP proxy programs) are a different matter.

Depending on what you want to do, you might want to end up interpreting the Battle.net protocol with your proxy.  If this is the case, then the best forum to discuss would be the Battle.net Bot Development forum.

MyndFyre

Quote from: Skywing on December 17, 2003, 08:42 PM
Quote from: St0rm.iD on December 17, 2003, 06:05 PM
You're going to have to hook winsock. Please see the advanced programming forum - it has a thread with what you're trying to do.
Wasn't there a certain program called BinaryGateway written by a certain St0rm.iD that did something like this and did not require hooking Winsock?

I'm not sure about the original BinaryGateway, but the current version used to connect bots to Battle.net, called BG3, is a translator.  The requisite is that you connect to Battle.net via 127.0.0.1 (localhost), so it isn't a transparent proxy, and I also believe that it does not support UDP, so you get the plug.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

Banana fanna fo fanna

Original Binary Gateway was a proxy bot that also allowed chat clients to connect.

BG2, the precursor to BG3, is similar to what we have today.