[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Testing PPTP connection
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Testing PPTP connection
- From: henrik (at) hswn.dk (Henrik Stoerner)
- Date: Mon, 8 May 2006 07:41:55 +0200
- References: <000601c67224$4e480650$6401005a@stenhouse.local>
- User-agent: Mutt/1.5.9i
On Sun, May 07, 2006 at 06:19:27PM -0400, David Gilmore wrote:
> Is it possible to test a PPTP connection from within hobbit. I am currently
> testing the firewalls with ICMP, but that does not always correspond to
> being able to establish a VPN connection. I need to be able to pass
> username, password, and domain.
It won't be easy to do a full PPTP connection handshake. You might be
able to script something using the Linux/*BSD pptp client from
http://pptpclient.sourceforge.net/
A quick solution would be to just test if TCP port 1723 accepts
connections - this is the port used for the initial pptp connection
setup. You can add this to ~hobbit/server/etc/bb-services:
[pptp]
port 1723
Then you can setup your PPTP servers in bb-hosts, with a "pptp" test
listed. It will only check that the port is open, but it's a simple
test that should catch some problems (e.g. if the service has not been
started, or if it has crashed).
Regards,
Henrik