Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #170737
| Path | csiph.com!news.mixmin.net!news.unit0.net!news.panservice.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Mark Fletcher <mark27q1@gmail.com> |
| Newsgroups | linux.debian.user |
| Subject | Re: Limiting internet access by time |
| Date | Fri, 05 Aug 2016 16:30:01 +0200 |
| Message-ID | <s2Oil-eE-5@gated-at.bofh.it> (permalink) |
| References | <s2AS5-af-3@gated-at.bofh.it> <s2KRs-6ky-15@gated-at.bofh.it> <s2LaO-6JM-9@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-user-request@lists.debian.org Fri Aug 5 14:22:57 2016 |
| Old-Return-Path | <mark27q1@gmail.com> |
| X-Amavis-Spam-Status | No, score=-5.549 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=no autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -7 |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=8ty5OQFGz48lWsVXF64gE8syFoMx7tilGlAoennTxGA=; b=lEPX+a82kwHDTtqB7gux/NXOYScrm6wjA8xt6tK52z1eJ2I3ef9HvbvzXT+bI4eJs3 WDLY9+aZp+rxIiWK8Y0JD6NfYap/sR6OUnYr7FFBXpANGzl03OscazXgCIpu0Cg5PUzT eVT59ariGPYE+2ysanR0yRaHl6g/Ab5BgzqhigFpKXCyxPjPp6vC5X+Y5VMd2IOb54fo ND4CX3pJOEoMyiL0lVwvxyOLZmswbl+Twcbl8BwecfMZ+/L0cVSELQQWl19r0FU54LBz SORGpo4yJ9QvYe4Anlj3g9Oyi/RIHKH5tqZJdFSjebIscRGNYitqrghy3vMj7c4ASowZ EyhA== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=8ty5OQFGz48lWsVXF64gE8syFoMx7tilGlAoennTxGA=; b=MXLj8s7JD0QSzqHsxbKFCqt0EULXT6w9fq9dOeSwI7lBP42D3KS/f+x7tfHVSCacYQ 0um/OPzp7sgPFvtYch+AdtGamOXlqGMGXN/JLvQybmS1jNTjQyZ3grhNjMQG87h07zHe qthzejFFaK565eHoLQD8vZcUkZV/sL0h9Lt3o0aisr9bI7uEM84cryYpDfcQ5cBmtcN/ +sNsyXuT3tAvUgLt5iRCt8ql3QlgT9xpWcgPsi24Qry5h8068EXOz4Eia9S2LJ+VLowg mbVPwKb/YyCHTI2ICcTte1gXcsfiDq8giyCHQlcaRkdmHisnz6lzmLnptE+/3loghEpq FeUg== |
| X-Gm-Message-State | AEkooustwMMIHi1aCutRrKOCr9jxSyL0daJlIx5zeoDHIfuzjTeu3NW6U9kPs/+veMG99Qi6cVyohzzzKFe5lg== |
| X-Received | by 10.25.131.150 with SMTP id f144mr21299628lfd.53.1470406959407; Fri, 05 Aug 2016 07:22:39 -0700 (PDT) |
| MIME-Version | 1.0 |
| Content-Type | multipart/alternative; boundary=001a113f20b87da8a6053953cc6e |
| X-Mailing-List | <debian-user@lists.debian.org> archive/latest/710254 |
| List-ID | <debian-user.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-user/> |
| List-Archive | https://lists.debian.org/msgid-search/CAH6Gj5EoLGu1F9tpbFGPnc=_wKNQHmK2q5kKz5Ux1Ov4OUQ8vQ@mail.gmail.com |
| Approved | robomod@news.nic.it |
| Lines | 131 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Fri, 05 Aug 2016 14:22:28 +0000 |
| X-Original-Message-ID | <CAH6Gj5EoLGu1F9tpbFGPnc=_wKNQHmK2q5kKz5Ux1Ov4OUQ8vQ@mail.gmail.com> |
| X-Original-References | <CAH6Gj5EXN8aVx=qL8swrQz-HkyzYsPN0gvU_oTkWYGNi+LX37g@mail.gmail.com> <05082016111455.79de7370e1f3@desktop.copernicus.demon.co.uk> <201608051200.28572.lisi.reisz@gmail.com> |
| Xref | csiph.com linux.debian.user:170737 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On Fri, 5 Aug 2016 at 20:00, Lisi Reisz <lisi.reisz@gmail.com> wrote: > On Friday 05 August 2016 11:40:28 Brian wrote: > > On Fri 05 Aug 2016 at 00:02:40 +0000, Mark Fletcher wrote: > > > On a stretch box I have, I want to allow access to the Internet between > > > the hours of 9am and 9pm and block it between 9pm and 9am. Ideally > allow > > > local network access throughout but block Internet access between 9pm > and > > > 9am, but I can accept total network blockage in the off times if > > > necessary. > > > > Your ideal is achievable. > > > > ip route del default via <gateway_IP> > > > > Plus a cron job. > > > > > The machine is used as a desktop, so it is not up all the time. It > might > > > be brought up before 9am, in which case it should come up blocked and > > > unblock at 9am, or it may be brought up after 9am, in which case it > > > should come up unblocked and block if it is still up at 9pm. Time > > > precision isn't important. > > > > If it came up unblocked before 9am cron could see to it that blocking > > happens. > > > > > An ideal solution would allow dhcp updates, ntp etc to continue but > block > > > any normal user access eg web browsing etc. > > > > How essential is this? cron could > > > > ip route add default via <gateway_IP> > > > > at specific times between 9pm and 9am and then remove the default route. > > If the machine isn't up all the time it seems unnecessary to me. > > Perhaps he wants to stop his children/grandchildren/house guests surfing > the > web at 3:00 am. > > Lisi > > Spot on, Lisi! I recently set up a stretch box for my 12-year-old who's interested in getting into Android programming, and he quickly developed the ugly habit of getting up in the middle of the night to watch YouTube videos of other people playing Wii games... Currently he's on his summer holiday so it isn't doing much harm, but in a few weeks he'll be back to school and as a responsible parent I can't let this continue. Simply asking him to stop doesn't have the desired effect, naturally. My wife is about an inch away from banning the computer altogether, and I'm trying to find an acceptable compromise to prevent that... Mark
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Limiting internet access by time Mark Fletcher <mark27q1@gmail.com> - 2016-08-05 02:10 +0200
Re: Limiting internet access by time Lars Noodén <lars.nooden@gmail.com> - 2016-08-05 09:30 +0200
Re: Limiting internet access by time Mark Fletcher <mark27q1@gmail.com> - 2016-08-05 17:40 +0200
Re: Limiting internet access by time Brian <ad44@cityscape.co.uk> - 2016-08-05 12:50 +0200
Re: Limiting internet access by time Lisi Reisz <lisi.reisz@gmail.com> - 2016-08-05 13:10 +0200
Re: Limiting internet access by time Brian <ad44@cityscape.co.uk> - 2016-08-05 16:10 +0200
Re: Limiting internet access by time David Wright <deblis@lionunicorn.co.uk> - 2016-08-05 18:00 +0200
Re: Limiting internet access by time Mark Fletcher <mark27q1@gmail.com> - 2016-08-05 18:00 +0200
Re: Limiting internet access by time Dan Ritter <dsr@randomstring.org> - 2016-08-05 19:50 +0200
Re: Limiting internet access by time Brian <ad44@cityscape.co.uk> - 2016-08-05 21:10 +0200
Re: Limiting internet access by time Brian <ad44@cityscape.co.uk> - 2016-08-06 03:40 +0200
Re: Limiting internet access by time Mark Fletcher <mark27q1@gmail.com> - 2016-08-06 07:30 +0200
Re: Limiting internet access by time Dan Ritter <dsr@randomstring.org> - 2016-08-07 03:00 +0200
Re: Limiting internet access by time Mark Fletcher <mark27q1@gmail.com> - 2016-08-07 05:40 +0200
Re: Limiting internet access by time Brian <ad44@cityscape.co.uk> - 2016-08-07 20:20 +0200
Re: Limiting internet access by time Mark Fletcher <mark27q1@gmail.com> - 2016-08-08 02:10 +0200
Re: Limiting internet access by time Dan Ritter <dsr@randomstring.org> - 2016-08-09 19:30 +0200
Re: Limiting internet access by time Stefan Monnier <monnier@iro.umontreal.ca> - 2016-08-09 21:20 +0200
Re: Limiting internet access by time Dan Ritter <dsr@randomstring.org> - 2016-08-10 15:40 +0200
Re: Limiting internet access by time Stefan Monnier <monnier@iro.umontreal.ca> - 2016-08-10 17:00 +0200
Re: Limiting internet access by time Dan Ritter <dsr@randomstring.org> - 2016-08-10 18:10 +0200
Re: Limiting internet access by time Stefan Monnier <monnier@iro.umontreal.ca> - 2016-08-10 22:40 +0200
Re: Limiting internet access by time Brian <ad44@cityscape.co.uk> - 2016-08-05 20:50 +0200
Re: Limiting internet access by time Mark Fletcher <mark27q1@gmail.com> - 2016-08-06 07:30 +0200
Re: Limiting internet access by time Mark Fletcher <mark27q1@gmail.com> - 2016-08-05 16:30 +0200
Re: Limiting internet access by time pv29@gatech.edu - 2016-08-08 01:10 +0200
Re: Limiting internet access by time Curt <curty@free.fr> - 2016-08-08 09:00 +0200
Re: Limiting internet access by time pascalv@sdf.org - 2016-08-08 10:30 +0200
Re: Limiting internet access by time Karol Augustin <karol@augustin.pl> - 2016-08-08 12:00 +0200
csiph-web