Markov Chain analysis of packet sequence for intrusion detection