Hello,
when iam trying to establish a SSTP Connection, following Error Message appears.I dont know what kind of secret he wants. (i tried to recreate the windows client parameters, use mschap-v2, the certificate (which is a converted one from crt to pem) and so on.On windows the client connects without any problems)
Maybe you can give me a hint. Thank you!
LOG:
Admins-Mac:sbin admin$ sudo ./sstpc --ca-cert /Users/admin/Desktop/sstp.xxx.com.pem --user xxx --password xxx sstp.xxx.com refuse-pap refuse-eap refuse-mschap require-mschap-v2 noipdefault debug --log-level 4 --log-stderr
Feb 25 13:32:34 sstpc[449]: Could not create directory: /opt/local/var/macports/sstpc, No such file or directory (2)
Feb 25 13:32:34 sstpc[449]: Could not access or create runtime directory
Feb 25 13:32:34 sstpc[449]: Could not create directory: /opt/local/var/macports/sstpc, No such file or directory (2)
Feb 25 13:32:34 sstpc[449]: Could not access or create privilege separation directory, /opt/local/var/macports/sstpc
Feb 25 13:32:34 sstpc[449]: Resolved sstp.xxx.com to 123.456.789.112
Feb 25 13:32:34 sstpc[449]: Connected to sstp.xxx.com
Feb 25 13:32:34 sstpc[449]: Sending Connect-Request Message
Feb 25 13:32:34 sstpc[449]: SSTP CRTL PKT(14)
Feb 25 13:32:34 sstpc[449]: TYPE(1): CONNECT REQUEST, ATTR(1):
Feb 25 13:32:34 sstpc[449]: ENCAP PROTO(1): 6
Feb 25 13:32:34 sstpc[449]: SSTP CRTL PKT(48)
Feb 25 13:32:34 sstpc[449]: TYPE(2): CONNECT ACK, ATTR(1):
Feb 25 13:32:34 sstpc[449]: CRYPTO BIND REQ(4): 40
Feb 25 13:32:34 sstpc[449]: Started PPP Link Negotiation
/dev/ttys002: The remote system is required to authenticate itself
/dev/ttys002: but I couldn't find any suitable secret (password) for it to use to do so.
Feb 25 13:32:34 sstpc[449]: PPPd terminated
Feb 25 13:32:34 sstpc[449]: SSTP session was established for 0 seconds
Feb 25 13:32:34 sstpc[449]: Received 0 bytes, sent 0 bytes
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Could you try appending "noauth" to the end of your command line? Also, if that doesn't work, how about you append "logfile ./debug.txt" and post the ppp negotiation to the thread as well?
Regards,
- Eivind
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Eivind, here is a log file generated when I am trying to connect sstp-client from my MAC with a windows server, thanks to other threads of yours. Any ideas on this error?
Used:
Feb 10 09:00:23 sstpc[26398]: Resolved xxxx.org to [IP address]
Feb 10 09:00:23 sstpc[26398]: Connected to xxx.org
Feb 10 09:00:23 sstpc[26398]: Sending Connect-Request Message
Feb 10 09:00:23 sstpc[26398]: SEND SSTP CRTL PKT(14)
Feb 10 09:00:23 sstpc[26398]: TYPE(1): CONNECT REQUEST, ATTR(1):
Feb 10 09:00:23 sstpc[26398]: ENCAP PROTO(1): 6
Feb 10 09:00:23 sstpc[26398]: RECV SSTP CRTL PKT(48)
Feb 10 09:00:23 sstpc[26398]: TYPE(2): CONNECT ACK, ATTR(1):
Feb 10 09:00:23 sstpc[26398]: CRYPTO BIND REQ(4): 40
Feb 10 09:00:23 sstpc[26398]: Started PPP Link Negotiation
Feb 10 09:00:23 sstpc[26398]: Could not complete write of frame
Feb 10 09:00:23 sstpc[26398]: Could not forward packet to pppd
Feb 10 09:00:25 sstpc[26398]: RECV SSTP CRTL PKT(20)
Feb 10 09:00:25 sstpc[26398]: TYPE(6): DISCONNECT, ATTR(1):
Feb 10 09:00:25 sstpc[26398]: STATUS INFO(2): 12
Feb 10 09:00:25 sstpc[26398]: Sending Disconnect Ack Message
Feb 10 09:00:25 sstpc[26398]: SEND SSTP CRTL PKT(8)
Feb 10 09:00:25 sstpc[26398]: TYPE(7): DISCONNECT ACK, ATTR(0):
Feb 10 09:00:25 sstpc[26398]: Connection was aborted, Reason was not known
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
" --log-level 4 --log-stderr" needs to come before the xxxx.xxx.xxx. Anything else is passed to the pppd process as configuration options. Try this instead:
Hello,
when iam trying to establish a SSTP Connection, following Error Message appears.I dont know what kind of secret he wants. (i tried to recreate the windows client parameters, use mschap-v2, the certificate (which is a converted one from crt to pem) and so on.On windows the client connects without any problems)
Maybe you can give me a hint. Thank you!
LOG:
Admins-Mac:sbin admin$ sudo ./sstpc --ca-cert /Users/admin/Desktop/sstp.xxx.com.pem --user xxx --password xxx sstp.xxx.com refuse-pap refuse-eap refuse-mschap require-mschap-v2 noipdefault debug --log-level 4 --log-stderr
Feb 25 13:32:34 sstpc[449]: Could not create directory: /opt/local/var/macports/sstpc, No such file or directory (2)
Feb 25 13:32:34 sstpc[449]: Could not access or create runtime directory
Feb 25 13:32:34 sstpc[449]: Could not create directory: /opt/local/var/macports/sstpc, No such file or directory (2)
Feb 25 13:32:34 sstpc[449]: Could not access or create privilege separation directory, /opt/local/var/macports/sstpc
Feb 25 13:32:34 sstpc[449]: Resolved sstp.xxx.com to 123.456.789.112
Feb 25 13:32:34 sstpc[449]: Connected to sstp.xxx.com
Feb 25 13:32:34 sstpc[449]: Sending Connect-Request Message
Feb 25 13:32:34 sstpc[449]: SSTP CRTL PKT(14)
Feb 25 13:32:34 sstpc[449]: TYPE(1): CONNECT REQUEST, ATTR(1):
Feb 25 13:32:34 sstpc[449]: ENCAP PROTO(1): 6
Feb 25 13:32:34 sstpc[449]: SSTP CRTL PKT(48)
Feb 25 13:32:34 sstpc[449]: TYPE(2): CONNECT ACK, ATTR(1):
Feb 25 13:32:34 sstpc[449]: CRYPTO BIND REQ(4): 40
Feb 25 13:32:34 sstpc[449]: Started PPP Link Negotiation
/dev/ttys002: The remote system is required to authenticate itself
/dev/ttys002: but I couldn't find any suitable secret (password) for it to use to do so.
Feb 25 13:32:34 sstpc[449]: PPPd terminated
Feb 25 13:32:34 sstpc[449]: SSTP session was established for 0 seconds
Feb 25 13:32:34 sstpc[449]: Received 0 bytes, sent 0 bytes
Could you try appending "noauth" to the end of your command line? Also, if that doesn't work, how about you append "logfile ./debug.txt" and post the ppp negotiation to the thread as well?
Regards,
- Eivind
Hi Eivind, here is a log file generated when I am trying to connect sstp-client from my MAC with a windows server, thanks to other threads of yours. Any ideas on this error?
Used:
sudo sstpc --log-stderr --cert-warn --user xxxx --password xxxx xxx.xxx.org usepeerdns require-mschap-v2 noauth noipdefault defaultroute refuse-eap noccp debug --log-level 4 --log-stderr
Feb 10 09:00:23 sstpc[26398]: Resolved xxxx.org to [IP address]
Feb 10 09:00:23 sstpc[26398]: Connected to xxx.org
Feb 10 09:00:23 sstpc[26398]: Sending Connect-Request Message
Feb 10 09:00:23 sstpc[26398]: SEND SSTP CRTL PKT(14)
Feb 10 09:00:23 sstpc[26398]: TYPE(1): CONNECT REQUEST, ATTR(1):
Feb 10 09:00:23 sstpc[26398]: ENCAP PROTO(1): 6
Feb 10 09:00:23 sstpc[26398]: RECV SSTP CRTL PKT(48)
Feb 10 09:00:23 sstpc[26398]: TYPE(2): CONNECT ACK, ATTR(1):
Feb 10 09:00:23 sstpc[26398]: CRYPTO BIND REQ(4): 40
Feb 10 09:00:23 sstpc[26398]: Started PPP Link Negotiation
Feb 10 09:00:23 sstpc[26398]: Could not complete write of frame
Feb 10 09:00:23 sstpc[26398]: Could not forward packet to pppd
Feb 10 09:00:25 sstpc[26398]: RECV SSTP CRTL PKT(20)
Feb 10 09:00:25 sstpc[26398]: TYPE(6): DISCONNECT, ATTR(1):
Feb 10 09:00:25 sstpc[26398]: STATUS INFO(2): 12
Feb 10 09:00:25 sstpc[26398]: Sending Disconnect Ack Message
Feb 10 09:00:25 sstpc[26398]: SEND SSTP CRTL PKT(8)
Feb 10 09:00:25 sstpc[26398]: TYPE(7): DISCONNECT ACK, ATTR(0):
Feb 10 09:00:25 sstpc[26398]: Connection was aborted, Reason was not known
Your command line is wrong,
" --log-level 4 --log-stderr" needs to come before the xxxx.xxx.xxx. Anything else is passed to the pppd process as configuration options. Try this instead:
sudo sstpc --log-stderr --log-level 5 --cert-warn --user xxxx --password xxxx xxx.xxx.org usepeerdns require-mschap-v2 noauth noipdefault defaultroute refuse-eap noccp debug
Then email me the logs please.