Outpost Universe Forums

Outpost Series Games => Outpost 2 Multiplayer => Topic started by: zeritou on October 05, 2004, 09:57:04 AM

Title: my ip
Post by: zeritou on October 05, 2004, 09:57:04 AM
i am on an ether-net network (please excuse my use of redundancy), the ip of this network is 207.28.57.2 (or atleast thats what it tells me).

i know that whichever computer im on has a specific ip within the network. how do i find it?

if it helps im on "DELL2" (stupid school naming sys)
and my proxy address is 192.168.1.1
http://www.showmemyip.com (http://www.showmemyip.com) gives me 207.28.57.2 but it gives that for every other comp
Title: my ip
Post by: PlayingOutpost0-24 on October 05, 2004, 10:43:34 AM
IT SHOULD GIVE THAT IP FOR EVERY COMP... EVER HEARD "LOCAL AREA NETWORK"? I HAVE 3 COMPUTERS CONNECTED TO IT AND ALL HAS THE SAME IP :P
anyways, open mIRC, and type "$ip" and press <tab>...
Title: my ip
Post by: Hooman on October 05, 2004, 01:19:57 PM
I think mIRC will give the external IP when you do that. To find the local IP try running "winipcfg" or "ipconfig". I don't seem to have winipcfg on my winXP computer but the other one is there. You have to run it from the command prompt though. (Run "cmd" or "command", preferrably the first one). Anyways, it should tell you the local IP of the computer along with other stuff like the subnet mask and the default gateway.
 
Title: my ip
Post by: xfir on October 05, 2004, 02:49:44 PM
Double click your connect icon in the system tray. Click Support (2nd tab) (WinXP SP2 has it as Support)...

That is if they don't let you run cmd.

 
Title: my ip
Post by: BlackBox on October 05, 2004, 03:11:33 PM
Any call that a program makes to winsock to retrieve the ip will give you your local IP.

To get it: in Win9x/Me use "winipcfg" in the run command to get it. Make sure you select your ethernet adapter that is connected to the LAN, if you have multiple adapters. Look under IP Address, and it's there.

In NT/2k/XP: start a command prompt and enter ipconfig <enter>.
Look in the section for the ethernet adapter that is connected to your LAN, and read the IP Address. this is your local IP.

BTW: if cmd (Command Prompt) is disabled on NT/2k/XP, run command.com (it will work) and enter it in there.
Title: my ip
Post by: zeritou on October 08, 2004, 02:54:26 PM
thanks "ipconfig" tells it to me

i might be able to play on a decent connection now
but it will only be for 43 ish minutes from 2:41ish to 3:25 central time (i think its gmt -5:00)

edit: im asking a mod to lock this topic so that it can still be helpful to newbs but free of spam
Title: my ip
Post by: Oprime on October 10, 2004, 08:35:35 AM
Are you trying to play within the Lan or are you trying to play out to the internet? Proxy servers can not forward packets like that, all they do is exchange the source IP address with the out-going static IP of the computer running the server. That is unless OP2 is modifed to use TCP/UDP tunnels that would forward the packets to their destinations. But, there would be massive lag too if the server is slow, there's a cache setup, or if the connection is just plain slow :P. I hate it when dumb schools restrict the internet by using proxys especially when they just to save an extra buck on connection speed (Most public schools don't pay for internet it's given to them by local goverments or telecoms).
Title: my ip
Post by: BlackBox on October 10, 2004, 11:32:48 AM
Quote
Are you trying to play within the Lan or are you trying to play out to the internet? Proxy servers can not forward packets like that, all they do is exchange the source IP address with the out-going static IP of the computer running the server. That is unless OP2 is modifed to use TCP/UDP tunnels that would forward the packets to their destinations. But, there would be massive lag too if the server is slow, there's a cache setup, or if the connection is just plain slow :P. I hate it when dumb schools restrict the internet by using proxys especially when they just to save an extra buck on connection speed (Most public schools don't pay for internet it's given to them by local goverments or telecoms).
You're wrong. SOCKS4/5 Proxies do forward packets (most modern proxy servers are socks-compliant proxies) Read the SOCKS 5 RFC (search it on google).

It works like so:

Client -> Proxy -> Server

The client sends a socks4/5 request to the proxy, telling it what type of connection to make, and the connection parameters (address, port). The proxy then establishes the connection to the server, and then the open channel is used by the client to send and receive data. (it appears now to the client that it has a direct connection to the server. But in fact, the proxy is taking all data from either end and sending it to the other end (eg. when data arrives to the proxy from the client this data is forwarded to the server, and vice versa.)

So in effect the proxy actually makes a connection, making it more complex then something that simply switches the fields in the IP packet. (This would be what internet routers do, is swap IP's with the correct system's IP)

Btw.... I see no need to close the topic. If there is a spam problem the spam will be deleted
Title: my ip
Post by: Oprime on October 11, 2004, 08:53:56 PM
Hacker I forgot to mention that schools like to use http proxys. Mainly the reason why is that SOCKS proxys (if not configured right) can sometimes make security holes. For example students using the SOCKS proxy to download music or use programs like Windows messager (with the help of a http proxy). So some kind of tunnel would have to be made so that "normal" :P OP2 TCP/UDP packets can flow using the HTTP proxy (lag, don't forget about the lag). I know how SOCKS proxys work it's just that schools only use HTTP proxys to keep your hands from typing Kazza...PORN....VIRUS! Don't you hate how they sometimes use filters.

P.S. When using HTTP proxys to put it simply all they do is change the ip then they forward it kind of like a nat router. That's why the ip zeritou sees is the external ip. Which is most likely connected to the school districts Framerelay network on differents DLCIs to the main router that has the physical line to the internet! wow that's a long sentience. I love Framerelay and how anyone with the money can run their own network across town :D.

*edit* Almost forgot  it's just the same way AOL uses their stupid filter crap doodle which is why It2000us lags so much lol
Title: my ip
Post by: Flanx on October 12, 2004, 12:29:05 PM
Just so I'm clear on it does this mean if I set up a game from within my router can other people join it or do I have to disable the router to be the host?
Title: my ip
Post by: xfir on October 12, 2004, 09:54:25 PM
Most likely you have to disable the router (I.E. Your global IP is your system's IP)

As note: CST is GMT -6.
Title: my ip
Post by: BlackBox on October 13, 2004, 02:50:42 PM
At the next update, we will include a fix that will allow you to host from behind a router.

Ah yea, I wasn't thinking of http proxies, only socks proxies.

Another reason they use http proxies is for their filters (which I'm sure you already knew).

an HTTP proxy cannot reliably forward non http/mime data so most schools bypass the proxy for any other type of connection. (It is up to the software used to implement the proxy connection, the software can bypass it if it wants - that's why programs like AIM etc will still work. The tcp/ip stack doesn't marshall requests to the proxy.)

Also, HTTP proxies are incapable of forwarding non TCP data. To forward UDP data they must be using a socks 5 proxy.

And most http proxy software is more complex than just switching the IP's on the packets. (Again, it uses the HTTP protocol for data input from client -> proxy)