Fri Sep 21 17:15:13 UTC 2007

Firewall lab: Bits and Pieces

  • Here is the presentation that we covered in today's session in PDF format.
  • Here is the link to the document on how inet works in Minx3.
  • I would suggest that you come up with a design of your firewall before you sit down to implement. Please feel free to discuss the same with me and other students to find out deficiencies or advantages.
  • Please make sure that networking works from within vmware on your system!
  • Remember, the project is due on 10/02/07!

Posted by Bandan Das | Permanent Link

Thu Sep 13 18:52:15 UTC 2007

Friday's lab session

In tomorrow's lab session (09/14/2007, 3 pm - 5 pm, CST 2-122), we will cover the following:

  • Basic file organization and architecture in Minix3 link
  • Compiling Minix3link
  • Adding a new system call to Minix3
  • InterProcess Communication in Minix3
  • See this document to find out how to add a new system call and message passing. Errata: Figure 9 should be read as

    PUBLIC int printmessage(void)
    {
    message m;
    return(_syscall(FS,PRINTMESSAGE, &m));
    }

    See this document for writing a new IOCTL handler for Minix3.

Please consider bringing your computer along to the lab so that we can do the fun stuff together :)

Also, please go through the following documents for reference:

A brief overview of Minix3 architecture is here

Minix network documentation and boot process is here

Miscellaneous Minix3 documents are here


Posted by Bandan Das | Permanent Link

Wed Sep 5 19:13:31 UTC 2007

Some more troubleshooting pointers

If you are having trouble installing VMware and see something like this , you have to disable the sound adapter. Probably you should remove the floppy device too if you don't have a really floppy drive on your machine. Thanks to Zhen Long for the pointer.

If you are running FC7 from a vmware image (just as I do), please don't forget to install gcc as it does not come with gcc installed. The easiest way to do it is yum install gcc from a console as root. This would install gcc along with all the dependencies.

If installing FC from an ISO and you get an error that says that the hard disk is not detected, create a new VM using the custom setting and make the hard disk IDE rather than SCSI. (Thanks to Naji Marcel for the pointer)

Please feel free to use any editor you like. Minix offers elle, emacs, vi and mined. Some of them may not be installed by default and you have to install them using packman. Just run "packman" and then follow the steps. If you are more comfortable, editing files in windows and ftp-ing it back to the minix vm, follow the steps in the FAQ on how to run a ftp server in minix.


Posted by Bandan Das | Permanent Link

Sat Sep 1 18:06:32 UTC 2007

Friday (08/31/07) Lab session

Important points discussed in yesterday's lab session:
  • Please go through this document carefully for any setup related problems. Some of them may be a bit outdated but most of them are generalized.
  • To create your own library in Minix, you either need to edit the relevant Makefiles or Makefiles.in. The later is a easier process. Here is process on how to create a library in Minix3. There is also one more here
  • Some other points discussed:
    1. The Minix vmware image doesn't work and gives weird errors
    A: Try installing Minix from a ISO image.
    2. VMware6 doesn't install!
    A: Well, on most updated systems, it should. But if it does not, let me know and we will try to get a 5.5 license.
    3. I can't find vi editor in my minix session.
    A: Probably, it's not installed. Use packman to install it. (packman is the software management tool in minix3)
    4. Where can I find a reference for handy Linux commands
    A: Just google for it. You will find many. One is here
    5. Do we need to compile after every single change to the library source files ?
    A: Yes

Posted by Bandan Das | Permanent Link

Sat Sep 1 15:11:06 UTC 2007

Welcome

Welcome to the CSE 758, Internet Security page. Here, I will post information about lab sessions and other course updates. Please subsribe to the RSS feed so that you don't miss any important information.

Posted by Bandan Das | Permanent Link