• 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

The Steam Frame Adapter: Why Valve Is…

The Number 3,000!

SteamOS on Windows? This Winhanced UI Comes…

You Don’t Own Your Digital Games (And…

Disc Rot Is Real and Here’s Why…

Steam E502 L3 Error Keeps Happening? Try…

The OCmodcast now on Spotify

AYN Thor Hands On The DS Successor…

Steam Frame vs Meta Quest 3 Specs…

Ending Physical Games Redefines Piracy, Windows Gaming…

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, 2014018
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: 38
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

  • The Steam Frame Adapter: Why Valve Is Preparing This Now
  • The Number 3,000!
  • SteamOS on Windows? This Winhanced UI Comes Close
  • You Don’t Own Your Digital Games (And Here Is Why)
  • Disc Rot Is Real and Here’s Why Deniers Are Wrong | OCmodcast 13
  • Steam E502 L3 Error Keeps Happening? Try This
  • The OCmodcast now on Spotify
  • AYN Thor Hands On The DS Successor Nobody Expected
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}