2009/3/30 Luis A. Bastiao Silva <[email protected]>:
> Hi
>
> On Mon, Mar 30, 2009 at 9:38 AM, Abhiram Kasina <[email protected]>
> wrote:
>>
>> Hi
>>
>>> Nice idea. Probably it's better to split the code in two, by creating
>>> a general widget to create graphs like graphviz does,
>>
>> What do you mean, by " like graphviz does"? How does graphviz do it? Could
>> you elaborate a bit more?

Not properly. Graphviz is a program that generates a graph image
starting from a string input. What I suggest is to create a gtk widget
that could understand string like graphviz does and present this
information by drawing graph,arches, etc directly on the widget. In
this case we have a general widget that could be used for various
situation and can held various kind of graph specification.

An example is:

digraph G {
  Hello [URL="http://en.wikipedia.org/wiki/Hello";]
  World [URL="http://en.wikipedia.org/wiki/World";]
    Hello -> World

that is presented like http://jrfonseca.googlecode.com/svn/wiki/xdot-sample.png

You could take a look at xdot project
http://code.google.com/p/jrfonseca/wiki/XDot
Btw this solution will add graphviz as dependency.

>
> Graphviz it's a graph representation. What Francesco suggests it that we can
> use it in Traffic analyzer. But traffic analyzer need to draw in runtime.
>
>>
>>
>>>
>>> another module  to manage the packet parsing and evaluation, and another
>>> one to use these 2 module to produce the result.
>>
>>
>> Does PM do packet parsing and showing as of now? I mean, I tried sending
>> an ICMP ping, but I coudn't see the reply in the same window. But, if I
>> sniff the packets at that time, there it could be detected.
>> Can I infer that even this filtering needs to be done, so that we know
>> which is the reply to my ICMP packet?

PM already supports this. Maybe you have select only to send the
sequence and not to evaluate the packets received. There's another
button with an arrow pointing to the bottom that's support send and
receive of matching packets. I suggest you to see the Scapy backend
code to well understand the situation, and also take a look to
official scapy documentation.

>
> If you wanna make Message Sequence Chart and/or Traffic Analyzer you need to
> firstly parse the results and get the source, destination, etc of each
> packets (traffic) and get the type of packets(TCP, UDP, HTTP.. sequence
> numbers...). It's just parsing the results.
> Next level it's use this parse and show a powerful graphical interface to
> user could visualize it.
>
>>
>> Thanks
>> Abhiram Kasina (casinaroyale)
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Umit-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/umit-devel
>>
>
>
> Best Regards,
> --
> Luís A. Bastião Silva
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Umit-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/umit-devel
>
>



-- 
Best regards,
Francesco Piccinno

------------------------------------------------------------------------------
_______________________________________________
Umit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/umit-devel

Reply via email to