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.
 


wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
9,119
Reaction score
8,080
Credits
39,011
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
Joined
May 3, 2019
Messages
2,084
Reaction score
1,701
Credits
15,004
This may help.


 
OP
S

simranmunot

New Member
Joined
Feb 25, 2020
Messages
2
Reaction score
0
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

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
9,119
Reaction score
8,080
Credits
39,011
moving this to linux networking

wiz
 

Members online


Top