Save 25% on Wizard’s SQL for WP w/ code: WIZARDSQL
Web Dev + WordPress + Security

7G Firewall: September 2020 Update

2020 September Sky

Pleased to announce that the 7G Firewall is updated to version 1.3 (September 3rd, 2020). Now available for download, 100% free and open-source as always.

7G Firewall: summary of changes

Changes to 7G Firewall include:

  • Reorders some rules within the firewall
  • Replaces L flag with END for logging rules
  • Renames log files and updates logging rules
  • Removes logging loop-protection rules
  • Adds some new patterns to the firewall
  • Removes some patterns from the firewall

This update was big focus on better performance and even lower rate of false positives. Plus the logging script was improved and better integrated with the firewall. Oh yeah, also fixed several bugs in this update.

Check out complete 7G Changelog »

7G Logging Script

Bonus! Also updated the 7G Logging Script to version 1.2. Changes were minor, including renaming the logging files and fixing a bug with an older version of PHP. Like the 7G Firewall, the logging script is 100% FREE and open-source for everyone. So check it out and download the latest version.

Thank You

I want to give a huge Thank You to everyone who provides feedback and bug reports for 7G and the logging script. This latest update is dedicated to you, thanks for helping to make the 7G firewall the best it can be.

Learn more and download the latest:

Jeff Starr
About the Author
Jeff Starr = Web Developer. Security Specialist. WordPress Buff.
.htaccess made easy: Improve site performance and security.

16 responses to “7G Firewall: September 2020 Update”

  1. thanks Jeff – your work is much appreciated

    hope you’re doing exceedingly well

  2. Thanks Jeff! Question: Would you run a security plugin (e.g., iThemes Security) in addition to 7G?

  3. Avatar photo

    Thx for that :)
    Would it be more efficient on a WordPress site to use the 7G firewall directly in the .htaccess or the BBQ plugin (who use 5/6G if I’m correct) ?

  4. Waiting for 8g htaccess beta tester <3

  5. Avatar photo

    One question not directly related to this update but to the 7G firewall in general.
    I’ve been using it since version 5G much to my delight, but I’m about to move from Apache to Nginx and therefore, I won’t be able to use it anymore. Could I ask what you would recommend ?
    – Try to convert all those rules for Nginx.
    – Use your BBQ: Block Bad Queries WordPress plugin instead.
    I could of course also just use Nginx as a reverse proxy and keep Apache behind, but I find this solution a bit too cumbersome.
    Thanks in advance for your views on the subject.

    • Avatar photo
      Jeff Starr 2020/09/20 9:51 am

      Go with BBQ, unless you can find a copy of the 7G Nginx version. I’ve heard it’s been adapted for Nginx (and is in use at certain web hosts), but not sure if posted anywhere online.

  6. Avatar photo

    Hello! Is there a way to deploy the scripts on nginx stack? My hoster doesnot provides Apache hence no .htaccess

    • Avatar photo
      Jeff Starr 2020/09/28 9:37 am

      I’ve heard of 7G converted to Nginx, but have not been able to get an actual copy. You might try searching around, maybe it is posted somewhere online.

  7. Hi Jeff,
    I want to say thankyou for your work on 7G Firewall. It now runs on my server and I am fully satisfied. I have placed further filters in .htaccess for my special needs.e.g. I modified your logging php script. It now writes into several additional logfiles for specific purposes,for instance for reports I send to AbuseIPDB. I added further php scripts (which are called in the header of each webside) which check proxies and blacklisted hosts.
    Best Regards

  8. Any good thing, for a safer “Web-Community”!

    Some of the REGEX rules, I have also added to my PHP Firewall filters too. Seems the worst of the worst out there, are getting pretty persistent (mostly “bots”, of course). – So, these filters are becoming more a necessity.

    Not sure if you have had much chance to play around with mod_rewrite’s “RewriteMap”-directive much, but it has become very effective in enforcing IP block-outs. – There again, the usual managed web-hosting plans usually do not have access to it available to the customer, because it must be set up within “Virtual Host” conf’s.


    Back in the saddle (for a time). Keep up the great work! – Also have a “feed” channel from your blog (here) set up on my own site (I noticed something like a “crawl” or “refer” from your domain in my logs). – So that may account for a few extra “hits” in your logs, originating from my domain? ? ?

    – CHEERS!

    – Jim

  9. Hi Jeff,

    Does the 7G 1.3 update come with the same code placement as mentioned in the 6G Notes? My WordPress is installed in its own directory.

    I can’t seem to find this info in any of the pages related to 7G.

    Greetings from Transylvania!

Comments are closed for this post. Something to add? Let me know.
Perishable Press is operated by Jeff Starr, a professional web developer and book author with two decades of experience. Here you will find posts about web development, WordPress, security, and more »
Digging Into WordPress: Take your WordPress skills to the next level.
DIY: Monitor File Changes via Cron working perfectly for over a decade.
Mastodon social is a trip. Glad I found it.
As a strict rule, I never use cache plugins on any of my sites. They cause more problems than they solve, imho. Just not worth it.
Currently on a posting spree :)
6 must come before 7.
My top three favorite-to-write coding languages: CSS, PHP, JavaScript.
If you’re not 100% sure that you can trust something, you can’t.
Get news, updates, deals & tips via email.
Email kept private. Easy unsubscribe anytime.