nginx加强安全模块

什么是SEnginx?

SEnginx是反向代理和Web服务器软件nginx的一个变种版本,SEnginx中的SE是Security Enhanced的缩写,即安全增强。

SEnginx在nginx上增加了一个Web安全模块的开发框架,并基于这个框架开发了若干Web安全模块,主要目的是增强nginx的安全特性,并且让用户可以更加方便的使用这些安全特性。SEnginx除了包含我们自行开发的各种Web安全模块,还集成了多种第三方开源安全模块,包括ModSecurity等。

为什么要建立SEnginx项目?

nginx目前自身的特性主要集中在反向代理和Web服务器方面,Web安全相关的特性比较缺乏,而且nginx本身没有一套非常完善的、用于开发Web安全特性的框架。目前现有的基于nginx的第三方安全模块,例如ModSecuritynaxsiRoboo等,则均是各自为战,无法统一进行调度和管理。例如:如果同时安装了naxsi和ModSecurity,那么如何随意调整他们的执行顺序是个难题。

为此我们在nginx中增加了一个开发框架,此框架提供了一些API供第三方模块的开发者使用。我们还开发了一些Web安全的特性,主要有动态黑名单机制、防恶意机器人访问等,此外还将一些开源的第三方模块,例如naxsi,ModSecurity等整合到了这个框架中。

SEnginx提供的特性是nginx原有特性的一个超集,我们基于nginx进行二次开发,并跟随nginx的主干代码进行同步。也就是说,nginx拥有的特性,SEnginx也全部拥有,并且功能和使用方式都没有变化。SEnginx并不打算替代nginx,只是将nginx做为一个优秀的基础平台,在其上进行安全功能的增强。SEnginx为用户提供了额外的选择,当用户需要使用在nginx上使用一些安全功能的时候,可以选择在标准的nginx上自行添加多种安全模块,也可以直接使用SEnginx从而多种安全功能,我们认为使用SEnginx会是一种更加便捷的方式。

相对于标准的nginx,SEnginx都提供哪些额外的功能?

SEnginx计划提供多种Web安全特性,目前只有如下特性进行了开发和集成:

开发框架:

  1. 安全功能开发框架
  2. session机制

安全功能:

  1. 基于session机制的动态黑名单
  2. 机器人缓解功能
  3. 集成第三方的naxsi
  4. 集成第三方的ModSecurity

其他:

  1. rewrite模块的if指令增

http://www.senginx.org/cn/index.php/%E9%A6%96%E9%A1%B5

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
ModSecurity Handbook is the definitive guide to ModSecurity, a popular open source web application firewall. Written by Ivan Ristic, who designed and wrote much of ModSecurity, this book will teach you everything you need to know to monitor the activity on your web sites and protect them from attack. Situated between your web sites and the world, web application firewalls provide an additional security layer, monitoring everything that comes in and everything that goes out. They enable you to perform many advanced activities, such as real-time application security monitoring, access control, virtual patching, HTTP traffic logging, continuous passive security assessment, and web application hardening. They can be very effective in preventing application security attacks, such as cross-site scripting, SQL injection, remote file inclusion, and others. Considering that most web sites today suffer from one problem or another, ModSecurity Handbook will help anyone who has a web site to run. The topics covered include: Installation and configuration of ModSecurity Logging of complete HTTP traffic Rule writing IP address, session, and user tracking Session management hardening Whitelisting, blacklisting, and IP reputation management Advanced blocking strategies Integration with other Apache modules Working with rule sets Virtual patching Performance considerations Content injection XML inspection Writing rules in Lua Extending ModSecurity in C The book is suitable for all reader levels: it contains step-by-step installation and configuration instructions for those just starting out, as well as detailed explanations of the internals and discussion of advanced techniques for seasoned users. A comprehensive reference manual is included in the second part of the book. Digital version of ModSecurity Handbook (PDF or EPUB) can be obtained directly from the author, at feistyduck.com.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值