Find the answer to your Linux question:
Results 1 to 3 of 3
If I write a kernel module using netfilter and incorporate some huge login in my hook functions, what is the problem ? Will it just slow down the applications performance ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2004
    Posts
    20

    netfilter


    If I write a kernel module using netfilter and incorporate some huge login in my hook functions, what is the problem ?

    Will it just slow down the applications performance or cause some other problems ?

  2. #2
    Linux Engineer
    Join Date
    Nov 2004
    Location
    Montreal, Canada
    Posts
    1,267
    I think it would depend on how "massive" is your hook functions. the slowest process on computers, are HD IO think about this....

    what kinda hook are you trying to grab....
    \"Meditative mind\'s is like a vast ocean... whatever strikes the surface, the bottom stays calm\" - Dalai Lama
    \"Competition ultimatly comes down to one thing... a loser and a winner.\" - Ugo Deschamps

  3. #3
    Just Joined!
    Join Date
    Nov 2004
    Posts
    20
    I intend to capture every singe packet, give it to a user space program for examination and based on it take some action on the packet.

    What is the best approach/technique to do this fast ?

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •