Re: PF_PACKET??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 19 Apr 2002, Brad Hards wrote:

> On Fri, 19 Apr 2002 09:56, Ish Rattan wrote:
> > On Fri, 19 Apr 2002, Brad Hards wrote:
> > > On Fri, 19 Apr 2002 02:13, Ish Rattan wrote:
> > > > Does any one have a complete client/server type program or tutotial on
> > > > using PF_PACKET to by pass the TCP/IP stack in the kernel? I can't seem
> > > > to find a sample and hence subscribed to this list to ask for
> > > > pointers.
> > >
> > > Possibly the wrong question. I take it that you want to avoid using the
> > > kernel support for some reason, possibly portability. In that case, you
> > > should consider a couple of libraries
> >
> > Well, I am more into implementation of TCP/IP stack in user mode (user
> > level) for teaching aid in a graduate course in Computer Networks. I
> > think that such a thing is possible and I am missing the starting point..
> Probably possible (and I still think you'd be better off with those libraries,
> which are, after all, just access the packet filter sockets), but don't know
> if it is worth it.
> Why not use User-Mode Linux (http://user-mode-linux.sourceforge.net)?
> You get the whole kernel, including the networking stack, running in
> user-space. You can run several virtual machines on one real host, and get to
> network between them in a couple of different ways. Might even be worth doing
> if you had your own user-space implementation of the stack, as the
> environment in which you run your implementation.
If you have time can you give little more details on usage of UML for
getting a user-mode TCP/IP stack?! I am fishing for more details. I plan
to start on it after this semester is done (2 more weeks).

Thanks for the feed back.

-ishwar

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux