How to debug libiptc and mechanism for exchanging information between user space and kernel space

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

 



Hi all,

I'm studying iptables' source code (both user and kernel space) and
got several questions and statements. I will highly appreciate if
someone could confirm them.

1 - How to debug libiptc? I tried with TC_APPEND_ENTRY in libiptc.c by
adding a print command and rebuilt iptables source code but it didn't
show when I added a new rule.

2 - iptables utility (user space) and ip_tables module (kernel space)
communicate with each other via getsockopt and setsockopt functions
defined in TC_INIT of libiptc.c.

3 - Netlink (libnfnetlink) is only used for other modules (log, queue,
conntrack). Not for iptables.

Regards,
HTS
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux