Skip to content

BSD fixes for v2.4.5 #3155

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

Merged
merged 6 commits into from
Mar 29, 2021
Merged

BSD fixes for v2.4.5 #3155

merged 6 commits into from
Mar 29, 2021

Conversation

guedou
Copy link
Member

@guedou guedou commented Mar 28, 2021

This PR fixes Scapy on OpenBSD, FreeBSD and NetBSD. This PR must be merged to address #3100.

The commits are currently applied to 4bec6ee. All tests works fine on NetBSD 9.1, OpenBSD 6.8 (with cryptography 3.3.2), and FreeBSD 12.1.

@codecov
Copy link

codecov bot commented Mar 28, 2021

Codecov Report

Merging #3155 (b943f41) into master (4bec6ee) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #3155      +/-   ##
==========================================
- Coverage   85.26%   85.26%   -0.01%     
==========================================
  Files         261      261              
  Lines       54349    54349              
==========================================
- Hits        46339    46338       -1     
- Misses       8010     8011       +1     
Impacted Files Coverage Δ
scapy/utils.py 78.30% <100.00%> (ø)
scapy/sendrecv.py 78.08% <0.00%> (-0.16%) ⬇️

except ImportError as ex:
warning("Cannot set filter: %s" % ex)
if NETBSD and filter_attached is False:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wtf. Congratulations for figuring that out 😅

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The crazy part is that Scapy used to work fine on NetBSD...

@guedou guedou marked this pull request as ready for review March 28, 2021 19:38
@guedou guedou merged commit 9652b23 into master Mar 29, 2021
@gpotter2 gpotter2 deleted the v245_bsd_fixes branch March 29, 2021 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants