From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758653AbXFSQsZ (ORCPT ); Tue, 19 Jun 2007 12:48:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752121AbXFSQsR (ORCPT ); Tue, 19 Jun 2007 12:48:17 -0400 Received: from web52512.mail.re2.yahoo.com ([206.190.48.195]:47168 "HELO web52512.mail.re2.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1757251AbXFSQsR (ORCPT ); Tue, 19 Jun 2007 12:48:17 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=iN03XoQ2VKtiyLDCfoZy9DYQGcOu054ox4kDQpy4w+xEja7rxUWO1swJlfn+qJYI0eABo7KvhsNfftbTvmKIQXpnKJpiRp8AEj4iOrCWrXAwtvpsu9GItehj0kAPWERKy3Fjr4QBqg6wDnUO7wuyFwEJOmGrid/6q1k/pL1OQNw=; X-YMail-OSG: 58IkHFQVM1nQcGsoksve1eb1mJ7LfGHwb9zCTLtyDragi8iUQK7f2Tqc4zZS.iwXPl0WRAd_7qz84BnB9aMMkUHcSjmBI5sfVWMQGBzpM7xyLoz3MAQFgV9uo1B9QfxKR3_LUeYxO7SNhj0sge.lSepR Date: Tue, 19 Jun 2007 09:48:16 -0700 (PDT) From: Marc Perkel Subject: How would I do this? (expert tricks) OT To: linux-kernel@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Message-ID: <456863.7892.qm@web52512.mail.re2.yahoo.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org I have a server with port 25 closed. I was to be able to run a script every time someone tries to connect to port 25, but from the outside the port remains closed. I need the script that I'm going to run get the IP address that tried to connect. I know it's off topic but it's part of an experiment to stop spam. Thanks in advance. ____________________________________________________________________________________ Luggage? GPS? Comic books? Check out fitting gifts for grads at Yahoo! Search http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz