You are an unregistered user, you can register here
Navigation

Information

Site

Donations
If you wish to make a donation you can by clicking the image below.


 
Go Back   The Unreal Admins Page > Forums > Unreal Admins > Unreal Tournament 2003/2004 > UT2003/4 Server - Linux Specific

Reply
Thread Tools Display Modes
  #1  
Unread 16th April, 2009, 09:24 PM
Marky Marky is offline
Forum Newcomer
 
Join Date: Apr 2009
Posts: 10
Default Redirect server

Hey

I was trying to get my own redirect server but no luck so far.
Don't feel like copy-pasta everything from the original thread on epicgames forums.. so ill just give a link if it isnt illegal

http://forums.epicgames.com/showthread.php?t=673980

Every of my questions are there..
Thx,
Marky
Reply With Quote
  #2  
Unread 17th April, 2009, 09:32 AM
ARsEnAl51's Avatar
ARsEnAl51 ARsEnAl51 is offline
Holy Shit!!
 
Join Date: Jul 2005
Posts: 800
Default

1) Any server capable of accepting HTTP requests should do it, whether the box is yours or not.

2) and 3) I'd advise against using your dedicated server as a redirect though. The server itself should be able to sustain the load, but your bandwidth may not, and it could generate lag spikes for the players. As for speedtest.net, depending on your ISP, the results may not be accurate. For all I know, it may well accurate here, but you never know.

I'd advise you shut down almost everything on your server, and get a few friends who have pretty good connection to download a huge file from your server (via HTTP or FTP, doesn't matter). You should have your server's max upload speed.

4) Slow download means either redirect not setup correctly or files in the redirect don't match files on the server. Either way, it's slow because it's downloading directly from the server's folders.

Ensure that :
- AllowDownloads=True
- UseCompression=True
- that file are correctly compressed by decompressing them any comparing them with the server's files (just pick a few files, no need to go through all of them)
- your redirect server allows request on the default http port aka port 80 (I can't remember if a non-default port can be used), check the firewall/router/whatever
- you've typed the URL to your redirect server correctly. It must look like this : RedirectToURL=http://my.example.tld/
Do NOT omit the protocol nor the last slash.

Last edited by ARsEnAl51 : 17th April, 2009 at 09:35 AM.
Reply With Quote
  #3  
Unread 17th April, 2009, 03:35 PM
Marky Marky is offline
Forum Newcomer
 
Join Date: Apr 2009
Posts: 10
Default

Thx for the quick reply

Heres what are the current settings:
Quote:
[IpDrv.TcpNetDriver]
AllowDownloads=false
ConnectionTimeout=120
InitialConnectTimeout=120
AckTimeout=1.0
KeepAliveTime=0.2
MaxClientRate=20000
MaxInternetClientRate=10000
SimLatency=0
RelevantTimeout=5.0
SpawnPrioritySeconds=1.0
ServerTravelPause=4.0
NetServerMaxTickRate=25
LanServerMaxTickRate=35
DownloadManagers=IpDrv.HTTPDownload
DownloadManagers=Engine.ChannelDownload
AllowPlayerPortUnreach=false
LogPortUnreach=false
MaxConnPerIPPerMinute=5
LogMaxConnPerIPPerMin=False

[IpDrv.HTTPDownload]
RedirectToURL=http://uz2.mastergamers.net/UT2004/
ProxyServerHost=
ProxyServerPort=3128
UseCompression=true
Just set the AllowDownloads to False to test if it even sends the file or not.
Have both files in that folder, uploaded via FTP. And yes both of em are compressed also big.. 13MB in compressed format and 18MB in normal .uax (the -[MG]-_Zound_Pack_1 which is added to the serverpackages)
Also a default constructor map.
But still getting "Server refused to send file ..." and if setting the allowdownloads to true it downloads really slowly.

Kinda new to this so... can UT use a simple rented website as a redirect server.. if so huh?

Marky

Last edited by Marky : 17th April, 2009 at 08:59 PM.
Reply With Quote
  #4  
Unread 18th April, 2009, 10:54 AM
ARsEnAl51's Avatar
ARsEnAl51 ARsEnAl51 is offline
Holy Shit!!
 
Join Date: Jul 2005
Posts: 800
Default

Quote:
Originally Posted by Marky View Post
Kinda new to this so... can UT use a simple rented website as a redirect server.. if so huh?
As per my previous post (to be more precise, answer to question 1) ), yes it can.
Reply With Quote
  #5  
Unread 18th April, 2009, 05:13 PM
Marky Marky is offline
Forum Newcomer
 
Join Date: Apr 2009
Posts: 10
Default

Then why it isnt working at all?
The URL is set, the files are there, everything is right but doesnt works.
Reply With Quote
  #6  
Unread 18th April, 2009, 05:34 PM
ARsEnAl51's Avatar
ARsEnAl51 ARsEnAl51 is offline
Holy Shit!!
 
Join Date: Jul 2005
Posts: 800
Default

Everything looks fine to me, and I could download one of the files from my browser without any problems... I don't know what's wrong to be honest. :/

Have you tried using another redirect server? Like http://uz2.gameservers.net/ut2004/ ?
Reply With Quote
  #7  
Unread 18th April, 2009, 06:10 PM
Marky Marky is offline
Forum Newcomer
 
Join Date: Apr 2009
Posts: 10
Default

Sure did, that was the original, downloads finely from there.

Also, that "uz2.mastergamers.net/UT2004/" is made by me.
Nothing were modified, just connected to the website with FTP, created a folder and added a subdomain. No webservers or anything, dunno.

Still getting "server refused to send file" :/
Reply With Quote
  #8  
Unread 19th April, 2009, 01:10 PM
ARsEnAl51's Avatar
ARsEnAl51 ARsEnAl51 is offline
Holy Shit!!
 
Join Date: Jul 2005
Posts: 800
Default

Hmmm... kinda risky, but try disabling your computer's firewall and see if it works. If it still doesn't, then the issue probably comes from the website.

That said, why would you create your own redirect server if gameserver's redirect works fine?
Reply With Quote
  #9  
Unread 19th April, 2009, 10:53 PM
Marky Marky is offline
Forum Newcomer
 
Join Date: Apr 2009
Posts: 10
Default

It was sayd in the original thread.

I got annoyed of thoose slow, bugged downloads and wanted my own redirect server that ONLY contains our servers files.

Also if i would try to do it on the dedicated, how would/should i do it?
Already tryed creating a folder with that 2 files in it, only had no idea what URL i should type in the redirect settings.
Reply With Quote
  #10  
Unread 20th April, 2009, 07:44 PM
ARsEnAl51's Avatar
ARsEnAl51 ARsEnAl51 is offline
Holy Shit!!
 
Join Date: Jul 2005
Posts: 800
Default

Well, if you were to try it on your dedicated server, you'd have to set up a webserver first. Then make sure your server's accepting HTTP requests on port 80. Once that's done, set up the URL, for example :
RedirectToURL=http://my.example.tld/MyFolders/MyRedirect/

If the above doesn't work, try using your server's IP instead of the domain name :
RedirectToURL=http://x.x.x.x/MyFolders/MyRedirect/

One last thing you might want to check before leaving the rented-website option behind, is what webserver is running on it. This page was mainly written for UT99, but the webserver limitations might still be true for UT200x.
Reply With Quote
  #11  
Unread 20th April, 2009, 07:59 PM
Sp0ngeb0b's Avatar
Sp0ngeb0b Sp0ngeb0b is offline
Godlike
 
Join Date: Sep 2008
Location: Germany
Posts: 488
Default

Here you can get free redirection-space, doesnt matter for what game. Just follow their introductions on this page.
Reply With Quote
  #12  
Unread 21st April, 2009, 09:18 PM
Marky Marky is offline
Forum Newcomer
 
Join Date: Apr 2009
Posts: 10
Default

I prefer to use my own redirect server, sorry.

Ok, so far have an apache webserver running on the dedicated.
Port 80 is open, and possibly accepting HTTP requests.

Ini file looks like this:
Code:
[IpDrv.TcpNetDriver]
AllowDownloads=True
ConnectionTimeout=120
InitialConnectTimeout=120
AckTimeout=1.0
KeepAliveTime=0.2
MaxClientRate=20000
MaxInternetClientRate=10000
SimLatency=0
RelevantTimeout=5.0
SpawnPrioritySeconds=1.0
ServerTravelPause=4.0
NetServerMaxTickRate=25
LanServerMaxTickRate=35
DownloadManagers=IpDrv.HTTPDownload
DownloadManagers=Engine.ChannelDownload
AllowPlayerPortUnreach=false
LogPortUnreach=false
MaxConnPerIPPerMinute=5
LogMaxConnPerIPPerMin=False

[IpDrv.HTTPDownload]
RedirectToURL=http://84.1.248.165/Redirect/
ProxyServerHost=
ProxyServerPort=3128
UseCompression=True
Still waits a bit, and starts downloading really slowly.!
I dont get this now.. everything is set up correctly again, still doesnt works.

Marky
Reply With Quote
  #13  
Unread 23rd April, 2009, 01:24 PM
Marky Marky is offline
Forum Newcomer
 
Join Date: Apr 2009
Posts: 10
Default

Did i miss anything in settings?
"ServerBehindNAT=True" effects this?

Any other setting that could effect that it doesnt want to download from whatever redirect server i throw at it? Only from gameservers.net ?

Reply With Quote
  #14  
Unread 23rd April, 2009, 05:32 PM
ARsEnAl51's Avatar
ARsEnAl51 ARsEnAl51 is offline
Holy Shit!!
 
Join Date: Jul 2005
Posts: 800
Default

Hmmm..., I think ServerBehindNAT should only affect the gameserver itself, not the redirect. But you may have a point here. With your apache webserver enabled have you tried downloading the files from your browser?
Reply With Quote
  #15  
Unread 23rd April, 2009, 05:43 PM
Marky Marky is offline
Forum Newcomer
 
Join Date: Apr 2009
Posts: 10
Default

Yes, you can see the link in my other post, and you can try to download from your location too.

It downloads nicely here. Also displays. (at least in browser)
But doesnt works at all in-game.
Reply With Quote
  #16  
Unread 23rd April, 2009, 05:58 PM
ARsEnAl51's Avatar
ARsEnAl51 ARsEnAl51 is offline
Holy Shit!!
 
Join Date: Jul 2005
Posts: 800
Default

It downloads fine on my end. It's kinda weird it doesn't work well in-game :/
Reply With Quote
  #17  
Unread 23rd April, 2009, 06:53 PM
Marky Marky is offline
Forum Newcomer
 
Join Date: Apr 2009
Posts: 10
Default

Just checking some working redirect places...

Heres this one:
Code:
Index of /

    * .ftpquota
    * OBSCURITY.rar
    * cgi-bin/
    * cod4/

Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at ra.xtremeredirect.net Port 80
And my:
Code:
Index of /Redirect
[ICO]	Name	Last modified	Size	Description
[DIR]	Parent Directory	 	-
[ ]	-[MG]-_Zound_Pack_1.uax.uz2	21-Apr-2009 20:57 	13M
[ ]	AS-Constructor-BuildZone_Alpha-v4.ut2.uz2	21-Apr-2009 20:59 	2.3M
[ ]	AdminPlus_v14.u.uz2	23-Apr-2009 19:19 	30K
[ ]	ConstConvexMeshes.u.uz2	23-Apr-2009 19:20 	3.3K
[ ]	Constructor.u.uz2	23-Apr-2009 19:20 	38K
[ ]	CtryTags.u.uz2	23-Apr-2009 19:18 	5.0K
[ ]	MonsterAnnouncer.u.uz2	23-Apr-2009 19:19 	3.3K
[ ]	MultiDodging2k4v3.u.uz2	23-Apr-2009 19:18 	12K
[ ]	Ownage2.u.uz2	23-Apr-2009 19:18 	96K
[ ]	ServerAds2K4.u.uz2	23-Apr-2009 19:19 	10K
[ ]	ServerColor.u.uz2	23-Apr-2009 19:18 	1.0K
Apache/2.2.8 (Ubuntu) Server at 84.1.248.165 Port 80
Noticed this at the end:
Code:
Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server
And my:
Code:
Apache/2.2.8 (Ubuntu) Server at 84.1.248.165 Port 80
That means i should install all those mods maybe?
If yes, someone list me those mods and the download place/instructions please?

Marky

EDIT:
Also the one at the gameservers.net redirect: (which worked)
Code:
Mirror.leaseweb.com, 2 Gigabit available on HTTP, FTP and RSYNC. IPv6 enabled.

Last edited by Marky : 23rd April, 2009 at 07:03 PM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:45 AM.


 

All pages are copyright The Unreal Admins Page.
You may not copy any pages without our express permission.