Skip to content
Snippets Groups Projects
  1. Mar 27, 2017
  2. Mar 24, 2017
  3. Mar 23, 2017
    • gpotter2's avatar
      Fix automaton tests · fddf6573
      gpotter2 authored
      fddf6573
    • Pierre Lalet's avatar
      Merge pull request #575 from 6WIND/gitversion-fix · 75aa97f1
      Pierre Lalet authored
      Only read version from git when in scapy
      75aa97f1
    • Ján Sebechlebský's avatar
      Fix EAP (#557) · c2333696
      Ján Sebechlebský authored
      * Add message field in EAP-Indentity request
      
      EAP-Identity request may contain message as stated in RFC3748.
      
      * Fix fragmented EAP-TLS
      
      Current implementation fails to dissect fragmented EAP-TLS.
      Fragmented EAP-TLS messages are quite common, in this case only
      first EAP-TLS will contain tls_message_len field (indicated by L bit),
      which will be total length of reassembled tls message.
      
      Length of tls payload in single EAP-TLS message should therefore
      be determined by EAP.len field (see RFC5216-Fragmentation).
      
      To implement this I find reasonable to make EAP-TLS subclass of EAP.
      
      * Fix fragmented EAP-FAST
      
      Implementation of EAP-FAST suffers from the same issue as EAP-TLS,
      see previous commit message.
      
      * Fix EAP-MD5 Dissection
      
      Implementation of EAP-MD5 was not following RFC3748 (which is
      referencing RFC1994) properly.
      
      Field value_size is determining only size of value_field.
      It might have length different than 16B in EAP-MD5 request,
      because in that case it is not used to transmit MD5 hash,
      but random challenge value.
      Size of optional_name(extra data) is determined as "rest of" EAP message
      (len field of EAP).
      c2333696
    • Robin Jarry's avatar
      Only read version from git when in scapy · 4584f36a
      Robin Jarry authored
      
      Scapy may be used as third party library by other projects, themselves
      managed under git. This leads to surprising results such as this:
      
          $ git describe
          awesomeproject-v5.22-1-ga1316614c290
          $ virtualenv env
          ...
          $ . env/bin/activate
          (env)$ pip install scapy==2.3.3
          ...
          (env)$ cat env/lib/python2.7/site-packages/scapy/VERSION
          2.3.3
          (env)$ which scapy
          /home/.../env/bin/scapy
          (env)$ scapy
          ...
          Welcome to Scapy (awesomeproject-v5.22.dev1)
          >>>
      
      Scapy's version is wrongly set to the current project's version.
      
      When trying to determine scapy's version from git, make sure that the
      code is executed from the root of a git repo. If not, read the version
      from the scapy/VERSION file which has been generated when packaging
      scapy source archive.
      
      Fixes: 4f71027f ("enhance version management")
      Signed-off-by: default avatarRobin Jarry <robin.jarry@6wind.com>
      4584f36a
  4. Mar 22, 2017
  5. Mar 21, 2017
  6. Mar 20, 2017
  7. Mar 17, 2017
  8. Mar 16, 2017
  9. Mar 15, 2017
Loading