Don't forget that you need to restart xinetd.  Do a 'kill -HUP' on the process 
ID that "ps -ef | grep xinetd" returns.

To test, you have to "ftp my.host.com".


On Tuesday 12 August 2003 12:14, Patrick Desnoyers wrote:
> You start the program using xinetd or inetd. Xinetd will run the binary
> when needed.
>
> Make sure your xinetd is running.  ( ps -ef | grep xinetd )
>
> I have written a small program in perl to create accounts and verify acl on
> a mysql database... if you want it, I can send it to you...
>
> It's not finished yet but it will be soon because I have to put it in
> production soon :-)
>
> Patrick
>
> By the way, I think these are the first messages I got since subscribing a
> few months ago ;-)
>
>
>
> -----Original Message-----
> From: Magdalena Hewryk [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 12, 2003 11:41 AM
> To: general-l List Member
> Subject: [general-l] Is this discussion group alive? {06}
>
> Hi Greg,
> I've sent already one email today, but probably it didn't go through.  .  I
> didn't get it...
>
> I really don't want to generate lots of noise but it is better to send
> double email than none.
>
> I have created /etc/xinetd.d/ftproxy file but how can I start the service?
> I need to run the binary, right?
> Is something wrong with the syntax below?
> How can I start the ftp.proxy if you don't want me to run the binary?
>
> #root# ftp.proxy PROXY_SERVER=192.168.xxx.xx
>
>
> -- The manual pages are great but I need a basic information how to start
> using ftp.proxy, at least for the localhost.  How can I know it works, how
> can I test test.  Just a simple test...
> Can you send me just one example?  It would be very helpful for me.
>
>
>
> Aug 12 09:47:08 mailgw01 ftp.proxy[17043]: can't set TCP_NODELAY, error=
> Socket operation on non-socket
> Aug 12 09:47:08 mailgw01 ftp.proxy[17043]: -ERR: can't get client info:
> Socket operation on non-socket
> Aug 12 11:29:58 mailgw01 ftp.proxy[28239]: can't set TCP_NODELAY, error=
> Socket operation on non-socket
> Aug 12 11:29:58 mailgw01 ftp.proxy[28239]: -ERR: can't get client info:
> Socket operation on non-socket
>
>
> From: Greg Lyons <[EMAIL PROTECTED]>
>
> >Reply-To: [EMAIL PROTECTED]
> >To: "general-l List Member"  <[EMAIL PROTECTED]>
> >Subject: [general-l] Is this discussion group alive? {05}
> >Date: Mon, 11 Aug 2003 21:05:41 -0500
> >
> >Magda,
> >
> >You might try just one email next time.  We're not used to very many
> >messages
> >coming from this list.  :-)
> >
> >You can't start ftp.proxy from the command line, which is why you got the
> >"Socket operation on non-socket" error.  You need to start it from xinetd.
> >Below is a sample configuration snippit, which you could put in
> >/etc/xinetd.conf or in a separate file /etc/xinetd.d/ftpproxy.
> >
> >service ftpproxy
> >{
> >     disable = no
> >     socket_type = stream
> >     wait = no
> >     user = nobody
> >     server = /usr/local/sbin/ftp.proxy
> >     server_args = my.server.com
> >}
> >
> >Proxying different servers on different ports or IP addresses is done
> >within
> >your xinetd configuration.  Output is written to syslog.
> >
> >As for your 250 users, you'll need to write an ACP (access control
> >program),
> >which can be anything from simple Perl script that looks for users in a
> >clear
> >text file to a compiled binary that searches multiple databases.  I have
> >written one that works against an LDAP directory, if you're interested.
> >
> >All of this information is available in the man page
> >(http://ftpproxy.org/html/ftp.proxy-1.html) and in the FAQ
> >(http://ftpproxy.org/faq/).
> >
> >On Monday 11 August 2003 16:02, you wrote:
> > > Hi,
> > > I just wonder how can I create a config file for ftp.proxy?
> > >
> > > for example I start with thie as my 'hello world':
> > > ./ftp.proxy -a PROXY_CLIENT=192.168.xxx.xx, PROXY_CLIENTNAME=mhewryk
> > >
> > > Where the information is stored?  There is no output file?
> > > I need to create 250 users and IPs.  How can I manage them after the
> >
> >setup
> >
> > > is done.
> > >
> > > How can I start setting up FTP.PROXY?
> > > Any hint?
> > >
> > >
> > > Regards,
> > > Magda
> > >
> > > _________________________________________________________________
> > > The new MSN 8: advanced junk mail protection and 2 months FREE*
> > > http://join.msn.com/?page=features/junkmail
> > >
> > >
> > > --general-l------------------------------------
> > > To unsubscribe please visit:
> > > http://www.ftpproxy.org/html/maillinglists.html
> >
> >--general-l------------------------------------
> >To unsubscribe please visit:
> >http://www.ftpproxy.org/html/maillinglists.html
>
> _________________________________________________________________
> The new MSN 8: advanced junk mail protection and 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>
>
> --general-l------------------------------------
> To unsubscribe please visit:
> http://www.ftpproxy.org/html/maillinglists.html
>
>
> --general-l------------------------------------
> To unsubscribe please visit:
> http://www.ftpproxy.org/html/maillinglists.html


--general-l------------------------------------
To unsubscribe please visit:
http://www.ftpproxy.org/html/maillinglists.html

Reply via email to