Skip to contentSkip to conversation

help in tcp/ip

DISCUSSION mounir tahar abbes 2 participants 2 messages May 29, 2003

lore
Share & tools
lore
#0 lore raw

hello
i want to modify the tcp_sendmsg in tcp.c for linux kernel 2.4.3
in order to display the message sent and compress it -firs: i want to read the message sent and put it in a
text file.

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com

#1 lore raw
Quoted 7 lines · On Thu, 29 May 2003, [iso-8859-1] mounir tahar abbes wrote:

hello
i want to modify the tcp_sendmsg in tcp.c for linux kernel 2.4.3
in order to display the message sent and compress it -firs: i want to read the message sent and put it in a
text file.

Get a copy of the tcpdump source-code and see how it's done. You do __not__ read/write files inside the kernel. You use an external process daemon that writes files containing stuff that came from inside the kernel.

Cheers,
Dick Johnson
Penguin : Linux version 2.4.20 on an i686 machine (797.90 BogoMips). Why is the government concerned about the lunatic fringe? Think about it.