Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Luxer on July 18, 2004, 03:32 PM

Title: Fake IP
Post by: Luxer on July 18, 2004, 03:32 PM
Is there a way to tell battle.net that you have a differnt IP Address then it really is? (Going though a router)
Title: Re:Fake IP
Post by: DeTaiLs on July 18, 2004, 03:34 PM
proxies
Title: Re:Fake IP
Post by: Luxer on July 18, 2004, 05:18 PM
COuld you be more spesific?
Title: Re:Fake IP
Post by: Eric on July 18, 2004, 05:34 PM
Quote from: Luxer on July 18, 2004, 05:18 PM
COuld you be more spesific?

SOCKS proxies.
Title: Re:Fake IP
Post by: UserLoser. on July 18, 2004, 07:31 PM
Hack/modify/patch winsock
Title: Re:Fake IP
Post by: iago on July 18, 2004, 08:34 PM
It's easy to lie about your ip.  It's like writing the wrong return address on your mail.  Just don't expect a reply from the server :)
Title: Re:Fake IP
Post by: DeTaiLs on July 18, 2004, 08:38 PM
If u look at the stmp server the never even send anything back to varifty the ip
Title: Re:Fake IP
Post by: iago on July 18, 2004, 10:18 PM
Quote from: Twix on July 18, 2004, 08:38 PM
If u look at the stmp server the never even send anything back to varifty the ip

huh? I have no idea what that is or means, but how do you _not_ send something back?  Unless it's udp ("fire and forget"), you need a response.
Title: Re:Fake IP
Post by: tA-Kane on July 19, 2004, 01:01 AM
Sending a fake IP when connecting would only generate a mirrored-syn-flood-type of attack (aka mirrored denial of service), though if you try to connect only once, it's more like a fluke of nature than an attack, since nearly zero damage is done to anything.

The only way to "fake" the IP address you're connecting from and be able to use the connection would be to "bounce" it. That is, you connect to some other IP address, and tell that IP address to connect to Battle.net.

One of the easiest bouncer protocols to use are SOCKS 4 and SOCKS 5.

Use google for referencing.
Title: Re:Fake IP
Post by: Soul Taker on July 19, 2004, 01:29 AM
As others have said, without bouncing your connection through another host, you can't actually use the connection for anything productive.  Just to clarify why, if you tell a server you are using a fake IP, the server will respond and send all data to said fake IP.  This makes it impossible for you to get that data unless the data is being routed to you by a middle-man.
Title: Re:Fake IP
Post by: iago on July 19, 2004, 07:13 AM
Quote from: tA-Kane on July 19, 2004, 01:01 AM
Sending a fake IP when connecting would only generate a mirrored-syn-flood-type of attack (aka mirrored denial of service), though if you try to connect only once, it's more like a fluke of nature than an attack, since nearly zero damage is done to anything.

It wouldn't even do that, since the server would send SYN/ACK to the fake ip, and the fake ip wouldn't know what to do with it so it would get ignored.
Title: Re:Fake IP
Post by: c0ol on July 20, 2004, 04:34 PM
you can mirror the packets to a host that you can spy on.  This is however impractical unless you have some control over an internet router or some such of that nature.
Title: Re:Fake IP
Post by: idoL on July 22, 2004, 04:38 PM
But isn't it like spoofing your IP? You can still connect to things but under a different IP?
Title: Re:Fake IP
Post by: iago on July 22, 2004, 05:42 PM
Quote from: Snake on July 22, 2004, 04:38 PM
But isn't it like spoofing your IP? You can still connect to things but under a different IP?

You can't spoof your ip.  If you did, how would a server know where to send the data back to?  The best you can do is have an intermediate server that you send stuff to and it forwards the stuff.
Title: Re:Fake IP
Post by: Zakath on July 22, 2004, 09:41 PM
Use the postal service analogy. If I write the wrong return address on a letter, any responses to said letter will be sent to that address rather than my own. Unless whoever receives mail at that address knows to forward that mail to me, I will never get it. That is, in essence, what connecting via a proxy accomplishes.
Title: Re:Fake IP
Post by: iago on July 22, 2004, 09:55 PM
Quote from: Zakath on July 22, 2004, 09:41 PM
Use the postal service analogy. If I write the wrong return address on a letter, any responses to said letter will be sent to that address rather than my own. Unless whoever receives mail at that address knows to forward that mail to me, I will never get it. That is, in essence, what connecting via a proxy accomplishes.

I already used that analogy in this thread, but you extended it a bit :)
Title: Re:Fake IP
Post by: iago on July 23, 2004, 07:17 AM
I was thinking, he (or whoever) might be thinking that the internet is like the phonelines and caller id.  Caller id is (optionally) sent from the outgoing phone, and a switched 2-way connection is automatically established without using the caller id info.  Which makes it easy to spoof caller id.  But on the Internet, you need to send your ip to the other person so they know where to send data back to, because you never get a direct line.