Netfilter Question - NF_QUEUE
Hi,
My name is Sílvia and I'm beginning to study the NetFilter Architecture.
I've got a very simple question, I'd like to know more about the NF_QUEUE hook.
It is said that this hook is usually used to pass information to UserSpace, my question is, if somewhere a package is "popped" from the skb and a NF_QUEUE isn't invoked afterwords is the package lost? I guess it isn't, because a package is only drops on a NF_DROP verdict, but I'm getting rather confused studying an application that uses NetFilter.
Thank U a lot for your attention,
Sílvia
Quoted 5 lines · Sílvia Andreia Oliveira Rocha
It is said that this hook is usually used to pass information to UserSpace, my question is, if somewhere a package is "popped" from the skb and a
NF_QUEUEisn't invoked afterwords is the package lost? I guess it isn't, because a package is only drops on aNF_DROPverdict, but I'm getting rather confused studying an application that uses NetFilter.
If the number of queued packets grow above ip_queue_maxlen (default 1024) due to the userspace application not keeping up with the packet rate for one reason or another then new packets gets dropped with a warning in the kernel log.
Regards
Henrik