Koozali.org: home of the SME Server

VPN - Error 619

dave_d

VPN - Error 619
« on: January 25, 2005, 10:33:50 AM »
Looking around the forums it appears that this subject has been done to death - but I haven't yet found a post that says 'this is the solution'. (OTOH, it's well known that I frequently fail to see what's written in front of my eyes!).

Anyway, I set up this 6.0.1-01 server, installed a Vigor 2600V router, set the router up to bypass PPTP traffic, drove back to my office 20 miles away, set up a VPN link and sat back with a satisfied grin.

As part of the job of system management is system testing, I decided to check the robustness of the setup by removing power from the ADSL router at my end - simulating a power cut.

Having restored my end of the setup I tried to re-establish the VPN - no success.  In fact, I have never again been able to establish the VPN.  All I get is the following error report .....

CTRL: I wrote 32 bytes to the client.
CTRL: Sent packet to client
CTRL (PPPD Launcher): Connection speed = 460800
CTRL (PPPD Launcher): local address = 192.168.30.2
CTRL (PPPD Launcher): remote address = 192.168.30.245
pppd 2.4.2b1 started by root, uid 0
Starting negotiation on /dev/pts/1
CTRL: Received PPTP Control Message (type: 15)
CTRL: Got a SET LINK INFO packet with standard ACCMs
GRE: Discarding duplicate packet
LCP: timeout sending Config-Requests
Connection terminated.
Exit.
GRE: read(fd=5,buffer=804d940,len=8196) from PTY failed: status = -1 error = Input/output error
CTRL: PTY read or GRE write failed (pty,gre)=(5,6)
CTRL: Client 80.177.XXX.XXX control connection finished
CTRL: Exiting now
MGR: Reaped child 25197

Can anyone shed any light here (or point me to the correct thread!!)?

Regards,

Dave

Offline Brave Dave

  • *
  • 185
  • +0/-0
VPN - Error 619
« Reply #1 on: January 25, 2005, 11:52:02 AM »
I guess you know 619 is incorrect password

Now you might be entering the correct password, but it is not getting to the destination

Have you fiddled with multilink ?
- sometime you need it sometimes you don't

I have had to discard more than one router to achieve reliable pptp - it needs good gear

You can (not sure on the vigour) set some routers (eg. Dynalink RTA300) to bridge mode and expose the sme box directly - many routers allow pptp in this mode but not in .. PPPoE mode - maybe this can help your testing -, but your best bet is to use routers that are tried and true.
I don't use billion or dynalink rta100, but find the netgear dg834 good. now i don't vary and have good success.

i have only experienced the problems others report here when there has been a fault in the line or equipment
.:DB:.

dave_d

VPN - Error 619
« Reply #2 on: January 25, 2005, 02:05:19 PM »
Hello David,

No, I didn't know the specific meaning of the error message - thanks for the info.

However .........  things get curiouser and curiouser.

I left the office for a couple of hours to do another job.  On my return I decided to try the connections again - and guess what? - they worked.

I've changed nothing since this morning and so I'm at a complete loss to know what's going on here.

I noticed, however, that when the VPN was active all other paths to the internet ceased to function AND the remote server is not available in My Network Places.  However, I guess that both of these can be solved with the appropriate settings.

On your comments about the routers I agree entirely.  I had previously tried a DSL-504T and I swapped this out because I thought that it was blocking the GRE protocol messages.  However, in light of the foregoing it's quite possible that it was working - we'll never know!

Here's the 'messages' output that I see now.  You'll see that I first tried to log on as admin and got rejected as I expected.  I then tried to log on as dumolod and got accepted - and this is what should have happened earlier!!! BTW, you don't happen to know what the WARNINGS mean, do you?

 cssl-server pptpd[26930]: MGR: Launching /usr/sbin/pptpctrl to handle client
 cssl-server pptpd[26930]: CTRL: local address = 192.168.30.2
 cssl-server pptpd[26930]: CTRL: remote address = 192.168.30.246
 cssl-server pptpd[26930]: CTRL: pppd speed = 460800
 cssl-server pptpd[26930]: CTRL: pppd options file = /etc/ppp/options.pptpd
 cssl-server pptpd[26930]: CTRL: Client 80.177.XXX.XXX control connection started
 cssl-server pptpd[26930]: CTRL: Received PPTP Control Message (type: 1)
 cssl-server pptpd[26930]: CTRL: Made a START CTRL CONN RPLY packet
 cssl-server pptpd[26930]: CTRL: I wrote 156 bytes to the client.
 cssl-server pptpd[26930]: CTRL: Sent packet to client
 cssl-server pptpd[26930]: CTRL: Received PPTP Control Message (type: 7)
 cssl-server pptpd[26930]: CTRL: Set parameters to 1525 maxbps, 64 window size
 cssl-server pptpd[26930]: CTRL: Made a OUT CALL RPLY packet
 cssl-server pptpd[26930]: CTRL: Starting call (launching pppd, opening GRE)
 cssl-server pptpd[26930]: CTRL: pty_fd = 5
 cssl-server pptpd[26930]: CTRL: tty_fd = 6
 cssl-server pptpd[26930]: CTRL: I wrote 32 bytes to the client.
 cssl-server pptpd[26930]: CTRL: Sent packet to client
 cssl-server pptpd[26931]: CTRL (PPPD Launcher): Connection speed = 460800
 cssl-server pptpd[26931]: CTRL (PPPD Launcher): local address = 192.168.30.2
 cssl-server pptpd[26931]: CTRL (PPPD Launcher): remote address = 192.168.30.246
 cssl-server pptpd[26930]: CTRL: Received PPTP Control Message (type: 15)
 cssl-server pptpd[26930]: CTRL: Got a SET LINK INFO packet with standard ACCMs
 cssl-server pppd[26931]: pppd 2.4.2b1 started by root, uid 0
 cssl-server pppd[26931]: Starting negotiation on /dev/pts/1
 cssl-server pptpd[26930]: GRE: Discarding duplicate packet
 cssl-server pptpd[26930]: CTRL: Received PPTP Control Message (type: 15)
 cssl-server pptpd[26930]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
 cssl-server pppd[26931]: No CHAP secret found for authenticating admin
 cssl-server pppd[26931]: CHAP peer authentication failed for admin
 cssl-server pptpd[26930]: CTRL: Received PPTP Control Message (type: 15)
 cssl-server pptpd[26930]: CTRL: Got a SET LINK INFO packet with standard ACCMs
 cssl-server pppd[26931]: Connection terminated.
 cssl-server pppd[26931]: Exit.
 cssl-server pptpd[26930]: GRE: read(fd=5,buffer=804d940,len=8196) from PTY failed: status = -1 error = Input/output error
 cssl-server pptpd[26930]: CTRL: PTY read or GRE write failed (pty,gre)=(5,6)
 cssl-server pptpd[26930]: CTRL: Client 80.177.XXX.XXX control connection finished
 cssl-server pptpd[26930]: CTRL: Exiting now
 cssl-server pptpd[22384]: MGR: Reaped child 26930
 cssl-server pptpd[26934]: MGR: Launching /usr/sbin/pptpctrl to handle client
 cssl-server pptpd[26934]: CTRL: local address = 192.168.30.2
 cssl-server pptpd[26934]: CTRL: remote address = 192.168.30.245
 cssl-server pptpd[26934]: CTRL: pppd speed = 460800
 cssl-server pptpd[26934]: CTRL: pppd options file = /etc/ppp/options.pptpd
 cssl-server pptpd[26934]: CTRL: Client 80.177.XXX.XXX control connection started
 cssl-server pptpd[26934]: CTRL: Received PPTP Control Message (type: 1)
 cssl-server pptpd[26934]: CTRL: Made a START CTRL CONN RPLY packet
 cssl-server pptpd[26934]: CTRL: I wrote 156 bytes to the client.
 cssl-server pptpd[26934]: CTRL: Sent packet to client
 cssl-server pptpd[26934]: CTRL: Received PPTP Control Message (type: 7)
 cssl-server pptpd[26934]: CTRL: Set parameters to 1525 maxbps, 64 window size
 cssl-server pptpd[26934]: CTRL: Made a OUT CALL RPLY packet
 cssl-server pptpd[26934]: CTRL: Starting call (launching pppd, opening GRE)
 cssl-server pptpd[26934]: CTRL: pty_fd = 5
 cssl-server pptpd[26934]: CTRL: tty_fd = 6
 cssl-server pptpd[26934]: CTRL: I wrote 32 bytes to the client.
 cssl-server pptpd[26934]: CTRL: Sent packet to client
 cssl-server pptpd[26935]: CTRL (PPPD Launcher): Connection speed = 460800
 cssl-server pptpd[26935]: CTRL (PPPD Launcher): local address = 192.168.30.2
 cssl-server pptpd[26935]: CTRL (PPPD Launcher): remote address = 192.168.30.245
 cssl-server pppd[26935]: pppd 2.4.2b1 started by root, uid 0
 cssl-server pppd[26935]: Starting negotiation on /dev/pts/1
 cssl-server pptpd[26934]: CTRL: Received PPTP Control Message (type: 15)
 cssl-server pptpd[26934]: CTRL: Got a SET LINK INFO packet with standard ACCMs
 cssl-server pptpd[26934]: GRE: Discarding duplicate packet
 cssl-server pptpd[26934]: CTRL: Received PPTP Control Message (type: 15)
 cssl-server pptpd[26934]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
 cssl-server kernel: divert: not allocating divert_blk for non-ethernet device ppp0
 cssl-server pppd[26935]: Using interface ppp0
 cssl-server pppd[26935]: CHAP peer authentication succeeded for dumolod
 cssl-server pppd[26935]: MPPE 128-bit stateless compression enabled
 cssl-server /etc/hotplug/net.agent: assuming ppp0 is already up
 cssl-server pppd[26935]: found interface eth0 for proxy arp
 cssl-server pppd[26935]: local  IP address 192.168.30.2
 cssl-server pppd[26935]: remote IP address 192.168.30.245
 cssl-server e-smith[26949]: Processing event: ip-up.pptpd ppp0 /dev/pts/1 460800 192.168.30.2 192.168.30.245 pptpd
 cssl-server e-smith[26949]: Running event handler: /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access
 cssl-server /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access[26950]: /home/e-smith/configuration: OLD pptpd=service|Interfaces||StartIP|3232243445|sessions|6|status|enabled
 cssl-server /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access[26950]: /home/e-smith/configuration: NEW pptpd=service|Interfaces|ppp0|StartIP|3232243445|sessions|6|status|enabled
 cssl-server e-smith[26949]: S70pptp-interface-access=action|Event|ip-up.pptpd|Action|S70pptp-interface-access|Start|1106656298 962197|End|1106656299 441596|Elapsed|0.479399
 cssl-server e-smith[26949]: Running event handler: /etc/e-smith/events/ip-up.pptpd/S80conf-masq
 cssl-server e-smith[26949]: WARNING in /etc/e-smith/templates//etc/rc.d/init.d/masq/00Definitions: Use of uninitialized value in concatenation (.) or string at /etc/e-smith/templates//etc/rc.d/init.d/masq/00Definitions line 5.
 cssl-server e-smith[26949]: WARNING: Template processing succeeded for //etc/rc.d/init.d/masq: 1 fragment generated warnings
 cssl-server e-smith[26949]:  at /etc/e-smith/events/ip-up.pptpd/S80conf-masq line 46
 cssl-server e-smith[26949]: S80conf-masq=action|Event|ip-up.pptpd|Action|S80conf-masq|Start|1106656299 441816|End|1106656300 349574|Elapsed|0.907758
 cssl-server e-smith[26949]: Running event handler: /etc/e-smith/events/ip-up.pptpd/S85adjust-masq
 cssl-server e-smith[26949]: S85adjust-masq=action|Event|ip-up.pptpd|Action|S85adjust-masq|Start|1106656300 349771|End|1106656300 592954|Elapsed|0.243183
 cssl-server pptpd[26934]: CTRL: Received PPTP Control Message (type: 5)
 cssl-server pptpd[26934]: CTRL: Made a ECHO RPLY packet
 cssl-server pptpd[26934]: CTRL: I wrote 20 bytes to the client.
 cssl-server pptpd[26934]: CTRL: Sent packet to client
 cssl-server pptpd[26934]: CTRL: Received PPTP Control Message (type: 5)
 cssl-server pptpd[26934]: CTRL: Made a ECHO RPLY packet
 cssl-server pptpd[26934]: CTRL: I wrote 20 bytes to the client.
 cssl-server pptpd[26934]: CTRL: Sent packet to client
[root@cssl-server log]#

Offline smeghead

  • *
  • 557
  • +0/-0
VPN - Error 619
« Reply #3 on: January 25, 2005, 07:36:13 PM »
I use the DG834 too, and find them genrally excellent for the $$$.

They support 1 vpn passthrough session; otherwise use port forwarding (for port 1723) for pptp connections.

How many pptp sessions do you have nominated in the Server Manager?  I find that it can take a while for an old session to be completely released so am in the habit of providing a couple more than necessary to compensate; otherwise your blocked.

HTH
..................

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
VPN - Error 619
« Reply #4 on: January 25, 2005, 09:51:46 PM »
Have you considered using OpenVPN? I have made a howto for that as I found the build-in PPTP much to unstable and unpredictable. I have it running for 3 months now and it has never let me down. The clients I use are Win2k/XP.

See:
http://sme.swerts-knudsen.dk/howtos/howto_30.htm

Rgds,
Jesper

Offline raem

  • *
  • 3,972
  • +4/-0
VPN - Error 619
« Reply #5 on: January 26, 2005, 12:17:35 AM »
Do
iptstate
to see what sessions are open.
As smeghead says, perhaps you don't have enough sessions specified in server manager and there are sessions that are still timing out after "disconnection".

admin will not be able to connect via VPN unless you enable VPN for that user account.
...

dave_d

VPN - Error 619
« Reply #6 on: January 28, 2005, 07:11:26 PM »
Thanks for everyone's help, I now have two serviceable ways to make a stable VPN - the method using the standard VPN stuff in the 6.0.1-01 distribution AND the OpenVPN method.  Using either method I can create and maintain good connections through various routers - very satisfying.

However - there's always one of these when dealing with Windoze - I can't 'see' the server to which I am connected in the Network Neighbourhood.  I've opened ports 137-139 for the standard VPN connection, and I don't see any special port requirements for the OpenVPN implementation.  I'm trying to connect an XP-SP2 workstation.

Could this be anything to do with Windoze domains? Or maybe it's a NetBIOS problem? The PC that I'm trying to connect to the remote server is already member of another, unconnected domain.

Any suggestions welcome - this whole exercise is beginning to drag a bit!

Regards,

Dave

Offline smeghead

  • *
  • 557
  • +0/-0
VPN - Error 619
« Reply #7 on: January 29, 2005, 03:59:38 AM »
.. for your VPN connection only nominate the remote server as the WINS server.

HTH
..................

dave_d

VPN - Error 619
« Reply #8 on: January 29, 2005, 11:57:07 AM »
Hello Smeghead,
Thanks for the suggestion - didn't work, I'm afraid!

I tried nominating both the external router IP and the remote server internal IP as WINS server using both the built-in VPN stuff AND the OpenVPN setup.  In none of these cases could I get to see the remote network under My Network Places (or whatever it's called today!).

I've also played around with all the NetBIOS over TCP/IP settings but the network remains stubbornly invisible.  AAaarrrgghhh!!!!!

(Calming down ..... ) However, by specifically searching for the computer (remote server) by name it's found almost immediately.  From that point onwards it can be used as normal.  Unfortunately for me my client is not satisfied with this solution.  He insists that it's got to be just like the Windoze network he just left - understandable, I s'pose!

Does anyone have any more suggestions?

Regards,

Dave

Offline smeghead

  • *
  • 557
  • +0/-0
VPN - Error 619
« Reply #9 on: January 29, 2005, 12:55:29 PM »
.. this issue is not specific to SME as it is a relatively common experience on pure Windows networks.  Unfortunately, its one of those mongrel problems for which there is no magical panacea.

Most of the time I find that the w/s needs a reload of Windows to resolve the prob; can you test with a different system that has a clean Windows build?

On reflection maybe try this ...

What your trying to do is Netbios browsing using SMB communication.  This browsing function relies on a 'browse master' computer to maintain the list of available systems on the network segment.  James Price has an advanced worksgroup contrib (with a little help from me) that allows you to improve the SME box's chance of becoming the browse master on the network.  This process occurs via an election held between all the systems on the network.  Servers are by default more likely to be elected the master but it doesn't hurt to up the odds.

If you can get the SME box to be the browse master it may solve this prob.

HTH
..................

pistonpilot

VPN - Error 619
« Reply #10 on: January 29, 2005, 09:51:13 PM »
Here is a universal constant with SME 6.X.  You will get unpredictable results when you try to VPN into an e-smith box from another e-smith box with the VPN running.

I'm not talking about the IPSEC, only the PPTP.  If you turn off your VPN services

services pptpd

You will find you can VPN in when you turn it off, and sometimes you need to recycle the VPN service on the server

services pptdp restart

Offline jackl

  • ***
  • 136
  • +0/-0
VPN - Error 619
« Reply #11 on: January 30, 2005, 12:43:16 AM »
Our network uses sme6.0 as gateway and server we support many different networks in our area including linux, microsoft, netware, solaris etc. VPN connections to our SME servers are the only ones that give trouble, despite all the comments here, this is one that's not a Microsoft problem, as we can connect to any of our microsoft networks using VPN and terminal services through our SME gateway without any problems what so ever. The problem occurs only on a connection from a workstation behind SME to another external SME server. What is truely amazing about this problem is that occasionally the connection actually works, initially we thought this was time related, however this also proved in correct as the times it actually works, appears to be purely random.
It also has absolutely nothing to do with the routers we use as all these networks worked fine when they were running SME 5.5. The logs at the receiving side show a problem with the GRE protocol:
Jan 29 22:42:00 server01 pptpd[20046]: GRE: read(fd=6,buffer=80559a0,len=8260) from network failed: status = -1 error = Protocol not available
Jan 29 22:42:00 server01 pptpd[20046]: CTRL: GRE read or PTY write failed (gre,pty)=(6,5)
Jan 29 22:42:00 server01 pptpd[20046]: CTRL: Client 213.170.77.102 control connection finished
Jan 29 22:42:00 server01 pptpd[20046]: CTRL: Exiting now
Jan 29 22:42:00 server01 pptpd[3192]: MGR: Reaped child 20046
Jan 29 22:42:00 server01 pppd[20047]: Modem hangup
Jan 29 22:42:00 server01 pppd[20047]: Connection terminated.
Also off the top of my head to David Bray it is error 691 that relates to incorrect passwords not 619 however I may stand to be corrected on this.
Despite this having the experience of maintaining many different networks, SME is a magnificent product, mainly due to the many talented people who contrib so much in the forums, so I apologise for my only complaint of SME6.0, Guys workstation VPN behind SME to another SME server is totally unpredictable you may or maynot get connected (usually not).
......

pistonpilot

VPN - Error 619
« Reply #12 on: January 30, 2005, 12:57:48 AM »
Quote from: "jackl"
The problem occurs only on a connection from a workstation behind SME to another external SME server. What is truely amazing about this problem is that occasionally the connection actually works, initially we thought this was time related, however this also proved in correct as the times it actually works, appears to be purely random.


This is what I am telling you.  Trying to VPN using pptp via a SME server to another SME server running VPN will not work.  Humour me, turn off your PPTPD on the network you are originating from and it will sail through.

I found this out the hard way.

No one has come up with a fix.

Offline jackl

  • ***
  • 136
  • +0/-0
VPN - Error 619
« Reply #13 on: January 30, 2005, 01:36:02 AM »
pistonpilot
Thanks, Amazing that actually works, sorry for not reading your post more carefully. I've tried all sorts of combinations of things to try and achieve a work around or fix for this problem, this has opened a new avenue to try and figure out how this problem occurs, or perhaps it is such a handy workaround maybe I might not bother. Is this problem present in the new 6.5 beta version?
Many thanks again, pistonpilot.

Regards,
Jack
......

pistonpilot

VPN - Error 619
« Reply #14 on: January 30, 2005, 01:53:10 AM »
Quote from: "jackl"
pistonpilot
Thanks, Amazing that actually works, sorry for not reading your post more carefully. I've tried all sorts of combinations of things to try and achieve a work around or fix for this problem, this has opened a new avenue to try and figure out how this problem occurs, or perhaps it is such a handy workaround maybe I might not bother. Is this problem present in the new 6.5 beta version?
Many thanks again, pistonpilot.

Regards,
Jack


I don't know anything about 6.5 - I haven't used it yet.  I'm also a ClarkConnect Reseller and that is how I figured this out.  I hashed it out with ClarkConnect , they have an excellent product and very good support.

For what it is worth, I go through my ClarkConnect box from home to E-Smith VPN's all the time.  I don't have to turn off my PPTP VPN on the ClarkConnect to make it work.  Go figure.

Howard

Offline jackl

  • ***
  • 136
  • +0/-0
VPN - Error 619
« Reply #15 on: January 30, 2005, 09:30:04 AM »
Sorry Guys it only worked on that occasion it is now back to the usual 619 error no matter what I do with pptpd. This is the annoying thing about this, it does work on occasions.
Had enough I'm off to look at Jespers howto for Open VPN
Regards
Jack
......

dave_d

VPN - Error 619
« Reply #16 on: January 31, 2005, 11:25:24 AM »
Hello Jackl,

Referring to the SME 6.0.1-01 built-in VPN system .....

I'm sure that there is a time-out problem somewhere.  I tried to make another VPN connection to my troublesome network last Saturday late P.M. and it failed miserably with the Error 619.  Having had enough I went home for the weekend.  I got back into the office at 0830 this morning and thought I would just try connecting one last time - it worked, just like that!!

Anyway, on a more general note there seems to be another strange thing happening .....

1.  Establish the connection.  From past experience this will (generally) work OK BUT in order to be able to do anything in the newly connected server we need to find it.
2.  On the newly connected Windoze workstation, search for computers.  In the search box specify the name of the server.  Hit search and the server is quickly found.
3.  Double click on the newly found server icon and we get a login box (First question - Why is this?  I just logged onto the server via the VPN?).  Log on as admin/<password> - just to see if everything's working.
4.  Everything OK now - but notice that the user 'fred' who established the VPN is seeing the 'admin' set of files because of the requirement to complete the login box in 3. above.
5.  This is not what we want.  So, kill the connection and junk the VPN definition out of the 'Network and Dial-up connections' area.
6.  Restart the Windoze box for good measure.  Log on as Administrator and create a connection for anyone to use.  Establish the connection as before - but this time the files on the server are immediately available - no additional 'connect as...' step required.
7.  Unfortunately this poses a problem because 'fred', who just logged onto the server from the Administrator account on the Windoze box, cannot see his home directory on the server - just the 'admin' home.  This is not what's required.
8.  Shut everything down and log onto the Windoze box as another user. Re-establish the connection.  Search for the computer - NO COMPUTER!!!!

So, things aren't really doing what they appear to be doing.

Time to check out the log files on the server.  Here I find an intersting couple of lines in the /var/log/meassages file.  Namely ....

Jan 31 09:46:06 cssl-server e-smith[4314]: WARNING in /etc/e-smith/templates//etc/rc.d/init.d/masq/00Definitions: Use of uninitialized value in concatenation (.) or string at /etc/e-smith/templates//etc/rc.d/init.d/masq/00Definitions line 5.
Jan 31 09:46:06 cssl-server e-smith[4314]: WARNING: Template processing succeeded for //etc/rc.d/init.d/masq: 1 fragment generated warnings
Jan 31 09:46:06 cssl-server e-smith[4314]:  at /etc/e-smith/events/ip-down/S80conf-masq line 46

I've had a quick look at the offending file and at the resultant /etc/rc.d/init.d/masq file and there seems to be something awry here.  The variable 'OUTERIF' is undefined! As I'm not very good at debugging this stuff when I don't have the luxury of time, perhaps there's an expert out there who can lend his/her wisdom?

So, that seems to be the situation.  In a nutshell the VPN appears to work well and be very stable, but only under certain conditions.  It seems that the NetBIOS side of things is not functioning despite opening ports 137, 138, 138, 445, 1273 with appropriate protocols.  It seems too that once the server files have been made accessible then the particular set of files with which the connection was made remain visible regardless of who logs onto the system.

Comments, anyone???

regards,

Dave

pistonpilot

VPN - Error 619
« Reply #17 on: January 31, 2005, 08:09:48 PM »
Jan 31 13:57:00 server pptpd[12739]: MGR: Launching /usr/sbin/pptpctrl to handle client
Jan 31 13:57:00 server pptpd[12739]: CTRL: local address = 192.168.1.1
Jan 31 13:57:00 server pptpd[12739]: CTRL: remote address = 192.168.1.35
Jan 31 13:57:00 server pptpd[12739]: CTRL: pppd speed = 460800
Jan 31 13:57:00 server pptpd[12739]: CTRL: pppd options file = /etc/ppp/options.pptpd
Jan 31 13:57:00 server pptpd[12739]: CTRL: Client 68.80.38.0 control connection started
Jan 31 13:57:00 server pptpd[12739]: CTRL: Received PPTP Control Message (type: 1)
Jan 31 13:57:00 server pptpd[12739]: CTRL: Made a START CTRL CONN RPLY packet
Jan 31 13:57:00 server pptpd[12739]: CTRL: I wrote 156 bytes to the client.
Jan 31 13:57:00 server pptpd[12739]: CTRL: Sent packet to client
Jan 31 13:57:00 server pptpd[12739]: CTRL: Received PPTP Control Message (type: 7)
Jan 31 13:57:00 server pptpd[12739]: CTRL: Set parameters to 1525 maxbps, 64 window size
Jan 31 13:57:00 server pptpd[12739]: CTRL: Made a OUT CALL RPLY packet
Jan 31 13:57:00 server pptpd[12739]: CTRL: Starting call (launching pppd, opening GRE)
Jan 31 13:57:00 server pptpd[12739]: CTRL: pty_fd = 5
Jan 31 13:57:00 server pptpd[12739]: CTRL: tty_fd = 6
Jan 31 13:57:00 server pptpd[12739]: CTRL: I wrote 32 bytes to the client.
Jan 31 13:57:00 server pptpd[12739]: CTRL: Sent packet to client
Jan 31 13:57:00 server pptpd[12740]: CTRL (PPPD Launcher): Connection speed = 460800
Jan 31 13:57:00 server pptpd[12740]: CTRL (PPPD Launcher): local address = 192.168.1.1
Jan 31 13:57:00 server pptpd[12740]: CTRL (PPPD Launcher): remote address = 192.168.1.35
Jan 31 13:57:00 server pppd[12740]: pppd 2.4.2b1 started by root, uid 0
Jan 31 13:57:00 server pppd[12740]: Starting negotiation on /dev/pts/0
Jan 31 13:57:00 server pptpd[12739]: CTRL: Received PPTP Control Message (type: 15)
Jan 31 13:57:00 server pptpd[12739]: CTRL: Got a SET LINK INFO packet with standard ACCMs
Jan 31 13:57:00 server pptpd[12739]: GRE: Discarding duplicate packet
Jan 31 13:57:30 server pppd[12740]: LCP: timeout sending Config-Requests
Jan 31 13:57:30 server pppd[12740]: Connection terminated.
Jan 31 13:57:30 server pppd[12740]: Exit.

pistonpilot

VPN - Error 619
« Reply #18 on: January 31, 2005, 08:13:38 PM »
Let's add to this mess.  The above post is from my messages file.

I can connect to the VPN with no problems using my Verizon Aircard on my laptop.  

I came home and can't get into this VPN using and SMC wireless router.

The router has no settings to allow or disallow PPTP.

I just tried to get into a customer running 6.0 and I've never had trouble getting in.  Today I cannot.  

Prior to this I was using a Clarkconnect 2.2 Office gateway.  Version 3.0 is out and I'm going to put it on a faster machine.  

So, it is the router that is keeping me from delivering what esmith wants.

I wish I had a Clarkconnect box out there to test remotely from this SMC router.  

Maybe I'll throw a linksys on it for giggles.

pistonpilot

VPN - Error 619
« Reply #19 on: January 31, 2005, 08:21:42 PM »
Quote from: "jackl"
Sorry Guys it only worked on that occasion it is now back to the usual 619 error no matter what I do with pptpd. This is the annoying thing about this, it does work on occasions.
Had enough I'm off to look at Jespers howto for Open VPN
Regards
Jack


Yes, that is my next project. To add this and test through the same SMC router that does not want to route PPTP to my esmith customers.

For me though it will be easier to put my Clarkconnect back as the gateway.

Offline jackl

  • ***
  • 136
  • +0/-0
VPN - Error 619
« Reply #20 on: February 01, 2005, 12:00:59 AM »
Just to clarify the situation we have:
There is no problem with vpn to SME server using a stand alone internet PC, or via a Microsoft ISA server or through most routers.
Also no problem with vpn connection from PC behind SME gateway to VPN router or to Microsoft Servers at remote network.
The only time the 619 connection error occurs is when a PC behind an SME Gateway attempts a connection to another remote SME server.
The only thing visible in logs (at remote side)is that there is a problem with the GRE protocol.
 
Regards,
Jack
......

Offline raem

  • *
  • 3,972
  • +4/-0
VPN - Error 619
« Reply #21 on: February 01, 2005, 04:41:13 AM »
dave_d

> I'm sure that there is a time-out problem somewhere.  

Use iptstate to examine your connections.


> So, things aren't really doing what they appear to be doing.

It sounds like things "are" doing as they are supposed to !
You need to login to your Windows w/s with the same user account you wish to use/view on the remote server. Windows passes your login credentials to the server, which them gives you access rights to ibays etc based on sme server group memberships.
You also (preferably) need to make the VPN connection using the same user acct/password combination ie login to windows as fred using fred's password, then connect via VPN using fred & fred's password.
Prior to that you need to enable VPN access for fred in the sme user accounts screen and make fred a member of certain groups (as required) on the sme server so that the remote VPN connected fred will be allowed to access some ibays etc. Prior to that you need to give ownership of each ibay to a group. Remember the user can be (& most likely needs to be) a member of many groups.

Of course if you login to windows as admin and to VPN as admin you will see ALL the server resources, as admin has automatic access rights to all of those.



> Jan 31 09:46:06 cssl-server e-smith[4314]:
> WARNING: Template processing succeeded
> for //etc/rc.d/init.d/masq: 1 fragment generated warnings
> Jan 31 09:46:06 cssl-server e-smith[4314]:  
> at /etc/e-smith/events/ip-down/S80conf-masq line 46


That template expansion error message suggests you have added some custom templates (or changed templates) and these changes are incorrect. Remove the offending changes you made.

You also need to put your remote servers IP in the WINS setup for the VPN connection (as previously advised in this thread).

Hope that helps.
...

dave_d

VPN - Error 619
« Reply #22 on: February 01, 2005, 10:23:02 AM »
Hello Ray,

I used iptstate as suggested (IIRC) in your last post.  That is, I used it when the Error 619s were occurring.  I used it too when the VPN was connected and in both cases the result is nothing - no output other than the heading lines.  This seems to suggest that there's nothing for iptstate to see!

When you read this post it will have been prepared using a VPN connection that gave me 619 last night.  This morning - predictably - it came up with no problem.  So, this seems to indicate that something somewhere is timing out over a fairly long period of time. I found too that increasing the number of allowable PPTP connections after the 619s started enabled me once again to establish a VPN - and this until I had 'exhausted'the number of VPNs again.  This, to me, is another pointer to a timeout problem somewhere.

In fact, as I type this 'over the VPN', I'm using another direct SSL connection to the same server and iptstate is still showing nothing!  'iptables' also shows nothing.  Could this be because it's a 'ServerOnly' installation?  Maybe this has something to do with the Warnings I mentioned?

As for your comments about 'Things "are" doing what they're supposed to', I grant that the scenario you paint is what one would normally do.  However, I've spent the last 25 years working as a software tester and so I always do what one is NOT normally supposed to do and I then observe the effect.  If I create a connection I would expect it always to be fresh - that is, I would expect any credentials passed during the lifetime of the previous connection to be forgotten once the connection is broken.  However, it appears that Windoze remembers them and that means that a 'crossed' connection - whether made deliberately or in error - is bound to the VPN connection definition forever.  Maybe that's what the designers meant - it's just that I would have done it differently!

As for the template thing, I can guarantee that I have made no changes or additions in this area!

Finally, I did indeed add the WINS setup as advised - and it made not one jot of difference!

So I'm still a rather confused bunny!  With help from other patient contributors to this site I've now got OpenVPN up and running and it certainly seems more reliable than the built-in VPN.  However, in some ways the built-in version is more convenient as there's less work to do and there's no need to start adding static routes to the router.

I'll see if I can create a rather more controlled setup in the next few days so that I can persue this in a more orderly fashion.  One of the problems of working with a production server is that one cannot always do the experiments one wishes to make.  Luckily for all of us SMEserver will run on just about anything (for test purposes) and so making a controlled environment for testing in no great shakes.

Regards,

Dave - and thanks for all the input.

Offline raem

  • *
  • 3,972
  • +4/-0
VPN - Error 619
« Reply #23 on: February 01, 2005, 11:35:57 AM »
dave_d

>.....I'm using another direct SSL connection to the > same server and iptstate is still showing
> nothing!  'iptables' also shows nothing.  Could
> this be because it's a 'ServerOnly' installation?  

I think so !


> Maybe this has something to do with the Warnings I mentioned?

I think so also !!


> However, I've spent the last 25 years working as a software tester and so I always do what one is NOT normally supposed to do and I then observe the effect.

Fair enough if you are trying to break or find faults etc. But why use the wrong method when you do in fact have access problems which are being caused by using the wrong method ie passing the wrong authentication ?


> As for the template thing, I can guarantee that I > have made no changes or additions in this area!

That would then seem to be related to the server only configuration !
There may be some issues with your router firewall ??
...

dave_d

VPN - Error 619
« Reply #24 on: February 01, 2005, 11:48:37 AM »
Hello Ray,

To be honest I ended up in 'test mode' with a crossed user connection because I had got into zombie mode when creating the connection.  Having tried many times to make the connection without success, I was so surprised when I finally got a username/password prompt that I just automatically typed in the admin/password combination.  That was when I found that things had ended up set in concrete!

Some folks who use this particular server have more than one account - don't ask , it's not my policy!! - and so I can see this situation arising again.

Still.. whichever way we look at things, I think there's a timeout problem here somewhere and I'm $%^&"£&ed if I can find it!!

Regards,
Dave

Offline smeghead

  • *
  • 557
  • +0/-0
VPN - Error 619
« Reply #25 on: February 01, 2005, 12:46:20 PM »
G'Day from sunny Perth, Oz

.. warm one day, bloody hot the next :-)

Thought you might like a bit more background reading to aid your PPTP forensics:

http://pptpclient.sourceforge.net/howto-diagnosis.phtml

HTH
..................