Posts

Linux Firewall (iptables) commands for DDoS attacks

Image
The following is the list of IP ranges that had more than 1000 IPs each over the last three months of DDoS attacks, starting from 7000 variations in the first one. The ranges have been checked and the hosts do not resolve to Google search, MSN search or the Amazon crawler. Some resolve to Amazon AWS. Use at your own risk. This may block some legitimate ISPs. Also block the SSH port ( 22 ) on your server hosting provider firewall, if possible. Important: Make sure your own IP is not in a range before running the commands. sudo iptables -A INPUT -s 146.174.0.0/16 -j DROP sudo iptables -A INPUT -s 202.76.0.0/16 -j DROP sudo iptables -A INPUT -s 111.119.0.0/16 -j DROP sudo iptables -A INPUT -s 47.128.0.0/16 -j DROP sudo iptables -A INPUT -s 188.239.0.0/16 -j DROP sudo iptables -A INPUT -s 166.108.0.0/16 -j DROP Also ensure that any IPs within the googlebot IP range below, are removed. sudo iptables -D INPUT -s 66.249.0.0/16 -j DROP And that any IPs within the MSN s...

Why Body Count Matters - Biologically

Image
Biological reproductive constraints require one side to psychologically optimize for quantity, and the other to optimize for quality; as so elegantly demonstrated by the highly skewed ratios on dating apps. Note that optimizing one does not imply neglecting the other, just giving higher priority. So while a high count is a genuine challenge for one side, it's simply an indication of poor judgment on the other. Simply put, one side claiming a high count has the exact same effect as the other side claiming extreme restraint. Both claims indicate high quality when done by one side, and poor quality when done by the other. This is also why social proof is such a powerful stimulant, but only for one side.

Politics and Religion and Feminism

Image
It was just another lazy Sunday afternoon. In front of me were two dogs being walked around the park by their beloved masters. No sooner did the dogs see either other than did they start growling and barking, struggling against their restraining collars. It was all their masters could do to keep them off each other with the chains around their necks.  The dogs had no way of knowing that they had much more in common with one another, than the benevolent masters holding their chains. I could not think of a more apt analogy for fighting with friends and family; over politics, religion and other ideologies. Maybe some dogs have been trained to attack you. Avoid them. Maybe some dogs are fed better than you. Find a better master. Or better yet. Maybe learn to live on your own. With no masters. But stop fighting with your fellow dogs, for God's sake.

Why Decline Photo Requests Of Your Bike

Image
Declining seemingly harmless requests to take pics with your bike may appear elitist, or excessive. But once you've agreed to it a few times, you'll understand why most people are so protective of their personal space and property (if only we could all be Keanu). Most people have no respect for personal space or property; will start with a seemingly benign request and gradually introduce scope creep (remember the camel and the tent); and do all this in such a falsely friendly manner as to make you seem like the bad guy for wanting to protect an expensive, dangerous and fragile piece of hardware. The delicateness of the situation will also prevent you from being openly defensive, and require great care and even sacrifice to resolve boundary violations peacefully.  It's like giving a loan to an irresponsible friend. The unnecessary favor now puts you in their control. It essentially leaves you open to unnecessary exploitation by those with anti-social tendencies . Just don...

The best bike in India in 2024

Image
By far the best bike in the market right now; in performance, chassis, build quality, VFM, power-to-weight (47BHP at just 175kg!) etc etc. But has a questionable service network and parts availability. Bonus: All the new REs have been phenomenal build quality and VFM — especially the 650 Twins — but this is probably the best RE 650 yet 😬 But it weighs 216 kg which is not good, quite heavy for a scrambler. The Ducati Scrambler has 50% more power and weighs 40kg less, but then costs 3x as much. So the RE Bear is still great VFM, especially with the Showa shocks etc.