recvfrom netlink socket

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

 



Hallo everybody,
Can someone tell me how a program to receive data from
netlink socket look like. 
I have written a small program to receive data that
the firewall (iptables -I PREROUTING 1 -p icmp -j
QUEUE -t mangle) have queued for the user. I can read
nothing from the netlink socket.
Can someone send me a sample code that will read
firewall data from the NETLINK_FIREWALL socket.
Thanks for the help.

PS: I've also used the libipq for this purpose, but it
couldn't help me.
I'm using the kernel 2.4.2 for my work.
Is there any bug known.

__________________________________________________________________
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux