Skip to content

Conversation

adriangranados
Copy link
Contributor

BlockAck Request frames have RA (addr1) and TA (addr2) addresses. Only addr1 was being parsed. Also, sorted list of subtypes that have an addr2 field for legibility.

@codecov-io
Copy link

codecov-io commented Feb 23, 2018

Codecov Report

Merging #1175 into master will increase coverage by 0.34%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1175      +/-   ##
==========================================
+ Coverage   83.72%   84.06%   +0.34%     
==========================================
  Files         159      159              
  Lines       38075    38211     +136     
==========================================
+ Hits        31878    32122     +244     
+ Misses       6197     6089     -108
Impacted Files Coverage Δ
scapy/layers/dot11.py 89.84% <ø> (ø) ⬆️
scapy/layers/can.py 78.04% <0%> (-21.96%) ⬇️
scapy/layers/netflow.py 94.73% <0%> (-2.14%) ⬇️
scapy/layers/tls/keyexchange.py 83.04% <0%> (-1.72%) ⬇️
scapy/layers/tls/record_sslv2.py 87.15% <0%> (-1.68%) ⬇️
scapy/contrib/mpls.py 94.11% <0%> (-1.34%) ⬇️
scapy/layers/tls/record.py 91.2% <0%> (-0.88%) ⬇️
scapy/layers/tls/basefields.py 79.59% <0%> (-0.69%) ⬇️
scapy/asn1/ber.py 82% <0%> (-0.29%) ⬇️
scapy/fields.py 90.52% <0%> (-0.09%) ⬇️
... and 8 more

@guedou
Copy link
Member

guedou commented Feb 24, 2018

Thanks for your PR. Could you provide an example, and add a unit test in regression.uts ?

@adriangranados
Copy link
Contributor Author

Not sure what you want as an example. I can provide a .pcap containing a BlockAck Request frame if that's what you mean.

@adriangranados
Copy link
Contributor Author

Also, what do you exactly want to include in the regression test? (Sorry, never done it before, but would like to learn).

@guedou
Copy link
Member

guedou commented Feb 25, 2018

@adriangranados Please read https://github.com/secdev/scapy/blob/master/CONTRIBUTING.md and get back to us if you have questions

@adriangranados
Copy link
Contributor Author

I've added the unit test. Let me know if something else's needed.

@guedou
Copy link
Member

guedou commented Feb 28, 2018

That's perfect! Thanks.

@guedou guedou merged commit e42ecdc into secdev:master Feb 28, 2018
mcoops added a commit to mcoops/gopacket that referenced this pull request Mar 20, 2024
Similar to secdev/scapy#1175, only RA (addr1) is being parsed at the moment, update to include the processing of TA (addr2).
mosajjal pushed a commit to gopacket/gopacket that referenced this pull request Mar 23, 2024
Similar to secdev/scapy#1175, only RA (addr1) is being parsed at the moment, update to include the processing of TA (addr2).
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.

3 participants