[pypy-issue] [issue1525] "unknown address family" when sending a packet with Scapy

secwineman tracker at bugs.pypy.org
Wed Jul 3 10:06:00 CEST 2013

New submission from secwineman <nicolasbd at hotmail.fr>:

I'm using pypy 2.0.2 (downloaded here :
http://people.debian.org/~stefanor/pypy/wheezy/ ) on Kali Linux 1.0.3(based on
Debian Wheezy).

I installed the scapy module with the following command : pypy setup.py install.
No error has been returned.

Then I tried to send a simple packet using Scapy with the pypy interpretor. I
got the following error message : 

">>> send(IP(dst=""))
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "/usr/local/lib/pypy2.7/dist-packages/scapy/sendrecv.py", line 251, in send
    __gen_send(conf.L3socket(*args, **kargs), x, inter=inter, loop=loop,
count=count,verbose=verbose, realtime=realtime)
  File "/usr/local/lib/pypy2.7/dist-packages/scapy/sendrecv.py", line 234, in
  File "/usr/local/lib/pypy2.7/dist-packages/scapy/arch/linux.py", line 379, in send
  File "<string>", line 1, in bind
error: unknown address family" 

This same scapy command works fine with the standard Python interpretor.

messages: 5896
nosy: pypy-issue, secwineman
priority: bug
release: 2.0
status: unread
title: "unknown address family" when sending a packet with Scapy

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list