Calendario
Data: 14/06/2025
Ora: 13:40
« Giugno 2025 »
Lu Ma Me Gi Ve Sa Do
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30


Login


:


Choose your language:
deutsch english español français italiano português


Utenti
Persone on-line:
admins 0 amministratori
users 0 utenti
guests 1 ospiti


Sondaggio
Nessun sondaggio attivo in questo momento:
vecchi sondaggi


archlinux


Linux TimeLine


Unix TimeLine


CO2


Menu:

  • Home
  • Archivio News
  • Contatti
  • Download
  • Gallery
02 Cerca
Ricerca parole o frasi all'interno del sito.
Ricerca avanzata


25 30th


30 marchioCS


00 stat2019
[ 31-12-2019 statistiche ]

Statistiche


Voto


fondazione


calcolo distribuito


effetto


#341724 GNU/Linux
SaCarde

prova proxy socks dante

../nonews.pngtest proxy dante

ho fatto una prova sul mio pc

- configurato sockd.conf
- avviato il server socksd
- configurato socks.conf
- avviato un :
socksify telnet pop.tiscali.it 110

dopo alcuni messaggi ...
(telnet[19447]: socketoptdup(): setsockopt(0, 32): Invalid argument (errno = 22))

accedo tranquillamente al server di posta



ecco i file di configurazione:

sockd.conf:


# A sample sockd.conf that I use for demonstrating SOCKS
#
# See the actual file /etc/sockd.conf in your own installation of
# Dante for further details.
####################### ServerSettings ##########################
# the server will log both via syslog, to stdout and to /var/log/sockd
logoutput: syslog stdout /var/log/sockd
internal: 127.0.0.1 port = 1080
# all outgoing connections from the server will use the IP address
# 195.168.1.1
external: eth0 # See my Slide 23 for what it means to
# to run a SOCKS server behind a home router
# list over acceptable methods, order of preference. A method not set
# here will never be selected. If the method field is not set in a
# rule, the global method is filled in for that rule. Client
# authentication method:
method: username none
# The following is unnecessary if not doing authentication. When doing
# something that can require privilege, it will use the userid "sockd".
#user.privileged: sockd
# When running as usual, it will use the unprivileged userid of "sockd".
#user.notprivileged: sockd
user.notprivileged: nobody
# do you want to accept connections from addresses without dns info?
# what about addresses having a mismatch in dnsinfo?
# srchost: nounknown nomismatch
# 26
############################ RULES ############################
# There are two kinds and they work at different levels. (See Slides 24)
#
#===================== rules checked first ===========================
# Allow our clients, also provides an example of the port range command.
#client pass {
# from: 10.0.0.0/8 port 1-65535 to: 0.0.0.0/0
# method: rfc931 # match all idented users that also are in passwordfile
#}
client pass {
from: 192.168.1.0/24 port 1-65535 to: 0.0.0.0/0
}
client pass {
from: 127.0.0.0/8 port 1-65535 to: 0.0.0.0/0
}
client block {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: connect error
}
#========================== the rules checked next ================
#block {
# from: 0.0.0.0/0 to: 127.0.0.0/8
# log: connect error
#}
pass {
from: 192.168.1.0/24 to: 0.0.0.0/0
protocol: tcp udp
}
pass {
from: 127.0.0.0/8 to: 0.0.0.0/0
protocol: tcp udp
}
block {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: connect error
}
# See /etc/sockd.conf of your installation for additional examples
# of such rules.









socks.conf:


# A sample socks.conf that I use for demonstrating SOCKS clients
#
# See the actual file /etc/socks.conf in your own installation of
# Dante for further details.
#debug: 1

logoutput: stdout /var/log/socks


# Send the dns lookups to the proxy server:
route {
from: 0.0.0.0/0 to: 0.0.0.0/0 via: 127.0.0.1 port = 1080
command: bind
}
# Send client requests to the proxy server at the address shown:
route {
from: 0.0.0.0/0 to: 0.0.0.0/0 via: 127.0.0.1 port = 1080
protocol: tcp udp # server supports tcp and udp.
proxyprotocol: socks_v4 socks_v5 # server supports socks v4 and v5.
method: none #username # we are willing to authenticate via
# method "none", not "username".
}
# Same as above except that the remote services may now be named
# by symbolic hostnames:
route {
from: 0.0.0.0/0 to: . via: 127.0.0.1 port = 1080
protocol: tcp udp
proxyprotocol: socks_v4 socks_v5
method: none #username
}
Postato Giovedi 18 Giugno 2009 - 10:22 (letto 3233 volte)
Comment Commenti? Print Stampa


« Notizia precedente | Notizia successiva »

Le ultime notizie relative a questo argomento

Read kubuntu (13/08/2021 - 14:14) letto 752 volte
Read kubuntu + kmail(trinity desktop) (08/08/2021 - 10:43) letto 788 volte
Read âœ alb 13/4/1936 12/9/2020 (13/09/2020 - 08:52) letto 945 volte
Read zentyal + inserimento in PDC (29/10/2017 - 17:03) letto 1923 volte
Read installare vmware-tools su rhel/deriv. (14/12/2014 - 11:21) letto 1898 volte
Read Ubuntu Small Business Server 10.04 (02/11/2014 - 17:10) letto 2118 volte
Read simulazione d'esame LPI 101 102 (20/07/2014 - 10:29) letto 4336 volte
Read motd dinamico su ubuntu (15/06/2014 - 10:38) letto 2400 volte
Read raggiunto quota 700.000 progetto WCG (06/03/2013 - 09:07) letto 1869 volte
Read raggiunto quota 600.000 progetto WCG (09/10/2012 - 16:34) letto 1908 volte
Read stop & restart qemu-kvm (22/09/2012 - 10:39) letto 1953 volte
Read esperienza LVM su ScientificLinux-6.1 (18/07/2012 - 13:27) letto 2168 volte
Read alla scoperta di VLC (29/05/2012 - 11:23) letto 2003 volte
Read boinc WCG a quota 500.000 (24/05/2012 - 09:11) letto 1883 volte
Read salvataggio su usb in vfat (09/05/2012 - 10:58) letto 1901 volte
Read 10 anni con archlinux.org (20/03/2012 - 09:53) letto 1875 volte
Read nopaste fatto in casa (04/02/2012 - 10:25) letto 1911 volte
Read inviare e scaricare da sito ftp (01/02/2012 - 11:05) letto 2018 volte
Read uomo + 2 = benevolenza (01/01/2012 - 13:49) letto 2007 volte
Read ubuntu & remastersys (alternativa: UCK) (31/12/2011 - 17:37) letto 2268 volte
Read WCG raggiunta quota 400.000 (13/11/2011 - 21:55) letto 1938 volte
Read sacarde Linux su youtube (15/10/2011 - 09:20) letto 1924 volte
Read registrare audio + video desktop (07/10/2011 - 13:59) letto 2479 volte
Read programmazione tasti multimediali 2 (12/09/2011 - 17:16) letto 1944 volte
Read ... la directory che non c'e' ... (11/09/2011 - 10:38) letto 1739 volte
Read WCG raggiunta quota 300.000 (19/03/2011 - 17:08) letto 1747 volte
Read networking in Qemu dentro Qemu (16/02/2011 - 10:23) letto 1960 volte
Read BLFS (aggiunto XDM) (26/09/2010 - 14:00) letto 1892 volte
Read personalizzazione icone akregator (31/08/2010 - 10:00) letto 1896 volte
Read WCG raggiunta quota 200.000 (02/07/2010 - 09:21) letto 1671 volte
Read verso KMS con driver "nouveau" (26/06/2010 - 10:54) letto 1930 volte
Read storia dell'informatica vol. I (13/03/2010 - 11:47) letto 1944 volte
Read connessione backup ppp (05/02/2010 - 21:18) letto 1868 volte
Read trasformare router NETGEAR in un Hub (28/01/2010 - 10:17) letto 2486 volte
Read situazione disco Mac-Mini (17/01/2010 - 10:28) letto 1785 volte
Read PKGBUILD per compilazione kernel + patch (10/01/2010 - 11:34) letto 2449 volte
Read programmazione tasti multimediali (08/12/2009 - 14:20) letto 1911 volte
Read boinc WCG raggiunti 100.000 crediti (19/11/2009 - 09:23) letto 2044 volte
Read yggdrasil & storia di Linux (28/08/2009 - 16:38) letto 3805 volte
Read libri sulla programmazione C in Linux (II) (22/08/2009 - 09:53) letto 1904 volte
Read debugfs (16/08/2009 - 11:11) letto 1987 volte
Read programmazione C (I) (08/08/2009 - 14:26) letto 1822 volte
Read esperienza partimage (26/07/2009 - 16:27) letto 1852 volte
Read [risolto] problema audio 2.6.30 (20/07/2009 - 17:09) letto 1884 volte
Read ringraziamento Luca Maggi (11/07/2009 - 11:33) letto 3536 volte
Read prova proxy socks dante (18/06/2009 - 10:22) letto 3233 volte
Read hardware for linux (19/03/2009 - 16:29) letto 1823 volte
Read A.P. Lawrence's Linux Skills Test (19/03/2009 - 12:29) letto 1812 volte
Read vecchi documenti (15/02/2009 - 10:17) letto 3434 volte
Read roadmap corso linux avanzato (18/01/2009 - 17:29) letto 1823 volte
Read installazione airport su 2.6.25 (18/07/2008 - 10:39) letto 1741 volte

Tutte le notizie relative a questo argomento
../nonews.png

original template by Aran Down.
FlatNuke Valid HTML 4.01! Valid CSS! Get RSS 2.0 Feed Mail me!
This is a free software released under the GNU General Public License. | Cookie Policy
Page generated in 0.0150 seconds.