Prepare to release version 0.7
Recent Commits to sniffit:master
-
Prepare to release version 0.7
-
Updated credits
Updated credits
-
Added new rights
Added new rights
-
Updated changelog
Updated changelog
-
Keep original author only
Keep original author only
-
Fix build with GCC 14 and 15
Fix build with GCC 14 and 15 Fix pointer type casts for shared memory variables: - Added explicit casts for pointers to match expected types: DATAlength, connection_data, LISTlength, mask, logged_connections, running_connections, TCP_nr_of_packets, TCP_bytes_in_packets, ICMP_nr_of_packets, UDP_nr_of_packets, UDP_bytes_in_packets, IP_nr_of_packets. - This resolves compiler warnings about incompatible pointer types when assigning from the shared memory block (SHARED). - No functionality was changed; only type safety and compatibility fixed. Closes: #7
-
Recognize upper-case protocol names for -P.
Recognize upper-case protocol names for -P. That's what README.FIRST documents.
-
Refine the documentation files a little bit.
Refine the documentation files a little bit.
-
Make IP_nr_of_packets declarations consistent.
Make IP_nr_of_packets declarations consistent.
-
Use the correct type for running_connections.
Use the correct type for running_connections. Eliminate a few temporary variables and the associated type casting.
-
Remove "timing" because it is write-only.
Remove "timing" because it is write-only.
-
Simplify in_cksum() and squelch one more warning.
Simplify in_cksum() and squelch one more warning. sn_packets.c:66:32: warning: passing argument 1 of 'in_cksum' from incompatible pointer type [-Wincompatible-pointer-types] Packet data comes as a sequence of bytes rather than 16-bit words, so take is as bytes and reconstruct the words as necessary. Also replace host byte order pointer type casting with explicit network byte order in the words. Lose a few variables as well. Drop "register" because it no longer is necessary with modern compilers and it certainly has nothing to do with endianness. This function may have other problems, which should be easier to see and to fix now. Use unsigned char in a few places to match the new prototype.
-
Use inet_ntop() to squelch two more warnings.
Use inet_ntop() to squelch two more warnings. sn_interface.c:201:3: warning: assignment to 'unsigned char *' from incompatible pointer type '_32_bit *' {aka 'unsigned int *'} [-Wincompatible-pointer-types] sn_interface.c:207:3: warning: assignment to 'unsigned char *' from incompatible pointer type '_32_bit *' {aka 'unsigned int *'} [-Wincompatible-pointer-types] The code in mask_status() takes an IPv4 address in network byte order and converts it to a string. There is a standard library function for that, so just use it. -
Fixup minor issues in README.md.
Fixup minor issues in README.md.