• Welcome to Valhalla Legends Archive.
 

Direct Connection

Started by WiLD, October 18, 2003, 12:46 PM

Previous topic - Next topic

TriCk

Quote
Oh, you mean a trojan.

What you described is fine.  Have the trojan contact your listening process, which receives the connection address, then launches its own connection to the listening trojan.

Hope this helps.  And hope you burn in hell.

Well I doubt anyone will be interested in that bot anymore :P

Banana fanna fo fanna

Quote from: Adron on October 24, 2003, 10:51 AM
Quote from: CupHead on October 24, 2003, 08:21 AM
The easiest way to avoid problems like that is to not be on a private IP yourself.  That way, you can simply ask the other party over the established connection (b.net presumably) to connect to a listening port that you've set up on your computer.  When both parties need their addresses translated, I'm not sure how to do it programatically.

Go via a third party, look up your external IP through someone outside, or use UPnP?

Can you explain UPnP?

Freeware

UPnP is Universal Plug and Play, that all I know.

But for looking up for your external IP, just connect to useast.battle.net on port 6112 as a Telnet bot, and it will send you the text: Connection from 12.34.56.78 (whatever your IP is). That is your external IP I believe, one of my friends has DSL, and telnet worked fine for him to look it up.

Adron

Quote from: St0rm.iD on October 29, 2003, 09:16 PM
Quote from: Adron on October 24, 2003, 10:51 AM
Go via a third party, look up your external IP through someone outside, or use UPnP?

Can you explain UPnP?

UPnP is supposed to allow your computer and router to communicate information on NAT, opening ports, port forwarding etc. I don't have any personal experience with it, but if anyone knows more exactly what is or is not possible, please post!

Skywing

Quote from: Adron on October 31, 2003, 10:26 AM
Quote from: St0rm.iD on October 29, 2003, 09:16 PM
Quote from: Adron on October 24, 2003, 10:51 AM
Go via a third party, look up your external IP through someone outside, or use UPnP?

Can you explain UPnP?

UPnP is supposed to allow your computer and router to communicate information on NAT, opening ports, port forwarding etc. I don't have any personal experience with it, but if anyone knows more exactly what is or is not possible, please post!
I think it's what I've been seeing a lot of on the network here (many WinXP machines) - UDP broadcasts with content that looks like HTTP (what a mess... who thought of this stuff?).

Adron

Yes, I think it's runs over a light-version of http. You never pass any big packets so there's no need for a tcp session, you just send a request and get a reply. And you can broadcast your requests.