6 Jul 2006 16:57
Re: Patches to argus-clients-3.0.0.rc.15
Peter Van Epp <vanepp <at> sfu.ca>
2006-07-06 14:57:23 GMT
2006-07-06 14:57:23 GMT
Below are a pair of patch sets one each for (argus-clients-2.0.6.fixes.1 and argus-clients-3.0.0.rc.15, the 2.0.6 patch is in another message because the combined one hit the list moderation limit(Continue reading)) that almost fix most of the errors that occur when comparing 2.0.6 ra output to 3.0 ra output. The user data stuff is still broken (looks like thats a Carter task
) because I can't quite figure out what its supposed to do
. While fixing the tcp window code, the thought struck that it would be interesting to know that a window hit 0 (indicating host buffer conjestion) and for how long. Peter Van Epp / Operations and Technical Support Simon Fraser University, Burnaby, B.C. Canada argus-clients-3.0.0.rc.15 *** common/argus_util.c.orig Sun Jul 2 15:24:45 2006 --- common/argus_util.c Wed Jul 5 19:33:14 2006 *************** *** 2869,2887 **** case IPPROTO_ICMP: { char type[32]; ! sprintf (type, "%d", flow->flow_un.icmp.type); if ((parser->RaFieldDelimiter != ' ') && (parser->RaFieldDelimiter != '\0')) { switch (parser->RaFieldWidth) { case RA_FIXED_WIDTH: sprintf (&buf[strlen(buf)], "%-*.*s%c", len, len, type, parser->RaFieldDelimiter); break; default: ! sprintf (&buf[strlen(buf)], "%d%c", flow->flow_un.icmp.type, parser->RaFieldDelimiter);
) that almost fix most of
the errors that occur when comparing 2.0.6 ra output to 3.0 ra output. The
user data stuff is still broken (looks like thats a Carter task
RSS Feed