Re: Playing with Network Stack

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

 



Yep that is what I wanted. Here is another question. Is it ok to use dynamic libs when linking modules?

On Tue, Mar 13, 2012 at 5:30 PM, Jeff Haran <jharan@xxxxxxxxxxxxxx> wrote:

Seems reasonable.

 

From: james.voip@xxxxxxxxx [mailto:james.voip@xxxxxxxxx] On Behalf Of james jones
Sent: Tuesday, March 13, 2012 2:29 PM
To: Jeff Haran
Subject: Re: Playing with Network Stack

 

I think the NF_IP_PRE_ROUTING hook is what I am most interested in.

On Tue, Mar 13, 2012 at 5:07 PM, Jeff Haran <jharan@xxxxxxxxxxxxxx> wrote:

 

 

From: kernelnewbies-bounces+jharan=bytemobile.com@xxxxxxxxxxxxxxxxx [mailto:kernelnewbies-bounces+jharan=bytemobile.com@xxxxxxxxxxxxxxxxx] On Behalf Of james jones
Sent: Tuesday, March 13, 2012 1:50 PM
To: kernelnewbies@xxxxxxxxxxxxxxxxx
Subject: Playing with Network Stack

 

Greetings,

 

I hoping someone here can help point me in the right direction. I had an idea for project, but I lack some of the know how. I was wonder if it might be possible to have a kernel module or an application that can inspect and mangle a packet before it gets routed? I don't want to just sniff the traffic. I want to be able to look at the packet and then hand it back to the network stack for processing. If so is there some reading or example code I could look at?

 

 

Thanks in advance,

 

-James

 

You probably want to do a search on “netfilter hook”.

 

Jeff Haran

 

 


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux