Calendario
Date: 25/11/2009
Time: 23:22
« November 2009 »
Mo Tu We Th Fr Sa Su
            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


:


Have you registered yet?
Register now!
Choose your language:
deutsch english español français italiano português


Utenti
People on-line:     
admins 0 administrators
users 0 users
guests 5 guests


Sondaggio
scegli un colore




[ Results | Polls ]
Votes: 7 | Comments: 0


Menu:

  • Home
  • Archivio News
  • Forum
  • Contatti
  • Download
  • Gallery
  • Mappa Sito
Servizi
» Propose News
» Find
» Headlines
» Backend


Cerca
Search contents on this site.
Advanced search


Statistiche
Visite: 17797
Statistiche


Voto


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 mail.interfree.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
}
Posted Thursday 18 June 2009 - 10:22 (read 19 times)
Comment Comments? Print Print


« Previous news | Next news »

Latest news about this argument

Read boinc WCG raggiunti 100.000 crediti (19/11/2009 - 09:23) read 5 times
Read yggdrasil & storia di Linux (28/08/2009 - 16:38) read 18 times
Read libri sulla programmazione C in Linux (II) (22/08/2009 - 09:53) read 14 times
Read debugfs (16/08/2009 - 11:11) read 13 times
Read programmazione C (I) (08/08/2009 - 14:26) read 15 times
Read esperienza partimage (26/07/2009 - 16:27) read 13 times
Read [risolto] problema audio 2.6.30 (20/07/2009 - 17:09) read 28 times
Read ringraziamento Luca Maggi (11/07/2009 - 11:33) read 40 times
Read prova proxy socks dante (18/06/2009 - 10:22) read 19 times
Read hardware for linux (19/03/2009 - 16:29) read 37 times
Read A.P. Lawrence's Linux Skills Test (19/03/2009 - 12:29) read 42 times
Read vecchi documenti (15/02/2009 - 10:17) read 103 times
Read roadmap corso linux avanzato (18/01/2009 - 17:29) read 62 times
Read installazione airport su 2.6.25 (18/07/2008 - 10:39) read 69 times

All the news about this argument
../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.
Page generated in 0.0873 seconds.