PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Noms de domaine > comp.protocols.tcp-ip > How to get data in kernel SEND buffer for a socket from a netfilter based kernel module
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.protocols.tcp-ip TCP and IP network protocols.

How to get data in kernel SEND buffer for a socket from a netfilter based kernel module

Réponse
 
LinkBack Outils de la discussion
Vieux 10/05/2007, 12h26   #1
Rohit
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut How to get data in kernel SEND buffer for a socket from a netfilter based kernel module

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

  Réponse avec citation
Vieux 10/05/2007, 16h10   #2
SaranJothy
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to get data in kernel SEND buffer for a socket from a netfilter based kernel module

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




  Réponse avec citation
Vieux 11/05/2007, 05h40   #3
Rohit
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to get data in kernel SEND buffer for a socket from a netfilter based kernel module


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



  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 16h55.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,31397 seconds with 11 queries