1diff -uprN isic-old/icmpsic.c isic-new/icmpsic.c 2--- isic-old/icmpsic.c 2004-11-06 21:11:11.000000000 +0100 3+++ isic-new/icmpsic.c 2006-05-02 16:43:42.000000000 +0200 4@@ -265,7 +265,8 @@ main(int argc, char **argv) 5 6 payload = (short int *)((u_char *) icmp + 4); 7 for(cx = 0; cx <= (payload_s >> 1); cx+=1) 8- (u_short) payload[cx] = rand() & 0xffff; 9+// (u_short) payload[cx] = rand() & 0xffff; 10+ payload[cx] = rand() & 0xffff; 11 12 13 if ( rand() <= (RAND_MAX * ICMPCksm) ) 14diff -uprN isic-old/isic.c isic-new/isic.c 15--- isic-old/isic.c 2004-11-06 21:11:14.000000000 +0100 16+++ isic-new/isic.c 2006-05-02 16:39:51.000000000 +0200 17@@ -229,8 +229,11 @@ main(int argc, char **argv) 18 19 payload = (short int *)(buf + IP_H); 20 for(cx = 0; cx <= (payload_s >> 1); cx+=1) 21- (u_int16_t) payload[cx] = rand() & 0xffff; 22- (u_int16_t) payload[payload_s] = rand() & 0xffff; 23+/* (u_int16_t) payload[cx] = rand() & 0xffff; 24+ (u_int16_t) payload[payload_s] = rand() & 0xffff;*/ 25+ payload[cx] = rand() & 0xffff; 26+ payload[payload_s] = rand() & 0xffff; 27+ 28 29 if ( printout ) { 30 printf("%s ->", 31diff -uprN isic-old/tcpsic.c isic-new/tcpsic.c 32--- isic-old/tcpsic.c 2004-11-06 21:11:16.000000000 +0100 33+++ isic-new/tcpsic.c 2006-05-02 16:41:31.000000000 +0200 34@@ -317,7 +317,8 @@ main(int argc, char **argv) 35 36 payload = (short int *)((u_char *) tcp + 20); 37 for(cx = 0; cx <= (payload_s >> 1); cx+=1) 38- (u_int16_t) payload[cx] = rand() & 0xffff; 39+// (u_int16_t) payload[cx] = rand() & 0xffff; 40+ payload[cx] = rand() & 0xffff; 41 42 if ( rand() <= (RAND_MAX * TCPCksm) ) 43 libnet_do_checksum(l, (u_int8_t *)buf, IPPROTO_TCP, (tcp->th_off << 2) 44diff -uprN isic-old/udpsic.c isic-new/udpsic.c 45--- isic-old/udpsic.c 2004-11-06 21:11:20.000000000 +0100 46+++ isic-new/udpsic.c 2006-05-02 16:42:55.000000000 +0200 47@@ -292,7 +292,8 @@ main(int argc, char **argv) 48 49 payload = (short int *)((u_char *) udp + UDP_H); 50 for(cx = 0; cx <= (payload_s >> 1); cx+=1) 51- (u_int16_t) payload[cx] = rand() & 0xffff; 52+// (u_int16_t) payload[cx] = rand() & 0xffff; 53+ payload[cx] = rand() & 0xffff; 54 55 if ( printout ) { 56 printf("%s,%i ->", 57