Networking Forums

Networking Forums > Computer Networking > Linux Networking > modification of tcp flags using netfilter hooks??

Reply
Thread Tools Display Modes

modification of tcp flags using netfilter hooks??

 
 
Sunny
Guest
Posts: n/a

 
      02-08-2006, 08:41 AM
Hello,
I have wriiten a module using netfilter hooks for catching
packets n then modifying it.. First using NF_IP_PRE_ROUTING hook i am
trying to modify the incoming tcp packet.. I want to change the tcp
flags for the incoming packet..I have handled the checksum issues for
that.. What othere issues i need to handle???
Thanks...

Regards
Sunny

 
Reply With Quote
 
 
 
 
Eric Lalitte
Guest
Posts: n/a

 
      02-09-2006, 08:13 AM
"Sunny" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) oups.com
> Hello,
> I have wriiten a module using netfilter hooks for catching
> packets n then modifying it.. First using NF_IP_PRE_ROUTING hook i am
> trying to modify the incoming tcp packet.. I want to change the tcp
> flags for the incoming packet..I have handled the checksum issues for
> that.. What othere issues i need to handle???


It depends on which flags you're working.
If it's on URG, you've got to see the urgent pointer in the header.

If you touch SYN, FIN, ACK or RST, you should'nt count on a normal
TCP/IP
connection.


--
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG
 
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
problems while inserting hooks using Netfilter framework will_u_tellmemore Linux Networking 1 12-07-2006 11:30 AM
network driver modification Readon Shaw Linux Networking 0 02-16-2006 03:06 AM
Orinoco SMA modification oronocoVA Wireless Internet 2 07-01-2004 12:38 AM
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