From owner-cvs-ports@FreeBSD.ORG Wed Jun 15 06:57:11 2005 Return-Path: X-Original-To: cvs-ports@FreeBSD.org Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0CBA16A41C; Wed, 15 Jun 2005 06:57:10 +0000 (GMT) (envelope-from ahze@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9D7043D1D; Wed, 15 Jun 2005 06:57:10 +0000 (GMT) (envelope-from ahze@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j5F6vA40070759; Wed, 15 Jun 2005 06:57:10 GMT (envelope-from ahze@repoman.freebsd.org) Received: (from ahze@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j5F6vAZo070758; Wed, 15 Jun 2005 06:57:10 GMT (envelope-from ahze) Message-Id: <200506150657.j5F6vAZo070758@repoman.freebsd.org> From: Michael Johnson Date: Wed, 15 Jun 2005 06:57:10 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/security Makefile ports/security/sasp Makefile distinfo pkg-descr X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jun 2005 06:57:11 -0000 ahze 2005-06-15 06:57:10 UTC FreeBSD ports repository Modified files: security Makefile Added files: security/sasp Makefile distinfo pkg-descr Log: - Add sasp This is a tool that uses ARP poisoning to have a scenario like this: we have a LAN and we want offer connectivity to every- one coming here with his laptop for example. It could happen that our customer has his network parameters already configured to work correctly in his own LAN, but not working here. We can have then this scenario: Customer's host (10.0.0.2/8 and default gateway set to 10.0.0.1) Our LAN (192.168.0.0/24 with real gateway 192.168.0.254). All that we want is that our customer plugs his laptop and joins the internet without changing nothing of his network parameters. Here comes this tool installed in my real gw(192.168.0.254) It's a sort of sniffer, because it sniffs broadcast ARP requests for the gateway and answers that the gateway is itself In our example our customer's laptop sends this request: arp who-has 10.0.0.1 tell 10.0.0.2 Now our gateway does the following: 1) Sends back this reply to 10.0.0.2: arp reply 10.0.0.1 is-at his_mac_address 2)Create the alias 10.0.0.254 (ARP is not routable so we need one alias for each subnet that is not our one) 3)Sends itself an ARP reply to refresh his ARP cache It is different from proxy arp for two reasons: first it runs in user space, then in this case we can plug machines belonging to whatever subnet, while proxy arp is used in the case of only two different ones. PR: ports/79676 Submitted by: Luigi Pizzirani Revision Changes Path 1.615 +1 -0 ports/security/Makefile 1.1 +21 -0 ports/security/sasp/Makefile (new) 1.1 +2 -0 ports/security/sasp/distinfo (new) 1.1 +23 -0 ports/security/sasp/pkg-descr (new)