Modifying Network Packet Buffering in Network Layer CS518 Final Presentation and Instruction Guide Li Zhang.

Slides:



Advertisements
Similar presentations
Creating a Virtual Machine Researched and Created by Bryan Bankhead.
Advertisements

Discovering Computers Fundamentals, Third Edition CGS 1000 Introduction to Computers and Technology Fall 2006.
Chapter Apache Installation on Linux. Acknowledgement The contribution made by Darrin Morison is acknowledged.
Project 0, Linux Dabbling CS-3013 A-term Project 0: Linux & Virtual Machine Dabbling CS-3013, Operating Systems.
Windows Security and Rootkits Mike Willard January 2007.
1 Web Server Administration Chapter 3 Installing the Server.
Project 0: Linux & VM Dabbling CS-3013, C-term Project 0: Linux & Virtual Machine Dabbling CS-3013, Operating Systems.
Project 0: Linux & VM Dabbling CS-502, Fall Project 0: Linux & Virtual Machine Dabbling CS-502, Operating Systems.
IERG4180 Tutorial 4 Jim.
Project 0 -- Linux Dabbling CS-502 (EMC) Fall Project 0 Linux & Virtual Machine Dabbling CS-502, Operating Systems Fall 2009 (EMC)
Project 0 -- Linux Dabbling CS-3013 A-term Project 0 Linux & Virtual Machine Dabbling CS-3013, Operating Systems.
Chapter 8 Operating Systems and Utility Programs By: James Granahan.
INTRUSION DETECTION SYSTEMS Tristan Walters Rayce West.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 3 Desktop Virtualization McGraw-Hill.
Linux Operations and Administration
Terminal and Console Access Unix/IP Preparation Course May 29, 2011 Dar es Salaam, Tanzania.
One to One instructions Installing and configuring samba on Ubuntu Linux to enable Linux to share files and documents with Windows XP.
Introduction to HP LoadRunner Getting Familiar with LoadRunner >>>>>>>>>>>>>>>>>>>>>>
By: Paul Hill Technology Coordinator Gwinn Area Community Schools.
Kernel Development using Virtualization Installing VMWare and using a virtual machine to build and test a Linux Kernel.
POS/420 Introduction to Unix Philip Robbins – March 12, 2013 (Week 1)
DIY: Your First VMware Server. Introduction to ESXi, VMWare's free virtualization Operating System.
ITR3 lecture 8: more UNIX, DNS and mail Thomas Krichel
Introduction Purpose This course describes the process of installing the KPIT GNU toolchain on your PC. Objective Learn how easy it is to get information.
Exercise #1: Exploring Open- Source Operating Systems with Virtual Machines J. H. Wang Mar. 9, 2010.
Xen Virtualization Last Update Copyright 2011 Kenneth M. Chipps Ph.D.
Guide to Linux Installation and Administration, 2e1 Chapter 2 Planning Your System.
Client – Server Application Can you create a client server application: The server will be running as a service: does not have a GUI The server will run.
09/21/081 Ho Chi Minh city University of Technology Linux kernel R.M. Introduction of building Linux kernel from source.
Multiboot System under Windows XP – Ubuntu – Windows 7 Qiong LIN - 28 April 2012.
14 Step-by-Step Instructions for an Upgrade Installation n Prepare for the installation Verify that all devices and applications are Windows 2000 compatible.
7400 Samsung Confidential & Proprietary Information Copyright 2006, All Rights Reserved. -0/17- OfficeServ 7400 Enterprise IP Solutions Quick Install Guide.
Manage Directories and Files in Linux. 2 Objectives Understand the Filesystem Hierarchy Standard (FHS) Identify File Types in the Linux System Change.
INFSO-RI Enabling Grids for E-sciencE Installation of an APT+kickstart server Giuseppe Platania INFN Catania EMBRACE Tutorial Clermont-Ferrand,
Proxy Installer for Windows Squid: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response.
General rules 1. Rule: 2. Rule: 3. Rule: 10. Rule: Ask questions ……………………. 11. Rule: I do not know your skill. If I tell you things you know, please stop.
Exercise #1: Exploring Open- Source Operating Systems with Virtual Machines J. H. Wang Sep. 25, 2015.
Linux Operation System Computer Operation Manual.
Using Traffic Control to Support of Quality of Service Milestone No.1 Li Zhang.
Virtual Machines Module 2. Objectives Define virtual machine Define common terminology Identify advantages and disadvantages Determine what software is.
“Build that Virtual Lab you always wanted” Information Assurance Group 2011.
1 Setup and Compile Linux Kernel Speaker: Yi-Ji Jheng Date:
SMOOTHWALL FIREWALL By Nitheish Kumarr. INTRODUCTION  Smooth wall Express is a Linux based firewall produced by the Smooth wall Open Source Project Team.
Proctor Caching Overview. 2 Proctor Caching Diagram.
Spring 2007 Vmware and Linux kernel COMS W4118 Columbia University.
Building Your Own Website Using:. Install & configure LAMP. Download WordPress and run it as a local website on your Raspberry Pi. Configure WordPress.
Rebuilding Linux Kernel Dedicated to penguin lovers everywhere 26 September 20161Rebuilding kernel by Visakh M R.
Operating System Kernel Compilation
Exercise #1: Exploring Open-Source Operating Systems with Virtual Machines J. H. Wang Sep. 20, 2016.
Create Rescue Disk? Windows XP, (Vista) Windows 7, 8 Windows 8.1
CSC227: Operating Systems
Hyrax Configuration.
Computer System Laboratory
linux and related thing
Exercise #1: Exploring Open-Source Operating Systems with Virtual Machines J. H. Wang Sep. 19, 2017.
Under the Windows Desktop
Lab 1 introduction, debrief
Operating System Kernel Compilation
INSTALLING AND SETTING UP APACHE2 IN A LINUX ENVIRONMENT
Information Security Session October 24, 2005
Exercise #1: Exploring Open-Source Operating Systems with Virtual Machines J. H. Wang Sep. 21, 2018.
IS3440 Linux Security Unit 7 Securing the Linux Kernel
OPS235: Configuring a Network Using Virtual Machines – Part 2
NETWORK SECURITY LAB Lab 8. Firewall and VPN.
Linux Operations and Administration
Computer System Laboratory
Linux Operation System
Review of Previous Lesson
Operating System Kernel Compilation
Presentation transcript:

Modifying Network Packet Buffering in Network Layer CS518 Final Presentation and Instruction Guide Li Zhang

Contents Notations Very Brief Introduction Hardware And Software Preparations Modifying the Code Experiments Design Results and Conclusion References

Background Five Network Layers in Linux : 1. MAC and Logical-Link Layer 2. Network Layer 3. Transport Layer 4. Application Layer

Traffic Control in Linux and My Goal In the Linux world, the term traffic control represents all the possibilities to influence incoming and outgoing network traffic in one way or another. This project focus on modifying the queuing disciplines in network layer in order to create an bigger size buffer which will drop less packets because of time slots used up. Two reasons to drop packets in network layer: 1. Buffer overflow. 2. Policing mechanism detected violation of a rule For example, packet format fault, firewall blocks.

Hardware and Software Preparation Hardware: An x86 networked computer running Windows XP Software: 1. VMware 2. CentOS 5.2 and its applications 3. linux kernel Two tools to monitor network flows: ntop and bing

Preparation 1: Create a virtual machine and install CentOS 5.2 Download VMware Server from Install VMware server and register it online. The registration is free. Create a virtual machine under the guide of video ‘ Create_Virtual_ Machine.avi ’ Download and install CentOS 5.2 in the virtual machine from

Preparation 2: Recompile the Linux kernel Start Linux and log in as ‘ root ’ Download the kernel code and decompressed it into /usr/src $ cd /tmp $ wget $ tar -xjvf linux tar.bz2 -C /usr/src $ cd /usr/src/linux Install gcc, a C compiler $ yum install gcc Configure the kernel, do not change anything, just select ‘ exit ’ $ make menuconfig Make and install modules and kernel $ make $ make modules $ make modules_install $ make install

Preparation 2-continue Create an initrd image which contains device drivers which needed to loaded $ cd /boot $ mkinitrd -o initrd.img Modify the grub file 1. Open /boot/grub/menu.lst with text editor 2. Modify the default booting kernel pointing to If there is a line like this ‘ menu hidden ’, delete the whole line Restart Linux Select the kernel from the boot loader menu

Preparation 3: Install ntop and bing Step 1 : Download and install rpmforge-release $ wget release/rpmforge-release el5.rf.i386.rpm $ rpm -Uvh rpmforge-release el5.rf.i386.rpm Step 2: Intsall ntop $yum install rrdtool $yum install ntop Step 3: Install bing $yum install bing

Preparation 4: Duplicate Virtual Machine A virtual machine can be duplicated very easily. Duplicate the file folder you created in Preparation 1 and rename it as Linux-modify Use VMware to open the.vmx file in the file folder Linux-modify. Select ‘ Edit virtual machine setting ’ and rename the new machine as ‘ Linux-modify ’ Only modify the kernel in the new machine.

Modify the code First double the buffer size by editing the function tbf_change() in netsched/sch_tbf.c. The variable max_size is the max buffer size. The watchdog() function is invoked when the timer for a packet expires. This function will be used in tbf_dequeue() to determine whether the process of transmitting a packet should be interrupted. Modify the condition to invoke the watchdog().

Recompile again $ cd /usr/src/linux $ make menuconfig 1. Select ‘ General setup---  ’ 2. Select ‘ Local version-append to kernel release ’ 3. Enter a name you want, press ‘ OK ’ 4. ‘ Exit ’ twice 5. Watch video ‘ recompile_again_menuconfig.avi ’ Then follow the steps after ‘ make menuconfig ’ described in Preparation 2. Remember using the version name you created. Restart and select the kernel _with_your_name from the boot loader menu

Experiments Using bing which is a tool to identify the bandwidth currently available between two computers. 1. Get local host IP address: $ ifconfig 2. Use bing to test the bandwidth betwwen the local host and $ bing – e 50 – i 1 – s 100 – S 1200 Your_Local_IP Using ntop to monitor the network in the long term 1. Start ntop and keep the terminal running ntop open $ ntop 2. Open a web browserr, for example Firefox Visit Watch video ntop_and_bing.avi

Results

Results-continue

References K. Wehrle, F. Pahlke, H. Ritter, D. Muller and M. Bechler, ‘ The Linux Networking architecture ’, Pearson Education Inc, US/Red_Hat_Enterprise_Linux/5.2/pdf/Deployment_G uide/Deployment_Guide.pdf html

The End Thank you!