|
|
|
|
||||||
| comp.protocols.tcp-ip TCP and IP network protocols. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
HI all,
I want to know ,if there is a way to get data from the kernel SEND buffer for a socket from a kernel module which is using netfilter hooks ?? If yes, is there any open source implemenation /example which i can start with ?? I believe there should be a way to parse sk_buff linked list and get this data but not very sure being new to networking . Also how portable this part will be ?? 1: To other Linux kernel versions ?? 2: To Other Unix* like kernels ?? Thanks, Rohit |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On May 10, 4:26 pm, Rohit <will.u.tellmem...@gmail.com> wrote:
> HI all, > > I want to know ,if there is a way to get data from the kernel SEND > buffer for a socket from a kernel module which is using netfilter > hooks ?? If yes, is there any open source implemenation /example which > i can start with ?? > I believe there should be a way to parse sk_buff linked list and get > this data but not very sure being new to networking . Also how > portable this part will be ?? > 1: To other Linux kernel versions ?? > 2: To Other Unix* like kernels ?? > > Thanks, > Rohit hi, Check out this link http://www.jungo.com/openrg/download...networking.pdf chapter 13. you can develop a similar kind of module and get the packets. It should be portable between linux(minor variations if any). With unix - dont know. - Jothy |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Thanks for the link. Will give it a try On May 10, 8:10 pm, SaranJothy <saranjo...@gmail.com> wrote: > On May 10, 4:26 pm, Rohit <will.u.tellmem...@gmail.com> wrote: > > > HI all, > > > I want to know ,if there is a way to get data from the kernel SEND > > buffer for a socket from a kernel module which is using netfilter > > hooks ?? If yes, is there any open source implemenation /example which > > i can start with ?? > > I believe there should be a way to parse sk_buff linked list and get > > this data but not very sure being new to networking . Also how > > portable this part will be ?? > > 1: To other Linux kernel versions ?? > > 2: To Other Unix* like kernels ?? > > > Thanks, > > Rohit > > hi, > Check out this linkwww.jungo.com/openrg/download/linux_ip_networking.pdf > chapter 13. > you can develop a similar kind of module and get the packets. > > It should be portable between linux(minor variations if any). > > With unix - dont know. > > - Jothy |
|
![]() |
| Outils de la discussion | |
|
|