Re: xt_target checkentry()/destroy() semantics

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

 



On Wednesday 2012-01-11 02:32, Richard Weinberger wrote:

>Hi!
>
>I always thought that checkentry()/destroy() are being called upon rule insertion/deletion.
>So I assumed that this command sequence prints three times "test_tg_check" and then three times
>"test_tg_destroy". But it's not the case.

One table-replace operation implies add-delete of all rules.

>[90345.773073] test_tg_check
>[90345.775691] test_tg_check
>[90345.778330] test_tg_destroy
>[90347.782798] test_tg_check
>[90347.785417] test_tg_check
>[90347.788044] test_tg_check
>[90347.790663] test_tg_destroy
>[90347.793454] test_tg_destroy
>[90372.581020] test_tg_check
>[90372.583639] test_tg_check
>[90372.586275] test_tg_destroy
>
>Is there a way to detect the insertion/removal of a rule using my TEST target?

test_tg_destroy.
--
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