Changeset 1439466
- Timestamp:
- 04/24/13 11:01:44 (9 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
- Children:
- c73f536
- Parents:
- ec56195
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/traceanon/traceanon.c
r4c92c49 r1439466 92 92 * internally 93 93 */ 94 94 95 if (icmp->type == 3 95 96 || icmp->type == 5 96 97 || icmp->type == 11) { 98 char *ptr = (char *)icmp; 97 99 encrypt_ips( 98 (struct libtrace_ip*) icmp+99 sizeof(struct libtrace_icmp) ,100 (struct libtrace_ip*)(ptr+ 101 sizeof(struct libtrace_icmp)), 100 102 enc_dest, 101 103 enc_source); 102 104 } 105 106 if (enc_source || enc_dest) 107 icmp->checksum = 0; 103 108 } 104 109 } … … 314 319 tcp->check = 0; 315 320 } 316 321 317 322 /* TODO: Encrypt IP's in ARP packets */ 318 323
Note: See TracChangeset
for help on using the changeset viewer.