mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-20 19:44:56 +02:00
Add xt_LOGMARK (nfmark, ctmark, secmark logger)
xt_LOGMARK dumps the nfmark (packet mark), ctmark (connection mark) and/or secmark to syslog. Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
This commit is contained in:
16
extensions/xt_LOGMARK.h
Normal file
16
extensions/xt_LOGMARK.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef _LINUX_NETFILTER_XT_LOGMARK_TARGET_H
|
||||
#define _LINUX_NETFILTER_XT_LOGMARK_TARGET_H 1
|
||||
|
||||
enum {
|
||||
XT_LOGMARK_NFMARK = 1 << 0,
|
||||
XT_LOGMARK_CTMARK = 1 << 1,
|
||||
XT_LOGMARK_SECMARK = 1 << 2,
|
||||
};
|
||||
|
||||
struct xt_logmark_tginfo {
|
||||
char prefix[14];
|
||||
u_int8_t level;
|
||||
u_int8_t flags;
|
||||
};
|
||||
|
||||
#endif /* _LINUX_NETFILTER_XT_LOGMARK_TARGET_H */
|
Reference in New Issue
Block a user