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
7,206
Reaction score
6,115
Credits
24,201
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
1,392
Reaction score
1,020
Credits
8,557
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
7,206
Reaction score
6,115
Credits
24,201
moving this to linux networking

wiz
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Top