Fellow monks,

I need advice about a program im currently working on (as hobby, not work :).

Im writing a msn client (well, currently it is just a sniffer... :P)

Im using this modules for the main application:

Net::Pcap
NetPacket::Ethernet
NetPacket::TCP
NetPacket::IP

and Term::ANSIColor to make it have a nice look. I will port it to GTK asap.
I use also Data::Dumper, and of course, strict and -w ;).

What im really wondering if it is worth the effort of analysing the whole protocol (there is useful documentation here), and scramble and unscramble every single packet, at level 3 or 4 OSI, rather than using sockets, or a more high level library (Net::MSN lacks of a good api documentation).

So, my choices are: reinventig the weel, and maybe produce a better documentation, or try to do it in a more conventional way (say, higher level rather than analyzing packets byte by byte).

Under my point of view, doing this at lowest level as possible easiest the handling of new versions of the protocol, and also reimplements something not very well documented at all.

I personally find this a good idea, but id like to hear different oppinions.

Kind regards!

In reply to MSN Library/Client by fauria

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.