rednet frequencies
#41
Posted 30 November 2012 - 07:21 AM
#42
Posted 30 November 2012 - 08:25 AM
Cloudy, on 30 November 2012 - 07:21 AM, said:
the only thing i use broadcast for is to locate network hosts nearby, wich can also just be send to freq 0
#43
Posted 30 November 2012 - 08:41 AM
Really, rednet.send already works so well (properly used) that it's hard to justify "improving" it. Though the point of the original post was making it easier to hack, which isn't an improvement. And what the heck is wrong with the old trick of sneaking to a node and reprogramming it (particularly since you can do it remotely using a turtle with a floppy and disk drive)? It's just a little harder, it isn't fundamentally impossible (unless they've arranged some kind of anti-turtle defenses around the target computers, in which case props to them and step up to the challenge).
#44
Posted 30 November 2012 - 08:49 AM
#45
Posted 30 November 2012 - 09:17 AM
Cloudy, on 30 November 2012 - 07:21 AM, said:
#46
Posted 30 November 2012 - 09:57 AM
in this example rednet.set is frequency setter
start = 1
range = 1000
c = start
r = range + 1
while true do
if c == r then
c = start
end
rednet.set(c)
rednet.broadcast("ping")
x = nil
x,y,z = rednet.receive(.05)
if x ~= nil then
print(x..": "..y.." :distance to ["..z.."]".."on frequency:"..c)
end
c = c + 1
end
#47
Posted 30 November 2012 - 10:18 AM
prevent spoofing. It's terrible.
I do not like what people are saying about this being optional. Computercraft in multiplayer servers will be so much more fun if everyone is required to use this. Otherwise nobody will use it.
(Cranium, I want to come over to where you live and yell at you, telling you how selfish you are..)
EDIT: I thought cranium liked having CC's bulletproof rednet, and I was mistaken; he was talking about backwards compatibility.
Edited by JJRcop, 30 November 2012 - 10:37 AM.
#48
Posted 30 November 2012 - 10:29 AM
JJRcop, on 30 November 2012 - 10:18 AM, said:
prevent spoofing. It's terrible.
I do not like what people like Cranium are saying about this being optional. Computercraft in multiplayer servers will be so much more fun if everyone is required to use this. Otherwise nobody will use it.
(Cranium, I want to come over to where you live and yell at you, telling you how selfish you are..)
But I only meant that for existing programs being able to run as they previously did. I have a mail system that broadcasts a ping, listens for a response, then homes in on that response and uses that ID to send to from that point on. My suggestion was just to say that if someone uses rednet.broadcast(), it would just do the same thing, like sending on all frequencies. I know that there are several systems that rely on broadcast in one form or another, and I don;t think that everyone wants to recode just so they can keep using ther programs. (since it's usually something one person wrote, and modifying it might screw things up). It would only be a modification of rednet.broadcast.
#49
Posted 30 November 2012 - 10:36 AM
I apologize and I am sorry.
#50
Posted 30 November 2012 - 10:57 AM
#51
Posted 30 November 2012 - 11:17 AM
Cranium, on 30 November 2012 - 10:29 AM, said:
JJRcop, on 30 November 2012 - 10:18 AM, said:
prevent spoofing. It's terrible.
I do not like what people like Cranium are saying about this being optional. Computercraft in multiplayer servers will be so much more fun if everyone is required to use this. Otherwise nobody will use it.
(Cranium, I want to come over to where you live and yell at you, telling you how selfish you are..)
But I only meant that for existing programs being able to run as they previously did. I have a mail system that broadcasts a ping, listens for a response, then homes in on that response and uses that ID to send to from that point on. My suggestion was just to say that if someone uses rednet.broadcast(), it would just do the same thing, like sending on all frequencies. I know that there are several systems that rely on broadcast in one form or another, and I don;t think that everyone wants to recode just so they can keep using ther programs. (since it's usually something one person wrote, and modifying it might screw things up). It would only be a modification of rednet.broadcast.
and not on all
#52
Posted 30 November 2012 - 11:42 AM
I do like the idea of having an interface that lets you add a frequency parameter to rednet messages, so that only receivers with that frequency set on a modem can get that message. But it is physically possible (and necessary, in modern telecommunications) to beam messages so that only the intended receiver gets them. Hackers who want to break into such systems have to deal with proximity issues all the time, how to get physically close enough to a vulnerable part of the network.
#53
Posted 30 November 2012 - 12:16 PM
tom2018, on 30 November 2012 - 11:17 AM, said:
and not on all
#55
Posted 30 November 2012 - 05:12 PM
tom2018, on 30 November 2012 - 09:57 AM, said:
in this example rednet.set is frequency setter
-snippy pixel-
after you get a shared key you can use a symmetric encryption algorithm using the shared secret as the key
thats why i said this sould be optional as people who dont know anything about those types of things will be prone to people spying on their port
#56
Posted 30 November 2012 - 08:15 PM
#57
Posted 30 November 2012 - 08:55 PM
#58
Posted 30 November 2012 - 09:17 PM
I would personally prefer it to not be optional.
#59
Posted 30 November 2012 - 09:37 PM
#60
Posted 01 December 2012 - 12:57 AM
Now it is impossible to protect computers from external startup
Do not force other players to play the way, you want. Crypto-programs is unneeded load for servers and problems with trust. -> less fun
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


This topic is locked









