Logo

CS.RIN.RU - Steam Underground Community

It is currently Sunday, 29 May 2016, 11:35

English | Русский




Post new topic Reply to topic  [ 2483 posts ] 
Author Message

Post Post subject: dproto [0.9.356] - HLDS serverside crack (13/11/2013)   
Posted: Wednesday, 14 Apr 2010, 11:13   Reply with quote
Forum ghost Местное привидение
User avatar
Joined: Tuesday, 09 Dec 2008, 18:46
Posts: 268
dproto is a plugin for metamod that allows protocol 47 and 48 no-steam clients to join the server.

! dproto is now maintained by Lev (profile on cs.rin.ru) (topic on aghl.ru). I'm out of business for now.

! This topic is about dproto. Please discuss HLDS problems which is not related to dproto there

! I have troubles with server monitoring in GMBans!!11
Spoiler
These troubles are caused by hybrid serverinfo type and bad response handling code in GMBans.
Challenge checking code in newest versions of dproto has broken GMBans's server communication layer.

To fix that, you can either disable hybrid serverinfo answer or download fixed file below, extract it and place to the 'include' directory of your web part of GMBans.
Attachment:
rcon_hl_net.zip




FEATURES:
    - Server accepts all known clients based on 47 and 48 protocols;
    - Customizable SteamIDs for clients;
    - Works with latest version of hlds;
    - built-in server-side emulation support.

Current version: 0.9.391
Attachment:
dproto_0_9_391.zip


Previous stable:
Attachment:
dproto_187.7z

Attachment:
dproto_0_9_87.rar

Attachment:
dproto_0_4_8p.rar


CHANGELOG:
    0.9.357-0.9.391
      - added quick fix against net_message overflow @ Netchan_CopyNormalFragments
      - Fixed bug with HLTV SteamID in connect string set as BOT if cid_HLTV is 5.
      - Added SteamIdHashSalt config parameter. Added emulator generated SteamIDs hashing.
      - Fixed overflow file name format.
      - Be lenient to the mod. Do not crash in PEntityOfEntIndex.
      - PEntityOfEntIndex bugfix (thanks to PRoSToTeM@). Cleanup.
      - Deltas processing bugfix (thanks to PRoSToTeM@). Cleanup.
      - Option to log threat details. New config parameter: ThreatsLoggingMode. Spectate command rate limit to 1 per sec.
      - Fixed utf8 checking function. Check whole userinfo for utf8 validity.
      - Check requested customization in OnHandResources list too.
      - Clear downloaded customizations on reconnect (actually on sendres command).
      - Fixed bug with RequestedCustomizations cleanup on new connections.
      - Increased connection flood burst level a bit to handle multi-protocol clients
      - Fixed IsSafeFileToDownload on new builds to allow customizations downloads. Fixed CheckRequestedDlAgainstCustomizations code.
      - Fixed custom reject message output for SteamEmu clients.
      - Checking customization downloads against client resources. Allow to download existing resources only once. Fixes for client_t structure.

    0.9.330-0.9.356
      - Added support of upcoming voice transcoding module
      - Better HLTV client handling to prevent banning.
      - Increased sprite replacer storage capacity. Should prevent "Running out of free nodes" server error.
      - Security fixes and improvments. Closed one more way of lag out the server.
      - Fallback to the server realtime on Windows if there is no QPC.
      - Fixed missing skip for bots in fake players check.
      - Fixed amxx kick for slot reservation.
      - Fixed server-side game bots identification.
      - Clearing entity flags on disconnect. This fixes bug when client identified as bot if connects on slot previously occupied by a bot. (Thanks to Turanga_Leela)


Chengelog for older versions:
Spoiler
    0.9.187 - 0.9.330:
      - Added support for latest HLDS builds
      - If EnableSXEIdGeneration = 1, then sXe Injected is used for the generation of SteamID for everyone except steam clients.
      - cid_SXEI works correctly now, and it is only used if EnableSXEIdGeneration = 1.
      - Added support of RevEmu2013 clients.
      - Added dp_rejmsg_sxei and dp_rejmsg_revemu2013 cvars.
      - AMXX plugins were updated and now include support for SXEI and RevEmu2013.
      - Removed messages like: Unable to load strings pool from file './cstrike/estrpool/estrpool_main.dat'.
      - Added fixes for flood with commands like 'new', 'dlfile', 'sendres', 'fullupdate'.
      - Check for initial commands order on connect. New FakePlayers_CommandsOrderCheck config option.
      - Added checking of requested downloads against precached resources. New Exploits_CheckDownloads config option.
      - Added block of file uploads to the server. Added Exploits_DisableUploads config option.
      - Ban for repeating connection attempts from same IP.
      - Ban for violations in connection protocol.
      - Send VoiceInit on new server builds (initializes voice for old clients) (thanks to Chuvi).
      - Fixed average PPS calculation. This solves problem with HLSW.
      - Loading steam server ID and version from steam.inf and steam_appid.txt files.
      - Fixed server info answer: setting proper steam server ID, version, bots count, correct lock status when password set to "none".
      - Fixed steam ID generation function to return "BOT" for bots.
      - Fixed AY&SY and svc_bad error on new Linux builds.
      - Refactored IPRateFilter to not block HLSW.

    0.9.187:
      - Fixed vulnerability used by "FVU" exploit

    0.9.179:
      - fixed "STEAM userid keysize is bogus" error on SteamEmu clients

    0.9.178:
      - fixed "Invalid challenge format" warning when client joins server

    0.9.87-0.9.177:
      - Some bugs fixed (I don't remember what bugs :( )
      - Removed subserver and master-client as they are not needed now
      - Added challenge checking code to "rules" and "players list" requests handlers

    0.9.87:
      - Fixed steamid generation for Steamclient 2009

    0.9.86:
      - Fixed: VAC Status was always "protected" on Windows servers.
      - Moved all options to configure fakeplayers detector to dproto.cfg
      - Update sample amxx plugins.
    0.8.72:
      - Added quick fix for vulnerability in netchan's fragment parser
      - Enhanced detection of fakeplayers (against Argentinian haxxxorz)

    0.8.68:
      - Improvements/bugfixes in fakeplayers/packet flood detection code
      - AMXX API and example plugins updated
      - Fixed bug with cid_AVSMP, it was always 1
      - Added useful commands for threats monitoring, check Readme.txt

    0.8.65:
      - bugfix, bugfix, bugfix, bugfix....
      - Added support for AVSMP clients

    0.8.61:
      - fix for random svc_bads on connect

    0.8.60:
      - proper bots detection method in fakeplayers detector

    0.8.59:
      - fixed problems with AMD engines
      - fixed hybrid answer mode
      - fakeplayers detector won't kick and ban bots anymore

    0.8.58:
      - fixed crash when working with bans DB (banid)
      - fix in new revEmu auth code

    0.8.57:
      - project moved to new versioning system; version format for now is MAJOR.MINOR.REVISION
      - added support for latest linux engine.
      - added support for new revEmu/SteamClient2009 clients
      - added config options to set first prefix of steamid for clients. For example, revEmu clients may be marked as STEAM_4_0_xx
      - added 2-level protection against all kinds of fake players
      - added protection against flooding server with connectionless (PlayerList, ServerInfo, Rules) queries.
      - added option (HLTVExcept_IP) to allow HLTVs from specified address to join the server even if cid_HLTV is 5 (deprectated). May be useful if you using HLTVReport plugin, but you dont want to allow another HLTVs to join your server.
      - Source code will not be available anymore.
      - (untested) "The VAC problem" (when VAC banned clients are able to join server) should be fixed.

    0.4.8p:
      - fixed buffer overflow vulnerability in SV_ParseCvarValue2()
      - fixed crash for linux servers, when server started as unprivileged user that not able to write to server root directory.


    0.4.8:
      - fixed problem with dropping clients with "Unknown HLTV Type" message
      - fix in anti-svc_bad code, it should work fine now

    0.4.7:
      - fixed: old WON clients (CS patch 21 and lower) unable to join server

    0.4.6:
      - fixed NET_SendPacket error that appears when server tried to drop deprecated client

    0.4.5:
      - implemented fix for "Server failed to transmit file AY&SY" kind of svc_bad's
      - UTF8 Chat/Nicknames support completely removed (will add it to another plugin)
      - Userinfo filter removed because it does not needed anymore (it was a temporary fix for svc_bad's)
      - added separate AuthProvider (dp_r_id_provider cvar) constant for HLTV (check amxx/dp_test.sma)
      - fixed GameNameChanger plugins under Windows.
      - There are a lot of changes in dproto.cfg. Old configs won't work with this version.

    0.4.3:
      - Using on-the-fly offsets searching for patching.
      - dproto now supports all existing (and hopefully future) p48 engines for Windows and Linux (including engine_amd.so/engine_i486.so).
      - Fixed vulnerability in SV_ParseVoiceData() used by hlds_vcrash exploit.

    0.4.1:
      - hlds_fuck exploit fixed.
      - temporary fix for hlds_vcrash exploit: Patched swds.dll/engine_i686.so, uploaded here and here.

    0.3.7:
      - possible DoS exploit fixed
      - added Subserver_IP option in dproto.cfg, used to set interface for subserver; subserver code will be rewrititten in next versions.


    0.3.6:
      - implemented cid_Setti clientid type (for Setti server scanner). Default value is 3 (STEAM_x:x:x generated by ip). This is workaround for situation when server disappears from Setti's serverlist (because Setti scanner can't join the server) when cid_NoSteam47=5 is used.
      - Plugins changing game description (adding timeleft for example) should work correctly now.

    0.3.5:
      - Fixed server response for very old clients (thx to Rulzy)
      - Fixed bug when server drops HLTV if cid_NoSteam47/48 is deprecated(5)

    0.3.4:
      - Added server-side emulation support. Currently supported emus are: revEmu, old revEmu ( <= 9.73), hCupa's SteamEmu
      - eSTEAMATiON support removed
      - local banlist should work correctly
      - completely rewritten client authorization code. All problems with UNKNOWN steamids and not working "deprecated" clientids may be fixed.
      - there are a lot of changes in dproto.cfg. Old configs won't work with this version


    0.3.3:
      - Fixed: "deprecated" (5) ClientID did not work on cid_SteamPending (STEAM_0:0:0) clients
      - Added: Various cvars for customizing reject messages for deprecated clients. Check the "HOW TO CHANGE REJECT MESSAGES WHEN CLIENTID IS 5 (DEPRECATED)" section of Readme for more details.
      - Added: dp_version cvar that keeps current dproto version. It is exported to server rules by default, but you can turn the exporting off using ExportVesion option in dproto.cfg
      - Added: Capability mode for steamIds generated by eST (to make it as in <= 0.3.0) versions, option OldEstCompatMode in dproto.cfg

    0.3.2:
      - Fixed: "STEAM userid keysize is bogus" on build 4554 (May, 2009) under windows (broken in 0.3.1 version)
      - Fixed: Annoying #18 and #19 warnings under windows

    0.3.1:
      - Fixed: dproto gets wrong steamids from eSTEAMATiON.

    0.3.0:
      - Fixed bug with steamid corruption for some no-steam clients


    0.2.9:
      - Added dp_clientinfo command which can be used to get inforamtion about client's protocol. Check the Readme.txt and amxx directory for more info.

    0.2.8:
      - Added support for new engines: 4617 for Linux and 4554 (15 Jun 2009) for Windows.

    0.2.7:
      - Redirection fixed for subserver (thx to GoD2.0);
      - Subserver now correctly works with broadcast queries;
      - Hybrid serverinfo answer type discovered by ineya, fixes visibility for all clients. Check dproto.cfg

    0.2.6:
      - some compilation problems for linux fixed


FAQ
(in development)

Spoiler
    Q: What is dproto?
    A: Dproto was made as replace for cbooster on double-protocoling solutions area. dproto designed to work for new p.48 HLDS, so all steam features can be used with it. Dproto has one primary goal - to allow old clients to join new servers, all another features are secondary and they were added by users requests.

    Q: How to install dproto?
    A:
    Quote:
    1. Go to <gamedir>/addons/ and make new directory named dproto
    <gamedir> - its a game directory; cstrike for Counter-Strike, valve for Half-Life, etc
    2. Copy dproto.dll or dproto_i386.so to <gamedir>/addons/dproto/
    3. Go to metamod installation directory (usually its <gamedir>/addons/metamod/) and edit plugins.ini:
    add this line for windows
    win32 addons\dproto\dproto.dll
    or this for linux
    linux addons/dproto/dproto_i386.so
    at the beginning of the file
    4. Copy dproto.cfg to server root or gamedir.
    5. Start the server. You should use this command on linux:
    ./hlds_run -binary ./hlds_i686

    when server loads, type "meta list" in console. You'll see something like this:
    Currently loaded plugins:
    description stat pend file vers src load unlod
    [ 1] dproto RUN - dproto_i386.so v0.4.3 ini Start Never
    [ 2] AMX Mod X RUN - amxmodx_mm_i386. v1.8.1.3 ini Start ANY
    2 plugins, 2 running
    6. Enjoy :)


    Q: I installed dproto, but it does not work. meta list says this:
    1. Currently loaded plugins:
    2.       description      stat pend  file              vers      src   load  unlod
    3.  [ 1] dproto           fail load  dproto_i386.so    v0.3.4    ini   Start Never

    A: Start server with -console +log on +mp_logecho 1 parameters and look through console output. You'll find the reason there.

    Q: AmxModX admins could not authorize using their password.
    A: Just replace _pw in dproto.cfg:
    Quote:
    ValidInfoFields_Engine = \name\bottomcolor\topcolor\model\cl_lc\cl_lw\cl_updaterate\cl_dlmax\rate\_pw\*hltv\password

    to field that you using for keep admin password.

    Q: I dont see my server in steam favorites!
    A: Set ServerInfoAnswerType to 0 or 2 in dproto.cfg

    Q: My server is invisible in favorites in cs v24!
    A: Set ServerInfoAnswerType to 1 or 2 in dproto.cfg ::D

    Q: How to make my server visible both in old no steam clients and steam?
    A: Set ServerInfoAnswerType to 2 in dproto.cfg :YAHOO:

    Q: I'm getting "Error verifying STEAM UserID Ticket(server was
    unable to contact the authentication server)" error when playing on legit client.
    Q: Bans for legit SteamID do not work. Users with banned IDs are able to play on server.
    A: Your server can't conect/lost connection to steam servers. I dont know universal method to check connection to steam servers (if someone know it - pls tell me). If you have VAC secured server, use stat command. If it shows version as "insecure" or "insecure (secure mode enabled, disconnected from Steam3)" it means that connection to steam servers lost. This problem is not related to dproto, but i can give some tips to fix it:
    1. Check if outgoing TCP connections are allowed to destination port 27030
    2. Check if outgoing UDP datagrams are allowed from local ports 2690x
    3. If you using linux, you should add +ip <server ip> parameter to command line. I'm using +ip 0.0.0.0 for example and it works fine.

    Q: My server could not be displayed in monitoring system.
    A: It's because of hybrid answer type, some monitoring scripts cannot handle it correctly. There is 3 way to solve the problem: use standart answers (ServerInfoAnswerType = 1 or 0) or try to fix it by yourself, or write to script developers.I dont guarantee correct work of third-party stuff.

    Q: I'm using latest engine and my server is not visible in internet list.
    A: Forward this question to Valve

    Q: I'm using latest engine and my server is not visible in Setti serverlist.
    A: Register your server here

    Q: My server crashes sometimes after N days of work...
    A: Forward this question to Valve

    Q: My server crashes when i installed mod X on it.
    A: Forward this question to mod X developers and check if you haven't missed something.

    Q: I have players with same steamids on my server. They're recognized as SteamEmu (dp_SteamEmu)
    A: Steamid could be easily spoofed in SteamEmu auth algorithm. Deprecate these clients or set not-numeric id to them (STEAM_ID_LAN for example)


Before posting bugreports and questions...
  • Make sure that dproto is reason of the bug. You can check it by disabling dproto.
  • Please, don't post there questions about HLDS engine bugs that were known before release of dproto. I'm not going to spend my time for analyzing engine for free.
  • Post all "My server does not displayed in internet list" questions in Valve's forums. Native Master-Client located in steamclient.dll (steamclient.so) and dproto could not be a reason because it does not patch this library.

Bugreport MUST contain:

  • Detailed explanation of bug.
  • A way how to reproduce it (if possible)
  • Full startup log from server console; server should be started with "+log on +mp_logecho 1" parameters
  • Contents of dproto.cfg
  • MD5 hashes of all files from server root directory (use RapidCRC for Windows or md5sum for Linux)
I won't consider bugreports without these points because I don't want to spend my time to search possible reasons of your problems. Thanks for understanding.

Post all problems/bugs you have found in this topic.


You do not have the required permissions to view the files attached to this post.


Last edited by Crock on Monday, 09 Jun 2014, 00:05, edited 38 times in total.

Top
 Profile  

Post Post subject: Re: dproto [0.4.8] - HLDS serverside crack   
Posted: Wednesday, 14 Apr 2010, 12:55   Reply with quote
Advanced forumer Завсегдатай
User avatar
Joined: Thursday, 25 Mar 2010, 01:44
Posts: 54
Location: Croatia - Rijeka
Please put in your topic (because loads of peoples will probabbly encounter that problem)

If your dproto dont want to run try updating or installing libstdc++.so.6

yum install libstdc++.so.6
or apt-get install libstdc++.so.6


Top
 Profile  

Post Post subject: Re: dproto [0.4.8] - HLDS serverside crack   
Posted: Wednesday, 14 Apr 2010, 13:20   Reply with quote
Forum ghost Местное привидение
User avatar
Joined: Tuesday, 09 Dec 2008, 18:46
Posts: 268
Sniperkiki, this problem should be solved by OS administrator. And I can't add this to FAQ because there is no universal solution to solve this, because different OSes uses different package managers and different package names. For example, on x64 Ubuntu package "lib32stdc++6" should be installed, but on debian x64 it's "ia32-libs"


Top
 Profile  

Post Post subject: Re: dproto [0.4.8] - HLDS serverside crack   
Posted: Wednesday, 14 Apr 2010, 14:48   Reply with quote
Advanced forumer Завсегдатай
User avatar
Joined: Thursday, 25 Mar 2010, 01:44
Posts: 54
Location: Croatia - Rijeka
I just want appologize I was spamming forums because I can't start dproto but it was problem with that library (Fedora 12)

and I just installed that library on all of mine hosting machines, and suceed to run all servers with newest dproto!


I just think this could help to ppls that own machine or something or atleast so they can contact OS administrator to update his OS


Top
 Profile  

Post Post subject: Re: dproto [0.4.8] - HLDS serverside crack   
Posted: Wednesday, 14 Apr 2010, 21:25   Reply with quote
Beginner Без звания
Joined: Sunday, 11 Apr 2010, 17:26
Posts: 12
Crock when you will release a new version ? Thanks :)


Top
 Profile  

Post Post subject: Re: dproto [0.4.8] - HLDS serverside crack   
Posted: Wednesday, 14 Apr 2010, 22:00   Reply with quote
Forum ghost Местное привидение
User avatar
Joined: Tuesday, 09 Dec 2008, 18:46
Posts: 268
EdiS., when someone will found major bug and make good bugreport so I will be able to fix this bug :)


Top
 Profile  

Post Post subject: Re: dproto [0.4.8] - HLDS serverside crack   
Posted: Thursday, 15 Apr 2010, 01:36   Reply with quote
Beginner Без звания
Joined: Sunday, 11 Apr 2010, 17:26
Posts: 12
Crock wrote:
EdiS., when someone will found major bug and make good bugreport so I will be able to fix this bug :)


Ok :D


Top
 Profile  

Post Post subject: Re: dproto [0.4.8] - HLDS serverside crack   
Posted: Friday, 16 Apr 2010, 18:35   Reply with quote
Advanced forumer Завсегдатай
Joined: Saturday, 21 Mar 2009, 06:39
Posts: 140
Hello. Firstly i want to congratulate Crock for the great work creating dproto.

I have only one request, can you update the XDS_OPT to be compatible with the 4883 engine ? Thank you.


Top
 Profile  

Post Post subject: Re: dproto [0.4.8] - HLDS serverside crack   
Posted: Friday, 16 Apr 2010, 19:38   Reply with quote
Advanced forumer Завсегдатай
User avatar
Joined: Thursday, 25 Mar 2010, 01:44
Posts: 54
Location: Croatia - Rijeka
I think that error is fixed with engine itself, tho I'm not sure.


Top
 Profile  

Post Post subject: Re: dproto [0.4.8] - HLDS serverside crack   
Posted: Friday, 16 Apr 2010, 21:17   Reply with quote
Advanced forumer Завсегдатай
Joined: Saturday, 21 Mar 2009, 06:39
Posts: 140
Were talking about Valve here
They don`t fix anything. Even the hlds_vcrash is fixed only on 4883 linux build. On windows is still 4554 (8 march build), without dproto every windows server (steam only) is vulnerable.


Top
 Profile  

Post Post subject: Re: dproto [0.4.8] - HLDS serverside crack   
Posted: Sunday, 18 Apr 2010, 00:01   Reply with quote
Advanced forumer Завсегдатай
Joined: Saturday, 14 Feb 2009, 12:04
Posts: 99
DjOptimuS wrote:
Hello. Firstly i want to congratulate Crock for the great work creating dproto.

I have only one request, can you update the XDS_OPT to be compatible with the 4883 engine ? Thank you.


As far as I know, crock has already included the fix for svc_bad into the plugin itself.


Top
 Profile  

Post Post subject: Re: dproto [0.4.8] - HLDS serverside crack   
Posted: Sunday, 18 Apr 2010, 02:42   Reply with quote
Advanced forumer Завсегдатай
Joined: Saturday, 21 Mar 2009, 06:39
Posts: 140
i want to use the XDS for a steam only server.

Thank you.


Top
 Profile  

Post Post subject: Re: dproto [0.4.8] - HLDS serverside crack   
Posted: Sunday, 18 Apr 2010, 13:28   Reply with quote
Forum ghost Местное привидение
User avatar
Joined: Tuesday, 09 Dec 2008, 18:46
Posts: 268
DjOptimuS, xds_opt does not supported anymore. You can install dproto on your server and deprecate all clients except legit steam.


Top
 Profile  

Post Post subject: Re: dproto [0.4.8] - HLDS serverside crack   
Posted: Sunday, 18 Apr 2010, 13:52   Reply with quote
Advanced forumer Завсегдатай
Joined: Saturday, 21 Mar 2009, 06:39
Posts: 140
Ok, i will do that, thank you.


Top
 Profile  

Post Post subject: Re: dproto [0.4.8] - HLDS serverside crack   
Posted: Sunday, 18 Apr 2010, 15:49   Reply with quote
Advanced forumer Завсегдатай
Joined: Friday, 19 Nov 2004, 03:36
Posts: 104
hatch wrote:
DjOptimuS wrote:
Hello. Firstly i want to congratulate Crock for the great work creating dproto.

I have only one request, can you update the XDS_OPT to be compatible with the 4883 engine ? Thank you.


As far as I know, crock has already included the fix for svc_bad into the plugin itself.


yes its included to v0.4.8 but in v0.3.7 its not.


Top
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2483 posts ]  Go to page 1, 2, 3, 4, 5 ... 166  Next


Who is online

Users browsing this forum: No registered users and 7 guests


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum




Powered by phpBB® Forum Software © phpBB Group


Синхронизация мото карбюраторов - honda 1 синхронизация.