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

Rycieos / zeroscale / 13
0%

Build:
DEFAULT BRANCH: master
Ran 17 Aug 2019 08:38PM UTC
Jobs 4
Files 9
Run time 13s
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
13

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 13.1 17 Aug 2019 08:38PM UTC 0
0.0
Travis Job 13.1
2 13.2 17 Aug 2019 08:38PM UTC 0
0.0
Travis Job 13.2
3 13.3 17 Aug 2019 08:38PM UTC 0
0.0
Travis Job 13.3
4 13.4 17 Aug 2019 08:38PM UTC 0
0.0
Travis Job 13.4
Source Files on build 13
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #13
  • 793ee3da on github
  • Prev Build on master (#12)
  • Next Build on master (#14)
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