From owner-freebsd-ports-bugs@freebsd.org Tue Sep 5 10:10:44 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B3BE2E00F24 for ; Tue, 5 Sep 2017 10:10:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9F1A46C02A for ; Tue, 5 Sep 2017 10:10:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v85AAiOQ023077 for ; Tue, 5 Sep 2017 10:10:44 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 222065] security/ipsec-tools: racoon initiates phase 1 to wrong port Date: Tue, 05 Sep 2017 10:10:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: aragon@phat.za.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: vanhu@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 10:10:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222065 Bug ID: 222065 Summary: security/ipsec-tools: racoon initiates phase 1 to wrong port Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: vanhu@FreeBSD.org Reporter: aragon@phat.za.net Flags: maintainer-feedback?(vanhu@FreeBSD.org) Assignee: vanhu@FreeBSD.org FreeBSD 11.1-RELEASE ipsec-tools 0.8.2_2 My SPD: # setkey -DP 1.2.3.4[1701] 0.0.0.0/0[any] udp in ipsec esp/transport//require spid=3D25 seq=3D1 pid=3D32733 scope=3Dglobal=20 refcnt=3D1 0.0.0.0/0[any] 1.2.3.4[1701] udp out ipsec esp/transport//require spid=3D26 seq=3D0 pid=3D32733 scope=3Dglobal=20 refcnt=3D1 When I send outbound traffic to 1.2.3.4 UDP port 1701, racoon is notified, = but attempts to initiate phase 1 to UDP port 1701! Sep 5 12:06:09 roo racoon: INFO: IPsec-SA request for 1.2.3.4 queued due to no phase1 found. Sep 5 12:06:09 roo racoon: INFO: initiate new phase 1 negotiation: 197.215.183.141[500]<=3D>1.2.3.4[1701] Sep 5 12:06:09 roo racoon: INFO: begin Aggressive mode. Sep 5 12:06:41 roo racoon: [1.2.3.4] ERROR: phase2 negotiati= on failed due to time up waiting for phase1. ESP 1.2.3.4[1701]->197.215.183.14= 1[0]=20 Sep 5 12:06:41 roo racoon: INFO: delete phase 2 handler. Sep 5 12:06:59 roo racoon: ERROR: phase1 negotiation failed = due to time up. 189c35dfee4f4eac:0000000000000000 If I remove the port specifier from my SPD, then racoon behaves normally (u= ses port 500). --=20 You are receiving this mail because: You are the assignee for the bug.=