[stunnel-users] webdav with stunnel and 'net use'
detlef oertel
d.oertel at uib.de
Tue Feb 26 21:08:43 CET 2008
Hello list,
what we want to do, is mounting a webdav share via https
on a windows xp box.
Therefore we tried to tunnel localhost:80 to server:443
The name of the test server is here bonifax.
What works is:
mounting direct via http
net use x: "http://bonfax/opsi-depot"
mounting over stunnel with 'Add Network Place Wizard' or
RunDLL32.EXE netplwiz.dll,AddNetPlaceRunDll
using the address:
http://localhost/opsi-depot
What fails is:
----------------------------
C:\WINDOWS>net use y: "http://localhost/opsi-depot"
Systemfehler 67 aufgetreten.
Der Netzwerkname wurde nicht gefunden.
--------
Error 67 'network name not found'
------------------------
part of stunnel.conf
------------------------
; Some debugging stuff useful for troubleshooting
debug = 7
output = stunnel.log
; Use it for client mode
client = yes
; Service-level configuration
verify=0
[psuedo-https]
accept = 80
connect = bonifax:443
TIMEOUTclose = 0
------------------------
This is the log:
-----------------------------
2008.02.26 20:04:11 LOG7[1560:1404]: psuedo-https accepted FD=176 from 127.0.0.1:1861
2008.02.26 20:04:11 LOG7[1560:1404]: Creating a new thread
2008.02.26 20:04:11 LOG7[1560:1404]: New thread created
2008.02.26 20:04:11 LOG7[1560:3308]: psuedo-https started
2008.02.26 20:04:11 LOG7[1560:3308]: FD 176 in non-blocking mode
2008.02.26 20:04:11 LOG7[1560:3308]: TCP_NODELAY option set on local socket
2008.02.26 20:04:11 LOG5[1560:3308]: psuedo-https accepted connection from 127.0.0.1:1861
2008.02.26 20:04:11 LOG7[1560:3308]: FD 208 in non-blocking mode
2008.02.26 20:04:11 LOG7[1560:3308]: psuedo-https connecting 192.168.1.14:443
2008.02.26 20:04:11 LOG7[1560:3308]: connect_wait: waiting 10 seconds
2008.02.26 20:04:11 LOG7[1560:3308]: connect_wait: connected
2008.02.26 20:04:11 LOG5[1560:3308]: psuedo-https connected remote server from 192.168.2.234:1862
2008.02.26 20:04:11 LOG7[1560:3308]: Remote FD=208 initialized
2008.02.26 20:04:11 LOG7[1560:3308]: TCP_NODELAY option set on remote socket
2008.02.26 20:04:11 LOG7[1560:3308]: SSL state (connect): before/connect initialization
2008.02.26 20:04:11 LOG7[1560:3308]: SSL state (connect): SSLv3 write client hello A
2008.02.26 20:04:11 LOG7[1560:3308]: SSL state (connect): SSLv3 read server hello A
2008.02.26 20:04:11 LOG5[1560:3308]: VERIFY IGNORE: depth=0, /C=DE/ST=Rheinland-Pfalz/O=uib/CN=bonifax.uib.local
2008.02.26 20:04:11 LOG5[1560:3308]: VERIFY OK: depth=0, /C=DE/ST=Rheinland-Pfalz/O=uib/CN=bonifax.uib.local
2008.02.26 20:04:11 LOG5[1560:3308]: VERIFY IGNORE: depth=0, /C=DE/ST=Rheinland-Pfalz/O=uib/CN=bonifax.uib.local
2008.02.26 20:04:11 LOG5[1560:3308]: VERIFY OK: depth=0, /C=DE/ST=Rheinland-Pfalz/O=uib/CN=bonifax.uib.local
2008.02.26 20:04:11 LOG5[1560:3308]: VERIFY IGNORE: depth=0, /C=DE/ST=Rheinland-Pfalz/O=uib/CN=bonifax.uib.local
2008.02.26 20:04:11 LOG5[1560:3308]: VERIFY OK: depth=0, /C=DE/ST=Rheinland-Pfalz/O=uib/CN=bonifax.uib.local
2008.02.26 20:04:11 LOG7[1560:3308]: SSL state (connect): SSLv3 read server certificate A
2008.02.26 20:04:11 LOG7[1560:3308]: SSL state (connect): SSLv3 read server key exchange A
2008.02.26 20:04:11 LOG7[1560:3308]: SSL state (connect): SSLv3 read server done A
2008.02.26 20:04:11 LOG7[1560:3308]: SSL state (connect): SSLv3 write client key exchange A
2008.02.26 20:04:11 LOG7[1560:3308]: SSL state (connect): SSLv3 write change cipher spec A
2008.02.26 20:04:11 LOG7[1560:3308]: SSL state (connect): SSLv3 write finished A
2008.02.26 20:04:11 LOG7[1560:3308]: SSL state (connect): SSLv3 flush data
2008.02.26 20:04:11 LOG7[1560:3308]: SSL state (connect): SSLv3 read finished A
2008.02.26 20:04:11 LOG7[1560:3308]: 1 items in the session cache
2008.02.26 20:04:11 LOG7[1560:3308]: 1 client connects (SSL_connect())
2008.02.26 20:04:11 LOG7[1560:3308]: 1 client connects that finished
2008.02.26 20:04:11 LOG7[1560:3308]: 0 client renegotiations requested
2008.02.26 20:04:11 LOG7[1560:3308]: 0 server connects (SSL_accept())
2008.02.26 20:04:11 LOG7[1560:3308]: 0 server connects that finished
2008.02.26 20:04:11 LOG7[1560:3308]: 0 server renegotiations requested
2008.02.26 20:04:11 LOG7[1560:3308]: 0 session cache hits
2008.02.26 20:04:11 LOG7[1560:3308]: 0 session cache misses
2008.02.26 20:04:11 LOG7[1560:3308]: 0 session cache timeouts
2008.02.26 20:04:11 LOG6[1560:3308]: SSL connected: new session negotiated
2008.02.26 20:04:11 LOG6[1560:3308]: Negotiated ciphers: DHE-RSA-AES256-SHA SSLv3 Kx=DH Au=RSA Enc=AES(256) Mac=SHA1
2008.02.26 20:04:26 LOG7[1560:3308]: SSL alert (read): warning: close notify
2008.02.26 20:04:26 LOG7[1560:3308]: SSL closed on SSL_read
2008.02.26 20:04:26 LOG7[1560:3308]: Socket write shutdown
2008.02.26 20:04:26 LOG7[1560:3308]: SSL write shutdown
2008.02.26 20:04:26 LOG7[1560:3308]: SSL alert (write): warning: close notify
2008.02.26 20:04:26 LOG6[1560:3308]: SSL_shutdown successfully sent close_notify
2008.02.26 20:04:26 LOG5[1560:3308]: Connection closed: 311 bytes sent to SSL, 971 bytes sent to socket
2008.02.26 20:04:26 LOG7[1560:3308]: psuedo-https finished (0 left)
----------------------
stunnel version 4.21
Anyone any ideas what went wrong and how to go around ?
regards
detlef
--
detlef oertel
Tel. 06131 / 27561-10
Fax 06131 / 27561-22
eMail: d.oertel at uib.de
uib umwelt informatik büro gmbh
Firmensitz / Anschrift:
Bonifaziusplatz 1B
55118 Mainz
internet: www.uib.de
Geschäftsführer: dr. detlef oertel
Handelsregister: Amtsgericht Mainz HRB 6942
More information about the stunnel-users
mailing list