Re: A simplistic parental-control setup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 01/05/2012 01:21 AM, Marko Vojinovic wrote:
> On Wednesday 04 January 2012 18:04:43 Frank Cox wrote:
>> On Wed, 04 Jan 2012 23:58:17 +0000 Marko Vojinovic wrote:
>>> The point is that I need a simple, easy-to-implement, easy-to-configure
>>> and easy-to-maintain solution for this particular usecase.
>>
>> Put the disallowed addresses into your /etc/hosts file and associate those
>> addresses with whatever you want them to resolve to.
>
> Hmm... that sure looks simple enough. :-) I'll give it a try, thanks!
>

/etc/hosts is local DNS server. It does not work when http://1.2.3.4/xxx 
is used. You need iptables/PREROUTING/redirect? rules for that.

Also, I think you will need some kind of http server, at least like 
lighttpd.



-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux