num3a / pyrit

Automatically exported from code.google.com/p/pyrit
0 stars 0 forks source link

UserWarning: Failed to compile BPF-filter. #351

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
pyrit -r test2.pcap analyze
Pyrit 0.4.1-dev (svn r308) (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+

Parsing file 'test2.pcap' (1/1)...
/usr/lib64/python2.6/site-packages/cpyrit/pckttools.py:507: UserWarning: Failed 
to compile BPF-filter. This may be due to a bug in Pyrit or because your 
version of libpcap is too old. Falling back to unfiltered processing...
  warnings.warn("Failed to compile BPF-filter. This may be due to " \
Parsed 2257 packets (0 802.11-packets), got 0 AP(s)

No valid EAOPL-handshake + ESSID detected.

2.
 locate pyrit
/root/.pyrit
/root/.pyrit/config
/usr/bin/pyrit
/usr/lib64/python2.6/site-packages/cpyrit
/usr/lib64/python2.6/site-packages/cpyrit_cuda-0.4.0-py2.6.egg-info
/usr/lib64/python2.6/site-packages/pyrit-0.4.0-py2.6.egg-info
/usr/lib64/python2.6/site-packages/pyrit_cli.py
/usr/lib64/python2.6/site-packages/pyrit_cli.pyc
/usr/lib64/python2.6/site-packages/pyrit_cli.pyo
/usr/lib64/python2.6/site-packages/cpyrit/__init__.py
/usr/lib64/python2.6/site-packages/cpyrit/__init__.pyc
/usr/lib64/python2.6/site-packages/cpyrit/__init__.pyo
/usr/lib64/python2.6/site-packages/cpyrit/_cpyrit_cpu.so
/usr/lib64/python2.6/site-packages/cpyrit/_cpyrit_cuda.so
/usr/lib64/python2.6/site-packages/cpyrit/config.py
/usr/lib64/python2.6/site-packages/cpyrit/config.pyc
/usr/lib64/python2.6/site-packages/cpyrit/config.pyo
/usr/lib64/python2.6/site-packages/cpyrit/cpyrit.py
/usr/lib64/python2.6/site-packages/cpyrit/cpyrit.pyc
/usr/lib64/python2.6/site-packages/cpyrit/cpyrit.pyo
/usr/lib64/python2.6/site-packages/cpyrit/network.py
/usr/lib64/python2.6/site-packages/cpyrit/network.pyc
/usr/lib64/python2.6/site-packages/cpyrit/network.pyo
/usr/lib64/python2.6/site-packages/cpyrit/pckttools.py
/usr/lib64/python2.6/site-packages/cpyrit/pckttools.pyc
/usr/lib64/python2.6/site-packages/cpyrit/pckttools.pyo
/usr/lib64/python2.6/site-packages/cpyrit/storage.py
/usr/lib64/python2.6/site-packages/cpyrit/storage.pyc
/usr/lib64/python2.6/site-packages/cpyrit/storage.pyo
/usr/lib64/python2.6/site-packages/cpyrit/util.py
/usr/lib64/python2.6/site-packages/cpyrit/util.pyc
/usr/lib64/python2.6/site-packages/cpyrit/util.pyo

What is the expected output? What do you see instead?

No errors,

What version of the product are you using? On what operating system?

CentOS 6.0(Final)

Please provide any additional information below.

Although it was described by the past question that it was necessary to add an 
iee802.11-filterling option, please tell me where it describes.

Original issue reported on code.google.com by jmor...@gmail.com on 22 Sep 2011 at 2:55

GoogleCodeExporter commented 8 years ago
I have the same issue on debian 5 with latest svn

Original comment by frozenpo...@aol.com on 24 Oct 2011 at 10:12

GoogleCodeExporter commented 8 years ago
I also have the same problem.  Here is the tcap file I captured with KisMac and 
the stripped file. The file looks OK when I view it in wireshark.

Original comment by Bob.Mils...@gmail.com on 4 Mar 2012 at 8:07

Attachments:

GoogleCodeExporter commented 8 years ago
i have the same problem and i know i have a newer version of libpcap installed.

it doesn't seem to look for the library the right way or something. it keeps 
being determined on using 0.8 when 1.3.0 is definitely there.

i'm using debian unstable

Original comment by mcja...@gmail.com on 20 Dec 2012 at 1:50

GoogleCodeExporter commented 8 years ago
I have the same problem on Ubuntu when using pcap dump with PPI headers

Original comment by peteli...@gmail.com on 6 Mar 2015 at 2:07