Web Serving on My OS
- BrightLight
- Member
- Posts: 901
- Joined: Sat Dec 27, 2014 9:11 am
- Location: Maadi, Cairo, Egypt
- Contact:
Re: Web Serving on My OS
Cool OS! But trying to download it from your site gives a 403 Forbidden error.
You know your OS is advanced when you stop using the Intel programming guide as a reference.
-
- Member
- Posts: 1146
- Joined: Sat Mar 01, 2014 2:59 pm
Re: Web Serving on My OS
I'm still thinking about how I'm going to implement networking... it's not high on my priority list, but I want to make sure that I get it right when I do it... I'll probably start with client-side stuff though (like a web browser, email client, etc.) rather than server stuff.Muazzam wrote:At least for me, network programming is harder than OS development. It (including a server and a browser) is a high-priority for my OS nonetheless.SpyderTL wrote:I think you just summed up OS Development.Muazzam wrote:Printing hello world, the hard way!
When you start writing an OS you do the minimum possible to get the x86 processor in a usable state, then you try to get as far away from it as possible.
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
Re: Web Serving on My OS
You have to start with a range of NIC drivers and a TCP/IP stack. That's the difficult part; everything else is fairly routine programming.
Re: Web Serving on My OS
When you put it that way, I'm kinda wondering why it took me like 6 months to get my first hello world response on a single VirtIO virtual network card.iansjack wrote:You have to start with a range of NIC drivers and a TCP/IP stack. That's the difficult part; everything else is fairly routine programming.
EDIT: Make that 18 months... Man how time flies when you are reading specifications....
Project: OZone
Source: GitHub
Current Task: LIB/OBJ file support
"The more they overthink the plumbing, the easier it is to stop up the drain." - Montgomery Scott
Source: GitHub
Current Task: LIB/OBJ file support
"The more they overthink the plumbing, the easier it is to stop up the drain." - Montgomery Scott
Re: Web Serving on My OS
I'm guessing it's because you were doing the difficult part.
If it takes you 6 (or 18) months to program a simple web server or client on an existing OS, such as Linux, I can only answer what my Mathematics professor said when asked a question (which we all thought was pretty difficult): "Mr ______, have you ever thought of taking up plumbing for a living?".
If it takes you 6 (or 18) months to program a simple web server or client on an existing OS, such as Linux, I can only answer what my Mathematics professor said when asked a question (which we all thought was pretty difficult): "Mr ______, have you ever thought of taking up plumbing for a living?".
- Kazinsal
- Member
- Posts: 559
- Joined: Wed Jul 13, 2011 7:38 pm
- Libera.chat IRC: Kazinsal
- Location: Vancouver
- Contact:
Re: Web Serving on My OS
I started writing a network stack on the bus during my commute. It seemed like a better use of time than sitting there bored.
I didn't have it running on my OS. Just a bunch of vtys and vim, and me typing out a whole lot of C. At best I'd see how it handles various captured and artificial input with userspace testing -- capture a real world packet in Wireshark, feed it into a test program for the stack, capture the output, toss it back into Wireshark, see if it looks right compared to a real world response.
I didn't have it running on my OS. Just a bunch of vtys and vim, and me typing out a whole lot of C. At best I'd see how it handles various captured and artificial input with userspace testing -- capture a real world packet in Wireshark, feed it into a test program for the stack, capture the output, toss it back into Wireshark, see if it looks right compared to a real world response.
Re: Web Serving on My OS
Thanks for letting me know, had the permissions on the file wrong (oops) Should work now.omarrx024 wrote:Cool OS! But trying to download it from your site gives a 403 Forbidden error.
- BrightLight
- Member
- Posts: 901
- Joined: Sat Dec 27, 2014 9:11 am
- Location: Maadi, Cairo, Egypt
- Contact:
Re: Web Serving on My OS
I'll try it now.apamment wrote:Thanks for letting me know, had the permissions on the file wrong (oops) Should work now.
You know your OS is advanced when you stop using the Intel programming guide as a reference.
-
- Member
- Posts: 1146
- Joined: Sat Mar 01, 2014 2:59 pm
Re: Web Serving on My OS
Maybe you should host it on your own OS rather .apamment wrote:Thanks for letting me know, had the permissions on the file wrong (oops) Should work now.omarrx024 wrote:Cool OS! But trying to download it from your site gives a 403 Forbidden error.
When you start writing an OS you do the minimum possible to get the x86 processor in a usable state, then you try to get as far away from it as possible.
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
Re: Web Serving on My OS
Haha, well given my OS doesn't have permissions at all, that might workonlyonemac wrote:Maybe you should host it on your own OS rather .