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

Rycieos / zeroscale / 19
0%
master: 0%

Build:
Build:
LAST BUILD BRANCH: v0.5.0
DEFAULT BRANCH: master
Ran 24 Aug 2019 07:04PM UTC
Jobs 4
Files 9
Run time 18s
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

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

Jobs
ID Job ID Ran Files Coverage
1 19.1 24 Aug 2019 07:04PM UTC 0
0.0
Travis Job 19.1
2 19.2 24 Aug 2019 07:04PM UTC 0
0.0
Travis Job 19.2
3 19.3 24 Aug 2019 07:04PM UTC 0
0.0
Travis Job 19.3
4 19.4 24 Aug 2019 07:04PM UTC 0
0.0
Travis Job 19.4
Source Files on build 19
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #19
  • 793ee3da 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