• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Fragen zu Dante

AllOnline

Newbie
Hallo,

ich hoffe es ist nicht falsch das ich mich diesem Thema einfach anschließe.

Ich möchte einen Socks via Dante auf meinen SuSe aufsetzen, dies habe ich via Yast gemacht.
So nun weiß ich nicht ob er richtig läuft wie ich will.

Er soll einen User der Maschiene zur Authenifizierung nehmen.
deswegen pam oder nicht?

Das komische ist wenn ich diesen in FireFox ect einstelle sehe ich eine leere Seite.
Wie kann ich mich dann authentifizieren.

Welche Ports müsste ich in der Firewall einstellen oder ist die sozusagen egal?

In den Logs steht folgedens:
: fixsettings(): setting the unprivileged uid to 0 is not recommended
: created new negotiatorchild
: fixsettings(): setting the unprivileged uid to 0 is not recommended
: created new requestchild
: fixsettings(): setting the unprivileged uid to 0 is not recommended
: created new requestchild
: fixsettings(): setting the unprivileged uid to 0 is not recommended
: created new requestchild
: fixsettings(): setting the unprivileged uid to 0 is not recommended
: created new requestchild
: fixsettings(): setting the unprivileged uid to 0 is not recommended
: created new iochild
: fixsettings(): setting the unprivileged uid to 0 is not recommended
: dante/server v1.1.19 running

Genutzt soll dieses später eben für FireFox und einen HttpTunnel

sockd.conf:
logoutput: syslog stdout /var/log/lotsoflogs

internal: <ip> port = 1080
external: <ip>

method: pam

mehr ist dort nicht also nur komentiert! :???:
Anhand IP geht nicht da ich von überall einloggen können will

Danke im vorraus. ;)

PS: Ist keine lokale Maschiene
 

whois

Ultimate Guru
Das ist ein uralt Thread aus dem Jahre 2005.
Mach bitte demnächst einen neuen auf, ich teile den.
 
OP
A

AllOnline

Newbie
Danke sehr

Wenn jetzt noch einer eine Läsung hat warum ich keine Verbirnung aufbauen kann, danke!

edit: wie kann ich eig mehrere IP's als internal setzen?
edit[2]:
Hab noch weiter rumgespielt:

internal...
#clientmethod: none #none
method: pam

client pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: connect disconnect error
#method:pam
}

pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
method:pam
log: connect disconnect error iooperation
}

route {
from: 10.0.0.0/8 to: 0.0.0.0/0 port = http via: **.stratoserver.net port = 1080
}
user.privileged: sockd #root
user.notprivileged: nobody #sockd
#compatibility: sameport
#compatibility: reuseaddr
extension: bind

So habe ich auch endlich im Log stehen das die authentifizierung fehlschlägt:
pam_authenticate(): Authentication failure

allerdings ist pw ect richtig
versuche mich mit sockd anzumelden
(benutzer hab ich vorher angelegt)
 

framp

Moderator
Teammitglied
Gib mal Butter bei de Fische :roll: Poste mal die Ausgabe von
Code:
cat /etc/sockd.conf | grep -v "^#" | grep -v "^$"
und teile mal mit welche SuSE Version Du benutzt. Ausserdem ist die Ausgabe von
Code:
ifconfig
noch ganz hilfreich.
 
OP
A

AllOnline

Newbie
Hat sich soweit erledigt,
irgend wie läuft wohl pam nicht sauber mit username geht es ;-)

SuSe 10.2
ifconfig ist egal da internal und external stimmen

Code:
cat /etc/sockd.conf | grep -v "^#" | grep -v "^$"
Was bringt der code?

anonsten kann geclosed werden!

meine sockd.conf:
Code:
logoutput: syslog stdout /var/log/lotsoflogs
#logoutput: stderr

#internal: 10.1.1.1 port = 1080
internal: venet0:0 port = 1080

external: venet0:1

clientmethod: none #none
method: username #username #none

client pass {
	from: 0.0.0.0/0 to: 0.0.0.0/0
	log: error
	#method: pam
}

pass {
	from: 0.0.0.0/0 to: 0.0.0.0/0
	method: username
	log: error iooperation
}


user.privileged: root #root
user.notprivileged: nobody #sockd
#compatibility: sameport
#compatibility: reuseaddr
#extension: bind
#connecttimeout: 60   # on a lan, this should be enough if method is "none".
#iotimeout: 0 # or perhaps 86400, for a day.

route {
	from: 10.0.0.0/8 to: 0.0.0.0/0 port = http via: example.net port = 1080
}
 
OP
A

AllOnline

Newbie
Wie schon erwähnt danke für die Hilfe!

Aber hab ja noch paar andere Sachen gefragt!
Wenn ich nun ein Script habe, kann ich dann auch die loopback nehmen also 127...?
Wenn nicht, wie richte ich mehrere internal ein?
 
Oben