Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Point me in the right direction - Monitor a Mulicast IP address or stream

by PerlSufi (Friar)
on Aug 20, 2013 at 14:48 UTC ( #1050193=note: print w/replies, xml ) Need Help??


in reply to Point me in the right direction - Monitor a Mulicast IP address or stream

Hi there,
From one new person to another, the first suggestion I would have is that whenever you wonder 'can I do X..?' -always go to search.cpan.org first and search for modules there with good keywords. I have not done all of what you are asking to do with Perl, but I have monitored packets with nmap. Anyways, I have emailed from Perl on many occasions quite successfully with MIME::Entity and MIME::Lite. I personally prefer to use the former. Both of those module's documentation can be found on CPAN. Searching 'IP packets' at CPAN yielded the module NetPacket::IP as the first result. So that may be a good place to start.
If you are using Active State Perl, I suggest running 'ppm install <module-name-here>' on any of those to get you started.
  • Comment on Re: Point me in the right direction - Monitor a Mulicast IP address or stream

Replies are listed 'Best First'.
Re^2: Point me in the right direction - Monitor a Mulicast IP address or stream
by VinsWorldcom (Parson) on Aug 20, 2013 at 15:12 UTC
    PerlSufi: your reply about NetPacket would certainly help in the direction of implementing the 'tcpdump' approach the OP mentioned. May I also suggest the Net::Frame suite as I believe it is more complete based on number of CPAN results returned. That and I also have a bias as I use it (very easy) and have written a few extensions (IPv6 and extension headers, DNS, RIP/ng, etc...) for it.

    Ultimately, I think the IO::Socket::Multicast route with your recommendation of a MIME package for emailing is the best way to go. But then again, TMTOWTDI!

      VinsWorldcom: looking at the documentation, IO::Socket::Multicast looks great, indeed. :)
Re^2: Point me in the right direction - Monitor a Mulicast IP address or stream
by jasonjackal (Initiate) on Aug 20, 2013 at 19:04 UTC
    Thank you for suggesting "Active State Perl". At this point I might use this, since I was a little lost at configuring CPAN on a company server. The latter is due to a number off errors being generated during the install of a package from CPAN, yet I did not fully understand the errors, which I suspect is due to being new with Perl and CPAN. Yet, I am very eger to learn Perl. However, I will still need to learn CPAN, since the very end product will need to be installed on a CentOS6.3 box that is located at a very remote site. thanks again JJ
      Yeah some module's dependencies are difficult to resolve.. usually you will get CPAN errors for things like that. Happy Perl-ing :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1050193]
help
Chatterbox?
[Marshall]: I also looked into PerlApp from Active State, but they don't sell their Dev Kit independent of a very expensive ($1,200) per year license anymore.
[Corion]: I would assume that the PE format hasn't changed that much since the days of yore, but it seems that I would be wrong in that assumption
[Marshall]: When I bought my copy 15+ years ago, it was just a couple hundred bucks.
[Marshall]: I looked at MS specs for PE format and I didn't see any changes in last decade, but evidenly that would be wrong.

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2016-12-08 18:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (144 votes). Check out past polls.