diff --git a/src/fakepackets.h b/src/fakepackets.h index 9bb44d4..b86bd03 100644 --- a/src/fakepackets.h +++ b/src/fakepackets.h @@ -1,3 +1,4 @@ +extern int fakes_count; int send_fake_http_request(const HANDLE w_filter, const PWINDIVERT_ADDRESS addr, const char *pkt, diff --git a/src/goodbyedpi.c b/src/goodbyedpi.c index 40d7e00..c9d2ac3 100644 --- a/src/goodbyedpi.c +++ b/src/goodbyedpi.c @@ -1064,7 +1064,8 @@ int main(int argc, char *argv[]) { "Fake requests, TTL: %s (fixed: %hu, auto: %hu-%hu-%hu, min distance: %hu)\n" /* 17 */ "Fake requests, wrong checksum: %d\n" /* 18 */ "Fake requests, wrong SEQ/ACK: %d\n" /* 19 */ - "Max payload size: %hu\n", /* 20 */ + "Fake requests, custom payloads: %d\n" /* 20 */ + "Max payload size: %hu\n", /* 21 */ do_passivedpi, do_block_quic, /* 1 */ (do_fragment_http ? http_fragment_size : 0), /* 2 */ (do_fragment_http_persistent ? http_fragment_size : 0),/* 3 */ @@ -1086,7 +1087,8 @@ int main(int argc, char *argv[]) { do_auto_ttl ? auto_ttl_max : 0, ttl_min_nhops, do_wrong_chksum, /* 18 */ do_wrong_seq, /* 19 */ - max_payload_size /* 20 */ + fakes_count, /* 20 */ + max_payload_size /* 21 */ ); if (do_fragment_http && http_fragment_size > 2 && !do_native_frag) {