Pablo Neira Ayuso wrote:
Fabian Hugelshofer wrote:
This patch increases portability, but alignment is still not respected
in nflog_get_*() which still leaves libnetfilter_log unusable on
particular platforms.
Sorry, I lost track of this alignment issues, what's problem?
I still have problems running the nflog test utility nfunl_test. I get a
segmentation fault when nflog_get_payload() is called as soon as the
first packet is received. The other nflog_get* functions which are
called before work fine (even though I did not check what they return).
I aligned the receive buffer and actually don't see the reason for the
segfault.
When I use libnetfilter_log in my own application it works fine as far
as I can tell. Byte alignment problems are quite non-deterministic and
the problem with nfunl_test indicates, that there is still a problem around.
--
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