I use JPcap to capture packets. I don't know how to get TCP state of connection flags through these captured packet ?
Ex: OTH, REJ, RSTO, RSTOS0, RSTR, S0, S1, S2, S3, SF, SH
I am building Intrusion detection System.?
At present extracting attributes of KDD CUP 99 Dataset for live system.