Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RCON (Server & Client) #100

Closed
wants to merge 54 commits into from
Closed

RCON (Server & Client) #100

wants to merge 54 commits into from

Commits on Mar 2, 2022

  1. Add 'protobuf' library to project

    Library is configured to compile as 'lite'.
    Mauler125 committed Mar 2, 2022
    Configuration menu
    Copy the full SHA
    5e3b22e View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2022

  1. Configuration menu
    Copy the full SHA
    f108edc View commit details
    Browse the repository at this point in the history
  2. RCON implementation

    * Full CNetAdr rewrite (protocol agnostic)
    * Full CSocketCreator class rebuild (based on Valve's implementation)
    * RCON implementation on server and client
    * Misc cleanup
    Mauler125 committed Mar 3, 2022
    Configuration menu
    Copy the full SHA
    bc73758 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2022

  1. Cleanup and bug fixes

    Fixed several small bugs
    Mauler125 committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    c07baa7 View commit details
    Browse the repository at this point in the history
  2. Add non-game netconsole client for RCON

    Allows users to connect to their dedicated servers without having the game installed. Its also a base for example for anyone that wants to create their own RCON client.
    Mauler125 committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    fbb581b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f573cbc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4b8bdb0 View commit details
    Browse the repository at this point in the history
  5. Fix formatting

    Mauler125 committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    60d1b48 View commit details
    Browse the repository at this point in the history
  6. Fix formatting

    Mauler125 committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    5fb1eee View commit details
    Browse the repository at this point in the history
  7. Fix formatting

    Mauler125 committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    4cab6d7 View commit details
    Browse the repository at this point in the history
  8. Light cleanup

    Mauler125 committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    a5514e2 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2022

  1. Configuration menu
    Copy the full SHA
    56ccce6 View commit details
    Browse the repository at this point in the history
  2. Fix formatting

    Mauler125 committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    80ec6ee View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2022

  1. Configuration menu
    Copy the full SHA
    d6bf4b1 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2022

  1. Configuration menu
    Copy the full SHA
    da9e9cf View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2022

  1. Configuration menu
    Copy the full SHA
    178f1de View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2022

  1. Configuration menu
    Copy the full SHA
    b5405b4 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2022

  1. Configuration menu
    Copy the full SHA
    f1a8ce9 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2022

  1. Configuration menu
    Copy the full SHA
    9916463 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2022

  1. Configuration menu
    Copy the full SHA
    0c7fcc0 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2022

  1. Configuration menu
    Copy the full SHA
    44d1d69 View commit details
    Browse the repository at this point in the history
  2. Fix script command not working on server

    Quote marks where only necessary when passing input directly to CCommand. Small mistake
    Mauler125 committed Apr 20, 2022
    Configuration menu
    Copy the full SHA
    981e938 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2022

  1. Configuration menu
    Copy the full SHA
    367a40f View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2022

  1. Configuration menu
    Copy the full SHA
    b2f3001 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2022

  1. Configuration menu
    Copy the full SHA
    f14a920 View commit details
    Browse the repository at this point in the history
  2. Fix clang format

    Mauler125 committed May 5, 2022
    Configuration menu
    Copy the full SHA
    680a9e3 View commit details
    Browse the repository at this point in the history
  3. Fix clang format

    Mauler125 committed May 5, 2022
    Configuration menu
    Copy the full SHA
    958c08c View commit details
    Browse the repository at this point in the history
  4. Fix clang format

    Mauler125 committed May 5, 2022
    Configuration menu
    Copy the full SHA
    7091699 View commit details
    Browse the repository at this point in the history
  5. Fix clang format

    Mauler125 committed May 5, 2022
    Configuration menu
    Copy the full SHA
    54739a3 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2022

  1. RCON system improvements

    * Buffers are now send properly from the game client and netconsole client (running scripts and executing command's/convar's now work properly).
    * Removed 'PASS' string check on server and only rely on 'SERVERDATA_REQUEST_AUTH' enum for auth queries (should make heavy abuse even harder).
    Mauler125 committed May 7, 2022
    Configuration menu
    Copy the full SHA
    af9e2fe View commit details
    Browse the repository at this point in the history

Commits on May 13, 2022

  1. Configuration menu
    Copy the full SHA
    76ed31a View commit details
    Browse the repository at this point in the history
  2. Optimize RCON

    Don't run CheckForBan each iteration if no failed attempts are made
    Mauler125 committed May 13, 2022
    Configuration menu
    Copy the full SHA
    125266d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8d47d3b View commit details
    Browse the repository at this point in the history

Commits on May 31, 2022

  1. ConCommandBase::IsCommand improvements

    If the vtable pointer points to ConVar its not a command
    Mauler125 committed May 31, 2022
    Configuration menu
    Copy the full SHA
    5c62807 View commit details
    Browse the repository at this point in the history
  2. Light RCON cleanup

    Use const qualifiers for CNetAdr2 methods.
    Removed redundant code in CNetAdr2.
    Add proper destructor for CRConServer, CRConClient and CNetCon.
    Mauler125 committed May 31, 2022
    Configuration menu
    Copy the full SHA
    d913256 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2022

  1. Add 'chrono' to PCH

    Included in more recent commits from upstream, but these should be in the PCH.
    Mauler125 committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    57e071f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8e5b780 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9bba38c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    50bb5f3 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2022

  1. Configuration menu
    Copy the full SHA
    be37827 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2022

  1. Allow auth with RCON using 3rd argument from CCommand.

    'rcon PASS' will use the 'rcon_password' convar as password to auth with the server.
    'rcon PASS yourpassword' will use the third argument from CCommand to auth with the server.
    Mauler125 committed Jul 10, 2022
    Configuration menu
    Copy the full SHA
    388b76e View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2022

  1. Configuration menu
    Copy the full SHA
    671de14 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2022

  1. RCON system overhaul

    * Implemented robust length-prefix framing logic for non-blocking sockets (previously used character sequences to determine length, but you cannot use character sequences on protocol buffers as its binary data. This logic should fix all problems regarding some commands not getting networked properly to the server and stuff not getting printed on the client).
    * Increased buffer size to std::vector::max_size when netconsole is authenticated (MAX_NETCONSOLE_INPUT_LEN still remains enforced on accepted but not authenticated connections to prevent attackers from crashing the server).
    * Process max 1024 bytes each recv buffer iteration.
    * Additional optimizations and cleanup.
    Mauler125 committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    566d3dc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8f9e668 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2022

  1. Netconsole cleanup

    Mauler125 committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    4b09682 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5d9bbd0 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2022

  1. Adress reported issues

    Addressed:
    * 'Expression: vector subscript out of range' (we only ever ensured capacity upon construction).
    * 'Run-Time Check Failure #2 - Stack around the variable 'buf' was corrupted.' (caused because of 'misuse' of sprintf_s, which was initially used to suppress microsoft compiler warnings, reverted to sprintf).
    Mauler125 committed Aug 13, 2022
    Configuration menu
    Copy the full SHA
    24f561f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fe3eda7 View commit details
    Browse the repository at this point in the history
  3. Attempt to fix CI compiler error

    The solution compiles on all systems, but CI. The cause happens to be the "net.h" include in cl_rcon.cpp. Perhaps moving it up higher fixes the problem (hopefully).
    Mauler125 committed Aug 13, 2022
    Configuration menu
    Copy the full SHA
    d3f8b9a View commit details
    Browse the repository at this point in the history
  4. Second attempt

    Mauler125 committed Aug 13, 2022
    Configuration menu
    Copy the full SHA
    6c75343 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2022

  1. Remove clashing define

    Hopefully this fixes CI.
    Mauler125 committed Aug 14, 2022
    Configuration menu
    Copy the full SHA
    4573d5e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a77c899 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #2 from R2Northstar/fix-rcon-format-errors

    Fix formatting errors
    Mauler125 committed Aug 14, 2022
    Configuration menu
    Copy the full SHA
    c628692 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2022

  1. Configuration menu
    Copy the full SHA
    f239792 View commit details
    Browse the repository at this point in the history