Moderator: ago


Da qualche errore la pagina? Il comando curl -I https://www.gentoo.org/support/use-flags/ cosa ritorna?ciro64 wrote:Uhm con me non va
Indagherò un po' di più.....
Code: Select all
sandro@ci74771ht ~ $ curl -I https://www.gentoo.org/support/use-flags/ cosa ritorna?
curl: (7) Couldn't connect to server
HTTP/1.1 302 Moved Temporarily
Server: nginx
Date: Sat, 30 Sep 2017 17:43:49 GMT
Content-Type: text/html
Content-Length: 154
Location: http://ricerca.wind.it/?missingurl=cosa
HTTP/1.1 302 Moved Temporarily
Server: nginx
Date: Sat, 30 Sep 2017 17:43:49 GMT
Content-Type: text/html
Content-Length: 154
Location: http://ricerca.wind.it/?missingurl=ritorna

Code: Select all
$ curl -I https://www.gentoo.org/support/use-flags/Code: Select all
ci74771ht ~ # curl -I https://www.gentoo.org/support/use-flags/
curl: (7) Couldn't connect to server
ci74771ht ~ #

Code: Select all
nameserver 208.67.220.220 Code: Select all
nameserver 192.168.1.1
Code: Select all
ci74771ht ~ # ping -c 5 gentoo.org
PING gentoo.org (89.16.167.134) 56(84) bytes of data.
64 bytes from gentoo.org (89.16.167.134): icmp_seq=1 ttl=48 time=49.9 ms
64 bytes from gentoo.org (89.16.167.134): icmp_seq=2 ttl=48 time=50.1 ms
64 bytes from gentoo.org (89.16.167.134): icmp_seq=3 ttl=48 time=51.2 ms
64 bytes from gentoo.org (89.16.167.134): icmp_seq=4 ttl=48 time=52.1 ms
64 bytes from gentoo.org (89.16.167.134): icmp_seq=5 ttl=48 time=49.6 ms
--- gentoo.org ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4005ms
rtt min/avg/max/mdev = 49.698/50.616/52.106/0.920 ms

Quindi lascia stare il resolv.conf visto che il dns funziona.ciro64 wrote:comunque con il resolv.conf impostato su 192.168.1.1 facendo ping gentoo.orgCode: Select all
ci74771ht ~ # ping -c 5 gentoo.org PING gentoo.org (89.16.167.134) 56(84) bytes of data. 64 bytes from gentoo.org (89.16.167.134): icmp_seq=1 ttl=48 time=49.9 ms 64 bytes from gentoo.org (89.16.167.134): icmp_seq=2 ttl=48 time=50.1 ms 64 bytes from gentoo.org (89.16.167.134): icmp_seq=3 ttl=48 time=51.2 ms 64 bytes from gentoo.org (89.16.167.134): icmp_seq=4 ttl=48 time=52.1 ms 64 bytes from gentoo.org (89.16.167.134): icmp_seq=5 ttl=48 time=49.6 ms --- gentoo.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4005ms rtt min/avg/max/mdev = 49.698/50.616/52.106/0.920 ms
Code: Select all
# chattr +i /etc/resolv.conf

Meglio che usi il pannello di networkmanager per impostarelo (vedi qui).ciro64 wrote:Comunque ho dovuto usare per forza :Altrimenti NetworkManager mi reimposta il nameserver a 192.168.1.1Code: Select all
# chattr +i /etc/resolv.conf
Cambiare il dns non dovrebbe essere un problema e' solo quello che risolve i nomi dei nodi della rete in indirizzi IP e viceversa.ciro64 wrote:Eventualmente solo una piccola domanda: avendo modificato questo parametro, ci possono essere effetti "collaterali" ? (perdonatemi ma con le reti sono una chiavica ..... io uso un semplice PC Desktop).

Ma non saprei, mai fatto test in questo senso.ciro64 wrote:Ho optato per OpenDNS ..... bah sarà forse solo suggestione ma mi sembra più rapido. può essere ? o è "un abbaglio" ?

Code: Select all
# less /usr/portage/profiles/use*descCode: Select all
# cat /usr/portage/profiles/use*desc | grep -i <useflag>BrickerBot cerca di penetrare nel sistema utilizzando degli attacchi brute force ed una volta loggatosi esegue una serie di comandi atti a “neutralizzare” il dispositivo, rendendolo di fatto un “mattone” (brick). BrickerBot circola in diverse versioni ma sostanzialmente esegue:
una scrittura di dati random sulle memorie flash, per danneggiarle
limitano la connettività, rimuovono il gateway
limitano i thread del kernel a 1
cancellano ogni file presente
riavviano il dispositivo