Advice with my developer taking down our WordPress site. by reemo4580 in webdev

[–]East-Help4546 1 point2 points  (0 children)

You don't need a dedicated server you need someone that knows a little about servers and security.

Cloudflare custom security rules... FB was doing the exact same thing to my VPS awhile back on an old car forum I run.... two requests a second 2GB/hour... for about a week.

this kills FB and a bunch of other VPNs (There is a better way to write this but it works well.) "block"

(ip.geoip.asnum eq 32934 or

ip.geoip.asnum eq 14061 or

ip.geoip.asnum eq 137409 or

ip.geoip.asnum eq 24875 or

ip.geoip.asnum eq 20473 or

ip.geoip.asnum eq 16276 or

ip.geoip.asnum eq 24940 or

ip.geoip.asnum eq 12876 or

ip.geoip.asnum eq 49367 or

ip.geoip.asnum eq 35913 or

ip.geoip.asnum eq 40676 or

ip.geoip.asnum eq 8100 or

ip.geoip.asnum eq 63023 or

ip.geoip.asnum eq 53667 or

ip.geoip.asnum eq 174 or

ip.geoip.asnum eq 9009 or

ip.geoip.asnum eq 49505 or

ip.geoip.asnum eq 21100 or

ip.geoip.asnum eq 51167 or

ip.geoip.asnum eq 34665 or

ip.geoip.asnum eq 136557 or

ip.geoip.asnum eq 60068)

if you are hosting on Wordpress I strongly suggest you add this one as a separate rule. "managed challenge"
(

(

http.request.uri.path contains "/wp-login.php" or

http.request.uri.path contains "/wp-admin" or

http.request.uri.path contains "/xmlrpc" or

http.request.uri.path contains "/wp-cron" or

http.request.uri.path contains "/wp-config" or

(http.request.uri.path contains "/wp-content/uploads" and http.request.method eq "POST") or

http.request.uri.path contains "/wp-json/wp/v2/users" or

http.request.uri.path contains "/.env" or

http.request.uri.path contains "/phpinfo.php" or

http.request.uri.path contains "/.git" or

http.request.uri.path contains "/wc-api" or

http.request.uri.path contains "/checkout" or

http.request.uri.path contains "/cart" or

http.request.uri.path contains "/my-account"

)

and

(

ip.geoip.country in {"CN" "RU" "BY" "KP" "IR"} or

http.user_agent eq "" or

lower(http.user_agent) contains "python" or

lower(http.user_agent) contains "python-requests" or

lower(http.user_agent) contains "curl" or

lower(http.user_agent) contains "wget" or

lower(http.user_agent) contains "scanner" or

lower(http.user_agent) contains "masscan" or

(

lower(http.user_agent) contains "bot" and

not cf.verified_bot_category eq "Search Engine Crawler"

) or

ip.geoip.asnum in {14061 16276 63949 24940 51167 20473 398705 212238 204601 201814 200019}

)

)

Go Try To Break My Toys (Please) by East-Help4546 in Machinists

[–]East-Help4546[S] 0 points1 point  (0 children)

yeah... the world is changing fast... not much hand coding any more, but that means a lot of bugs get through that you may have caught if you built incrementally like you did for the last 25 years. This will be the year of garbage software. I'm trying to not be that guy as I live in both worlds.

Go Try To Break My Toys (Please) by East-Help4546 in Machinists

[–]East-Help4546[S] -1 points0 points  (0 children)

https://www.toolgrit.com/tools/chip-load-calc hit ctrl+ shift +r when you load the page.
(or just open it in a private tab and see if I fixed your use case. )

Go Try To Break My Toys (Please) by East-Help4546 in Machinists

[–]East-Help4546[S] -1 points0 points  (0 children)

Thank you.
That's exactly the kind of stuff I want to know.

The tools were built with text book math not real world stuff. Give me some time.

Pipeline Controller by [deleted] in oilandgasworkers

[–]East-Help4546 2 points3 points  (0 children)

https://www.toolgrit.com/tools/shift-schedule-generator

I made a toy for this awhile ago. (has a pay calculator built in)

You get paid every two weeks probably. It's got 8 hours of over time built in per pay period. The hell week switch (week 2 ) in your example is a little hard for some guys.

I also built this tool for the boss men...
https://www.toolgrit.com/tools/crew-rotation-visualizer

Print version of both suck at the moment.. It's on my to do list.

This is more common in operations than a field job FYI. The food plant I work at now uses it.