Skip to content

Fix Scapy ctypes usage with Python 3.9 #931

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

vincentbernat
Copy link
Contributor

The embedded version of Scapy is using find_library("libc") which is incorrect. This does not work anymore with Python 3.9. This should use find_library("c") instead (which also works for older versions). See secdev/scapy#3000 for more details.

Anoher option would be to upgrade Scapy to 2.4.5, where this bug is fixed.

Signed-off-by: Vincent Bernat [email protected]

The embedded version of Scapy is using `find_library("libc")` which is
incorrect. This does not work anymore with Python 3.9. This should use
`find_library("c")` instead (which also works for older versions). See
secdev/scapy#3000 for more details.

Anoher option would be to upgrade Scapy to 2.4.5, where this bug is
fixed.

Signed-off-by: Vincent Bernat <[email protected]>
@trex-bot
Copy link

Checked SHA: 6750a8e
Status: SUCCESS ✔️
Link to job: http://81.218.86.50:8080/job/trex_build/710/

@hhaim
Copy link
Contributor

hhaim commented Oct 20, 2022

rebased

@hhaim hhaim closed this Oct 20, 2022
@bdollma bdollma reopened this Feb 21, 2023
@bdollma bdollma closed this Feb 21, 2023
@trex-bot
Copy link

Checked SHA: 6750a8e
Status: SUCCESS ✔️
Link to job: http://81.218.86.50:8080/job/trex_build/751/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants