From owner-freebsd-questions@freebsd.org Mon May 30 09:17:02 2016 Return-Path: Delivered-To: freebsd-questions@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 0E4CFB53FB4 for ; Mon, 30 May 2016 09:17:02 +0000 (UTC) (envelope-from emorrasg@yahoo.es) Received: from nm38-vm8.bullet.mail.ir2.yahoo.com (nm38-vm8.bullet.mail.ir2.yahoo.com [212.82.97.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6B69F1BFD for ; Mon, 30 May 2016 09:17:00 +0000 (UTC) (envelope-from emorrasg@yahoo.es) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1464599610; bh=Uo4pNjlvAcIz9DZkXrzaaIPF654HqIqJdvdyV3lbqEA=; h=Date:From:To:Subject:In-Reply-To:References:From:Subject; b=DAfCyEuoEl+Ck2Ix78xF2SO0L/24Wzy0qJYaTDEPqIFaXNCwAkBDzcYGjzZoBCWq/tK0P6Xl9/iy/bDnMhOvXScpxfK/RbBlqX5cde5vfMB7hRrMo1EsCE4cwiPsfjWadCESq7jBRkya3mgM0fDRVLqwSFqospAiXtLekNu/MY3oR41ljFL+ta9+F1nt3sPsRcQ6rUgchai2JVIyMGFDFJeeyG72qj8UjANP0vKn1eUy+RP8j7uh8BW5gXCVVIFgAcKpRdjY1zVkcA1MJrByyYgj+EuBL4VERnGbPOTCeRqMEuE/6e1ukna0AfJuy99cOxgdth+ndl9aJ/KX3gO+Vg== Received: from [212.82.98.126] by nm38.bullet.mail.ir2.yahoo.com with NNFMP; 30 May 2016 09:13:30 -0000 Received: from [46.228.39.72] by tm19.bullet.mail.ir2.yahoo.com with NNFMP; 30 May 2016 09:13:30 -0000 Received: from [127.0.0.1] by smtp109.mail.ir2.yahoo.com with NNFMP; 30 May 2016 09:13:30 -0000 X-Yahoo-Newman-Id: 56503.48548.bm@smtp109.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: pK.09lAVM1mWnEBxE_z_z1e65SQmMv8WXSlrzytgl75BPvv vThS.6jmg_U7jhxXp7wKXLJ2.GhcnARRIq6dF_59ZkTnsMDIuIqABFcf2RjX 3FMgSyEszJ0jS8CA6iPCSmUklVglGZq8V9kss7vza4S_g3Ba4Hn2KLap236n 80dhoMeiQM9n98EGKKGuvUB.oy96zjfUas.jJ9JB8i1bx0VdNQdj3GCXInL. 8ZmQPZrYi8E9oJZ1EOpSrLa2Q8H6u2wHHMepVOvQxnvZt5xfThbf6hfBIaSs KQapS4pJ2pFw0l95e7Cg33LvUFQX.XTMq2r5cVINbCQRsrS6f1BOuL3.X0ZB uJMKmX9NDG2mZi7dtYdjk0mz5SvtzQ7t0GxlGzmVCu0XJt395of2PWbTbXwr yXrgZjU4fOE8ormWiW0w04_JixoNj9sI8jTnZm8OqKbXeZ1ld8e8RCkm1ZL9 xFalWhTfH.y7PodaT6EieRvUaYJID2qVa1YzCIuT_aOIEReFbRvfYiCfg.jK LVPOs2XxF4fsVf4CpRZ_mbaBo8MyrsPdVW3VQyoroE8Ufmf1sc.AldZOH0Rq l X-Yahoo-SMTP: mX392iiswBAeJNdO_s.EW62LZDJR Date: Mon, 30 May 2016 11:13:30 +0200 From: Eduardo Morras To: freebsd-questions@freebsd.org Subject: Re: Possible bug with SCTP and iperf3? Message-Id: <20160530111330.67b480d76093966b634e3a54@yahoo.es> In-Reply-To: References: X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; amd64-portbld-freebsd10.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 May 2016 09:17:02 -0000 On Sun, 29 May 2016 14:45:14 -0400 Manas Bhatnagar wrote: > Hello, > > I experienced a hard reset of a system recently, running FreeBSD > 10-RELEASE, while running iperf3. I do not know much about SCTP nor > iperf3, I was just fiddling around with iperf3 arguments. These are > the commands I ran: > > iperf3 -c $IP -P 32 -t 60 > iperf3 -u -c $IP -P 32 -t 60 > iperf3 --sctp -c $IP -P 32 -t 60 > iperf3 --sctp -c $IP -P 4 -t 60 > iperf3 --sctp -c $IP -t 60 > iperf3 --sctp --nstreams 64 -c $IP -P 32 -t 60 > iperf3 --sctp --nstreams 2 -c $IP -P 32 -t 60 > > What I remember is that the second last command would not show any > data as being transferred and when I ran the last command, the system > running the iperf3 server did a hard reset. How do you run the server? Had you a log file? Did you run it as root? Try: %iperf3 -s -D -V --logfile filename Can you run the last 2 with -V -R --get-server-output --logfile filename? %iperf3 --sctp --nstreams 2 -c $IP -P 32 -t 60 -V -R --get-server-output filename Didn't -P for tcp/udp connections only for emulate sctp multistream capability? AFAIK you don't need both. > I don't know if this is a bug or not but it seems to my inexperienced > eyes like it is something that could be used maliciously to bring down > a system running 'iperf3 -s' and so I thought it would be best to > share this with the mailing list. Thanks to you. > Thank you, > Manas --- --- Eduardo Morras