Jump to content




[1.5+] In-depth Modem Channels Tutorial

wireless networking peripheral

69 replies to this topic

#21 Bubba

    Use Code Tags!

  • Moderators
  • 1,142 posts
  • LocationRHIT

Posted 10 February 2013 - 05:31 AM

View PostMudkipTheEpic, on 10 February 2013 - 05:29 AM, said:

So rednet.send isn't secure anymore? :o

Nope :) I'm actually very much in favor of this because it simulates real life at least a bit closer. And it's fun encrypting all of your rednet stuff.

#22 BigSHinyToys

  • Members
  • 1,001 posts

Posted 10 February 2013 - 06:10 AM

So it swings from totally secure system to a totally susceptible one. where all channels can be monitored at the same time. I don't know if this is a good thing or a bad one ??

#23 Bubba

    Use Code Tags!

  • Moderators
  • 1,142 posts
  • LocationRHIT

Posted 10 February 2013 - 06:23 AM

View PostBigSHinyToys, on 10 February 2013 - 06:10 AM, said:

So it swings from totally secure system to a totally susceptible one. where all channels can be monitored at the same time. I don't know if this is a good thing or a bad one ??
In terms of being able to monitor every channel at once, yes it's totally susceptible. Maybe this will change though (?). IMO, you should be limited in the number of channels you can open on one modem, but by adding a modem to all 6 sides you would have the full range.

#24 Kingdaro

    The Doctor

  • Members
  • 1,636 posts
  • Location'MURICA

Posted 10 February 2013 - 07:49 AM

I say only one channel per modem. If you're going to be a master rednet hacker, you'd better set up a hugeass computer database.

#25 MudkipTheEpic

  • Members
  • 639 posts
  • LocationWhere you'd least expect it.

Posted 10 February 2013 - 08:00 AM

Well, I'd assume it would be at least 25 c/m (channels per modem).

#26 Bubba

    Use Code Tags!

  • Moderators
  • 1,142 posts
  • LocationRHIT

Posted 10 February 2013 - 08:12 AM

View PostKingdaro, on 10 February 2013 - 07:49 AM, said:

I say only one channel per modem. If you're going to be a master rednet hacker, you'd better set up a hugeass computer database.

Er... I would say at least 5 channels per modem. I would prefer to be able to receive messages on more than 6 channels.


View PostMudkipTheEpic, on 10 February 2013 - 08:00 AM, said:

Well, I'd assume it would be at least 25 c/m (channels per modem).

Yeah ideally it would be something closer to this.

#27 Kingdaro

    The Doctor

  • Members
  • 1,636 posts
  • Location'MURICA

Posted 10 February 2013 - 08:18 AM

Yeah, 6 channels a computer would be hell. I just felt like being a little radical.

And now I'm even going to be more radical. The more channels you have open, the higher the chance that your modem will explode! :D/> (Or maybe it'd just catch fire - that'd be pretty hilarious. Perhaps a program with an infinite loop causes the computer to catch on fire? That'd be hilarious!)

#28 Bubba

    Use Code Tags!

  • Moderators
  • 1,142 posts
  • LocationRHIT

Posted 10 February 2013 - 09:15 AM

View PostKingdaro, on 10 February 2013 - 08:18 AM, said:

Yeah, 6 channels a computer would be hell. I just felt like being a little radical.

And now I'm even going to be more radical. The more channels you have open, the higher the chance that your modem will explode! :D/> (Or maybe it'd just catch fire - that'd be pretty hilarious. Perhaps a program with an infinite loop causes the computer to catch on fire? That'd be hilarious!)

Actually that would be kinda funny. I would absolutely hate it but it would be funny.

#29 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 10 February 2013 - 01:13 PM

View PostMudkipTheEpic, on 10 February 2013 - 04:54 AM, said:

for i=0, 65535 do -- Or how ever many channels there are
Good guess.. there are actually that many...

#30 MudkipTheEpic

  • Members
  • 639 posts
  • LocationWhere you'd least expect it.

Posted 10 February 2013 - 02:42 PM

View PostTheOriginalBIT, on 10 February 2013 - 01:13 PM, said:

View PostMudkipTheEpic, on 10 February 2013 - 04:54 AM, said:

for i=0, 65535 do -- Or how ever many channels there are
Good guess.. there are actually that many...

Thanks. Tryed to set my channel to like 13379001 or something, errored "must be between 0 and 65535" or something. ;)

#31 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 10 February 2013 - 02:46 PM

I learnt it from Cloudy's comment here
http://www.computerc...n/page__st__220

#32 KingMachine

  • Members
  • 122 posts

Posted 11 February 2013 - 01:42 AM

I'm very happy to see the channels feature implemented. It makes my job as a computercraft security expert more rewarding.

#33 dan200

  • Administrators
  • 542 posts
  • LocationCambridge, England

Posted 11 February 2013 - 08:19 AM

If you guys check the latest beta version, there's been a few changes:
Modems can only open 128 channels at once.
rednet_message is back again, for backwards compat

#34 digipenguin

  • Members
  • 15 posts

Posted 13 February 2013 - 11:13 AM

Two things:
1. do modems now have infinite range? If so, then I praise you.
2. thank god everything I send over rednet is already encrypted...
3. digital signature protocols rock...
4. that's a little more than 2 things
5. it just became measurably more secure to use ender chests than rednet... Lol. (only ~4K combinations, but a far higher material cost to scan all of them)

#35 Bubba

    Use Code Tags!

  • Moderators
  • 1,142 posts
  • LocationRHIT

Posted 13 February 2013 - 12:43 PM

View Postdigipenguin, on 13 February 2013 - 11:13 AM, said:

Two things:
1. do modems now have infinite range? If so, then I praise you.
2. thank god everything I send over rednet is already encrypted...
3. digital signature protocols rock...
4. that's a little more than 2 things
5. it just became measurably more secure to use ender chests than rednet... Lol. (only ~4K combinations, but a far higher material cost to scan all of them)

I'm fairly certain that modems do not have infinite range unless you specify that in the config.

#36 digipenguin

  • Members
  • 15 posts

Posted 15 February 2013 - 03:20 PM

View PostBubba, on 13 February 2013 - 12:43 PM, said:

View Postdigipenguin, on 13 February 2013 - 11:13 AM, said:

Two things:
1. do modems now have infinite range? If so, then I praise you.
2. thank god everything I send over rednet is already encrypted...
3. digital signature protocols rock...
4. that's a little more than 2 things
5. it just became measurably more secure to use ender chests than rednet... Lol. (only ~4K combinations, but a far higher material cost to scan all of them)

I'm fairly certain that modems do not have infinite range unless you specify that in the config.

So, at least you're safe if you protect your borders (especially during thunderstorms)

#37 Thief^

  • Members
  • 29 posts

Posted 16 February 2013 - 12:30 AM

Thanks for this tutorial, I've converted my router api over to using it and I'm very happy with the result :)

#38 Abdiel

  • Members
  • 16 posts

Posted 16 February 2013 - 08:26 AM

Hmm, so there is no more equivalent to rednet.send(computerID, message) to send a message to a specific computer? Is every message now a broadcast to everyone listening on the same channel?

#39 Bubba

    Use Code Tags!

  • Moderators
  • 1,142 posts
  • LocationRHIT

Posted 16 February 2013 - 10:27 AM

View PostAbdiel, on 16 February 2013 - 08:26 AM, said:

Hmm, so there is no more equivalent to rednet.send(computerID, message) to send a message to a specific computer? Is every message now a broadcast to everyone listening on the same channel?


Indeed. If everyone is using the rednet API rather than direct peripheral access, then your messages are "private" in the sense that nobody has a channel open other than the one corresponding to their ID. But in reality there is no such thing as a private message now when it comes to rednet.

#40 LDShadowLord

  • Members
  • 115 posts

Posted 18 February 2013 - 09:02 AM

Question, when I use the code provided in this tutorial I get some extra info which I'm not sure on.
Here is an example.

Quote

modem_message --Event Triggered
top --Where the modem is
number1 --send channel
number2 --reply channel
message --Standard message
number3 --?????
What is the number 3 which always appears at the bottom?, it's really frustrating me.

EDIT: Did some more testing, it appears to be quite random?





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users