[orbit-user] Help with Orbit Traffic Listener

Akash Baid akashbaid at gmail.com
Sat Aug 15 17:18:12 EDT 2009


Hi,
I tried the updated trace_oml2 from the oml repository but am getting the
following error:

ERROR NodeApp: /usr/bin/trace_oml2: error while loading shared libraries:
liboml2.so.0: cannot open shared object file: No such file or directory

I am fairly new to omf/oml so would really appreciate any help with this.
Also I was wondering as to what will be the process to create a table which
collects all the measurement points from this application

Regards,
Akash


On Fri, Aug 14, 2009 at 3:45 AM, Guillaume Jourjon <
guillaume.jourjon at nicta.com.au> wrote:

> Hi,
>
> I might have succeed to configure the application trace_oml2 to interpret
> radiotap information. Could you test it on orbit? You'll need to install the
> newest version of both libtrace3.0.6 and libpcap0.8-1.0.1. These package
> will have to be installed manually. The trace_oml2 application can be built
> with the latest version of the repository of OML on
> http://omf.mytestbed.net/
> Once this is compiled you can just add these definitions at the beginning
> of your script and it will/should start the application.
>
> defApplication('otl2', 'otl2') {|a|
>  a.version(1, 1, 2)
>  a.shortDescription = "Programmable traffic passive listener"
>
>
>  # defProperty(name, description, mnemonic, type, isDynamic = false,
> constraints = nil)
>  a.defProperty('oml-server', 'Contact details for the oml collection
> server')
>  a.defProperty('oml-id', 'ID for this oml client')
>  a.defProperty('oml-exp-id', 'ID for this experiment')
>  a.defProperty('interface', 'File with the definition of filters to use')
>  a.path = "/root/trace_oml2"
>
> }
>
>
> defPrototype("listener") { |p|
>  p.name = "Listener"
>  p.description = "A node which listen for packets through a given
> interface"
>  # List properties of prototype
>  p.defProperty('omlServer', 'Contact details for the oml collection
> server', "tcp:#{OmlApp.getServerAddr}:#{OmlApp.getServerPort}")
>  p.defProperty('id', 'ID for this oml client', "#{Experiment.ID}")
>  p.defProperty('expId', 'ID for this experiment', "#{Experiment.ID}")
>
>  p.defProperty('interface', 'Listen on this given interface')
>
>   p.addApplication(:otl2, "otl2") {|otl|
>     otl.bindProperty('oml-server', 'omlServer')
>     otl.bindProperty('oml-id', 'id')
>     otl.bindProperty('oml-exp-id', 'expId')
>     otl.bindProperty('interface', 'interface')
> }
> }
>
> defGroup('listener', [1,1]) {|node|
>  node.prototype("listener", {
>               'interface' => "pcapint:ath0"
>  })
> }
>
> Do not hesitate to contact me if needed. I'll test it too this weekend once
> we update a couple of software at NICTA.
>
> Regards,
>
> Guillaume
>
> Akash Baid wrote:
>
>> Hi,
>>
>> Thanks Guillaume for the prompt reply. The new application based on
>> libtrace should really help us a lot. Will look forward for that and will
>> try to work with the current one for now.
>> Regards,
>> Akash
>>
>> On Thu, Aug 13, 2009 at 7:30 PM, Guillaume Jourjon <
>> guillaume.jourjon at nicta.com.au <mailto:guillaume.jourjon at nicta.com.au>>
>> wrote:
>>
>>    Hi,
>>
>>    the application in the repository is at
>>    http://www.mytestbed.net/repositories/browse/oml/trunk/app/src/c/
>>    . Nevertheless, a new application more complete in the set of
>>    possible measurement has been developed: omf_trace.c This new
>>    application is based on the libtrace and should allow you more
>>    modularity. I need to change the listener wrapper to make it
>>    compliant with this new application. In the mean you can use the
>>    former listener application with the following syntax:
>>    defGroup(’listener’, [1,10]) {|node|
>>    info(" ------ Define the group Listener")
>>    node.prototype("test:proto:listener2" , {
>>    ’interface’ => ’ath0’,
>>    ’sourceIP’ => ’192.168.0.13’
>>    })
>>    }
>>
>>    I think there is a limitation about this application in the sense
>>    that you need to specify the IP address of the source. I'll keep
>>    you inform when the new wrapper is available, probably in a couple
>>    of hours.
>>
>>    Concerning the RSSI, I need to have a closer look in the pcap
>>    library (and the libtrace too).
>>
>>    Regards
>>
>>    Guillaume
>>
>>    Akash Baid wrote:
>>
>>        Hi,
>>
>>        I am trying to use the Orbit Traffic Listener as described in
>>        http://www.mytestbed.net/wiki/oml/ (passive measurement with
>>        libpcap). From what I got, the listener2 proto wraps around
>>        the otl2 application (from the otl2.rb file, i guess the name
>>        of the actual application in /usr/bin is app_pcap_oml2). Can
>>        someone help me with an example of how to use this to create a
>>        database of captured data from any source. I can't find a link
>>        to see the code of the actual application in the repository.
>>
>>        Also I was wondering where to make changes to get additional
>>        fields like RSSI through this method
>>
>>        Thanks,
>>        Akash
>>
>>        On Fri, Aug 7, 2009 at 11:10 AM, neha kochar
>>        <nehakochar1 at gmail.com <mailto:nehakochar1 at gmail.com>
>>        <mailto:nehakochar1 at gmail.com <mailto:nehakochar1 at gmail.com>>>
>>        wrote:
>>
>>           Hi,
>>
>>           I have been trying for a long time but node1-1 of sb5 is not
>>           responding.
>>
>>           Regards,
>>
>>           Neha Kochar.
>>
>>           _______________________________________________
>>           orbit-user mailing list
>>           orbit-user at orbit-lab.org <mailto:orbit-user at orbit-lab.org>
>>        <mailto:orbit-user at orbit-lab.org
>>        <mailto:orbit-user at orbit-lab.org>>
>>
>>           http://orbit-lab.org/cgi-bin/mailman/listinfo/orbit-user
>>
>>
>>
>>
>>    --    Guillaume Jourjon
>>    Researcher Australian Technology Park Research Lab, Sydney
>>
>>    NICTA | Locked Bag 9013 | Alexandria NSW 2015 Australia
>>    T +61 2 9376 2111 | F +61 2 9376 2024
>>    www.nicta.com.au <http://www.nicta.com.au> |
>>    guillaume.jourjon at nicta.com.au <mailto:guillaume.jourjon at nicta.com.au>
>>
>>    From imagination to impact
>>
>>
>>
>>    _______________________________________________
>>    orbit-user mailing list
>>    orbit-user at orbit-lab.org <mailto:orbit-user at orbit-lab.org>
>>    http://orbit-lab.org/cgi-bin/mailman/listinfo/orbit-user
>>
>>
>>
>
> --
> Guillaume Jourjon
> Researcher Australian Technology Park Research Lab, Sydney
>
> NICTA | Locked Bag 9013 | Alexandria NSW 2015 Australia
> T +61 2 9376 2111 | F +61 2 9376 2024
> www.nicta.com.au | guillaume.jourjon at nicta.com.au
>
> From imagination to impact
>
>
> _______________________________________________
> orbit-user mailing list
> orbit-user at orbit-lab.org
> http://orbit-lab.org/cgi-bin/mailman/listinfo/orbit-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://orbit-lab.org/pipermail/orbit-user/attachments/20090815/0ba49274/attachment.htm>


More information about the orbit-user mailing list