• Sign in / Join

Login

Forgot your password?
Do not have an account ?Register here
X

Register

Have an account?Login here
X
  • Home
  • Blog
  • Image Gallery
  • News Archive
    • Hardware News
    • Gaming News
    • Affiliate News
Trending now

Halloween: The Game, Apple Foldables, Google’s Hollywood…

Divinum: The Indie Platformer You Can’t Ignore

12 Minutes of Rapid-Fire Tech Tips (volume…

Why We Defend Our VR Hardware To…

Star Wars Zero Company: A New Era…

Star Wars Zero Company, VR Hardware Tribalism,…

11 Hidden Windows 11 Settings You Didn’t…

Mangmi Air X: Can It Handle PSP…

Xbox Anniversary, AYN RTX, and AI is…

I Found Leaked Footage Of The New…

OCmodshop.com

  • Hardware
    • Audio
    • Cases
    • Coolers
    • Gadgets
    • Home Theater
    • Input Devices
    • Laptops
    • Memory (RAM)
    • Motherboards
    • Networking
    • Power Supplies
    • Processors (CPU)
    • Storage
    • Video Cards
  • Gaming
    • Gaming Accessories
    • Game Walkthroughs
    • PC Games
    • Xbox
    • Playstation
    • Nintendo
  • Articles
    • How-To Guides
    • Case Mod Projects
    • Software
    • Event Coverage
    • Movies
    • Interviews
  • Podcast
FacebookTwitterYoutubeSpotifyTwitchSteam
Blog

Finally imported banished IPs

by Alan McCloskeyApril 10, 2009August 25, 2014036
Share0

There is certain traffic that I don’t want to be able to see any of my websites.  There are certain countries (which will remain nameless) where nearly all hack attempts come from.  Not only do they try to hack me all the time, but a certain Communist Asian country loves to copy my website and translate into their country’s language.  This certain country is also not part of my demographic, so I receive no benefit for them lurking on my servers.  They are, for all intents and purposes, a complete waste of traffic and a security risk.

So, I’ve been configuring the firewall to ban each IP this country uses.  I’ve been doing it one by one, which takes some time.  Well, I finally figured out a way to do a bulk import, and it appears to be working.  There was a time there where I was really holding my breath, because it took several minutes until the firewall interface responded again.  I looked at the logs, and IPs that I had just imported are being dropped.

I’ve been keeping track of all the IPs that have tried malicious things to my servers, but didn’t really have a good way to deal them until I installed the hardware firewall. I hold a grudge, and I ban this traffic with extreme prejudice.  Now their traffic is dropped like a Prom Baby in a toilet.

Also, I really don’t trust a lot of spam that have “unsubscribe” links.  If I never signed up for a particular service, then I assume that these are just honeypots to confirm that I’m a real mail user, which just makes their spam campaign more effective.  Now if there is some troublesome spam that I just can’t get rid of through normal means, I’ll ban that IP range.  Any email that I get that is in a foreign language automatically goes on my ban list.

Now that I’ve gotten this working, I will be adding a new segment to the “How to build a custom Linux firewall” guides on how to banish troublesome traffic and do a bulk import.

Post Views: 77
Share0
previous post
Linux Firewall Part 2: Determine Your Network Setup
next post
EULAs and Shrinkwrapped Software
Alan McCloskey
Alan is a web architect, stand-up comedian, and your friendly neighborhood Grammar Nerd. You can stalk him on the Interwebs via Facebook and follow him on X @ocmodshop.

Latest podcast

Recent Posts

  • Halloween: The Game, Apple Foldables, Google’s Hollywood Heist, Console GPUs | Episode 17
  • Divinum: The Indie Platformer You Can’t Ignore
  • 12 Minutes of Rapid-Fire Tech Tips (volume 1)
  • Why We Defend Our VR Hardware To The Death
  • Star Wars Zero Company: A New Era In Real-Time Strategy Games
  • Star Wars Zero Company, VR Hardware Tribalism, and Tech News | Episode 16
  • 11 Hidden Windows 11 Settings You Didn’t Know Existed
  • Mangmi Air X: Can It Handle PSP Emulation?
OCmodshop.com
FacebookTwitterYoutubeSpotifyTwitchSteam
@2026 - ocmodshop.com. All Right Reserved.
  • About Us
  • Terms of Use / Privacy Policy
  • Copyrights
  • Our Rating System
  • Publish an Article on OCmodshop
  • Contest Rules
OCmodshop.com
FacebookTwitterYoutubeSpotifyTwitchSteam
  • Hardware
    • Audio
    • Cases
    • Coolers
    • Gadgets
    • Home Theater
    • Input Devices
    • Laptops
    • Memory (RAM)
    • Motherboards
    • Networking
    • Power Supplies
    • Processors (CPU)
    • Storage
    • Video Cards
  • Gaming
    • Gaming Accessories
    • Game Walkthroughs
    • PC Games
    • Xbox
    • Playstation
    • Nintendo
  • Articles
    • How-To Guides
    • Case Mod Projects
    • Software
    • Event Coverage
    • Movies
    • Interviews
  • Podcast
Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}