ChristianL1979
22.12.02, 15:41
Ich habe einen Suse 7.3 server auf dem schon der squid läuft.
Jetzt wollte ich den socks - dante einrichten um die probleme mit icq und irc usw zu beseitigen!!
ich habe auch im internet einige anleitungen gefunden aber irgendwie will das bei mir nicht laufen!!! :-(
wenn ich unter icq den socks server einstelle und dann veruche zu connecten reagiert der socks, aber ich erhlte keine Verbindung!?
#############################################
########### hier das config file /etc/sockd.conf ############
logoutput: stderr
internal: eth0 port = 1080 #tb 22.12.02
external: ppp0 # tb 22.12.02
method: username none #tb 22.12.02
clientmethod: none #tb 22.12.02
user.notprivileged: sockd #tb 22.12.02
compatibility: sameport #tb 22.12.02
connecttimeout: 30 #tb 22.12.02
iotimeout: 0 # tb 22.12.02
client pass {
from: 192.168.100.0/24 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
}
pass {
from: 192.168.100.0/24 port 1-65535 to: 0.0.0.0/0
protocol: tcp udp
log: connect error
}
block {
from: 0.0.0.0/0 to: 127.0.0.0/8
log: connect error
}
block {
from: 0.0.0.0/0 to: 0.0.0.0/0
command: bind
log: connect error
}
block {
from: 0.0.0.0/0 to: 192.168.100.0/24
log: connect error
}
##############################################
##############################################
##############################################
########## und hier die ausgabe von dante im debug modus!!###
Dec 22 16:20:18 sockd[3998]: got accept(): 192.168.100.35.3104
Dec 22 16:20:18 sockd[3999]: accessmatch(): method: none, 192.168.100.35.3104 -> 192.168.100.15.1080
Dec 22 16:20:18 sockd[3999]: addressmatch(): 192.168.100.0/255.255.255.0, tcp port: 1, udp port: 1 op: range 65535, 192.168
.100.35.3104, tcp, 0
Dec 22 16:20:18 sockd[3999]: addressmatch(): 0.0.0.0/0.0.0.0, tcp port: 0, udp port: 0 op: none 0, 192.168.100.15.1080, tcp
, 0
Dec 22 16:20:18 sockd[3999]: pass(1): tcp/accept [: 192.168.100.35.3104 -> 192.168.100.15.1080
Dec 22 16:20:18 sockd[3999]: recv_username(): got socks v4 username: a
Dec 22 16:20:18 sockd[3999]: sending request to mother
Dec 22 16:20:18 sockd[4000]: received request: (V4) VN: 4 CD: 2 address: 205.188.147.46.2546
Dec 22 16:20:18 sockd[4000]: accessmatch(): method: none, 192.168.100.35.3104 -> 192.168.100.15.1080
Dec 22 16:20:18 sockd[4000]: addressmatch(): 192.168.100.0/255.255.255.0, tcp port: 1, udp port: 1 op: range 65535, 192.168
.100.35.3104, tcp, 0
Dec 22 16:20:18 sockd[4000]: addressmatch(): 0.0.0.0/0.0.0.0, tcp port: 0, udp port: 0 op: none 0, 62.246.11.30.3104, tcp,
0
Dec 22 16:20:18 sockd[4000]: pass(1): tcp/bind [: 192.168.100.35.3104 -> 62.246.11.30.3104
Dec 22 16:20:18 sockd[4000]: send_response(): sending response: (V4) VN: 0 CD: 90 address: 62.246.11.30.3104
Dec 22 16:20:18 sockd[4005]: created new requestchild
################################################## ####
sorry für den vielen text!!!
gruß Christian
Jetzt wollte ich den socks - dante einrichten um die probleme mit icq und irc usw zu beseitigen!!
ich habe auch im internet einige anleitungen gefunden aber irgendwie will das bei mir nicht laufen!!! :-(
wenn ich unter icq den socks server einstelle und dann veruche zu connecten reagiert der socks, aber ich erhlte keine Verbindung!?
#############################################
########### hier das config file /etc/sockd.conf ############
logoutput: stderr
internal: eth0 port = 1080 #tb 22.12.02
external: ppp0 # tb 22.12.02
method: username none #tb 22.12.02
clientmethod: none #tb 22.12.02
user.notprivileged: sockd #tb 22.12.02
compatibility: sameport #tb 22.12.02
connecttimeout: 30 #tb 22.12.02
iotimeout: 0 # tb 22.12.02
client pass {
from: 192.168.100.0/24 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
}
pass {
from: 192.168.100.0/24 port 1-65535 to: 0.0.0.0/0
protocol: tcp udp
log: connect error
}
block {
from: 0.0.0.0/0 to: 127.0.0.0/8
log: connect error
}
block {
from: 0.0.0.0/0 to: 0.0.0.0/0
command: bind
log: connect error
}
block {
from: 0.0.0.0/0 to: 192.168.100.0/24
log: connect error
}
##############################################
##############################################
##############################################
########## und hier die ausgabe von dante im debug modus!!###
Dec 22 16:20:18 sockd[3998]: got accept(): 192.168.100.35.3104
Dec 22 16:20:18 sockd[3999]: accessmatch(): method: none, 192.168.100.35.3104 -> 192.168.100.15.1080
Dec 22 16:20:18 sockd[3999]: addressmatch(): 192.168.100.0/255.255.255.0, tcp port: 1, udp port: 1 op: range 65535, 192.168
.100.35.3104, tcp, 0
Dec 22 16:20:18 sockd[3999]: addressmatch(): 0.0.0.0/0.0.0.0, tcp port: 0, udp port: 0 op: none 0, 192.168.100.15.1080, tcp
, 0
Dec 22 16:20:18 sockd[3999]: pass(1): tcp/accept [: 192.168.100.35.3104 -> 192.168.100.15.1080
Dec 22 16:20:18 sockd[3999]: recv_username(): got socks v4 username: a
Dec 22 16:20:18 sockd[3999]: sending request to mother
Dec 22 16:20:18 sockd[4000]: received request: (V4) VN: 4 CD: 2 address: 205.188.147.46.2546
Dec 22 16:20:18 sockd[4000]: accessmatch(): method: none, 192.168.100.35.3104 -> 192.168.100.15.1080
Dec 22 16:20:18 sockd[4000]: addressmatch(): 192.168.100.0/255.255.255.0, tcp port: 1, udp port: 1 op: range 65535, 192.168
.100.35.3104, tcp, 0
Dec 22 16:20:18 sockd[4000]: addressmatch(): 0.0.0.0/0.0.0.0, tcp port: 0, udp port: 0 op: none 0, 62.246.11.30.3104, tcp,
0
Dec 22 16:20:18 sockd[4000]: pass(1): tcp/bind [: 192.168.100.35.3104 -> 62.246.11.30.3104
Dec 22 16:20:18 sockd[4000]: send_response(): sending response: (V4) VN: 0 CD: 90 address: 62.246.11.30.3104
Dec 22 16:20:18 sockd[4005]: created new requestchild
################################################## ####
sorry für den vielen text!!!
gruß Christian