DogsOfWar

542 posts
Dogs of War was born in a crossfire hurricane. He wrestles alligators in the pouring rain.

How to Get the Real IP Address When All Traffic Comes from CloudFlare

cloudsRecently we had an odd thing happen, all inbound WordPress logins appeared to be coming from the same IP address. Because a large percentage of our WordPress login attempts are from botnet zombies this caused the site security system to mark legitimate login attempts as bad.

Having installed the CloudFlare WordPress plugin was supposed to feed in the true IP address of each visitor but that seems to only work for comments and not for everything else. Here is one line of code that will get the original IP address of visitors coming through CloudFlare. Continue reading

If You Only Follow One Person on Twitter it Should be Chelsea Peretti

ChelsePerettiI’ve accidentally seen Chelsea Peretti do stand up twice. Once she opened for Sarah Silverman and once for Aziz Ansari. Both times she was great, a good performer and a great laughs. But it wasn’t until I started to follow her on Twitter that I realized just how awesome she is. Allow me to enlighten you as to why you should get to know Chelsea Peretti a little bit better. Continue reading

A Theoretical Tesla Road Trip Timeline

TeslaThis week Tesla is announcing a huge increase in the number of their supercharger stations. These are dedicated charging stations for Tesla owners at key locations along major interstates, like I-5 through the California Central Valley for those driving between Los Angeles and the San Francisco Bay Area. Tesla wants people to lose their range anxiety and be able to take long trips in their electric cars. Oh, and the charge ups are included in the purchase price of the car. Continue reading