/ Forside / Teknologi / Operativsystemer / Linux / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
Linux
#NavnPoint
o.v.n. 11177
peque 7911
dk 4814
e.c 2359
Uranus 1334
emesen 1334
stone47 1307
linuxrules 1214
Octon 1100
10  BjarneD 875
Dante(socks)
Fra : Morten Breum Mikkels~


Dato : 03-05-01 12:35

Hej,
Jeg sidder her spærret inde på et lukket net og kan kun komme ud gennem
socks.
Jeg skulle gerne have forbindelse til en computer gennem ssh, så jeg har
installeret dante-1.1.9 og rettet min socks.conf så den indeholder
følgende:
------------------------------
debug: 3
logoutput: stdout
resolveprotocol: udp
route {
   from: 0.0.0.0/0 to: 127.0.0.0/8 via: direct
}
route {
   from: 0.0.0.0/0 to: 172.16.0.0/15 via: direct
}
route {
   from: 0.0.0.0/0 to: 130.226.80.138/32 via: direct
}

route {
from: 0.0.0.0/0 to: 0.0.0.0/0 via: 172.17.1.14 port = 1080
protocol: tcp udp
proxyprotocol: socks_v4 socks_v5
method: none
}
------------------------------
Jeg ligger i en 172.16.196-serie og har en nameserver på 172.16.196.1

Jeg prøver følgende:
$ socksify ssh -l sick sickhumor.dk
May 3 13:23:09 ssh[2404]: dante/client v1.1.9 running
May 3 13:23:09 ssh[2404]: fakesockaddr2sockshost(): 127.0.0.1.111 -> 127.0.0.1.111
May 3 13:23:09 ssh[2404]: addressmatch(): 0.0.0.0/0.0.0.0, tcp port: 0, udp port: 0 op: none 0, 0.0.0.0.0, udp, 0
May 3 13:23:09 ssh[2404]: addressmatch(): 127.0.0.0/255.0.0.0, tcp port: 0, udp port: 0 op: none 0, 127.0.0.1.111, udp, 0
(og de sidste linjer gentager sig med 5-10 sekunders mellemrum)

Prøver jeg på IP-nummeret i stedet, kører det:
$ socksify ssh -l sick 213.237.66.216
May 3 13:27:07 ssh[2419]: dante/client v1.1.9 running
May 3 13:27:07 ssh[2419]: fakesockaddr2sockshost(): 213.237.66.216.22 -> 213.237.66.216.22
May 3 13:27:07 ssh[2419]: addressmatch(): 0.0.0.0/0.0.0.0, tcp port: 0, udp port: 0 op: none 0, 0.0.0.0.0, tcp, 0
May 3 13:27:07 ssh[2419]: addressmatch(): 127.0.0.0/255.0.0.0, tcp port: 0, udp port: 0 op: none 0, 213.237.66.216.22, tcp, 0
May 3 13:27:07 ssh[2419]: addressmatch(): 0.0.0.0/0.0.0.0, tcp port: 0, udp port: 0 op: none 0, 0.0.0.0.0, tcp, 0
May 3 13:27:07 ssh[2419]: addressmatch(): 172.16.0.0/255.254.0.0, tcp port: 0, udp port: 0 op: none 0, 213.237.66.216.22, tcp, 0
May 3 13:27:07 ssh[2419]: addressmatch(): 0.0.0.0/0.0.0.0, tcp port: 0, udp port: 0 op: none 0, 0.0.0.0.0, tcp, 0
May 3 13:27:07 ssh[2419]: addressmatch(): 130.226.80.138/255.255.255.255, tcp port: 0, udp port: 0 op: none 0, 213.237.66.216.22, tcp, 0
May 3 13:27:07 ssh[2419]: addressmatch(): 0.0.0.0/0.0.0.0, tcp port: 0, udp port: 0 op: none 0, 0.0.0.0.0, tcp, 0
May 3 13:27:07 ssh[2419]: addressmatch(): 0.0.0.0/0.0.0.0, tcp port: 0, udp port: 0 op: none 0, 213.237.66.216.22, tcp, 0
May 3 13:27:07 ssh[2419]: addressmatch(): 0.0.0.0/0.0.0.0, tcp port: 0, udp port: 0 op: none 0, 0.0.0.0.0, tcp, 0
May 3 13:27:07 ssh[2419]: addressmatch(): 127.0.0.0/255.0.0.0, tcp port: 0, udp port: 0 op: none 0, 213.237.66.216.22, tcp, 0
May 3 13:27:07 ssh[2419]: addressmatch(): 0.0.0.0/0.0.0.0, tcp port: 0, udp port: 0 op: none 0, 0.0.0.0.0, tcp, 0
May 3 13:27:07 ssh[2419]: addressmatch(): 172.16.0.0/255.254.0.0, tcp port: 0, udp port: 0 op: none 0, 213.237.66.216.22, tcp, 0
May 3 13:27:07 ssh[2419]: addressmatch(): 0.0.0.0/0.0.0.0, tcp port: 0, udp port: 0 op: none 0, 0.0.0.0.0, tcp, 0
May 3 13:27:07 ssh[2419]: addressmatch(): 130.226.80.138/255.255.255.255, tcp port: 0, udp port: 0 op: none 0, 213.237.66.216.22, tcp, 0
May 3 13:27:07 ssh[2419]: addressmatch(): 0.0.0.0/0.0.0.0, tcp port: 0, udp port: 0 op: none 0, 0.0.0.0.0, tcp, 0
May 3 13:27:07 ssh[2419]: addressmatch(): 0.0.0.0/0.0.0.0, tcp port: 0, udp port: 0 op: none 0, 213.237.66.216.22, tcp, 0
May 3 13:27:07 ssh[2419]: socketoptdup(): setsockopt(0, 32): Invalid argument (errno = 22)
May 3 13:27:07 ssh[2419]: socketoptdup(): setsockopt(0, 33): Invalid argument (errno = 22)
May 3 13:27:07 ssh[2419]: socks_connectroute(): trying route #4 (172.17.1.14.1080)
May 3 13:27:07 ssh[2419]: negotiate_method(): established socks v5 connection using authentication method 0
May 3 13:27:07 ssh[2419]: socks_sendrequest(): sending request: VER: 5 CMD: 1 FLAG: 0 ATYP: 1 address: 213.237.66.216.22
May 3 13:27:07 ssh[2419]: socks_recvresponse(): received response: VER: 5 REP: 0 FLAG: 0 ATYP: 1 address: 192.168.1.2.32982
sick@213.237.66.216's password:
------------------------------

Ved nogen hvorfor den ikke vil slå navne op - og hvad 127.0.0.1.111
betyder (hvorfor den forsøger at bruge det)?

På forhånd tak,
Morten

 
 
Søg
Reklame
Statistik
Spørgsmål : 177558
Tips : 31968
Nyheder : 719565
Indlæg : 6408892
Brugere : 218888

Månedens bedste
Årets bedste
Sidste års bedste