Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Help with Lorcon XS library

by Bpl (Scribe)
on Jul 24, 2020 at 08:32 UTC ( [id://11119737]=note: print w/replies, xml ) Need Help??


in reply to Re: Help with Lorcon XS library
in thread Help with Lorcon XS library

Hi, Think that Lorcon2 can be considered a finished project, not a software with updates, one of the most interesting things that I've found is the possibility to sniff frames from multiple interfaces (already implemented but need testing). In general the Net::Lorcon2 can be an all-in-one perl module, with more features than Net::Pcap ( it uses it, in effect) and a better way of Net::Frame, it would be possible to built only with perl modules but the work would be bigger,maybe in future I'll do that :) Yes, my version is still unstable.. for now try the GomoR version. these interfaces are quite interesting, I'm start thinking that my computer doesn't support lorcon,you know, the tuntap device is an abstraction layer for sending and receiving packets directly from/to other application (they simulate an ethernet connection)
a good module which offer the tuntap manipulation is Linux::TunTap
The madwifing is my same driver, and it is considered the last way for sending packets (if the network card can't) while mac80211 is a wireless driver supported by Lorcon (and probably the suggested by the software), so in general it is possible to send infected packet with it. if you see the test you will understand a problem, this:
if(!$ENV{LORCON_IF} || !$ENV{LORCON_INJ}) { plan skip_all => "Set LORCON_IF and LORCON_INJ to a valid interfac +e and injector name to run these tests # second test
which means that it require 2 enviroment variables ( probably made by lorcon ), can you please try to inject some packet? if everything works, can you start using also my library? in maximun 1 day you will have the list of new function which I would like to test ( if you haven't enough time don't worry : ) Regards Edoardo small correction you want the drivers, not interface (which is like to wlan0, wlo1, lo ecc..) for find automatic interfaces, I suggest you the Net::Pcap::lookupdev() function from Net::Pcap,which permit you to find the best interface for sniffing.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11119737]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-26 00:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found