How to extract the TCP header of Incoming and Outgoing Packets using sk_buff? How can we create an LKM for the same?

simranmunot

New Member
Joined
Feb 25, 2020
Messages
2
Reaction score
0
Credits
0
I want to extract the TCP header and print the Header details of both incoming as well as outgoing packets but I need to hook that module in the Linux Kernel. That is I need to create an LKM for the same.
 


this is not a getting started issue.

take a look at

https://linux.org/forums/

and see were it should be directed, i can move you there.

what is the purpose of the exercise?

... and welcome to linux.org

chris turner
wizardfromoz
 
This may help.


 
this is not a getting started issue.

take a look at

https://linux.org/forums/

and see were it should be directed, i can move you there.

what is the purpose of the exercise?

... and welcome to linux.org

chris turner
wizardfromoz


It is part of Linux Networking.

I am learning to create LKM and I just wanted to experiment with such problem statements.
I just want to extract the TCP header and print the Header details of both incoming as well as outgoing packets. And during research, I just came to know that I need to hook that module in the Linux Kernel.

So basically I need to create an LKM for the same.
 
moving this to linux networking

wiz
 

Members online

No members online now.

Top