Author | Message | Time |
---|---|---|
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. | December 16, 2003, 6:02 PM |
St0rm.iD | what are you trying to accomplish? | December 17, 2003, 3:43 AM |
taylorjonl | I am attempting to make a DII proxy that I can parse/modify packets sent to/from a battlenet server. | December 17, 2003, 4:27 AM |
St0rm.iD | 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. | December 18, 2003, 12:05 AM |
Skywing | [quote author=St0rm.iD link=board=22;threadid=4282;start=0#msg36082 date=1071705949] 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. [/quote] 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? | December 18, 2003, 2:42 AM |
St0rm.iD | This certain program did not use UDP. | December 18, 2003, 7:50 PM |
Skywing | [quote author=St0rm.iD link=board=22;threadid=4282;start=0#msg36222 date=1071777053] This certain program did not use UDP. [/quote] It wouldn't need to for D2, either... | December 18, 2003, 9:00 PM |
St0rm.iD | I don't know how D2 works. And why exactly is this on web development...? | December 18, 2003, 9:11 PM |
taylorjonl | [quote author=St0rm.iD link=board=17;threadid=4282;start=0#msg36240 date=1071781870] I don't know how D2 works. And why exactly is this on web development...? [/quote] 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. | December 18, 2003, 10:15 PM |
Skywing | [quote author=taylorjonl link=board=17;threadid=4282;start=0#msg36255 date=1071785732] [quote author=St0rm.iD link=board=17;threadid=4282;start=0#msg36240 date=1071781870] I don't know how D2 works. And why exactly is this on web development...? [/quote] 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? [/quote] 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. | December 18, 2003, 10:18 PM |
Myndfyr | [quote author=Skywing link=board=17;threadid=4282;start=0#msg36124 date=1071715326] [quote author=St0rm.iD link=board=22;threadid=4282;start=0#msg36082 date=1071705949] 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. [/quote] 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? [/quote] 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. | December 18, 2003, 11:10 PM |
St0rm.iD | 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. | December 19, 2003, 2:53 AM |