Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Apr 2010 11:46:25 -0400
From:      Greg Larkin <glarkin@FreeBSD.org>
To:        Walter <walterk1@earthlink.net>
Cc:        Questions <freebsd-questions@FreeBSD.org>
Subject:   Re: ftp giving url but i want the IP address
Message-ID:  <4BBA05D1.50203@FreeBSD.org>
In-Reply-To: <4BB9FCFB.40103@earthlink.net>
References:  <4BB9FCFB.40103@earthlink.net>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BBA05D1.50203>