| Server IP : 82.208.35.60 / Your IP : 216.73.216.168 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/net/sniffit/files/ |
Upload File : |
--- src/sn_interface.c.orig 2020-04-20 01:57:30 UTC
+++ src/sn_interface.c
@@ -22,7 +22,7 @@
extern char *SHARED, *connection_data, *timing, *running_connections,
*logged_connections;
extern int *LISTlength, *DATAlength, memory_id;
-extern unsigned int *TCP_nr_of_packets, *ICMP_nr_of_packets, *UDP_nr_of_packets; unsigned int *IP_nr_of_packets;
+extern unsigned int *TCP_nr_of_packets, *ICMP_nr_of_packets, *UDP_nr_of_packets, *IP_nr_of_packets;
extern unsigned long *TCP_bytes_in_packets, *UDP_bytes_in_packets;
extern int *DESC_LEN; /* For the connection desciption */
@@ -526,7 +526,7 @@ reset_shell_mode();
void mem_exit (void)
{
if(shmctl(memory_id,IPC_RMID,0)<0)
- {perror("Sniffer Hartattack (you are fucked!) ");exit(0);};
+ {perror("Shared segment dissappeared ");exit(0);};
}
/* Some other stuff */