Networking Forums

Networking Forums > Computer Networking > Linux Networking > problems while inserting hooks using Netfilter framework

Reply
Thread Tools Display Modes

problems while inserting hooks using Netfilter framework

 
 
will_u_tellmemore
Guest
Posts: n/a

 
      11-06-2006, 09:21 AM
Hi all,
I am trying to insert my hooks through a loadable module with the help
of netfilter frame work.

the structure looks like this :

static struct nf_hooks_ops ip_in_ops

={ { NULL,NULL } ,test_func, PF_INET,NF_IP_LOCAL_IN,INT_MIN }

but my function is not getting called . I tried both way : enabling
/disabling iptables .
Can anybody suggest me what may be going wrong.

Regards,
TellMeMore

 
Reply With Quote
 
 
 
 
will_u_tellmemore
Guest
Posts: n/a

 
      12-07-2006, 11:30 AM
Oh got it i made mistake while initializing this structure with 2.6
kerenl

 
Reply With Quote
Reply

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 On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Query regarding netfilter hooks sanjay Linux Networking 1 03-04-2008 05:54 PM
modification of tcp flags using netfilter hooks?? Sunny Linux Networking 1 02-09-2006 08:13 AM
CIFS/SMB hooks or implementation Dave Williams Windows Networking 0 02-18-2005 01:29 PM
inserting MN-720 cause notebook to lock-up KenP Broadband Hardware 2 07-15-2004 05:27 PM
using netfilter hooks in LKM's threadhead Linux Networking 0 08-15-2003 06:05 PM



1 2 3 4 5 6 7 8 9 10 11