Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #37417

Re: Parse a Wireshark pcap file

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!news.nosignal.org!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'url:pypi': 0.03; '16,': 0.03; 'error:': 0.05; 'importerror:': 0.05; 'dependency': 0.07; 'subject:file': 0.07; 'python': 0.09; '75,': 0.09; 'bsd': 0.09; 'conf': 0.09; 'question?': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'library': 0.15; 'interfaces': 0.15; 'failed.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'sudo': 0.16; 'there...': 0.16; 'jan': 0.18; 'module': 0.19; 'skip:" 40': 0.20; 'import': 0.21; 'libraries': 0.22; 'kevin': 0.23; 'installed': 0.23; 'downloaded': 0.24; 'tried': 0.25; 'compiled': 0.27; 'skip:" 50': 0.27; 'header:X-Complaints-To:1': 0.28; 'fine': 0.28; 'install': 0.29; 'point': 0.31; 'url:python': 0.32; 'file': 0.32; 'mac': 0.32; 'could': 0.32; 'url:home': 0.33; 'to:addr:python-list': 0.33; 'likely': 0.33; "can't": 0.34; 'clear': 0.35; 'received:org': 0.36; 'but': 0.36; 'url:org': 0.36; '12,': 0.36; 'charset:us- ascii': 0.36; 'subject:: ': 0.38; 'object': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; '20,': 0.65; './configure': 0.84; '2013': 0.84; 'dennis': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: Parse a Wireshark pcap file
Date Wed, 23 Jan 2013 01:24:39 -0500
Organization > Bestiaria Support Staff <
References <CAN4UfGzwzHJvpY=Er2B2otZMBm=8eVA6FDGejJbirXLZFTXvsg@mail.gmail.com> <50FF5312.50309@davea.name> <CAN4UfGzBv=OjNZy-+_jzZHuWhP44FmcBa_O5pT01QDFkvLGOOw@mail.gmail.com> <50FF5910.7060309@davea.name> <CAN4UfGwxEBoe9XeAuuoiqXu2_4Zav39D8chc7E67np6D+hcfwg@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host adsl-76-253-99-200.dsl.klmzmi.sbcglobal.net
X-Newsreader Forte Agent 3.3/32.846
X-No-Archive YES
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.867.1358922591.2939.python-list@python.org> (permalink)
Lines 46
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1358922591 news.xs4all.nl 6890 [2001:888:2000:d::a6]:35641
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:37417

Show key headers only | View raw


On Tue, 22 Jan 2013 22:43:24 -0500, Kevin Holleran <kdawg44@gmail.com>
declaimed the following in gmane.comp.python.general:

> 
> Mac OS 10.8.2
> Python v.2.7
> I downloaded from the sourceforge site, then tried to install with MacPorts
> when some dependencies were failing.  I then downloaded & installed
> pcapy-0.10.6 when that dependency still failed.  That solved that but I
> received the dnet error:
> 
>     from scapy.all import conf
>   File "/Library/Python/2.7/site-packages/scapy/all.py", line 16, in
> <module>
>     from arch import *
>   File "/Library/Python/2.7/site-packages/scapy/arch/__init__.py", line 75,
> in <module>
>     from bsd import *
>   File "/Library/Python/2.7/site-packages/scapy/arch/bsd.py", line 12, in
> <module>
>     from unix import *
>   File "/Library/Python/2.7/site-packages/scapy/arch/unix.py", line 20, in
> <module>
>     from pcapdnet import *
>   File "/Library/Python/2.7/site-packages/scapy/arch/pcapdnet.py", line
> 160, in <module>
>     import dnet
> ImportError: No module named dnet
> 
> So I downloaded and compiled libdnet-1.11 with a:
>  $ sudo ./configure && make
> 
> I see it compile fine & the libraries have been installed to:
> /usr/local/sbin/dnet
> 
> However, python can't find it... I am not clear on how to point Python
> there...
> 
	"libdnet" is likely a shared object binary... What I /think/ you are
missing is the Python library that interfaces with that binary...

	Could http://pypi.python.org/pypi/dnet answer the question?
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
        wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Parse a Wireshark pcap file Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-01-23 01:24 -0500

csiph-web