[Server-devel] Dansguardian on XS

Martin Langhoff martin.langhoff at gmail.com
Tue Apr 5 11:04:48 EDT 2011


2011/4/5 Xavier Carcelle <xavier.carcelle at gmail.com>:
> Sabes si algunas han installado el Dansguardian on un XO directamente
> para fitrar XO si no hay XS ?

No, pero hay una tecnica alternativa:

1 - Instala tu propio servidor de DNS que "forwardea" a OpenDNS. Tiene
que tener una IP publica.

2 - Al armar la imagen en olpc-os-builder, agrega un script en
/etc/NetworkManager/dispatcher.d que cuando se establece una conexion
de red, evalua si esta en la red de la escuela (en ese caso, confia en
el XS) o fuera de la escuela (en ese caso, ignora el servidor de DNS
provisto via dhcp y usa el servidor que has instalado en el paso #1

Puedo ayudarlos con el script del paso #2 :-)

 -- In English

for those wanting to provide content filtering both in the school and
outside, there is a good technique based on running your own DNS
server...

 1 - Install your own DNS server (configured with "forwarder" line to
OpenDNS). Must have a public IP address...

 2 - When building your OS image on olpc-os-builder, add a script in
/etc/NetworkManager/dispatcher.d -- the script gets called when a
network connection is established. It must check whether it is in a
school network (in this case, it trusts the XS to filter) or outside
(in this case, it ignores the DNS server provided via DHCP, and uses
instead the DNS server configured in step #1).

I can help with the script for #2...



m
-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff



More information about the Devel mailing list