Pierre Lalet
6a783f4af4
Merge pull request #1054 from speidy/l2tp_improvement
...
layers: l2tp: parse L2TPv2 packets correctly
2018-01-17 08:07:03 +01:00
Speidy
8f9e49aa1e
test: correct L2TP regression test
...
Signed-off-by: Speidy <speidy@gmail.com>
2018-01-16 23:25:22 +02:00
Pierre Lalet
eb5edb9eac
Merge pull request #1050 from guedou/Issue_#1048
...
Replace str() with raw()
2018-01-16 16:13:20 +01:00
Pierre LALET
847c2fe764
Update a test to trigger bugs in make_table() ordering
2018-01-15 16:31:44 +01:00
Guillaume Valadon
23b14bab26
Fix ASN1_BIT_STRING decoding error
2018-01-14 09:56:13 +01:00
Guillaume Valadon
74e9b4832d
Replace str() with raw()
2018-01-13 23:22:52 +01:00
Guillaume Valadon
c7f32cf152
Merge pull request #1042 from p-l-/fix-tests
...
Python 3: fix an often-failing test
2018-01-13 15:49:44 +01:00
Guillaume Valadon
1fa89a0606
Merge pull request #1033 from p-l-/fix-dot11
...
Dot11: fix .summary() with a binary SSID
2018-01-13 10:25:17 +01:00
Pierre LALET
2ba0e34b4d
Python 3: fix an often-failing test
...
For some reason, it may happen on Travis CI (specifically with
Python 3) that port numbers are not resolved to service names. This
fixes a test that fails in this case.
2018-01-12 16:19:32 +01:00
gpotter2
5777d77a44
Fix missing metrics
2018-01-12 13:23:41 +01:00
Pierre Lalet
c294d4f0a3
Merge pull request #812 from guedou/Issue_#791
...
Fix #791 - Throw an exception when tcpreplay can not be executed
2018-01-11 17:16:34 +01:00
Guillaume Valadon
83fc6715e7
Throw an exception when tcpreplay can not be executed
2018-01-11 16:15:14 +01:00
Pierre LALET
b47f21a566
Dot11: fix .summary() with a binary SSID
2018-01-11 13:30:44 +01:00
gpotter2
1a9bdf0db6
Python 3 tests (IPython + BytesIO) ( #1031 )
2018-01-11 12:31:50 +01:00
gpotter2
74dba54503
add test
2018-01-10 19:37:51 +01:00
gpotter2
f23afb3759
Fix mock usage in mock_windows.uts for PY3
2018-01-09 20:10:14 +01:00
gpotter2
29f54ee2f2
Disable OpenSSL tests in a cleaner way (PY3 only)
2018-01-09 20:10:14 +01:00
Pierre LALET
4cd2d3a2f2
Python 3: temporarily disable some tests
2018-01-08 12:17:50 +01:00
Pierre LALET
8eb928e23f
Fix (often-)failing tests (with Python 3)
2018-01-08 12:17:50 +01:00
Pierre LALET
984fdcf30a
Python 2 / 3: fix StrField and subclasses
2018-01-08 12:17:50 +01:00
Pierre LALET
1fa71a75d8
Test: remove a test requiring graphviz
2018-01-06 23:56:38 +01:00
Pierre LALET
8cb4b6040e
Python 3: auto-retry the L2ListenTcpdump test
2018-01-06 23:56:37 +01:00
Pierre LALET
3f4416e35b
Python 3: fix random values for Python 3 < 3.6
2018-01-06 23:56:37 +01:00
Pierre LALET
eb6e44662c
Python 3: fix recently added tests
2018-01-06 23:56:37 +01:00
Pierre LALET
360a012550
Python 2 & 3: fix bytes / str
2018-01-06 23:56:37 +01:00
Guillaume Valadon
6a7c6d5bb5
LELongField test
2017-12-20 19:21:57 +01:00
Guillaume Valadon
680900dbbf
Test specific RandASN1Object() crashes
2017-12-20 14:37:03 +01:00
gpotter2
a0aea6d6dc
Add restart() test
2017-12-20 13:45:39 +01:00
Guillaume Valadon
d7b984a792
Applying comments to PR#698 ( #991 )
...
* Added optional extension mechanism from RFC 1889
RFC 1889 section 5.3.1 defines an optional header extension mechanism for proprietary use. This is required by some implementations.
Additionally, the sync and sourcesync fields are not named as in the RFC and are somewhat confusing, I added comments.
* + Added some tests for RTP
* + moved lambda inside RTP class
* + All tests are green
* + removed commented out code
* rtp.py rewritten to use an extra class for the extension header
* moved testcases + minor fix
* + minor fixes
* Comments applied
2017-12-19 15:54:13 +01:00
gpotter2
f2f3cc0424
Python 3 fixes: TACACS, IGMPv3, PPI tests ( #961 )
...
* Python 3 fixes: TACACS, IGMPv3, PPI tests
* Don't crash on empty key
* 3 breaking random tests so that coverage pass
* Minor fixes
2017-12-17 10:44:35 +01:00
Guillaume Valadon
cd945180fa
Merge pull request #891 from gpotter2/coverage-1
...
[coverage] Add ber + asn1 tests
2017-12-16 19:19:38 +01:00
gpotter2
73f0c2efa3
Fix L2ListenTcpdump tests (windows) ( #971 )
2017-12-16 19:10:27 +01:00
gpotter2
07dedfded9
[Windows] Loading speedup (pcapdnet cache) + cleanup ( #927 )
2017-12-12 15:16:31 +01:00
gpotter2
fdbd97a2e0
Fix TLS str calls (again) ( #966 )
...
* Add missing import
* Export raw from scapy
* Create TLS layers when cryptography is missing with no codec
* Add no-cryptography tls test
2017-12-08 15:29:15 +01:00
Guillaume Valadon
7f567202bc
RandEnumKeys - sort internal list before testing
2017-11-23 16:05:55 +01:00
Guillaume Valadon
b442859522
Missing bytes marker
2017-11-23 16:05:55 +01:00
Guillaume Valadon
2838f577af
Remove duplicated test
2017-11-23 16:05:55 +01:00
gpotter2
8e939eee9b
Python 3: various fixes
2017-11-19 23:17:11 +01:00
mtu
e9d17e356b
Fix TLS defaults when there is no context
2017-11-19 22:56:39 +01:00
Pierre Lalet
fcf6d53315
Merge pull request #862 from gpotter2/fix-cmds
...
[Executables] run_tests3.bat + disable __pycache__
2017-11-11 01:43:39 +01:00
Pierre Lalet
660b1af39a
Merge pull request #940 from gpotter2/fix-1
...
Minor pipetools test fix
2017-11-08 21:57:52 +01:00
gpotter2
48f64fe5b8
Minor pipetools test fix
2017-11-07 21:11:21 +01:00
gpotter2
8ee8bb8d0b
DHCP: Implement option 55
2017-11-07 20:41:16 +01:00
Pierre LALET
d6e98350ef
Add a test to trigger a bug introduced in 730c47b
...
sr*() commands are broken when using retry: only the packets received
during the last try are correctly returned.
2017-11-03 23:51:12 +01:00
Pierre Lalet
ba143fc89e
Merge pull request #872 from gpotter2/fix-pypy-linux
...
Fix PyPy attach_filter function
2017-11-02 10:42:45 +01:00
Pierre Lalet
a8ea49598f
Merge pull request #911 from gpotter2/py3-diameter
...
Python 3: remaining contrib modules
2017-11-01 12:30:41 +01:00
Pierre Lalet
dd7800b9b5
Merge pull request #685 from gpotter2/fix-bluetooth
...
[Bluetooth] General fixes & new features
2017-10-31 23:53:45 +01:00
gpotter2
6f6eca2acc
Python 3: fix remaining contrib modules
2017-10-30 13:38:04 +01:00
gpotter2
a680815378
DNS: 'decompression loop' corner-case
2017-10-27 13:23:30 +02:00
gpotter2
871d80ffa3
Fix HCI_ACL_Hdr fields parsing
2017-10-27 04:13:29 +02:00