Skip to content

An old server exploit causes infinite loop in serverloop thread. #1673

@AxeelAnder

Description

@AxeelAnder

I'm not sure if there's any issue has discussed about this.

If someone continuously and quickly connects and disconnects to server, server will enter infinite loop.

image
Still viable on newest tshock.

Though it can be easily defended by checking the frequency of connecting.

The true reason why it so is:
image

We can check it in the loop, if it is 0, just break the loop. It works as I tested.

I highly recommend to fix this because I really don't know how can this exploit be used, dos attack might not be needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions