Hi ,

I was testing PacketManipulator in Mac OS X. I never tried make a capture in
OSX. But now I was need to do to my stuff.

Packet Manipulator run fine, but when I go to Capture - Interface or Ctrl +
I he returns a traceback:

(DBG) MainThread:165ms at MainWindow.py:239 register_tab(): Tab Python Shell
registered as PythonShellTab
Traceback (most recent call last):
  File
"/Users/luis/Documents/Projects/umit/umit-svn/branch/PacketManipulator/PM/Gui/Core/MainWindow.py",
line 507, in __on_select_iface
    dialog = InterfaceDialog(self)
  File
"/Users/luis/Documents/Projects/umit/umit-svn/branch/PacketManipulator/PM/Gui/Dialogs/Interface.py",
line 288, in __init__
    self.if_list = InterfaceList()
  File
"/Users/luis/Documents/Projects/umit/umit-svn/branch/PacketManipulator/PM/Gui/Dialogs/Interface.py",
line 262, in __init__
    self.__populate()
  File
"/Users/luis/Documents/Projects/umit/umit-svn/branch/PacketManipulator/PM/Gui/Dialogs/Interface.py",
line 265, in __populate
    for iface in Backend.find_all_devs():
  File
"/Users/luis/Documents/Projects/umit/umit-svn/branch/PacketManipulator/PM/Backend/Scapy/utils.py",
line 123, in find_all_devs
    ifaces = get_if_list()
NameError: global name 'get_if_list' is not defined


I think that it's a scapy not implemented function in unix.py. Is it? Or
there is another way to check interfaces in OS X or BSD?

In Mac OS X there are devices that represents network interfaces:

ls /dev/bpf*
/dev/bpf0 /dev/bpf1 /dev/bpf2 /dev/bpf3 /dev/bpf4

is it a business from scapy?


Cheers,
-- 
Luis A. Bastiao Silva
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Umit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/umit-devel

Reply via email to