News for hackers. Stuff that matters.
Re:Fortnite addiction and parenting in the age of screens by floathub on Friday December 07, 2018 @04:11PM (#18631707)
Step 1: Setup a pihole (https://pi-hole.net/)

Step 2: Configure home router to send _all_ port 53 (DNS traffic) to the pihole

Step 3: Run cronjob on the pihole to disable fortnite completely at whatever times you want, e.g., turn off access every week night at 7:30pm, then back on overnight:

30 19 * * 0-4 /home/pi/pihole_timed_lists/turn_blacklist_on >> /home/pi/pihole_timed_lists/log/turn_blocklist_on.log 2>&1

0 1 * * 1-5 /home/pi/pihole_timed_lists/turn_blacklist_off >> /home/pi/pihole_timed_lists/log/turn_blocklist_off.log 2>&1

The turn_blacklist_on script can be as simple as:

/usr/local/bin/pihole --wild epicgames.com easy.ac easyanticheat.net xboxlive.com microsoft.com

And then the turn blacklist off can be:

/usr/local/bin/pihole --wild -d epicgames.com easy.ac easyanticheat.net xboxlive.com microsoft.com

Works like a charm, and handles PC + XBox access. Kids know it stops dead at 7:30, so no arguments.

[edited for spelling]

Re:Fortnite addiction and parenting in the age of screens by PyroLagus on Friday December 07, 2018 @07:34PM (#18632972)
Until they get a winning game ruined by a sudden net cutoff. Although that's probably not a big issue with Fortnite since expected game lengths should be fairly predictable (average seems to be 20-25 mins from what I've found) due to the encroaching wall thing. Would be cool though if it could recognize an ongoing game and cut off the connection only after the game is finished.
Re:Fortnite addiction and parenting in the age of screens by ryanlol on Saturday December 08, 2018 @03:10PM (#18637247)
This should not cut off ongoing games, except maybe if the anticheat was implemented by morons.

I’m not sure it it’d even very reliably stop you from starting a new game, but I guess it probably works well enough.

Re:Fortnite addiction and parenting in the age of screens by joezydeco on Friday December 07, 2018 @05:28PM (#18632273)
There are commercial solutions as well, if you want a turnkey and/or multiuser solution.
Re:Fortnite addiction and parenting in the age of screens by Lkjhmnbv on Saturday December 08, 2018 @01:59PM (#18636841)
In the good old days we'd just use ips to connect to irc, and then ask for server ips. Loved dns blocking because I still could do whatever I wanted.