pypy / pypy

PyPy is a very fast and compliant implementation of the Python language.
https://pypy.org
Other
934 stars 55 forks source link

Support for AF_xxx sockets #1942

Open gitlab-importer opened 9 years ago

gitlab-importer commented 9 years ago

In Heptapod by @arigo on Dec 3, 2014, 11:02

PyPy's sockets don't support all the AF_xxx address families that only work (and can only be tested) when running as root, or that are more or less deprecated nowadays. What should we do about them? Add them as people report a need for them, as long as they are not too much of the deprecated kind?

(An example where the AF_PACKET family was needed: http://stackoverflow.com/questions/27186685/scapy-showing-error-with-pypy)

Update: AF_PACKET added. AF_NETLINK appears to be supported (adding a test would be cool). Still missing are only AF_TIPS and AF_BLUETOOTH, if we read socketmodule.c correctly.

gitlab-importer commented 9 years ago

In Heptapod by bitbucket_importer on Dec 4, 2014, 13:55

Created originally on Bitbucket by fijal (Maciej Fijalkowski)

I think we should implement them (some of those are really necessary for using scapy as a sniffer (which then runs only as root))

gitlab-importer commented 9 years ago

In Heptapod by bitbucket_importer on Dec 8, 2014, 08:36

Created originally on Bitbucket by fijal (Maciej Fijalkowski)

Maybe we should file it under tag:easy?

gitlab-importer commented 9 years ago

In Heptapod by @arigo on Dec 19, 2014, 09:25

I'm not sure what you mean exactly nowadays, so I can't do it myself. Please do the filing as appropriate :-)

gitlab-importer commented 9 years ago

In Heptapod by @arigo on Mar 14, 2015, 21:31

Support for AF_PACKET was added in the now-fixed issue #1090.

gitlab-importer commented 8 years ago

In Heptapod by bitbucket_importer on Dec 14, 2015, 14:06

Created originally on Bitbucket by vincentlegoll (Vincent Legoll)

Can someone have a look at https://bitbucket.org/vincentlegoll/pypy-for-upstream2/commits/8efe61eca1d42d1b4b71470bb92aa953c7ac66c5?at=default

This is a test for AF_NETLINK, I'll create a PR for it later

gitlab-importer commented 8 years ago

In Heptapod by @arigo on Dec 14, 2015, 15:16

This is a dead link.

gitlab-importer commented 8 years ago

In Heptapod by bitbucket_importer on Dec 14, 2015, 19:55

Created originally on Bitbucket by vincentlegoll (Vincent Legoll)

Argh, I renamed the repo fork... :-/

Here is the new one:

https://bitbucket.org/vincentlegoll/pypy-for-upstream/commits/8efe61eca1d42d1b4b71470bb92aa953c7ac66c5

gitlab-importer commented 8 years ago

In Heptapod by bitbucket_importer on Dec 16, 2015, 12:44

Created originally on Bitbucket by vincentlegoll (Vincent Legoll)

PR 372

gitlab-importer commented 8 years ago

In Heptapod by @arigo on Dec 16, 2015, 15:31

Thanks! :-)

gitlab-importer commented 8 years ago

In Heptapod by bitbucket_importer on Dec 28, 2015, 13:10

Created originally on Bitbucket by vincentlegoll (Vincent Legoll)

related to issue 1525

gitlab-importer commented 8 years ago

In Heptapod by bitbucket_importer on Feb 19, 2016, 07:56

Created originally on Bitbucket by fijal (Maciej Fijalkowski)

Is this one merged?

gitlab-importer commented 8 years ago

In Heptapod by @arigo on Feb 19, 2016, 08:44

Please don't close this issue until we support all the same address families as CPython.

devdanzin commented 3 months ago

On Linux, on 3.9.19, these address families are missing:

On Windows, on 3.10, these address families are missing: