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
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.
 


wizardfromoz

Super Moderator
Staff member
Gold Supporter
Credits
1,842
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
 

dos2unix

Well-Known Member
Credits
1,029
This may help.


 

simranmunot

New Member
Credits
0
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.
 

wizardfromoz

Super Moderator
Staff member
Gold Supporter
Credits
1,842
moving this to linux networking

wiz
 


Members online


Top