je mets aussi en ligne les retours suivants
cat /etc/dnsmasq.conf
Configuration file for “dnsmasq with blackhole”
Inclusion de la blacklist de Toulouse dans la configuration
conf-dir=/usr/local/etc/CTparental/blacklist-enabled
conf-file=/alcasar-dns-name # zone de definition de noms DNS locaux
interface=lo
listen-address=127.0.0.1
no-dhcp-interface=wlan0
bind-interfaces
cache-size=1024
domain-needed
expand-hosts
bogus-priv
port=54
server=192.168.1.1
server=
cat /etc/lighttpd/lighttpd.conf
server.modules = (
“mod_access”,
“mod_alias”,
“mod_redirect”,
“mod_auth”, #pour interface admin
"mod_fastcgi", #pour interface admin (activation du php)
)
auth.debug = 0
auth.backend = "htdigest"
auth.backend.htdigest.userfile = “/etc/lighttpd/lighttpd-htdigest.user”
server.document-root = "/var/www"
server.upload-dirs = ( “/var/cache/lighttpd/uploads” )
#server.errorlog = “/var/log/lighttpd/error.log” # ne pas decommenter sur les eeepc qui on /var/log en tmpfs
server.pid-file = "/var/run/lighttpd.pid"
server.username = "www-data"
server.groupname = "www-data"
server.port = 80
server.bind = “127.0.0.1”
index-file.names = ( “index.php”, “index.html” )
url.access-deny = ( “~”, “.inc” )
static-file.exclude-extensions = (".php", “.pl”, “.fcgi” )
server.tag = “”
include_shell "/usr/share/lighttpd/create-mime.assign.pl"
include_shell “/usr/share/lighttpd/include-conf-enabled.pl”
cat /etc/resolv.conf
Generated by NetworkManager
nameserver 192.168.1.1
service lighttpd status
● lighttpd.service - Lighttpd Daemon
Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled)
Active: active (running) since mar. 2015-11-10 21:27:23 CET; 22s ago
Process: 31410 ExecStartPre=/usr/sbin/lighttpd -t -f /etc/lighttpd/lighttpd.conf (code=exited, status=0/SUCCESS)
Main PID: 31417 (lighttpd)
CGroup: /system.slice/lighttpd.service
├─31417 /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
├─31423 /usr/bin/php-cgi
├─31424 /usr/bin/php-cgi
├─31425 /usr/bin/php-cgi
├─31426 /usr/bin/php-cgi
├─31427 /usr/bin/php-cgi
├─31428 /usr/bin/php-cgi
├─31429 /usr/bin/php-cgi
└─31430 /usr/bin/php-cgi
nov. 10 21:27:23 monpc lighttpd[31410]: Syntax OK
nov. 10 21:27:23 monpc lighttpd[31417]: 2015-11-10 21:27:23: (log.c.164) server started
service lighttpd status
● lighttpd.service - Lighttpd Daemon
Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled)
Active: active (running) since mar. 2015-11-10 21:27:23 CET; 1min 3s ago
Process: 31410 ExecStartPre=/usr/sbin/lighttpd -t -f /etc/lighttpd/lighttpd.conf (code=exited, status=0/SUCCESS)
Main PID: 31417 (lighttpd)
CGroup: /system.slice/lighttpd.service
├─31417 /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
├─31423 /usr/bin/php-cgi
├─31424 /usr/bin/php-cgi
├─31425 /usr/bin/php-cgi
├─31426 /usr/bin/php-cgi
├─31427 /usr/bin/php-cgi
├─31428 /usr/bin/php-cgi
├─31429 /usr/bin/php-cgi
└─31430 /usr/bin/php-cgi
nov. 10 21:27:23 monpc lighttpd[31410]: Syntax OK
nov. 10 21:27:23 monpc lighttpd[31417]: 2015-11-10 21:27:23: (log.c.164) server started
ip route
default via 192.168.1.1 dev wlan0 proto static metric 1024
192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.55
netstat -anlp | grep -w LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 444/rpcbind
tcp 0 0 127.0.0.10:80 0.0.0.0:* LISTEN 31417/lighttpd
tcp 0 0 127.0.0.1:80 0.0.0.0:* LISTEN 31417/lighttpd
tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN 10363/dansguardian
tcp 0 0 127.0.0.1:54 0.0.0.0:* LISTEN 10343/dnsmasq
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 525/cupsd
tcp 0 0 127.0.0.1:8888 0.0.0.0:* LISTEN 10382/privoxy
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 31417/lighttpd
tcp 0 0 0.0.0.0:46308 0.0.0.0:* LISTEN 453/rpc.statd
tcp6 0 0 :::111 :::* LISTEN 444/rpcbind
tcp6 0 0 :::52541 :::* LISTEN 453/rpc.statd