Re:Using a Pager in the 21st Century
by alexjplant on Sunday May 02, 2021 @01:47PM
(#27017214)
Couldn't you just get a router running some type of *nix (pfSense, DD-WRT, etc) and accomplish this via cron? Maybe perform a dig on whatever API endpoints you still want to talk to (PagerDuty, Slack) then have a set of ACLs that only allows traffic to those on the WAN interface during your "blackout" period?
[ Parent
| on HN ]
Re:Using a Pager in the 21st Century
by throwawayboise on Sunday May 02, 2021 @02:27PM
(#27017572)
Does this really seem easier than a simple timer?
"When you have root, everything is a cron job."
BSOH proverb
Probably not easier, but it is free and much more configurable.
Re:Using a Pager in the 21st Century
by jedimastert on Sunday May 02, 2021 @09:59PM
(#27020893)
I get that learning is priceless and all of that good stuff, but at some point $5 is worth implementing an idea in 1 minute over several hours (assuming op actually has a router that's DD-WRT compatible)
This is peak Hacker News right here lmao
To elaborate on my snark, this doesn't work because:
- Whitelisting my messaging app means I'd still get pinged for non-emergency messages
- Enforcing the block at the software level makes it too easy for me to disable it when the temptation arises. My current setup forces me to walk upstairs, flip the switch, then wait multiple minutes for the router to boot.
It would also take a lot more effort to set up, and time is money!