SomeIPAnalyzer

public class SomeIPAnalyzer

Main Class of the project.

Fields

Analyzer

public static EsperClient Analyzer

Instance of the Esper Engine that is evaluating the rules.

Methods

main

public static void main(String[] args)

Main method of the project. First, commandline arguments are checked and a new Analyzer is initialized. Monitor is started as seperate thread, if configured. Esper Engine is started as seperate thread.

setClientID

public static int setClientID(SomeIPPacket s)

Extracts the Client ID of a given SOME-IP Packet and returns this value as the new ID. The statictics of the corresponding Listener is updated, in this case helperListenerIP.

Parameters:
  • s – The incomming SomeIP-Paket from the stream.
Returns:

The client ID of the incomming SOME-IP Paket

setClientIP

public static int setClientIP(SomeIPPacket s)

Extracts the Source IP of a given SOME-IP Packet and returns this value as the new IP. The statictics of the corresponding Listener is updated, in this case helperListenerID.

Parameters:
  • s – The incomming SomeIP-Paket from the stream.
Returns:

The source IP of the incomming SOME-IP Paket