this article analyze the main security problems of present campus network and put forward the necessity of intrusion detection system.Build the experiment environment to do the analysis of Snort intrusion detection technology and honeypot technology.