降低蜜罐日志存储容量消耗--用Perl脚本实现Cron作业
Reducing Honeypot Log Storage Capacity Consumption -- Cron Job with Perl-Script Approach
摘要:
蜜罐是一种诱饵计算机系统,用于吸引和监视黑客在网络中的活动。蜜罐旨在收集黑客的信息,以创建一个更安全的系统。然而,当系统中发生大流量时,例如分布式拒绝服务(DDoS)攻击,蜜罐生成的日志文件会变得非常大。由于DDoS攻击需要大量的时间和资源,网络管理员在处理和分析DDoS攻击时存在一定的困难。因此,在本文中,我们提出了一种减少日志大小的方法,即通过使用将使用Perl脚本运行的Cron作业。这种方法定期将收集的数据解析到数据库中,以减少日志大小。在这项研究中进行了三个DDoS攻击案例,以显示在每种情况下每秒发送不同数量的数据包,持续8小时,从而增加日志大小。结果表明,通过使用Perl脚本实现Cron作业,日志大小得到了显著的减少,系统所占用的磁盘空间也得到了减少。因此,这种方法能够加快将日志文件解析到数据库的过程,从而提高系统的整体性能。该研究有助于提供一种使用Perl脚本的Cron作业减少蜜罐日志存储的途径。
英文摘要:
Honeypot is a decoy computer system that is used to attract and monitor hackers' activities in the network. The honeypot aims to collect information from the hackers in order to create a more secure system. However, the log file generated by honeypot can grow very large when heavy traffic occurred in the system, such as Distributed Denial of Services' (DDoS) attack. The DDoS possesses difficulty when it is being processed and analyzed by the network administrator as it required a lot of time and resources. Therefore, in this paper, we propose an approach to decrease the log size that is by using a Cron job that will run with a Perl-script. This approach parses the collected data into the database periodically to decrease the log size. Three DDoS attack cases were conducted in this study to show the increasing of the log size by sending a different amount of packet per second for 8 hours in each case. The results have shown that by utilizing the Cron job with Perl-script, the log size has been significantly reduced, the disk space used in the system has also decreased. Consequently, this approach capable of speeding up the process of parsing the log file into the database and thus, improving the overall system performance. This study contributes to providing a pathway in reducing honeypot log storage using the Cron job with Perl-Script.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。