in reply to Re^4: SYN attack detection code
in thread SYN attack detection code

You were not expecting too much. You were simply expecting the wrong things.

We are known as a very friendly community and the Monks won't hold it against you if next time you show some effort first.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

Replies are listed 'Best First'.
Re^6: SYN attack detection code
by Dipmoy (Initiate) on Jan 02, 2011 at 21:59 UTC
    How can I show some effort? please guide me......

      Commonly we expect to see some sample code that is not doing as you expect. Often that will require you to do some research on your own (and maybe ask here: "where can I find info about ... . I've looked 'here', 'there' and 'over there'."). Very often that will involve distilling a script down to just the code that is problematic and providing a sample script demonstrating the problem. Getting to that little stand alone sample script that demonstrates the problem you are having can be a chore (see I know what I mean. Why don't you? for some ideas), but often you will solve the issue yourself in the process.

      Anything that hints that you have struggled with the problem for a while and have taken steps to solve it on your own, or at least figure out where it is that you are having trouble, will garner the blessings of the monks.

      True laziness is hard work

      You could start by doing a search.

      The first plain web page (3rd one down) gives a couple of ways to detect syn floods.


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.