Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Feb 2004 01:05:36 +0300
From:      Gleb Smirnoff <glebius@cell.sick.ru>
To:        Arunav Roy <arunavroyal@yahoo.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Request For Some help On Netgraph
Message-ID:  <20040220220536.GD53136@cell.sick.ru>
In-Reply-To: <20040220195222.96099.qmail@web60103.mail.yahoo.com>
References:  <20040220195222.96099.qmail@web60103.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 20, 2004 at 11:52:22AM -0800, Arunav Roy wrote:
A> 	I have tried out a few things and I have faced
A> problems in few things such as : 
A> 1)  How to print the packet information on the konsole
A> when the packet passes through the node. 

Use printf(). :)

A> 2)  How can I make changes in the Packet header 

Make sure to read mbuf(9) manpage.
Look into source of nodes, which are shipped with FreeBSD.
They are really nice examples of netgraph code.

A> 3)  What are the different types of errors which we
A> can induce in  TCP/IP connection  
A>      to test the reliability of TCP/IP 

What kind of errors do you mean? There can be definitely
two types:

- normal network errors, such as packet loss, delay,
  duplication, checksum mismatch and else...
- errors in particular implementations of TCP

What kind do you want to simulate?

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040220220536.GD53136>