- Apr 27, 2017
-
-
Guillaume Valadon authored
-
- Apr 25, 2017
-
-
Guillaume Valadon authored
-
- Apr 18, 2017
-
-
Pierre Lalet authored
EAP - fix variable length field computation
-
Pierre Lalet authored
[Routing/Windows] Improve routing system
-
Pierre Lalet authored
add bindings for NSH over GRE
-
Pierre Lalet authored
Updated/fixed install doc
-
Pierre Lorinquer authored
-
phil authored
-
Pierre Lalet authored
Added some pipe objects
-
phil authored
-
Gabriel Ganne authored
Signed-off-by:
Gabriel Ganne <gabriel.ganne@enea.com>
-
- Apr 16, 2017
- Apr 15, 2017
-
-
Pierre Lalet authored
[rewritten] PR #280
-
gpotter2 authored
-
- Apr 13, 2017
-
-
Pierre Lalet authored
[coverage] Answering machines unit tests
-
Guillaume Valadon authored
-
- Apr 12, 2017
-
-
Pierre Lalet authored
[coverage] More tests for scapy/*.py files
-
Guillaume Valadon authored
-
Pierre Lalet authored
Display IPsec field in hexadecimal
-
Pierre Lalet authored
[coverage] Fix codecov results
-
Magnificus36 authored
Added link to 64bit Python version and added remark that pyreadline and Python should both be 64bits or 32bits. (Also now link to Python 2.7.13 instead of 2.7.12)
-
Guillaume Valadon authored
-
Guillaume Valadon authored
-
- Apr 10, 2017
-
-
Thomas Faivre authored
To increase usability, display string field in hexadecimal. Signed-off-by:
Thomas Faivre <thomas.faivre@6wind.com>
-
Pierre Lalet authored
Smaller unit tests results
-
Guillaume Valadon authored
* Code cleaning, unit tests * Fix manuf DB path * Specify seed in volatile objects using RandomEnumeration * pypy fixes
-
Guillaume Valadon authored
-
Guillaume Valadon authored
FlagValue: use consistant (always a string) output
-
- Apr 09, 2017
- Apr 07, 2017
-
-
Pierre LALET authored
-
- Apr 06, 2017
-
-
Thomas Faivre authored
There is a distinction to be made between the IV generated using CryptAlgo.generate_iv and the IV given as argument to the cipher mode in CryptAlgo.new_cipher. The first one is random string which is sent with the ESP packet (first bytes of the data field). The cipher mode only affects the size of the string in our implementation (some modes like GCM may implement a counter instead of pure random). And the second is a combination of the salt, the ESP iv and possibly other things. This can vary a lot depending on the mode. Add an attribute to CryptAlgo to give a function computing this "second" IV based on SA information. Signed-off-by:
Thomas Faivre <thomas.faivre@6wind.com>
-
Thomas Faivre authored
When running the command method on a packet, by default, the __repr__ method of the value is used to dump a field. Although, the __repr__ method of the new FlagValue class is not a valid python syntax: In [2]: IP(flags=0).command() Out[2]: 'IP(flags=<Flag 0 ()>)' In [3]: IP(flags=<Flag 0 ()>) File "<ipython-input-3-1e8a4a1eb25a>", line 1 IP(flags=<Flag 0 ()>) ^ SyntaxError: invalid syntax Also, when print a FlagValue with value of 0, flagrepr returns an empty string which can be confusing: In [1]: IP(flags=0) Out[1]: <IP flags= |> Use int value instead in both cases. Fixes: fc6a4caa ("Introduce FlagValue(int) objects to represent FlagsField() values") Signed-off-by:
Thomas Faivre <thomas.faivre@6wind.com>
-
Thomas Faivre authored
Currently, only internal encryption and decryption were tested but the implementation might not be the on it is supposed to be. Add reference packets generated using Ubuntu-16.04, iproute2 and ping: # ip -V ip utility, iproute2-ss151103 # uname -a Linux router-vm 4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux # ping -V ping utility, iputils-s20160308 Signed-off-by:
Thomas Faivre <thomas.faivre@6wind.com>
-
Thomas Faivre authored
In TLS, the AES-CCM test is commented out because CCM is not supported by cryptography. But the combined_modes_ccm keyword is made to skip these tests. In IPsec, some IPv4 tests are located in the IPv6 section. Also add the same combination of test for the AES-CCM as the other modes. Also, there is some errors in the key material as the *MUST* implementation uses a 16 bytes key and a 3 bytes nonce. Fix those lengths. Signed-off-by:
Thomas Faivre <thomas.faivre@6wind.com>
-
Pierre Lalet authored
Support Raw IPv6 as PCAP linktype
-
Guillaume Valadon authored
Issue #593
-
Guillaume Valadon authored
Issue #592
-