Jump to content




Bluenet v1.1 - A simple and powerfull Networking Layer, UPDATE!


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

#1 wilcomega

  • Members
  • 466 posts
  • LocationHolland

Posted 14 April 2013 - 03:22 AM

so i have been busy this week with bluenet. bluenet is a working version of the real internet in computercraft.



READ THIS:
for the time being i have been taking a large break from computer craft. i gave TorakTu permission to continue the development for as long as i am having the break
this means that this post will be outdated and he will make a new one with the updated version soon. i will update bluenet myself once PDA's come out for the
wireless stuff. till then he will take care of the project and i hope he will implement alot of you guys's ideas. and be very active with the community.



the parts:
main bluetide network indentification server:
this server will handle new networks. you can also remotely update all network hosts/routers

network host/router:
this will handle incomming and outgoing packets. the source of incomming packets will be checked if its banned or on the whitelist.
you can enable and disable the whitelist. only from the network side of the router you can remotely change settings in the router.
i am planning on adding ftp file checking on viruses.

bluenet api:
this is a simple interface for programs to use. it has all the features

DNS:
it does what is it supposed to do, i am planning on addind in more securety on unregistereing.

interface:
this is a program that can be used by the user itself to use the bluenet api whithout needing to go into LUA

ftp server
this is a program that you save as startup. it will connect, tell the ip and start an ftp server with the choosen password

web host startup:
will connect to bluenet, tell you the ip and start a web server on the choosen domain. the first time it runs it will register itself at the dns server

web host:
this programs hosts a web server.

web browser:
a simple webbrowser. right now it only supports plain text, no buttons, no colors, no links
this will make a lookup request to the DNS and then send the requested file to the returned ip address

layout:
Posted Image
ingame:
Posted Image


Download:
read all of the information that has been told to you in the installer!
pastebin get JDXM9i2P install


planning on making/suggestion:

wireless support. this means that any wireless device will be able to connect to any network in range - 0% done
installer. this will allow you to choose what packet you want to downlaod - suggested by superaxander - 100% done - v1.0
dynamic DNS service. this basicly means that a dns server can register itself at the main host. so the dns doesnt has to be ip 1.1 - 100% done - v1.1

changelog:
Spoiler

i hope you find this usefull and please report any bugs and suggestions! :)

to be honest:
all of this was inspired by lyqyd. he made the official lyqydnet api.

thx for reading,
wilcomega

#2 Mads

  • Members
  • 604 posts
  • LocationCopenhagen, Denmark

Posted 14 April 2013 - 06:35 AM

I suggest that you put it all in one package. E.g. you have all of those programs in one folder, and then one main program. Then a user would run a command like this:
bluenet ftp
Which would then run .bluenet/bluenet_ftp.lua or something. Just a suggestion.

#3 superaxander

  • Members
  • 609 posts
  • LocationHolland

Posted 14 April 2013 - 08:42 PM

This could use a installer.
This
If http then
  shell.run("pastebin", "get", "code", "file name")
  ...
  shell.run("pastebin", "get", "code12", "file name12")
else
  print "Http must be enabled"
end
Or use http.get and such

#4 wilcomega

  • Members
  • 466 posts
  • LocationHolland

Posted 14 April 2013 - 10:05 PM

i was planning on adding an installer. but could you give me some feedback on how it works and if you like it and such?

#5 superaxander

  • Members
  • 609 posts
  • LocationHolland

Posted 14 April 2013 - 11:50 PM

Well I really like the way you adopted the real http system. Good job!

#6 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 15 April 2013 - 09:52 AM

Moved by request.

#7 FuuuAInfiniteLoop(F.A.I.L)

  • Banned
  • 435 posts
  • LocationThe left part of this post

Posted 15 April 2013 - 10:42 AM

Can you add a screenshot in minecraft, because i dont understand that image

#8 wilcomega

  • Members
  • 466 posts
  • LocationHolland

Posted 16 April 2013 - 04:11 AM

i have added an ingame screenshot for those who need it.
i think you will be able to make up what computer does what. if not, tell me

#9 Left4Cake

  • Members
  • 272 posts
  • LocationEarth

Posted 16 April 2013 - 05:12 AM

View Postwilcomega, on 16 April 2013 - 04:11 AM, said:

i have added an ingame screenshot for those who need it.
i think you will be able to make up what computer does what. if not, tell me

Tell me if I did it wrong
Posted Image

Also thanks for the inspiration. I added some sort of DNS functionally to Firebox after seeing this.

#10 wilcomega

  • Members
  • 466 posts
  • LocationHolland

Posted 16 April 2013 - 05:27 AM

that is exactly right, i have notices that people are asking me questions and stuff but not really telling me if it works or if they like it, could you tell me what you think?

#11 Left4Cake

  • Members
  • 272 posts
  • LocationEarth

Posted 16 April 2013 - 06:36 AM

View Postwilcomega, on 16 April 2013 - 05:27 AM, said:

that is exactly right, i have notices that people are asking me questions and stuff but not really telling me if it works or if they like it, could you tell me what you think?

Some time when I get a change to play Minecraft.

#12 Left4Cake

  • Members
  • 272 posts
  • LocationEarth

Posted 18 April 2013 - 03:47 AM

The ftp sever has a nil value error on line 4.

Haven't tried alot else of it. Really this is just a lot of stuff and is kind of overwhelming.

First it would help if the pastebin were listed like "pastebin get Wffc9xRZ bluenet" and not just "Wffc9xRZ bluenet"

Great work so far but you should try a clean world and set it up and see where the bugs are.

#13 wilcomega

  • Members
  • 466 posts
  • LocationHolland

Posted 18 April 2013 - 04:01 AM

yeah, i posted it as a wip in general at first. because i didnt know all the bugs and stuff. then i thougth that it would be stable enough to release. so i did. and now i am waiting for bug reports.
ow and when this post has got 500 views i will be releasing an update with less bugs and wireless connections. wich will be usefull for the PDA's

#14 wilcomega

  • Members
  • 466 posts
  • LocationHolland

Posted 18 April 2013 - 09:00 AM

View PostLeft4Cake, on 16 April 2013 - 05:12 AM, said:

View Postwilcomega, on 16 April 2013 - 04:11 AM, said:

i have added an ingame screenshot for those who need it.
i think you will be able to make up what computer does what. if not, tell me

Tell me if I did it wrong
Posted Image

Also thanks for the inspiration. I added some sort of DNS functionally to Firebox after seeing this.

thx for the picture by the way! :D

#15 JGreen1996

  • Members
  • 17 posts

Posted 23 April 2013 - 08:05 AM

does this allow for more clients than are in the screenshot?

#16 wilcomega

  • Members
  • 466 posts
  • LocationHolland

Posted 23 April 2013 - 08:06 AM

View PostJGreen1996, on 23 April 2013 - 08:05 AM, said:


does this allow for more clients than are in the screenshot?
yes, infinite clients

#17 wilcomega

  • Members
  • 466 posts
  • LocationHolland

Posted 24 April 2013 - 04:04 AM

i see the amount of views has been raised over 500 so that means in the next few day i will be releasing an update that will include wireless connections and more fail-safes also. you can suggest things right now until the update. if its good i will include it

#18 Patey

  • Members
  • 6 posts
  • LocationNewfoundland, Canada

Posted 04 May 2013 - 02:24 PM

Love this idea, currently playing around trying to set it up (with very little luck -.-) but I'll need wireless connections before it'll work for my server.

I've followed the picture for the most part, I've just compacted it into a small room ontop of a tower for best coverage with wireless, and I've removed one router and the clients attatched to it for testing purposes. dns server wired into one side of a router while the nameserver is wired to the other side and extends to a router between the clients.
my problem comes when setting up the software, I've used the installer for dns and routers and the pastebin for the nameserver specifically (didn't see it in the installer) but tried installing it in many different orders but the dns seems to freeze up, eventually the second router finally registered a network but it doesn't seem to have any effect :S

also incase you haven't already got it planned, when you add the wireless feature would it also be possible to add a wireless extension feature? a completely wireless router that extends the network, simply set it up and connect to the wireless network and users near the router can connect.

also, take a look at firewolf. you could use that as a webbrowser

#19 wilcomega

  • Members
  • 466 posts
  • LocationHolland

Posted 05 May 2013 - 06:12 AM

well i would have to rewrite alot of it for it to work....

#20 Patey

  • Members
  • 6 posts
  • LocationNewfoundland, Canada

Posted 05 May 2013 - 10:26 AM

View Postwilcomega, on 05 May 2013 - 06:12 AM, said:

well i would have to rewrite alot of it for it to work....

I'm assuming you mean firewolf, I figured as much but thought it might be helpful to mention.

im only just learning lua, but if you need help with testing or somone to do some basic code to save you time I'll pitch in if I can simply to see it released faster :)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users