The Complete X.1.1.0 Thread

disqdisq Join Date: 2002-11-30 Member: 10312Members, NS1 Playtester
edited August 2003 in General Server Discussion
<div class="IPBDescription">Tips. Tricks.</div> Hi.

We NS server ops mostly still run HLDS x.1.1.0 on our servers, because of the performance problems x.1.1.1 has.

Recently there's an exploit to crash x.1.1.0 servers so in this thread I'll explain you the steps to install x.1.1.0, the x.1.1.0c beta, and the fix for the exploit.

Remember: <u>3.1.1.0 is the Linux dedicated server, and 4.1.1.0 is the Windows one.</u> So if you're running a Windows server and you read "x.1.1.0" here, it means "<b>4</b>.1.1.0". (<b>3</b>.1.1.0 for you penguins)


<b>Download & Installation of x.1.1.0 server</b>
Download the x.1.1.0 dedicated server files from:
<b>Linux:</b> <a href='http://gamefiles.blueyonder.co.uk/blueyondergames/halflife/server/linux/hlds_l_3110_full.bin' target='_blank'>here</a>
<b>Windows:</b> <a href='http://gamefiles.blueyonder.co.uk/blueyondergames/halflife/server/win32/hlserver4110.exe' target='_blank'>here</a>

Run them, install as you would normally.


<b>Download & Installation of x.1.1.0c server patch</b>
Download the x.1.1.0c dedicated server beta files from:

<b>Linux:</b> <a href='http://dev.valve-erc.com/projects/psb/documents/103404836477560000/attached/hlds_l_3110c_beta.tar.gz' target='_blank'>here</a> (Half-Life Linux Primary Server 3.1.1.0.c Beta)
<b>Windows:</b> <a href='http://dev.valve-erc.com/projects/psb/documents/103404835083379600/attached/hlds_4110c_beta.zip' target='_blank'>here</a> (Half-Life Win32 Primary Server 4.1.1.0.c Beta)

Extract them in your HLDS directory.



<b>Download & Installation of the fix for the Exploit</b>

<b>Windows</b>
Download the fix:
<a href='http://www.pivx.com/luigi/patches/hlbof-server-1110-fix.zip' target='_blank'>http://www.pivx.com/luigi/patches/hlbof-se...er-1110-fix.zip</a>
Extract it. Run it. It'll patch.

<b>Linux</b>
1. Download boffix binary <a href='http://miklos.clanhost.dk/boffix_i386.so' target='_blank'>here</a>. (sourcecode <a href='http://miklos.clanhost.dk/boffix.tar.gz' target='_blank'>here</a>)
2. Put Boffix in your HLDS dir.
3. Edit hlds_run:
After the first line ("#!/bin/sh" that is), add another line:
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->export LD_PRELOAD=./boffix_i386.so<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->

<b>FreeBSD</b>
1. Do the first two steps of Linux installation above.
2. Edit hlds_run, put
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->export LD_PRELOAD=./boffix_i386.so<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
Just before the lines "$HL $*"
(There are two $HL $* lines, one for the auto-restart one and one for the norestart one, so add the "<i>export LD_PRELOAD</i>" line twice.

Comments

  • BelethBeleth Join Date: 2003-07-31 Member: 18643Members
    <!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Download & Installation of x.1.1.0c server patch
    Download the x.1.1.0c dedicated server beta files from:

    Linux: here (Half-Life Linux Primary Server 3.1.1.0.c Beta)
    Windows: here (Half-Life Win32 Primary Server 4.1.1.0.c Beta)<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->

    The links are switched, Linux dl'd is for Windows and vice versa <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->
  • disqdisq Join Date: 2002-11-30 Member: 10312Members, NS1 Playtester
    <!--QuoteBegin--Beleth+Aug 2 2003, 04:51 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Beleth @ Aug 2 2003, 04:51 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> The links are switched, Linux dl'd is for Windows and vice versa :p <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    Fixed, thanks.
  • AngryMonkeyAngryMonkey Join Date: 2002-11-22 Member: 9603Awaiting Authorization
    edited August 2003
    Has this worked for anyone? I get a message saying "Different MD5 checksums" and it wont continue, says 0 bytes wrote...

    *UPDATE*: Ok, actaully the lpatch.exe works (2 bytes written) with the basic hlserver files, but NOT with the update, any ideas?
  • voogruvoogru Naturally Modified (ex. NS programmer) Join Date: 2002-10-31 Member: 1827Members, Retired Developer, NS1 Playtester, Contributor, Constellation
    Im not sure about this, but whenever I tried one of these patches I get a "Your executable is out of date" error. The server runs in LAN mode only.
  • AngryMonkeyAngryMonkey Join Date: 2002-11-22 Member: 9603Awaiting Authorization
    Disq, it appears the linux ones works but the windows one doesnt, for me anyway (on several different machines), any ideas?
  • Asylum-SkitzoAsylum-Skitzo Join Date: 2003-02-08 Member: 13254Members
    did you hack or recompile your hlds Voogru?
    /me looks accusingly
  • disqdisq Join Date: 2002-11-30 Member: 10312Members, NS1 Playtester
    <!--QuoteBegin--AngryMonkey+Aug 4 2003, 07:15 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (AngryMonkey @ Aug 4 2003, 07:15 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Disq, it appears the linux ones works but the windows one doesnt, for me anyway (on several different machines), any ideas? <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    well, maybe it works without the 4.1.1.0c patch?
  • BigfootBigfoot Join Date: 2003-08-05 Member: 18933Members
    These instructions worked beautifully for me. I used it on a linux server.

    The only problem I have is that admin_map in AdminMod now hangs all clients, and doesn't change the map.

    Any ideas how to fix this?

    - Bigfoot
  • criogenicscriogenics Join Date: 2003-01-13 Member: 12248Members, Constellation
    in adminmod.cfg

    change maps_file "" to maps_file 0
  • Da_Kine_GuyDa_Kine_Guy Join Date: 2003-03-11 Member: 14362Members
    Patch doesn't seem to work with the C version of swds.dll in Windows. Just FYI. I'm running version 1.1.1.0, though, installed off the HL CD <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->
  • FunkaFunka Join Date: 2002-11-03 Member: 5718Members
    just wanted to say a big THANK YOU for putting this concise and helpful information together -- it was proving difficult to find any such well written central document, and most importantly, after the bof exploit had been announced, trying to piece together the best remedy for a 3.1.1.0 server was quite time-consuming with much uncertainty. for instance, the 3.1.1.0c patch was something i had read about somewhere else, but could never find any links to (or documentation on), much less know whether it was recommended or what it did. thank you again!

    -f!
  • ZdroneZdrone Join Date: 2002-11-02 Member: 3914Members, Constellation
    I ran into some really weird problems. Gorden Freeman models, Aliens and Marine models switched, couldnt see typing, etc.

    I ended up using the 4.1.1.1 and have been running well.
  • saubloedsaubloed Join Date: 2002-11-02 Member: 3996Members
    I think that patch do not fix that security problem:
    <a href='http://www.securityfocus.com/bid/8300/info/' target='_blank'>http://www.securityfocus.com/bid/8300/info/</a>
Sign In or Register to comment.