icmp_send and logger user_mode_helper question.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Helli List,

I am working on a kernel module and netfilters.

from this kernel module i want to send icmp port
unreachable packet a host. i have the skbuff of the
original SYN packet.

i am unable to figure out how to move ahead in this
direction. i tried icmp_send() but this dint worked.

Secondly, i want to log some data. but not to
/var/log/messages but to a different file. can i do it
with some API from Kernel. currently i am using
user_modehelper(). with a userspace program coded for
thios perticular logging as argument. but the kernel
hangs whn it reaches this call so no logging is taking
place

any ideas any help would be invauable

thx a lot in advance.


	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux