Some argus client IPFIX experiments.

Richard Rothwell via Argus-info argus-info at lists.andrew.cmu.edu
Wed Jul 6 19:36:04 EDT 2016


Hi Carter,

Suggested changes (still not working though):

         if (!(strncmp("argus-tcp:", tptr, 10)) || (!(strncmp("argus:", tptr, 6)))) {
            protoStr = "tcp";
            proto = IPPROTO_TCP;
         } else
         if (!(strncmp("argus-udp:", tptr, 10))) {
            protoStr = "udp";
            proto = IPPROTO_UDP;
         } else
         if (!(strncmp("sflow:", tptr, 6))) {
            protoStr = "udp";
            type = ARGUS_SFLOW_DATA_SOURCE;
            proto = IPPROTO_UDP;
         } else
         if (!(strncmp("jflow:", tptr, 6))) {
            protoStr = "udp";
            type = ARGUS_JFLOW_DATA_SOURCE;
           proto = IPPROTO_UDP;
         } else
         if (!(strncmp("cisco:", tptr, 6))) {
            protoStr = "udp";
            type = ARGUS_CISCO_DATA_SOURCE;
            proto = IPPROTO_UDP;
         } else
         if (!(strncmp("ipfix-sctp:", tptr, 11))) {
            protoStr = "sctp";
            type = ARGUS_IPFIX_DATA_SOURCE;
            proto = IPPROTO_SCTP;
         } else
         if (!(strncmp("ipfix-tcp:", tptr, 10))) {
            protoStr = "tcp";
            type = ARGUS_IPFIX_DATA_SOURCE;
            proto = IPPROTO_TCP;
         } else
         if (!(strncmp("ipfix-udp:", tptr, 10))) {
            protoStr = "udp";
            type = ARGUS_IPFIX_DATA_SOURCE;
            proto = IPPROTO_UDP;
         } else
         if (!(strncmp("ipfix:", tptr, 6))) {
            protoStr = "tcp";
            type = ARGUS_IPFIX_DATA_SOURCE;
            proto = IPPROTO_TCP;
         }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20160706/60480474/attachment.html>


More information about the argus mailing list