Pierre LALET
26b19d110f
Fix tests with new rdpcap()
2016-02-26 23:36:37 +01:00
Pierre LALET
c7006e2d43
Move the Pcap/PcapNg detection from rdpcap to (Raw)PcapReader
...
This does not change the use of rdpcap() with both formats, and allows
using (Raw)PcapReader() against a PcapNg files.
2016-02-26 23:06:40 +01:00
Pierre Lalet
1fba9a9f43
Merge pull request #35 from mtury/master
...
Multiple ASN.1 enhancements ; X.509 comprehensive support
2016-02-25 16:06:07 +01:00
mtu
96ff819289
Fix ASN1_Error reference mistakenly removed
2016-02-25 10:20:03 +01:00
mtu
2512cdbd77
Remove binascii module references
2016-02-25 09:58:20 +01:00
mtu
0ad1b69fb0
Replace bin() with binrepr from scapy.utils (Python 2.5-friendly)
2016-02-25 09:56:56 +01:00
mtu
86cbabb3e3
Avoid unnecessary list creations with keys()
2016-02-24 19:09:39 +01:00
mtu
6882d1123f
Replace format() with bin()
2016-02-24 19:09:39 +01:00
mtu
4bc7718996
[amend: unsuccessful fix] Fix recursion bug in ASN1F_optional
2016-02-24 19:09:39 +01:00
mtu
707fe9aa50
Make volatile.py more PEP8-compliant; fix default value
2016-02-24 19:09:39 +01:00
mtu
05273b166d
Restore ASN1F_element subclass instead of ASN1F_field to prevent recursion exceptions
2016-02-24 19:09:39 +01:00
mtu
3094fc50e8
Remove little useful __getattr__ overload in ASN1F_optional
2016-02-24 19:09:39 +01:00
mtu
cbbd04cdc3
Make ASN1F_CHOICE more simple and readable
2016-02-24 19:09:39 +01:00
mtu
79e2cdce60
Remove unneeded aliastypes access
2016-02-24 19:09:39 +01:00
mtu
bac5663b0e
Fix ECParamaters due to ASN1F_CHOICE limitations
2016-02-24 19:09:39 +01:00
mtu
6c89cce6fb
Modify attribute access which raised sort of a warning with Python 2.6
2016-02-24 19:09:39 +01:00
mtu
9d192c96b9
Remove redundant 'islist' attributions for tbsCerts
2016-02-24 19:09:39 +01:00
mtu
d51e47acae
Remove unneeded attribution in ASN1F_optional (which caused Python 2.6 to crash)
2016-02-24 19:09:39 +01:00
mtu
ee1bcc5e57
Insert DER test data inside x509.uts and move it from scapy/layers/ to test/ (also, remove obsolete X.509 tests from test/regression.uts
2016-02-24 19:09:39 +01:00
mtu
fac5abbd38
Fix ASN1_enum_INTEGER representation
2016-02-24 19:09:39 +01:00
mtu
dba026d6a3
Typo
2016-02-24 19:09:39 +01:00
mtu
95b30beb0c
Add regression tests for x509.py
2016-02-24 19:09:39 +01:00
mtu
f9968d0a85
Heavy modifications to x509.py : comprehensive support for many more fields, extensions and keys (both RSA and ECDSA)
2016-02-24 19:09:39 +01:00
mtu
c97307f243
Heavy modifications to asn1fields.py : proper and exhaustive support for ASN1 objects as fields (SEQUENCE, CHOICE, _optional, etc.)
2016-02-24 19:09:39 +01:00
mtu
09f669fe33
Add implicit/explicit tagging support ; add high-tag number support ; add more proper BER bit string encoding/decoding
2016-02-24 19:09:39 +01:00
mtu
2f0a559eec
More proper support of ASN1_BIT_STRING ; improve __repr__ methods
2016-02-24 19:09:39 +01:00
mtu
551e9bde64
Add X.509-related OIDs to scapy's MIB
2016-02-24 19:09:39 +01:00
mtu
c9e90a0670
Add GeneralizedTime support
2016-02-24 19:09:39 +01:00
Guillaume Valadon
d23b276c4d
Merge pull request #70 from p-l-/bin-py25
...
Implement a binrepr() function working with both Python 2.5 and 2.6+
2016-02-24 17:05:36 +01:00
Pierre LALET
2e4c7ef093
Implement a binrepr() function working with both Python 2.5 and 2.6+
2016-02-24 11:08:55 +01:00
Pierre Lalet
a814731c5a
Merge pull request #66 from natisbad/master
...
Implementation of IPv6 ND attacks described in RFC 3756
2016-02-20 12:36:18 +01:00
Arnaud Ebalard
af26c2a019
Imported old code from MOBISEND ANR project providing implementation for
...
various IPv6 Neighbor Discovery attacks referenced in RFC 3756 (IPv6
Neighbor Discovery (ND) Trust Models and Threats). Integration work in
recent version and associated tests done by Guillaume!
2016-02-18 23:16:30 +01:00
Guillaume Valadon
48ac7e53bf
Merge pull request #65 from p-l-/fix-ipv6-cmd
...
Fix Net6.__repr__()
2016-02-17 10:27:03 +01:00
Pierre LALET
ce8d785c61
Fix Net6.__repr__() ( fixes #64 )
2016-02-17 09:34:24 +01:00
Pierre Lalet
0433320c4c
Merge pull request #62 from guedou/master
...
0b0000 is not supported in Python 2.5
2016-02-16 14:16:53 +01:00
Guillaume Valadon
20f1f86de4
0b0000 is not supported in Python 2.5
2016-02-16 13:41:35 +01:00
Guillaume Valadon
17dbbf9444
Merge pull request #60 from p-l-/feature-tcp-flags
...
TCP: support flag Nonce Sum (N)
2016-02-15 08:45:39 +01:00
Guillaume Valadon
d1e1aa70d6
Merge pull request #61 from p-l-/fix-py25-lltd
...
LLTD: remove class decorators (not supported by Python 2.5)
2016-02-15 08:44:27 +01:00
Pierre LALET
8c0748d477
LLTD: remove class decorators, not supported w/ Python 2.5
2016-02-14 13:55:22 +01:00
Pierre LALET
747c0ff5d7
LLTD: remove unused import & fix indentation
2016-02-14 13:51:42 +01:00
Pierre LALET
ca79f8ec46
TCP: support flag Nonce Sum (N)
...
Fix proposed by @fredonner. Closes #59 .
2016-02-14 13:27:24 +01:00
Guillaume Valadon
a633ec885b
Merge pull request #57 from p-l-/feature-improve-lltd
...
Improve LLTD layer
2016-02-11 15:54:14 +01:00
Pierre Lalet
970aee1f0e
Merge pull request #50 from smainand/master
...
Add support for Modbus TCP protocol
2016-02-11 07:30:38 +01:00
Pierre LALET
b7a4e40b75
LLTD: add UT for Large TLVs
2016-02-10 23:38:42 +01:00
Pierre LALET
f2b083f057
LLTD: add LargeTlvBuilder to build content fetched with QueryLargeTlv
2016-02-10 19:53:30 +01:00
Pierre LALET
8dabca8ec5
LLTD: implement .answers() (for some cases)
2016-02-10 19:53:30 +01:00
Pierre LALET
455feebbe0
LLTD: implement LLTDQueryLargeTlv & LLTDQueryLargeTlvResp
2016-02-10 19:53:30 +01:00
Sebastien Mainand
6dfbb9a012
Add support for Modbus TCP protocol
2016-02-10 10:19:05 +01:00
Guillaume Valadon
6c1c859684
Merge pull request #52 from p-l-/fix-fragment
...
Packet().overload_fields can be overwritten
2016-02-09 22:41:24 +01:00
Pierre LALET
46f8eddcb6
Add tests for fragment() / defragment()
...
As suggested by @guedou, this adds tests for fragment() and
defragment() functions.
2016-02-09 19:11:36 +01:00