SaCarde
prova proxy socks dante
test 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
}
Le ultime notizie relative a questo argomento
kubuntu (13/08/2021 - 14:14) letto 602 volte
kubuntu + kmail(trinity desktop) (08/08/2021 - 10:43) letto 618 volte
✠alb 13/4/1936 12/9/2020 (13/09/2020 - 08:52) letto 797 volte
zentyal + inserimento in PDC (29/10/2017 - 17:03) letto 1749 volte
installare vmware-tools su rhel/deriv. (14/12/2014 - 11:21) letto 1748 volte
Ubuntu Small Business Server 10.04 (02/11/2014 - 17:10) letto 1962 volte
simulazione d'esame LPI 101 102 (20/07/2014 - 10:29) letto 3806 volte
motd dinamico su ubuntu (15/06/2014 - 10:38) letto 2273 volte
raggiunto quota 700.000 progetto WCG (06/03/2013 - 09:07) letto 1738 volte
raggiunto quota 600.000 progetto WCG (09/10/2012 - 16:34) letto 1790 volte
stop & restart qemu-kvm (22/09/2012 - 10:39) letto 1820 volte
esperienza LVM su ScientificLinux-6.1 (18/07/2012 - 13:27) letto 2035 volte
alla scoperta di VLC (29/05/2012 - 11:23) letto 1864 volte
boinc WCG a quota 500.000 (24/05/2012 - 09:11) letto 1769 volte
salvataggio su usb in vfat (09/05/2012 - 10:58) letto 1786 volte
10 anni con archlinux.org (20/03/2012 - 09:53) letto 1755 volte
nopaste fatto in casa (04/02/2012 - 10:25) letto 1794 volte
inviare e scaricare da sito ftp (01/02/2012 - 11:05) letto 1888 volte
uomo + 2 = benevolenza (01/01/2012 - 13:49) letto 1875 volte
ubuntu & remastersys (alternativa: UCK) (31/12/2011 - 17:37) letto 2135 volte
WCG raggiunta quota 400.000 (13/11/2011 - 21:55) letto 1830 volte
sacarde Linux su youtube (15/10/2011 - 09:20) letto 1810 volte
registrare audio + video desktop (07/10/2011 - 13:59) letto 2362 volte
programmazione tasti multimediali 2 (12/09/2011 - 17:16) letto 1829 volte
... la directory che non c'e' ... (11/09/2011 - 10:38) letto 1622 volte
WCG raggiunta quota 300.000 (19/03/2011 - 17:08) letto 1618 volte
networking in Qemu dentro Qemu (16/02/2011 - 10:23) letto 1843 volte
BLFS (aggiunto XDM) (26/09/2010 - 14:00) letto 1771 volte
personalizzazione icone akregator (31/08/2010 - 10:00) letto 1769 volte
WCG raggiunta quota 200.000 (02/07/2010 - 09:21) letto 1572 volte
verso KMS con driver "nouveau" (26/06/2010 - 10:54) letto 1795 volte
storia dell'informatica vol. I (13/03/2010 - 11:47) letto 1818 volte
connessione backup ppp (05/02/2010 - 21:18) letto 1742 volte
trasformare router NETGEAR in un Hub (28/01/2010 - 10:17) letto 2365 volte
situazione disco Mac-Mini (17/01/2010 - 10:28) letto 1663 volte
PKGBUILD per compilazione kernel + patch (10/01/2010 - 11:34) letto 2331 volte
programmazione tasti multimediali (08/12/2009 - 14:20) letto 1800 volte
boinc WCG raggiunti 100.000 crediti (19/11/2009 - 09:23) letto 1918 volte
yggdrasil & storia di Linux (28/08/2009 - 16:38) letto 3607 volte
libri sulla programmazione C in Linux (II) (22/08/2009 - 09:53) letto 1768 volte
debugfs (16/08/2009 - 11:11) letto 1867 volte
programmazione C (I) (08/08/2009 - 14:26) letto 1684 volte
esperienza partimage (26/07/2009 - 16:27) letto 1728 volte
[risolto] problema audio 2.6.30 (20/07/2009 - 17:09) letto 1769 volte
ringraziamento Luca Maggi (11/07/2009 - 11:33) letto 3414 volte
prova proxy socks dante (18/06/2009 - 10:22) letto 3063 volte
hardware for linux (19/03/2009 - 16:29) letto 1713 volte
A.P. Lawrence's Linux Skills Test (19/03/2009 - 12:29) letto 1687 volte
vecchi documenti (15/02/2009 - 10:17) letto 3307 volte
roadmap corso linux avanzato (18/01/2009 - 17:29) letto 1699 volte
installazione airport su 2.6.25 (18/07/2008 - 10:39) letto 1625 volte
Tutte le notizie relative a questo argomento