Commit graph

45 commits

Author SHA1 Message Date
Pierre
d5feca7d21
CI: apply flake8 fixes (#288) 2025-05-05 22:07:23 +02:00
Pierre Lalet
64698a6625 Tests: update Scapy to current stable 2024-10-14 18:38:31 +02:00
Pierre Lalet
fe0312b066 Tests: lock Scapy version to 2.5.0 2024-10-14 18:07:09 +02:00
Pierre Lalet
c852680930 Tests: add values to assert messages 2024-10-14 16:30:11 +02:00
_Frky
c132c39ebf
Fix syn (#102)
* Add unit test for TCP SYN replies
* Add functional test for TCP SYN+flag packets
* Fix bug: prevent anwsers to SYN+flag first packets
* Fix TCP behaviour to match Linux network stack
* Update the documentation according to the new behaviour for TCP SYN packets
2023-07-05 22:20:06 +02:00
Pierre Lalet
cc644e81aa Fix DNS tests after Scapy 2.5.0 release 2022-12-28 22:27:45 +01:00
Pierre Lalet
089c971ae9 Fix randomly failing tests 2022-12-22 17:17:32 +01:00
_Frky
58fba4bf31 Fix command line options in tests 2022-12-08 21:40:38 +01:00
_Frky
26eeb73db7 Update test with new CLI options 2022-09-15 17:55:31 +02:00
_Frky
1030dc7d43 Fix flake8 2022-08-04 17:33:30 +02:00
_Frky
aaf2eb5e8f Run black on python tests 2022-08-04 16:52:37 +02:00
_Frky
9638e0900c Add test for multiple queries in one request 2022-08-04 16:49:18 +02:00
_Frky
2e296d7546 Add DNS to supported protocols + functionnal tests 2022-08-04 15:14:31 +02:00
_Frky
c59893c2a6 Run Flake8 2022-05-30 17:27:51 +02:00
_Frky
f696afa45d Run Black 2022-05-30 15:28:05 +02:00
_Frky
843729b961 Add check for masscanned panic in python tests 2022-05-30 14:45:49 +02:00
_Frky
bf1a2c7429 Add pytohn tests for empty payload (TCP/UDP) 2022-05-30 14:45:23 +02:00
_Frky
9d892d90c2 Run latest version of Black 2022-02-16 12:13:19 +01:00
_Frky
c6118e1448 Fix bug in HTTP segmented test + clean 2022-02-16 12:07:48 +01:00
_Frky
f1368df0de Add test to highlight bug - protocol parsing state not kept 2022-02-16 11:53:10 +01:00
gpotter2
5a2b2927d9 Split ip46->ip/tcp 2022-02-15 15:32:32 +01:00
gpotter2
beefcc9185 Test suite refactor 2022-02-15 15:20:24 +01:00
Pierre Lalet
479ee9a034 Tests: fix (black) Python code 2022-02-03 10:21:22 +01:00
_Frky
e85f527ca6 Use SIGINT and remove unecessary terminate 2021-12-31 16:03:10 +01:00
_Frky
81e6100713 Fix terminaison of processes in python test script 2021-12-31 12:04:34 +01:00
Pierre Lalet
166f121d76 Proto/RPC: support RPC over UDP 2021-12-23 16:21:16 +01:00
_Frky
a422f60a9a Add test to emphasis bug in HTTP FSM 2021-12-23 11:03:40 +01:00
Pierre Lalet
c70d9b3f1d Test: add rpcinfo test for RPC 2021-12-22 09:54:02 +01:00
Pierre Lalet
5a52dcace7 Tests: add Nmap test for RPC 2021-12-22 09:54:02 +01:00
Pierre Lalet
951b5a0ba0 Tests: use a veth pair of interfaces rather than a tap
This will allow the use of "regular" network tools and scanners (nc /
socat, Nmap, Masscan).
2021-12-19 18:45:45 +01:00
Pierre Lalet
c127fec54c Add Ghost RAT protocol 2021-12-16 22:11:46 +01:00
Pierre Lalet
b5fb589361 Tests: fix IPv6 warnings from Scapy 2021-12-15 16:06:53 +01:00
Pierre Lalet
e65ce63e70 Tests: use OUTDIR config value 2021-12-13 19:32:48 +01:00
Pierre Lalet
ec8011a6e4 Tests: add p0f logs 2021-12-13 19:30:40 +01:00
Pierre Lalet
d2054ffc05 Tests: remove hardcoded addresses 2021-12-09 15:57:19 +01:00
Pierre Lalet
05a739bdb1 Tests: find IVRE Zeek module location 2021-12-09 15:57:02 +01:00
Pierre Lalet
6efcbbbf59 Tests: add Zeek to get passiverecon logs 2021-12-09 15:11:36 +01:00
Pierre Lalet
1619261ebf Tests: update addr to use a real network address 2021-12-09 15:01:47 +01:00
Pierre Lalet
db75ffb9c5 Tests: fix TCP seq # 2021-12-09 14:52:15 +01:00
Pierre Lalet
023b3f9b38 Tests: fix stun expected data 2021-12-09 12:44:51 +01:00
Pierre Lalet
4c508ccea6 Tests: add routes to prevent wrong values from appearing in packets 2021-12-09 12:32:59 +01:00
Pierre Lalet
70eae9bc0c Tests: clean Python code, add linting to CI 2021-12-09 12:08:19 +01:00
Pierre Lalet
9fb050188d Clean-up Python test script 2021-12-08 23:35:26 +01:00
Pierre Lalet
12aa60b848 CI: add build workflow 2021-12-08 22:50:05 +01:00
_Frky
dbd4d57222 Publication of masscanned v0.2.0 2021-12-08 11:30:17 +01:00