From owner-freebsd-questions@FreeBSD.ORG Sun Oct 17 21:59:35 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC01110656B6 for ; Sun, 17 Oct 2010 21:59:34 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 92D4A8FC2D for ; Sun, 17 Oct 2010 21:59:34 +0000 (UTC) Received: by qwe4 with SMTP id 4so116674qwe.13 for ; Sun, 17 Oct 2010 14:59:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=dz+AsgW1WV9rYdPjLGasgR6uM6gdoxeuEmOBxia5n7s=; b=iBbvCGw3b9JP0jvalH9cE5wQD+IFrf4i///UR/HdLRtn9oAPKTCXzod34usSDcQ8SI 5V7PWVT/uYira4VYA6X5blT19PHNtnq9hzIhM0UlIiTbc+H17dqHHECl0nODZ9p3gAi8 kUi+wLCzLyBUEfjJR0jFZ0qzTOHIoqMOLI2fk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=u2LZiWPrFiySWei0Ljza1f+827H17/mjYGEg61ZLoc2PnpwTFkeDATlzHW2YVLt0rl +jzfhj3REn9si1/n1gyNIzHEFD4XKZkcARXBOLheZqPWTVFtJ0cZBbaVFQU6TN5jgott x21mcIOT1wocXQBMvZApZo5Tcu4q45Eg7UDdY= MIME-Version: 1.0 Received: by 10.229.249.198 with SMTP id ml6mr3159605qcb.117.1287352773180; Sun, 17 Oct 2010 14:59:33 -0700 (PDT) Received: by 10.229.219.74 with HTTP; Sun, 17 Oct 2010 14:59:33 -0700 (PDT) In-Reply-To: <201010171718.o9HHISJq003050@mail.r-bonomi.com> References: <201010171718.o9HHISJq003050@mail.r-bonomi.com> Date: Sun, 17 Oct 2010 14:59:33 -0700 Message-ID: From: Nerius Landys To: Robert Bonomi Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: UDP packet spoofed LAN source address? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Oct 2010 21:59:35 -0000 > > > > Maybe, is there a simple 10 line C program that I can run and compile to > > check if this scenario is possible on _my_ server? > > 'netcat' has the capability built in. > > root# echo "hi" | nc -u -w 1 -p 30002 -s 64.156.193.115 daffy 30001 nc: bind failed: Can't assign requested address I don't seem to be able to spoof a source address using netcat, unless I'm missing something in the man page.