LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 02-27-2013, 04:05 AM   #1
kikilinux
Member
 
Registered: Sep 2012
Posts: 125

Rep: Reputation: Disabled
Question web application firewall (WAF)


hi
my question is about web application firewall
what's the best WAF free openSource package to use as gateway for enterprise networks in linux ?
the simplicity of configuration is in choice ,which package has the powerful features and has simple configuration too ?
if my question is wrong just tell me which package has the powerful features for Web application firewall
best
 
Old 02-27-2013, 09:42 AM   #2
rsciw
Member
 
Registered: Jan 2009
Location: Essex (UK)
Distribution: Home: Debian/Ubuntu, Work: Ubuntu
Posts: 206

Rep: Reputation: 44
Not sure about 'gateway for enterprise networks', but a very good web application firewall is 'mod_security' -> http://www.modsecurity.org/
 
Old 02-27-2013, 07:09 PM   #3
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Rep: Reputation: 55
What web server are you using? Apache?
 
Old 02-28-2013, 02:50 AM   #4
kikilinux
Member
 
Registered: Sep 2012
Posts: 125

Original Poster
Rep: Reputation: Disabled
i want to use a package which is work well for apache and iis.
i want a package which has powerful features ,
let's introduce an example :
iptables is a layer 2 , 3 packet filtering which has powerfull features to packet filtering and many more than simple filtering like some DoS attach ,etc.
can i find an web app layer firewall just like iptables packet filtering ?
best
 
Old 02-28-2013, 07:55 AM   #5
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
I've had much success at my DorkBlog using Cloudflare services. It kills Visitor Stats though because all the 'requests' come only from cf IPs. meh. Doesn't mean much to me.
They have a plugin for real IP stats, I think.

5m to sign up and NO SPAM from doing so.
What I like is their country block Threat Control.

.cn (China) acting up?
Threat control can deal with this.

It's a CDN service and my only issue with this service is an infrequent lag on load times.

The best part is it's an 2 minute change of NSs for the domain that point to $name.ns.cloudflare.com.

for my low-rent, low visitor (me!) site, it does a great job.

I turned to them because my .htaccess code is/was 2823 "deny from" lines, is a little crazy. I never could get CIDR rules to work properly in .htaccess.

Some of our senior Team at cirrhus9.com recommend services occasionally, and I usually just go read what they're trying to sell and google for negatives. After 20 years in IT this year, I've seen all kinds of smoke-and-mirrors, but this is one of the few services I have no problem recommending, and isn't that the true measure of "value"?

subscribed with interest...

Have a great day!
 
Old 02-28-2013, 07:58 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by kikilinux View Post
the simplicity of configuration is in choice ,which package has the powerful features and has simple configuration too ?
Don't let your (perceived) lack of skill and knowledge or false arguments like "haven't got time to learn" guide you. "simple configuration" is not a valid criterion.


Quote:
Originally Posted by kikilinux View Post
what's the best WAF free openSource package to use as gateway for enterprise networks in linux ?
We can't and shouldn't decide for you. Have a look at https://www.owasp.org/index.php/Category:OWASP_WAF and https://www.owasp.org/index.php/Web_...ation_Firewall, then test drive http://www.modsecurity.org/, https://www.ironbee.com/, http://w3af.org/ and maybe http://www.aqtronix.com/?PageID=99.


Quote:
Originally Posted by kikilinux View Post
i want to use a package which is work well for apache and iis.
Depends. Unless you decide to go for a WAF you can incorporate in the web server there's nothing against running a reverse proxy WAF in front of whatever web server.


Quote:
Originally Posted by kikilinux View Post
some DoS attach ,etc.
Best read up on resource exhaustion attacks in general and DoS and DDoS attacks specifically. Unless you chose to read misinformed web log or forum posts over OWASP and the SANS Reading Room you'll find end point "protection" is not done at end points but it's the realm of (hosting) providers, their upstream and possibly anti-DDoS service or application providers.
 
Old 02-28-2013, 08:03 AM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by Habitual View Post
I turned to them because my .htaccess code is/was 2823 "deny from" lines, is a little crazy. I never could get CIDR rules to work properly in .htaccess.
Unless you only have access to that it's not good for several reasons. IMHO efficient CIDR filtering is the realm of Netfilter. Combine that with ipset and you don't need 2823 but just one iptables rule.
 
1 members found this post helpful.
Old 02-28-2013, 08:11 AM   #8
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by unSpawn View Post
Unless you only have access to that it's not good for several reasons. IMHO efficient CIDR filtering is the realm of Netfilter. Combine that with ipset and you don't need 2823 but just one iptables rule.
that's all I have as it's hosted at GD for now. (it was only a test migration from another domain). Test is over and I have 100s of Virtual Servers I can set up over at c9.

Thanks!
 
Old 03-01-2013, 04:43 AM   #9
agentsteel
Member
 
Registered: Oct 2012
Location: France
Distribution: Debian / Fedora / Ubuntu / OpenBSD
Posts: 46

Rep: Reputation: Disabled
Also GeoIP module for Apache2 can be used to block countries, instead of denying raw ip ranges

http://dev.maxmind.com/geoip/mod_geoip2
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Open Source WAF: and then there were two LXer Syndicated Linux News 0 02-19-2011 12:10 AM
Centralized Web application Firewall Dig Linux - Security 1 02-17-2011 10:21 AM
Replacing a WAF (Web Application Firewall) HelpMe2877 Linux - General 4 11-06-2008 08:26 AM
LXer: Breach Security's ModSecurity Open Source Web Application Firewall LXer Syndicated Linux News 0 12-06-2007 08:20 PM
Web application: cocoon jsp/servlet tomcat all in web application adilturbo Programming 0 11-24-2007 06:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration