From owner-freebsd-isp@FreeBSD.ORG Mon Sep 25 22:42:53 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9690E16A403 for ; Mon, 25 Sep 2006 22:42:53 +0000 (UTC) (envelope-from daniel@readytechnology.co.uk) Received: from th4.trendhosting.net (th4.trendhosting.net [195.8.117.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F93843D69 for ; Mon, 25 Sep 2006 22:42:52 +0000 (GMT) (envelope-from daniel@readytechnology.co.uk) Received: from localhost (localhost [127.0.0.1]) by th4.trendhosting.net (Postfix) with ESMTP id 332C31461CF for ; Mon, 25 Sep 2006 23:42:51 +0100 (BST) Received: from th4.trendhosting.net ([127.0.0.1]) by localhost (th4 [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24667-02-3 for ; Mon, 25 Sep 2006 23:42:50 +0100 (BST) Received: from [82.70.93.201] (82-70-93-201.dsl.in-addr.zen.co.uk [82.70.93.201]) by th4.trendhosting.net (Postfix) with ESMTP id 0288A1461CC for ; Mon, 25 Sep 2006 23:42:49 +0100 (BST) Message-ID: <45185B6B.7080108@readytechnology.co.uk> Date: Mon, 25 Sep 2006 23:42:51 +0100 From: Daniel Pocock User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060620 Debian/1.7.13-0.2 X-Accept-Language: en MIME-Version: 1.0 To: freebsd-isp@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: L2TP server support? X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Sep 2006 22:42:53 -0000 Hi, I've been looking at the L2TP server support in FreeBSD. So far, I've found the following: sl2tps mpd + some patch - L2TP patch documented in German l2tpd - marked as broken Given that the mpd patch was not in ports, and was only documented in German, and that l2tpd was marked broken, I though I would try sl2tps. However, when trying to connect from l2tpd on Linux, the FreeBSD box logs the following and rejects the attempt: "processing failed on mandatory AVP" After a few attempts, the sl2tps process stops responding to any L2TP packets. Even killing the process and starting it again doesn't help - I have to completely reboot the FreeBSD box, which suggests there is a fault in the kernel code. Can someone please advise the preferred way of running a stable L2TP server on FreeBSD? Which version of FreeBSD and which daemon? We are aiming to terminate 100+ concurrent tunnels from a variety of client devices. Regards, Daniel r2# sl2tps -D debug: starting subsystem "curconf" debug: starting subsystem "pidfile" debug: creating pidfile "/var/run/sl2tps.pid" debug: starting subsystem "error_log" notice: process 567 server started Segmentation fault (core dumped) r2# sl2tps -D info: waiting for connections... debug: starting subsystem "curconf" debug: starting subsystem "pidfile" debug: creating pidfile "/var/run/sl2tps.pid" debug: starting subsystem "error_log" notice: process 568 server started info: [xxxx:1701]: rec'd SCCRQ in state idle info: [xxxx:1701]: connected to "h1", version=1.0 info: [xxxx:1701]: rec'd SCCCN in state wait-ctl-conn info: [xxxx:1701]: rec'd ICRQ in state established info: [xxxx:1701]: call #0: rec'd CDN in state wait-connect info: call from [xxxx:1701] terminated: result=2 error=6 errmsg="processing failed on mandatory AVP"