Skip to content
Sign upLog in
← Back to Community

Remaking the internet: raw sockets: PermissionError

Profile icon
hg0428Hacker

Using Sock Raw

https://repl.it/@Projxon/Protocol-Design#main.py

My goals

I have challenged myself to rewrite the internet, not using packets, nothing premade (except computers and wires). I am doing this to get a better understanding of low-level networking systems. I need some guidance on this, please give some tips if you can. I know this is a large task and it will probably take me months.

I need help fixing issues with the repl link I put above.

I know I probably should not be doing this on repl.it, but, there are not other good text editors for iOS.

Thanks for your help!

Voters
Profile icon
RitaHardeman
Profile icon
hg0428
Comments
hotnewtop
Profile icon
realTronsi

lmao?

  1. why are you using python for this
  2. wdym "not using packets", that's the data sockets send
  3. you're "not using packets" yet using the sockets lib?
  4. the internet isn't just some giant piece of code
  5. if you want to understand low-level networking, you can try making http servers in C/C++ or proxies/onion routing. There's no point in "rewriting the whole internet"
  6. repl doesn't allow for raw TCP sockets, you're out of luck here
Profile icon
tussiez
Profile icon
hg0428

I am new to this stuff and was starting with the simple. I have already rewritten python flask.

@realTronsi

Profile icon
realTronsi

@hg0428
this isn't "simple" at all, also flask is completely unrelated to this. A good start is making an http server using pure sockets if you want to learn the low level networking stuff

Profile icon
hg0428

I know that it isn’t simple, that’s why I decided to do it.I already have made a http sever using pure sockets, I completely remade flask using just sockets. Also, http server is not at all low level.

@realTronsi