I am using the inet_diag module and libpcap to get the uid of the user who accessed the url I captured using libpcap. As there may be many urls captured per second, I was wondering if there was a limit to how many netlink msgs should be sent per second, and if I should cache and occasionally refresh, or blithely send a msg every time a url is captured.
Asked
Active
Viewed 255 times
2
-
What if the socket that the URL string was being transmitted over is already closed by the time you send off the NL inquiry message? – jørgensen Jan 18 '12 at 10:18
-
I don't think that scenario will be common, but I don't really see how your comment applies. – Thoughtful Dragon Jan 19 '12 at 18:09
-
Such a limit would be artifical - no real reason to have it. Just send as many as you need. – jørgensen Jan 24 '12 at 22:27
-
Ok, thanks. Please add your comment as an answer so that 1) I can accept it, and 2) others can find it better. Thanks – Thoughtful Dragon Jan 25 '12 at 14:56
1 Answers
1
Such a limit would be artifical - no real reason to have it. Just send as many as you need.

jørgensen
- 10,149
- 2
- 20
- 27