snort_module.cc (snort3-3.1.29.0) | : | snort_module.cc (snort3-3.1.30.0) | ||
---|---|---|---|---|
skipping to change at line 522 | skipping to change at line 522 | |||
{ "--pcap-no-filter", Parameter::PT_IMPLIED, nullptr, nullptr, | { "--pcap-no-filter", Parameter::PT_IMPLIED, nullptr, nullptr, | |||
"reset to use no filter when getting pcaps from file or directory" }, | "reset to use no filter when getting pcaps from file or directory" }, | |||
{ "--pcap-show", Parameter::PT_IMPLIED, nullptr, nullptr, | { "--pcap-show", Parameter::PT_IMPLIED, nullptr, nullptr, | |||
"print a line saying what pcap is currently being read" }, | "print a line saying what pcap is currently being read" }, | |||
{ "--pedantic", Parameter::PT_IMPLIED, nullptr, nullptr, | { "--pedantic", Parameter::PT_IMPLIED, nullptr, nullptr, | |||
"warnings are fatal" }, | "warnings are fatal" }, | |||
#ifdef PIGLET | ||||
{ "--piglet", Parameter::PT_IMPLIED, nullptr, nullptr, | ||||
"enable piglet test harness mode" }, | ||||
#endif | ||||
{ "--plugin-path", Parameter::PT_STRING, nullptr, nullptr, | { "--plugin-path", Parameter::PT_STRING, nullptr, nullptr, | |||
"<path> a colon separated list of directories or plugin libraries" }, | "<path> a colon separated list of directories or plugin libraries" }, | |||
{ "--process-all-events", Parameter::PT_IMPLIED, nullptr, nullptr, | { "--process-all-events", Parameter::PT_IMPLIED, nullptr, nullptr, | |||
"process all action groups" }, | "process all action groups" }, | |||
{ "--rule", Parameter::PT_STRING, nullptr, nullptr, | { "--rule", Parameter::PT_STRING, nullptr, nullptr, | |||
"<rules> to be added to configuration; may be repeated" }, | "<rules> to be added to configuration; may be repeated" }, | |||
{ "--rule-path", Parameter::PT_STRING, nullptr, nullptr, | { "--rule-path", Parameter::PT_STRING, nullptr, nullptr, | |||
skipping to change at line 1090 | skipping to change at line 1085 | |||
else if ( is(v, "--pcap-loop") ) | else if ( is(v, "--pcap-loop") ) | |||
Trough::set_loop_count(v.get_uint32()); | Trough::set_loop_count(v.get_uint32()); | |||
else if ( is(v, "--pcap-no-filter") ) | else if ( is(v, "--pcap-no-filter") ) | |||
Trough::set_filter(nullptr); | Trough::set_filter(nullptr); | |||
else if ( is(v, "--pcap-show") ) | else if ( is(v, "--pcap-show") ) | |||
sc->run_flags |= RUN_FLAG__PCAP_SHOW; | sc->run_flags |= RUN_FLAG__PCAP_SHOW; | |||
#ifdef PIGLET | ||||
else if ( is(v, "--piglet") ) | ||||
sc->run_flags |= RUN_FLAG__PIGLET; | ||||
#endif | ||||
else if ( is(v, "--plugin-path") ) | else if ( is(v, "--plugin-path") ) | |||
sc->add_plugin_path(v.get_string()); | sc->add_plugin_path(v.get_string()); | |||
else if ( is(v, "--process-all-events") ) | else if ( is(v, "--process-all-events") ) | |||
sc->set_process_all_events(true); | sc->set_process_all_events(true); | |||
else if ( is(v, "--rule") ) | else if ( is(v, "--rule") ) | |||
parser_append_rules(v.get_string()); | parser_append_rules(v.get_string()); | |||
else if ( is(v, "--rule-path") ) | else if ( is(v, "--rule-path") ) | |||
End of changes. 2 change blocks. | ||||
10 lines changed or deleted | 0 lines changed or added |