"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/log.c" between
snort-2.9.16.1.tar.gz and snort-2.9.17.tar.gz

About: Snort is a network intrusion prevention and detection system (IDS/IPS) combining the benefits of signature, protocol and anomaly-based inspection.

log.c  (snort-2.9.16.1):log.c  (snort-2.9.17)
skipping to change at line 1756 skipping to change at line 1756
memset((char *) tmp, 0, 5); memset((char *) tmp, 0, 5);
if (p->tcp_options[i].data && (p->tcp_options[i].len >= 4)) if (p->tcp_options[i].data && (p->tcp_options[i].len >= 4))
memcpy(tmp, (p->tcp_options[i].data) + 2, 2); memcpy(tmp, (p->tcp_options[i].data) + 2, 2);
fprintf(fp, "%u ", EXTRACT_16BITS(tmp)); fprintf(fp, "%u ", EXTRACT_16BITS(tmp));
break; break;
case TCPOPT_SACKOK: case TCPOPT_SACKOK:
fwrite("SackOK ", 7, 1, fp); fwrite("SackOK ", 7, 1, fp);
break; break;
case TCPOPT_TFO:
fwrite("TFO ", 4, 1, fp);
break;
case TCPOPT_ECHO: case TCPOPT_ECHO:
memset((char *) tmp, 0, 5); memset((char *) tmp, 0, 5);
if (p->tcp_options[i].data) if (p->tcp_options[i].data)
memcpy(tmp, p->tcp_options[i].data, 4); memcpy(tmp, p->tcp_options[i].data, 4);
fprintf(fp, "Echo: %u ", EXTRACT_32BITS(tmp)); fprintf(fp, "Echo: %u ", EXTRACT_32BITS(tmp));
break; break;
case TCPOPT_ECHOREPLY: case TCPOPT_ECHOREPLY:
memset((char *) tmp, 0, 5); memset((char *) tmp, 0, 5);
if (p->tcp_options[i].data) if (p->tcp_options[i].data)
 End of changes. 1 change blocks. 
0 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)