Decidi quale dei due utilizzare.
Con questo tua configurazione, a meno di conflitti che si potrebbero verificare, probabilmente se come proxy usi:
Codice: Seleziona tutto
proxy="127.0.0.1:8123"
Codice: Seleziona tutto
proxy="127.0.0.1:8118"
Ciao
Codice: Seleziona tutto
proxy="127.0.0.1:8123"
Codice: Seleziona tutto
proxy="127.0.0.1:8118"
Codice: Seleziona tutto
Maicolm, non è curl, è che stai usando due proxy contemporaneamente...
Decidi quale dei due utilizzare.
Con questo tua configurazione, a meno di conflitti che si potrebbero verificare, probabilmente se come proxy usi:
Codice:
proxy="127.0.0.1:8123"
al posto di:
Codice:
proxy="127.0.0.1:8118"
all'inizio dello script, ti parte...
Ciao
Codice: Seleziona tutto
sudo service polipo stop
sudo service privoxy stop
Codice: Seleziona tutto
sudo service privoxy start
Codice: Seleziona tutto
sudo netstat -natp
Codice: Seleziona tutto
whois $(curl -x 127.0.0.1:8118 http://www.whatismyip.org)
Codice: Seleziona tutto
sudo netstat -natp
Connessioni internet attive (server e stabiliti)
Proto Recv-Q Send-Q Indirizzo locale Indirizzo esterno Stato PID/Program name
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1298/cupsd
tcp 0 0 127.0.0.1:9050 0.0.0.0:* LISTEN 6592/tor
tcp 0 0 192.168.0.192:60202 91.189.94.248:80 TIME_WAIT -
tcp 1 0 192.168.0.192:46826 91.189.89.31:80 CLOSE_WAIT 2394/gvfsd-http
tcp 0 0 192.168.0.192:60200 91.189.94.248:80 TIME_WAIT -
tcp 0 0 192.168.0.192:55565 46.4.58.8:995 ESTABLISHED 6592/tor
tcp 0 0 192.168.0.192:60198 91.189.94.248:80 TIME_WAIT -
tcp 1 0 192.168.0.192:44837 91.189.89.31:80 CLOSE_WAIT 2394/gvfsd-http
tcp 0 0 192.168.0.192:60201 91.189.94.248:80 TIME_WAIT -
tcp 0 0 192.168.0.192:60204 91.189.94.248:80 TIME_WAIT -
tcp 0 0 192.168.0.192:52230 199.48.147.41:443 ESTABLISHED 6592/tor
tcp 0 0 192.168.0.192:47137 149.9.0.58:9001 ESTABLISHED 6592/tor
tcp6 0 0 ::1:8118 :::* LISTEN 6683/privoxy
tcp6 0 0 ::1:631 :::* LISTEN 1298/cupsd
Codice: Seleziona tutto
whois $(curl -x 127.0.0.1:8118 http://www.whatismyip.org)
curl: (7) couldn't connect to host
Uso: whois [OPZIONE]... OGGETTO...
-l trova le corrispondenze un livello meno specifiche [RPSL]
-L trova le corrispondenze meno specifiche
-m trova le corrispondenze di primo livello più specifiche
-M trova le corrispondenze più specifiche
-c trova le corrispondenze più specifica contenente un
attributo mnt-irt [solo RPSL]
-x trova solo la corrispondenza esatta [solo RPSL]
-d restituisce anche gli oggetti della delega del DNS [RPSL]
-i ATTR[,ATTR]... fa una ricerca inversa per l'ATTRibuto specificato
-T TIPO[,TIPO]... cerca solo oggetti del TIPO
-K restituisce solo le chiavi primarie [solo RPSL]
-r disabilita le ricerche ricorsive
-R mostra la copia locale dell'oggetto domain anche se
contiene un riferimento
-a cerca in tutti i database
-s SOURCE[,SOURCE]... cerca il database da SOURCE
-g SOURCE:FIRST-LAST trova gli aggiornamenti di SOURCE dal seriale F a L
-t TIPO chiede il template per un oggetto del TIPO ('all' per una lista)
-v TIPO chiede il template prolisso per un oggetto del TIPO
-q [version|sources|types] chiede al server le informazioni indicate [RPSL]
-F output grezzo veloce (implica -r)
-h HOST si connette al server HOST
-p PORTA si connette alla PORTA
-H nasconde le avvertenze legali
--verbose spiega cosa sta facendo
--help mostra questo aiuto ed esce
--version stampa le informazioni sulla versione ed esce
Codice: Seleziona tutto
sudo service privoxy stop
sudo apt-get purge privoxy
Codice: Seleziona tutto
sudo mv /etc/polipo/config /etc/polipo/config.ORIG
gksudo gedit /etc/polipo/config
Codice: Seleziona tutto
### Basic configuration
### *******************
# Uncomment one of these if you want to allow remote clients to
# connect:
# proxyAddress = "::0" # both IPv4 and IPv6
# proxyAddress = "0.0.0.0" # IPv4 only
proxyAddress = "127.0.0.1"
proxyPort = 8118
# If you do that, you'll want to restrict the set of hosts allowed to
# connect:
# allowedClients = "127.0.0.1, 134.157.168.57"
# allowedClients = "127.0.0.1, 134.157.168.0/24"
allowedClients = 127.0.0.1
allowedPorts = 1-65535
# Uncomment this if you want your Polipo to identify itself by
# something else than the host name:
proxyName = "localhost"
# Uncomment this if there's only one user using this instance of Polipo:
cacheIsShared = false
# Uncomment this if you want to use a parent proxy:
# parentProxy = "squid.example.org:3128"
# Uncomment this if you want to use a parent SOCKS proxy:
socksParentProxy = "localhost:9050"
socksProxyType = socks5
### Memory
### ******
# Uncomment this if you want Polipo to use a ridiculously small amount
# of memory (a hundred C-64 worth or so):
# chunkHighMark = 819200
# objectHighMark = 128
# Uncomment this if you've got plenty of memory:
# chunkHighMark = 50331648
# objectHighMark = 16384
chunkHighMark = 67108864
### On-disk data
### ************
# Uncomment this if you want to disable the on-disk cache:
diskCacheRoot = ""
# Uncomment this if you want to put the on-disk cache in a
# non-standard location:
# diskCacheRoot = "~/.polipo-cache/"
# Uncomment this if you want to disable the local web server:
localDocumentRoot = ""
# Uncomment this if you want to enable the pages under /polipo/index?
# and /polipo/servers?. This is a serious privacy leak if your proxy
# is shared.
# disableIndexing = false
# disableServersList = false
disableLocalInterface = true
disableConfiguration = true
### Domain Name System
### ******************
# Uncomment this if you want to contact IPv4 hosts only (and make DNS
# queries somewhat faster):
#
# dnsQueryIPv6 = no
# Uncomment this if you want Polipo to prefer IPv4 to IPv6 for
# double-stack hosts:
#
# dnsQueryIPv6 = reluctantly
# Uncomment this to disable Polipo's DNS resolver and use the system's
# default resolver instead. If you do that, Polipo will freeze during
# every DNS query:
dnsUseGethostbyname = yes
### HTTP
### ****
# Uncomment this if you want to enable detection of proxy loops.
# This will cause your hostname (or whatever you put into proxyName
# above) to be included in every request:
disableVia = true
# Uncomment this if you want to slightly reduce the amount of
# information that you leak about yourself:
# censoredHeaders = from, accept-language
# censorReferer = maybe
censoredHeaders = from,accept-language,x-pad,link
censorReferer = maybe
# Uncomment this if you're paranoid. This will break a lot of sites,
# though:
# censoredHeaders = set-cookie, cookie, cookie2, from, accept-language
# censorReferer = true
# Uncomment this if you want to use Poor Man's Multiplexing; increase
# the sizes if you're on a fast line. They should each amount to a few
# seconds' worth of transfer; if pmmSize is small, you'll want
# pmmFirstSize to be larger.
# Note that PMM is somewhat unreliable.
# pmmFirstSize = 16384
# pmmSize = 8192
# Uncomment this if your user-agent does something reasonable with
# Warning headers (most don't):
# relaxTransparency = maybe
# Uncomment this if you never want to revalidate instances for which
# data is available (this is not a good idea):
# relaxTransparency = yes
# Uncomment this if you have no network:
# proxyOffline = yes
# Uncomment this if you want to avoid revalidating instances with a
# Vary header (this is not a good idea):
# mindlesslyCacheVary = true
# Suggestions from Incognito configuration
maxConnectionAge = 5m
maxConnectionRequests = 120
serverMaxSlots = 8
serverSlots = 2
tunnelAllowedPorts = 1-65535
Codice: Seleziona tutto
sudo gedit /etc/tor/torrc
Codice: Seleziona tutto
## Configure exit node
ExitNodes {ch}
StrictNodes 1
Codice: Seleziona tutto
sudo service polipo stop
sudo service tor stop
sudo service polipo start
sudo service tor start
Non cambia nulla.Darby_Crash ha scritto: Allora boys... la questione è importante. Io sono per l'open source e non c'è dubbio su questo. Parecchia gente poi non ha capito che allo script ci ho lavorato una vita, solo io. Qualche giorno fa chiesi aiuto a KSV, che ha avuto il mio script e la funzione di generazione del token già in chiaro (ho decompilato il player e gli ho dato solo la funzione necessaria). Lui essendo esperto in flash non ci ha messo nulla a demistificare il tutto. Per quanto riguarda il resto è tutto sangue mio. KSV è un grande e il suo lavoro è stato fondamentale, ma lo script è mio e quindi ogni decisione spetta a me. Per lui la cosa non ha nemmeno importanza. Questo è stato solo un favore per me. Ho premesso questo non per voi, comunque...
Divertitevi come volete, alla fine il mio obbiettivo l'ho raggiunto, solo ricordateci nelle vostre preghiere e magari interpellate anche me per ogni eventuale progetto...
Bene, mi fa piacere. :)maicolm ha scritto: Grande ! Funziona.
grazie mille
Grazie Darby
« Inviato a: Darby_Crash inserita: 18 Settembre, 2011, 20:49:03 »
per il tuo impegno, tutti i canali che ci hai aiutato ad inserire, per la vera mentalità da forum opensource. Ma occhio che se disconnettono manualmente , come questa sera , in questo momento, su rai3, vuol dire che c'è l'impiegatino che lo fa in quell'ora, quella più seguita. Alcuni che ti stanno ponendo delle domande hanno una iscrizione al forum che risale ad 1, 2 anni fa ed in tutto questo tempo hanno solo una decina di messaggi..
Stiamo sviluppando una interfaccia mentre loro ne hanno una equivalente che aggiornano in base ai nostri sviluppi.
Ti mando un abbraccio e ti chiedo se si può trarre qualcosa di interessante da Lyngsat.
Ciao
OK! Retroattivamente, tutto quello che ho scritto è rilasciato sotto la WTFPL2.Senbee ha scritto: La prossima volta vi consiglio... di usare una licenza.
;lihin ha scritto: OTOK! Retroattivamente, tutto quello che ho scritto è rilasciato sotto la WTFPL2.Senbee ha scritto: La prossima volta vi consiglio... di usare una licenza.
Ciao ;D
Visualizzano questa sezione: 0 utenti iscritti e 10 ospiti