From b245e4092c5a7f09729e64868a42e13f48ac5db8 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Tue, 12 Oct 2010 13:24:08 +0200 Subject: src: allow to use nfct handler for conntrack and expectations at the same time This patch re-works the callback handling to allow the use the same socket to send/receive commands and listen to events of both conntrack and expectation subsystems. Now you can register one callback for conntrack and one for expectation with the same handler with no problems (before this patch, this was not possible, you required two different handlers). Signed-off-by: Pablo Neira Ayuso --- README | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'README') diff --git a/README b/README index f0eed70..4a03627 100644 --- a/README +++ b/README @@ -62,6 +62,10 @@ library only provides the new API that solves former deficiencies. Thus, make sure you use recent versions of libnetfilter_conntrack and, in case that you are using the old API, consider porting your application to the new one. +Since libnetfilter_conntrack >= 0.9.1, you can use the same handler obtained +via nfct_open() to register conntrack and expectation callbacks (before this +version, this was not possible). + = References = [1] Pablo Neira Ayuso. Netfilter's Connection Tracking System: -- cgit v1.2.3