Jump to content




Apple API

api

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

#21 Link149

  • Members
  • 46 posts
  • LocationQuebec, Canada

Posted 06 May 2014 - 01:58 AM

Quote

You can spoof an ID, quite easily. (I think, unless 1.6 removed that?) But even so, adding the necessary security to check would be extensive and unnecessary on both the API and the Client.

Quote

CC 1.6 didn't change that and it's unlikely it'll ever change.

The idea is that what the RedNet API calls an "ID" is actually a modem channel, and users can send / receive using pretty much whatever channel they like by accessing the modem API directly. This means that anyone on your wired network, or in range of your wireless network, can intercept and read a copy of any messages they like (regardless as to where you wanted to send them), and they can send messages out as though they owned a computer with any ID they like (regardless as to whether the computers they have access to have those IDs).

While it IS possible to spoof an id, Computercraft 1.6 added hostnames and protocols. They could be used in some way that prevents a computer from receiving a message from a potentially harmful computer, as you can find which computer id is bound to a specific hostname and as a hostname can only be used ONCE on the same protocol. You could subscribe your computer(s) to a protocol and encourage your friends to do the same. That way, you will always know you're receiving messages to them. Sending private messages is going to be a more diffult task though, I fear.

#22 applesauce10189

  • Members
  • 162 posts

Posted 06 May 2014 - 11:59 AM

View PostLink149, on 06 May 2014 - 01:58 AM, said:

--Cut out text stuffs.
Your profile picture...... It's Link... Wearing a headset.... Something about that is just overwhelmingly awesome to me.

#23 MKlegoman357

  • Members
  • 1,170 posts
  • LocationKaunas, Lithuania

Posted 07 May 2014 - 04:51 PM

View PostLink149, on 06 May 2014 - 01:58 AM, said:

While it IS possible to spoof an id, Computercraft 1.6 added hostnames and protocols. They could be used in some way that prevents a computer from receiving a message from a potentially harmful computer, as you can find which computer id is bound to a specific hostname and as a hostname can only be used ONCE on the same protocol. You could subscribe your computer(s) to a protocol and encourage your friends to do the same. That way, you will always know you're receiving messages to them. Sending private messages is going to be a more diffult task though, I fear.
But it is still possible to spoof hostnames and protocols. They were added to the Rednet itself, not to the modem. It means that you can still get messages with hostnames and protocols and 'hack' those or pretend to be a certain hostname, etc...

#24 apemanzilla

  • Members
  • 1,421 posts

Posted 11 May 2014 - 03:23 PM

View PostMKlegoman357, on 07 May 2014 - 04:51 PM, said:

View PostLink149, on 06 May 2014 - 01:58 AM, said:

While it IS possible to spoof an id, Computercraft 1.6 added hostnames and protocols. They could be used in some way that prevents a computer from receiving a message from a potentially harmful computer, as you can find which computer id is bound to a specific hostname and as a hostname can only be used ONCE on the same protocol. You could subscribe your computer(s) to a protocol and encourage your friends to do the same. That way, you will always know you're receiving messages to them. Sending private messages is going to be a more diffult task though, I fear.
But it is still possible to spoof hostnames and protocols. They were added to the Rednet itself, not to the modem. It means that you can still get messages with hostnames and protocols and 'hack' those or pretend to be a certain hostname, etc...
Overall, rednet is never going to be 100% secure and reliable. Because of how open lua is, you will always be able to change the functions to do whatever you want.

#25 applesauce10189

  • Members
  • 162 posts

Posted 12 May 2014 - 06:51 AM

I absolutely love how this thread has derailed from it's original topic to the security of rednet.

#26 CodingWithClass

  • Members
  • 17 posts

Posted 25 May 2014 - 10:39 PM

View Postapplesauce10189, on 12 May 2014 - 06:51 AM, said:

I absolutely love how this thread has derailed from it's original topic to the security of rednet.
This is the Internet...

#27 applesauce10189

  • Members
  • 162 posts

Posted 01 June 2014 - 11:39 AM

View PostCodingWithClass, on 25 May 2014 - 10:39 PM, said:

This is the Internet...
True. Very true.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users