我需要写一个c程序来执行下面的算法。
1:开始
2:网络及相关设备检测( IDPS有DB,可用设备需要签到)
(如果设备是有效设备,但未注册,则应将其输入数据库)
3:记录数据(附加以下内容)
-timestamp
-priority
-MAC address
-channel number
-ID of the devices4:检测能力
- check whether it s authorized
-check whether its working properly n securely
-compare anomalities n unusual usage patterns(if any) with the already
registered anomalities n patterns pespectively.
case1:presence-->stop the application
case2:absence--> continue application
case3:unusual activity butabsent in the registered
list--> provoke the user5:结束
有什么建议吗?(我不知道怎么做:( )
发布于 2011-04-15 01:28:47
对于前3点,我建议你看看libpcap (tcpdump/libpcap)。对于异常网络活动检测,它有点复杂,你可以看看snort,并像使用外部分析工具一样使用它。
https://stackoverflow.com/questions/5666963
复制相似问题