Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > The Linux Kernel > Completely replacing networking stack

Forgot Password?
 The Linux Kernel   Compiling, theory, programming or other discussion about the linux kernel

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 3 Weeks Ago   #1 (permalink)
Just Joined!
 
Join Date: Oct 2009
Posts: 1
Completely replacing networking stack

Hey all,

I'm a long-time programmer, mainly in C, and I want to learn a lot more about the Linux kernel and networking - so I've decided to do some serious tinkering with the networking stack, maybe even write my own stack. I bought Understanding Linux Network Internals, and I'm going through that (I'm in chapter 4, right now). I've also been reading lot of howto's on writing Kernel modules, etc... So I'm at the point where I feel I'm ready to sit down and start coding some simple ideas - but I am aware that I still have a long way to go, and I am aware that it may take me several years of spare time before I really get something half-decent. Mainly I'm posting this question to find out if there are technical terms for what I'm trying to do - my Google searches have been rather fruitless, but I'm sure the information I'm looking for is out there.

What I'd like to do is essentially "turn off" Linux's handling of network packets at run-time, and get raw access to the network I/O for my code (whether my code is in user-space or in a kernel module, I don't much care at this point). Is this even reasonably possible? And if so, is there some name for it? I've been searching for "raw network access" but that only gets me info on raw IP sockets.

I apologize for a long first post, but to sum it up:

1) Is there a technical term for intercepting the data right off any networking hardware? (Maybe I just need to read more about device I/O)

2) Is there a reasonable way to turn off Linux's built-in stack at run-time? Like, is it all in modules? That's something the Network Internals book doesn't seem to deal with in any of t' chapters.


Thanks in advance, if anyone can point me in the right direction here!
SpareRoom is offline  


Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 04:44 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2