Major revisions to Modbus analyzer support (not quite done yet).

- Renamed many data structures to align with most recent standard.

- Reworked modbus events to make them more canonically "Bro".

- Converted the Modbus analyzer to a simpler style for easier maintenance.

- Modbus coil related events still don't work (I haven't finished the
  function for converting the data structures).

- Modbus file record events remain incomplete.
This commit is contained in:
Seth Hall 2012-09-17 09:19:52 -04:00
parent a48963f82b
commit 009efbcb27
11 changed files with 1098 additions and 1139 deletions

View file

@ -33,9 +33,9 @@ void ModbusTCP_Analyzer::Undelivered(int seq, int len, bool orig)
interp->NewGap(orig, len);
}
void ModbusTCP_Analyzer::EndpointEOF(TCP_Reassembler* endp)
void ModbusTCP_Analyzer::EndpointEOF(bool is_orig)
{
TCP_ApplicationAnalyzer::EndpointEOF(endp);
interp->FlowEOF(endp->IsOrig());
TCP_ApplicationAnalyzer::EndpointEOF(is_orig);
interp->FlowEOF(is_orig);
}