Block IP Range: Difference between revisions

From mywiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{DiscussionThread
{{DiscussionThread
|Synopsis=Use iptables and ipset to block ip range
|Synopsis=Use iptables and ipset to block ip range
|Analysis=# ipset add blacklist 1.1.1.0/24
|Analysis=# immediate block sudo iptables -A INPUT -s 217.113.194.0/24 -j DROP
|EditDate=2024/02/06
# Long term block ''not sure working'' ipset add blacklist 217.113.194.0/24
|EditDate=2024-02-06
|Prime Category=Problem
|Prime Category=Problem
|WebRef=https://ipset.netfilter.org/ipset.man.html
|WebRef=https://ipset.netfilter.org/ipset.man.html
}}
}}
--[[User:Johnny|Johnny]] ([[User talk:Johnny|talk]]) 12:47, 16 September 2024 (UTC) While on vacation Bot Barkrowler started do repetitive queries of 500 records.  On www I editted robots.txt to disallow Barkrowler and updated apache-badbots filter in fail2ban to block them.

Latest revision as of 13:22, 16 September 2024


EditDate 2024-02-06

Related Threads:

Use iptables and ipset to block ip range


  1. immediate block sudo iptables -A INPUT -s 217.113.194.0/24 -j DROP
  2. Long term block not sure working ipset add blacklist 217.113.194.0/24

Web References https://ipset.netfilter.org/ipset.man.html

--Johnny (talk) 12:47, 16 September 2024 (UTC) While on vacation Bot Barkrowler started do repetitive queries of 500 records. On www I editted robots.txt to disallow Barkrowler and updated apache-badbots filter in fail2ban to block them.