How to check SYN errors in a connection using JnetPcap (JNETPCAP is java wrapper for libpcap)? Also how to check REJ error in connection?
I am building Intrusion detection System. At present extracting attributes of KDD CUP 99 Dataset for live system.
Any reference will be helpful to me.
You can use Bro to find out the status of a connection/flow. To this end, run Bro as follows:
This generates a file
conn.log
, which contains a columnconn_state
that reflects the connection status. Here are some relevant values of the field, for details please refer to the documentation:As a side note, the IDS research community vehemently discourages the use the DARPA dataset (and the derived KDD Cup dataset) despite it's appealing availability.