Skip to content
Snippets Groups Projects
  1. Mar 30, 2017
  2. Mar 28, 2017
    • Pierre Lorinquer's avatar
      Fix EAP_MD5 "len" field computation. · 2cd6d334
      Pierre Lorinquer authored
      The default values of the "value_size" field is None. This can trigger
      an issue
      when computing the "len" field.
      
      Test: str(EAP_MD5())
      
      In order to fix this issue, the default value of the "value_size" field
      has been set to 0.
      
      Tests have been added in "regression.uts".
      
      Added regression tests for EAP_TLS and EAP_FAST.
      
      Use XStrLenField in EAP_MD5, EAP_TLS and EAP_FAST packets instead of StrLenField.
      
      Delete blank lines before the class description (EAPOL, EAP, EAP_MD5, EAP_TLS and EAP_FAST packet classes).
      
      "registered_options" dictionary was renamed "registered_methods"
      (EAP-MD5, EAP-TLS etc are not options, but authentication methods).
      
      EAP getlayer() and haslayer() methods have been overloaded in order to
      allow access to a given "EAP layer" (such as EAP_TLS, for instance) by
      providing the parent class name ("EAP"). For example, this is now
      possible:
      
      >>> eap_tls = EAP_TLS()
      >>> EAP_TLS in eap_tls
      True
      >>> EAP in eap_tls
      True
      >>> eap_tls[EAP_TLS]
      <EAP_TLS  |>
      >>> eap_tls[EAP]
      <EAP_TLS  |>
      
      Regression tests have been added.
      2cd6d334
  3. Mar 23, 2017
  4. Mar 22, 2017
  5. Mar 21, 2017
  6. Mar 15, 2017
  7. Mar 11, 2017
  8. Mar 10, 2017
  9. Mar 09, 2017
  10. Mar 06, 2017
  11. Mar 05, 2017
  12. Feb 22, 2017
  13. Feb 16, 2017
  14. Feb 14, 2017
  15. Feb 10, 2017
  16. Feb 08, 2017
  17. Feb 07, 2017
  18. Feb 01, 2017
  19. Jan 31, 2017
  20. Jan 29, 2017
  21. Jan 26, 2017
  22. Jan 25, 2017
  23. Jan 24, 2017
  24. Jan 21, 2017
Loading