Jump to content




How to "secure" CC on a server?


  • You cannot reply to this topic
9 replies to this topic

#1 robhol

  • Members
  • 182 posts

Posted 30 December 2012 - 11:13 PM

It's a fact of life that people will try to bend you over at the slightest opportunity, so how can I prevent malicious exploits? I'm considering starting a server and don't want people to be able to crash or overload it.

A list of common exploits or known crashes would be very nice. :)

#2 remiX

  • Members
  • 2,076 posts
  • LocationSouth Africa

Posted 31 December 2012 - 12:03 AM

Have the mod that doesn't allow others destory stuff that isn't theirs. So if they try and break the computer, it will respawn.

#3 Doyle3694

  • Members
  • 815 posts

Posted 31 December 2012 - 04:52 AM

remiX, you might have forgotten to read OP :P

#4 robhol

  • Members
  • 182 posts

Posted 31 December 2012 - 05:24 AM

View PostremiX, on 31 December 2012 - 12:03 AM, said:

Have the mod that doesn't allow others destory stuff that isn't theirs. So if they try and break the computer, it will respawn.
I was planning to, but that isn't the point. The point is that there are (apparently) exploits that will let someone mess with the server within CC itself, and that's not really something I want to have to deal with.

#5 remiX

  • Members
  • 2,076 posts
  • LocationSouth Africa

Posted 31 December 2012 - 05:56 AM

Oh, lol, woops. I've never heard of these exploits before. I'm now scared of them :s (but are there actually any?)

#6 Doyle3694

  • Members
  • 815 posts

Posted 31 December 2012 - 08:18 AM

haha, making a program that writes random characters to a file, with a 1/200 chance of CR, and then a 1/10000 chance for sleep(0). then pcall that from a program, so that when an error is gotten because of file size reached, you increment the name of the file to edit with 1, and then redo the same thing.... Don't know though if that would cause any lag but seems quite malcious...

#7 Cloudy

    Ex-Developer

  • Members
  • 2,543 posts

Posted 31 December 2012 - 09:11 AM

View PostDoyle3694, on 31 December 2012 - 08:18 AM, said:

haha, making a program that writes random characters to a file, with a 1/200 chance of CR, and then a 1/10000 chance for sleep(0). then pcall that from a program, so that when an error is gotten because of file size reached, you increment the name of the file to edit with 1, and then redo the same thing.... Don't know though if that would cause any lag but seems quite malcious...

The file size limit is global, not per file...

#8 Doyle3694

  • Members
  • 815 posts

Posted 31 December 2012 - 10:14 AM

oh... thats good. Cloudy and dan being smart coders as always ;)

#9 ChunLing

  • Members
  • 2,027 posts

Posted 31 December 2012 - 11:36 PM

Let's all volunteer tips on writing malicious code! Or post working samples!

Really, if you let people on your server, then they can find a way to crash it. So don't let malicious users on your server. Ban any that somehow get on.

#10 PixelToast

  • Signature Abuser
  • 2,265 posts
  • Location3232235883

Posted 01 January 2013 - 04:20 AM

the only one that i can think of is rednet spam wich can slow down programs constantly process rednet messages





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users