diff options
author | Valentina Giusti <Valentina.Giusti@bmw-carit.de> | 2014-01-07 14:30:19 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-01-08 00:33:58 +0100 |
commit | 01535d60ee130b77256b60392375eb01aff8acfe (patch) | |
tree | f98b249325b64798d816b41d0aeb55ada82cf8a4 /src/nlmsg.c | |
parent | 6f90ded511180f2061a284b5d7801e890a758448 (diff) |
src: add support for UID/GID socket info
With this patch libnetfilter_queue is able to parse UID/GID
socket information.
Signed-off-by: Valentina Giusti <Valentina.Giusti@bmw-carit.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/nlmsg.c')
-rw-r--r-- | src/nlmsg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nlmsg.c b/src/nlmsg.c index e7a30e0..81e170e 100644 --- a/src/nlmsg.c +++ b/src/nlmsg.c @@ -134,6 +134,8 @@ static int nfq_pkt_parse_attr_cb(const struct nlattr *attr, void *data) case NFQA_IFINDEX_PHYSOUTDEV: case NFQA_CAP_LEN: case NFQA_SKB_INFO: + case NFQA_UID: + case NFQA_GID: if (mnl_attr_validate(attr, MNL_TYPE_U32) < 0) return MNL_CB_ERROR; break; |