packit
packit copied to clipboard
network packet generator and capture tool
This issue was reported in Debian by Dennis Vshivkov [email protected][1]. There is a patch. [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=287667 The original text, written in 2004: "The attached patch adds an -I option, to...
There are possibly some memory leaks caused by `strdup` usage without corresponding `free` anywhere in sight.
Add support for all the fields in the fixed header [see https://en.wikipedia.org/wiki/IPv6_packet#Fixed_header] and IPv6 packet generation.
This fixes the build for me: ``` Index: packit-1.8.1/src/injection.h =================================================================== --- packit-1.8.1.orig/src/injection.h +++ packit-1.8.1/src/injection.h @@ -38,8 +38,8 @@ void injection_init(); u_int16_t inject_packet(); -u_int16_t with_response(); -u_int16_t without_response(); +u_int16_t with_response(u_int32_t g_port_range); +u_int16_t...