Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Capture all the packets

by santhosh_89 (Scribe)
on Jun 08, 2009 at 10:23 UTC ( #769443=perlquestion: print w/replies, xml ) Need Help??
santhosh_89 has asked for the wisdom of the Perl Monks concerning the following question:

Hello Mr.Monks ,

How can I capture all the packets which comes in all ports.I am using Linux platform, Please help me, do u have any module for this

Replies are listed 'Best First'.
Re: Capture all the packets
by lakshmananindia (Chaplain) on Jun 08, 2009 at 10:33 UTC

    You might need Net::Pcap

    --Lakshmanan G.

    The great pleasure in my life is doing what people say you cannot do.

Re: Capture all the packets
by Jenda (Abbot) on Jun 09, 2009 at 10:03 UTC

    Why? And does it have to be in Perl? What is it you really need to do?

    Enoch was right!
    Enjoy the last years of Rome.

Re: Capture all the packets
by GrandFather (Sage) on Jun 08, 2009 at 10:52 UTC

      I'm not sure what exactly you are suggesting. The question you linked to has no replies and is from another forum several years ago. While on the same topic, the questions are not worded the same in fact, IMHO the post you link to is slightly better written than the this question :)

      This is perhaps a relatively common question, or at any rate, a question Iíve seen asked here several times.

      Or are you suggesting that the approval and reply by two separate monks (or are you suggesting this is the same person?), perhaps from the same geographic region is part of some sort of XP scam?

      I'm not trying to upset anyone, I just don't follow exactly what is being suggested here.

      The previous example of plagiarism you linked to was in response to various repeated 'offences', where the posts made here could be found (in some cases verbatim) as posts elsewhere on the web. In those cases it wasn't it poetry rather than questions that were being plagiarised?



        The OP has replied to the effect that he cross posted here because replies weren't forthcoming from the other site. Waiting 4 years for a reply seems patient beyond belief!

        Actually, having had a look at a few more of the questions and replies of a few of the individuals concerned I don't think there is a lot of plagiarism, but more a concerted series of 'sock puppet' questions and of course the already highlighted front paging frenzy.

        True laziness is hard work
      This question is rather like...
      No it isn't. There are many questions that crop up time and again. You don't complain about those.
      Have we another round of plagiarism...
      No we don't. Absolutely nothing like the issue you linked too.
      ...Indian syndicate...
      Is this your problem? Why did you feel it necessary to mention it?

      I quite understand how santhosh_89 feels.

      If this attitude continues I will do the same.

        Please don't leave due to irresponsible words of 3 fools.
      Dear the great monk!!!

      Why don't you call him as 'another perl monk' instead of an Indian syndicate?

      Nothing wrong in this,I haven't got proper result on that site,I thought that I will get the proper output in this site,But I came to know my expectation is wrong,I have a request to admin,Please delete my account,hereafter I won't visit this site.Please do it.
        I haven't got proper result on that site,I thought that I will get the proper output in this site
        I agree with you, perlmonks is a place where you will get direction/guidelines to solve your problem if you have done your homework with that problem.

        But I came to know my expectation is wrong
        No; it is not. you can expect better answers and guidelines here, I assure you with my experience over here.

        I have a request to admin,Please delete my account,hereafter I won't visit this site.Please do it.
        I wish to point you one link, when I was a newbie in this site, i got annoyed and I posted this node Negative points, it was not at all happy about my down voting, but then i realized, learnt from that experience and then living in the place happily for years together now.
        Knowing you personally, even we are in different cities, my advice/suggestion to you is, grandfather is one of the good/responsible monks around, and he justed wanted you to inform about plagiarism/suspected plagiarism, his intention was to safeguard this site from spammer or so, Think like that. I(we) know that you are not a spammer or somebody, who wants to waste time of monks here

        so cheer up and continue to learn and contribute to perl and its society.

        -- In accordance with the prarabdha of each, the One whose function it is to ordain makes each to act. What will not happen will never happen, whatever effort one may put forth. And what will happen will not fail to happen, however much one may seek to prevent it. This is certain. The part of wisdom therefore is to stay quiet.
        Let me see, you asked on that site in 2005, and now in 2009 you're asking here, because you didn't get a proper result? What happened, a long nap?

        capture all the packets: 1, 2

        I'm afraid you've been caught up in the tail of a bout of silly behaviour (see Way to un-frontpage nodes?) and my reply was somewhat knee jerk - I apologise for that.

        It is generally considered good practise to indicate that you have cross posted a question to another site however, even if it was 4 years ago.

        True laziness is hard work

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://769443]
Approved by vinoth.ree
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2018-06-19 20:57 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (114 votes). Check out past polls.