From owner-freebsd-current@FreeBSD.ORG Fri Sep 22 17:54:55 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3327016A40F for ; Fri, 22 Sep 2006 17:54:55 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from sj-iport-2.cisco.com (sj-iport-2-in.cisco.com [171.71.176.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id B07CD43D4C for ; Fri, 22 Sep 2006 17:54:54 +0000 (GMT) (envelope-from rrs@cisco.com) Received: from sj-dkim-3.cisco.com ([171.71.179.195]) by sj-iport-2.cisco.com with ESMTP; 22 Sep 2006 10:54:56 -0700 X-IronPort-AV: i="4.09,204,1157353200"; d="scan'208"; a="342834935:sNHT30814534" Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237]) by sj-dkim-3.cisco.com (8.12.11.20060308/8.12.11) with ESMTP id k8MHss2I007370 for ; Fri, 22 Sep 2006 10:54:54 -0700 Received: from xbh-sjc-211.amer.cisco.com (xbh-sjc-211.cisco.com [171.70.151.144]) by sj-core-1.cisco.com (8.12.10/8.12.6) with ESMTP id k8MHspQX004076 for ; Fri, 22 Sep 2006 10:54:54 -0700 (PDT) Received: from xfe-sjc-211.amer.cisco.com ([171.70.151.174]) by xbh-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 22 Sep 2006 10:54:53 -0700 Received: from [127.0.0.1] ([171.68.225.134]) by xfe-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 22 Sep 2006 10:54:53 -0700 Message-ID: <45142352.2060600@cisco.com> Date: Fri, 22 Sep 2006 13:54:26 -0400 From: Randall Stewart User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050920 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 22 Sep 2006 17:54:53.0445 (UTC) FILETIME=[350DFB50:01C6DE70] DKIM-Signature: a=rsa-sha1; q=dns; l=979; t=1158947694; x=1159811694; c=relaxed/simple; s=sjdkim3002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=rrs@cisco.com; z=From:Randall=20Stewart=20 |Subject:Anyone=20play=20with=20divert=20sockets=20lately?; X=v=3Dcisco.com=3B=20h=3DVY01OdloiPqimWlGZCZsXEOGMYw=3D; b=sqXIGVZEA6T1++KprtM1hreOcYNr7xeklS+pIdmSnCjbKYihY5O1SiFpn3p8N2nEy3G06jBg pa7RnwIIQxtDiiEuT8tSBjloa+aaaPGWL1C72SIRC5PVzxcWCMTwjHs1; Authentication-Results: sj-dkim-3.cisco.com; header.From=rrs@cisco.com; dkim=pass ( sig from cisco.com verified; ); Subject: Anyone play with divert sockets lately? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Sep 2006 17:54:55 -0000 Hi all: Due to something I need to do at I had to bring up a couple of daemon's that use DIVERT sockets. So I grabbed my two test machines.. one runs 6.1 the other 7.0... I had not updated in a while... (the 7.0 machine). So anyway, I got everything configured.. started my router with the proper VRF's.. setup the tunnels ... the 6.1 machine came up fine.. The 7.0 could not write into the tunnel... it is sending to addr.sin_addr.s_addr = 0 and getting error EACCESS back.. So I cvsup to current as of today.. rebuild.. and I get a bunch of: error's from the divert code.. and then a crash in kern_exec/kern_proc.c (system ran out of memory I think).. The system was constantly printing divert_packet: no divert tag Even after I got a listener up on the divert port... Hmm.. any hints would be nice... I will go dig around and look.. R -- Randall Stewart NSSTG - Cisco Systems Inc. 803-345-0369 815-342-5222 (cell)