SSTP: sstp-client for linux not working properly?

Hi there,

I’am trying to connect with the linux sstp-client to on of my ROS 5.14 RB750G. If I crank up the client manually with:
sstpc --ca-cert ca.crt --user michael --password supersecret test.bwc.internal

the connection works for exactly 60 seconds and goes down with:
**Error: Connection was aborted, Reason was not known, (-1)

Why does the connection gets terminated after 60 seconds, which looks like a timeout?

/interface sstp-server server
set authentication=pap,chap,mschap1,mschap2 certificate=sstp default-profile=
default enabled=yes keepalive-timeout=120 max-mru=1500 max-mtu=1500 mrru=
disabled port=443 verify-client-certificate=no

The log is telling me this:
Mar/01/2012 11:07:26 sstp,info,account michael logged in, 192.168.140.10
Mar/01/2012 11:07:56 sstp,debug,packet : rcvd LCP EchoReq id=0x1
Mar/01/2012 11:07:56 sstp,debug,packet <magic 0xf85a5feb>
Mar/01/2012 11:07:56 sstp,debug,packet : sent LCP EchoRep id=0x1
Mar/01/2012 11:07:56 sstp,debug,packet <magic 0x40d8ab81>
Mar/01/2012 11:08:26 sstp,debug send abort
Mar/01/2012 11:08:26 sstp,debug send status
Mar/01/2012 11:08:26 sstp,packet sent control packet type: abort
Mar/01/2012 11:08:26 sstp,packet 10 01 00 14 00 05 00 01 00 02 00 0c 00 00 00 02
Mar/01/2012 11:08:26 sstp,packet 00 00 00 00
Mar/01/2012 11:08:26 sstp,debug : LCP lowerdown
Mar/01/2012 11:08:26 sstp,debug : LCP closed
Mar/01/2012 11:08:26 sstp,debug : CCP lowerdown
Mar/01/2012 11:08:26 sstp,debug : BCP lowerdown
Mar/01/2012 11:08:26 sstp,debug : BCP down event in starting state
Mar/01/2012 11:08:26 sstp,debug : IPCP lowerdown
Mar/01/2012 11:08:26 sstp,debug : IPCP closed
Mar/01/2012 11:08:26 sstp,info,account michael logged out, 60 5029 5067 67 69
Mar/01/2012 11:08:26 sstp,debug : IPV6CP lowerdown
Mar/01/2012 11:08:26 sstp,debug : MPLSCP lowerdown
Mar/01/2012 11:08:26 sstp,info : terminating… - negotiation timeout
Mar/01/2012 11:08:26 sstp,debug : LCP lowerdown
Mar/01/2012 11:08:26 sstp,debug : LCP down event in starting state
Mar/01/2012 11:08:26 sstp,info : disconnected


I’am somewhat lost, any help highly appreciated.

–Michael

Try to run sstpc via sudo.

I’am always running in sudo :slight_smile:

It seems to be a bug in linux SSTP client. It does not send one packet needed to finalize ppp negotiation.

Hi,

thanks for the update, I tried on Ubuntu 10.04 and 12.04 (alpha/beta) with the same result.

Is anybody else using sstp-client on linux with success?

–Michael

try to enable only pap authentication on sstp server and then try to connect.

Nope, same result with just PAP selected, 60 seconds it is.

I have exactly the same issue here.

Everything fine for 60 seconds and then:

: terminating… - negotiation timeout
: disconnected

The client works fine against Windows 2008 sstp server.

Any ideas ??
Thanks.

Hey Guys,

I have hit this problem in a different scenario. All my routers where running 5.26, and I have upgraded one router acting as sstp client to 6.10 and I am seeing the exact same problem.

Any Ideas?

Thanks,

Same problem, 6.10 after update SSTP abort connections after 60 sec

As it was mentioned in one of previous posts. It is a bug in linux sstp client implementation.