qweasdzxc17 / pyrit

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

UserWarning: Failed to compile BPF-filter. This may be due to a bug in Pyrit or because your version of libpcap is too old. #131

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
purehate says: 

What steps will reproduce the problem?
1.
[root@home cpyrit]# crunch 9 9  1234567890 | pyrit -e UPC586608 -i - -r 
UPC586608-08:24:02.cap attack_passthrough
Pyrit 0.3.1-dev (svn r239) (C) 2008-2010 Lukas Lueg 
http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+

Parsing file 'UPC586608-08:24:02.cap' (1/1)...
/usr/lib64/python2.6/site-packages/cpyrit/pckttools.py:415: 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 393 packets (393 802.11-packets), got 5 AP(s)

Picked AccessPoint 00:26:18:28:09:4c automatically...
Tried 120006 PMKs so far; 24136 PMKs per second.

What is the expected output? What do you see instead?
I expected the new lib cap filter to work as detailed in this post

http://pyrit.wordpress.com/2010/03/07/fast-forwarding-sir/
What version of the product are you using? On what operating system?
I ma using Cent OS 5.4 with pyrit from SVN. I realize Cent OS normally has 
older packages but I have gotten the latest libcap from Git and still have 
the issue

[root@home ~]# locate libpcap
/root/libpcap
/usr/lib/libpcap.a
/usr/lib/libpcap.so
/usr/lib/libpcap.so.0
/usr/lib/libpcap.so.0.9
/usr/lib/libpcap.so.0.9.4
/usr/lib64/libpcap.a
/usr/lib64/libpcap.so
/usr/lib64/libpcap.so.0
/usr/lib64/libpcap.so.0.9
/usr/lib64/libpcap.so.0.9.4
/usr/local/lib/libpcap.a
/usr/local/lib/libpcap.so
/usr/local/lib/libpcap.so.1
/usr/local/lib/libpcap.so.1.2-PRE-GIT
/usr/share/doc/libpcap-0.9.4
/usr/share/doc/libpcap-0.9.4/CHANGES
/usr/share/doc/libpcap-0.9.4/LICENSE
/usr/share/doc/libpcap-0.9.4/README

Please provide any additional information below.

Original issue reported on code.google.com by twenty...@gmail.com on 29 Mar 2010 at 11:02

GoogleCodeExporter commented 8 years ago
libpcap >= 1.0 is required to iee802.11-filtering

Original comment by lukas.l...@gmail.com on 2 Apr 2010 at 8:03