From owner-freebsd-questions@FreeBSD.ORG Mon Apr 5 15:46:30 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 C53E2106566C for ; Mon, 5 Apr 2010 15:46:30 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id A23A88FC0C for ; Mon, 5 Apr 2010 15:46:30 +0000 (UTC) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NyoVL-0001Uy-Ul; Mon, 05 Apr 2010 11:46:29 -0400 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id 025B53DF2C06; Mon, 5 Apr 2010 11:46:24 -0400 (EDT) Message-ID: <4BBA05D1.50203@FreeBSD.org> Date: Mon, 05 Apr 2010 11:46:25 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Walter References: <4BB9FCFB.40103@earthlink.net> In-Reply-To: <4BB9FCFB.40103@earthlink.net> X-Enigmail-Version: 0.96.0 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.4 (/) Cc: Questions Subject: Re: ftp giving url but i want the IP address X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2010 15:46:30 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Walter wrote: > I want to parse ftp error messages in auth.log and use the > ip address in inserting a block into ipfw. It works, except > when ftpd spits out the host-specific url rather than the ip. > Adding "-h" to the ftpd command in inet.conf didn't help. > Can someone tell me how to do this, or point me to code > (C) to convert it? > > Thanks. I'm off-list so please reply directly. > > Walter > _______________________________________________ Hi Walter, Did you send a HUP signal to inetd so it rereads the config file? kill -HUP `cat /var/run/inetd.pid` Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLugXR0sRouByUApARAv00AJ9Ci0rwzG4cMBTQr9d50Lk4T6iXwwCgrtoJ p8rszot7YctmhKv0B2QpraE= =E9/c -----END PGP SIGNATURE-----