• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Rycieos / zeroscale
0%
master: 0%

Build:
Build:
LAST BUILD BRANCH: v0.5.0
DEFAULT BRANCH: master
Repo Added 12 Jul 2019 04:01PM UTC
Files 13
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH v0.4.0
branch: v0.4.0
CHANGE BRANCH
x
Reset
  • v0.4.0
  • master
  • minecraft-fix
  • test
  • v0.2.0
  • v0.3.1
  • v0.4.1
  • v0.4.2
  • v0.5.0

pending completion
19

push

travis-ci

Rycieos
Add check for valid client before startup

I noticed that my servers would often start up, only for them to shut
down right away after the timeout, as no one connected. It seems that my
physical server is getting port scanned often, and this would make
zeroscale think someone was trying to connect. I know this is the case
for my ssh server at least.

To combat this, I added checks to the first bits of data that the client
sends to see if it is actually a valid client. If so, it works just like
before. Otherwise, it will close the connection.

Both Minecraft and Terraria send a decent amount of info in their
opening packets, and so I use that to determine if the client is valid.

For the generic plugin, I don't do any check. If you want a valid check,
write a plugin.

I also cleaned up the regular expression checking with search() instead
of match() with greedy at the beginnings.

0 of 303 relevant lines covered (0.0%)

0.0 hits per line

Relevant lines Covered
Build:
Build:
303 RELEVANT LINES 0 COVERED LINES
0.0 HITS PER LINE
Source Files on v0.4.0
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
19 v0.4.0 Add check for valid client before startup I noticed that my servers would often start up, only for them to shut down right away after the timeout, as no one connected. It seems that my physical server is getting port scanned often, and this would... push 24 Aug 2019 07:04PM UTC Rycieos travis-ci pending completion  
See All Builds (127)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc