help in tcp/ip
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
Quoted 7 lines · On Thu, 29 May 2003, [iso-8859-1] mounir tahar abbes wrote:
hello
i want to modify thetcp_sendmsgintcp.cfor 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.