<x-flowed>
Great! I've re-started xinetd and tried to ftp to the localhost or from my
PC to the server.
I have vsFTPd installed on the box which answers on port 21.
I can's see any activity for ftp.proxy. The log is not updated, nothing is
written to the box every time I ftp.
Should I update /etc/services and plug in ftpproxy there?
My ftpproxy service in /etc/xinetd.d directory looks like like the
following.
How can I add at least one client to test if ftp.proxy works?
Any syntax examples?
Any logs examples? Maybe some troubleshooting examples are available
somewhere?
/etc/xinetd.d/ #root# cat ftpproxy
service ftpproxy
{
disable = no
socket_type = stream
wait = no
user = nobody
server = /usr/local/sbin/ftp.proxy
server_args = -e -m
}
>From: Greg Lyons <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: "general-l List Member" <[EMAIL PROTECTED]>
>Subject: [general-l] Is this discussion group alive? {08}
>Date: Tue, 12 Aug 2003 21:30:58 -0500
>
>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
>
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
--general-l------------------------------------
To unsubscribe please visit:
http://www.ftpproxy.org/html/maillinglists.html
</x-flowed>
From [EMAIL PROTECTED] Thu Aug 14 09:48:12 2003
X-Persona: <ftp.pproxy>
Return-path: <[EMAIL PROTECTED]>
Received: from hotmail.com (law12-f101.law12.hotmail.com [64.4.19.101])
by compucation.de (mail.compucation.de [213.185.64.44])
(MDaemon.PRO.v6.8.4.R)
with ESMTP id 9-md50000000003.tmp
for <[email protected]>; Wed, 13 Aug 2003 16:57:33 +0200
X-Originating-IP: [205.189.242.133]
X-Originating-Email: [EMAIL PROTECTED]
From: "Magdalena Hewryk" <[EMAIL PROTECTED]>
To: "ftp.proxy" <[email protected]>
Bcc:
Subject: [general-l] Is this discussion group alive? {08}
Date: Wed, 13 Aug 2003 14:57:27 +0000
Mime-Version: 1.0
Message-ID: <[EMAIL PROTECTED]>
X-OriginalArrivalTime: 13 Aug 2003 14:57:27.0850 (UTC)
FILETIME=[368518A0:01C361AB]
X-Lookup-Warning: MAIL lookup on [EMAIL PROTECTED] does not match 64.4.19.101
X-MDRcpt-To: [EMAIL PROTECTED]
X-MDRemoteIP: 64.4.19.101
Sender: [EMAIL PROTECTED]
X-Return-Path: [EMAIL PROTECTED]
Precedence: bulk
List-Unsubscribe: <mailto:[EMAIL PROTECTED]>
X-MDMailing-List: [EMAIL PROTECTED]
X-MDSend-Notifications-To: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
X-MDaemon-Deliver-To: [email protected]
X-Eudora2Unix: 3905-11-05T08:39:36Z converted
<x-flowed>
Hi Patrick,
If you can send me your program that would be great. I would get the idea
how to manage the proxy product and maybe with the small modifications I
would be able to use it.
Thanks so much for the quick response.
>From: Patrick Desnoyers <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: "general-l List Member" <[EMAIL PROTECTED]>
>Subject: [general-l] Is this discussion group alive? {07}
>Date: Tue, 12 Aug 2003 13:14:51 -0400
>
>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
>
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
--general-l------------------------------------
To unsubscribe please visit:
http://www.ftpproxy.org/html/maillinglists.html
</x-flowed>
From [EMAIL PROTECTED] Thu Aug 14 09:48:23 2003
X-Persona: <ftp.pproxy>
Return-path: <[EMAIL PROTECTED]>
Received: from sccimhc02.asp.att.net (sccimhc02.asp.att.net [63.240.76.164])
by compucation.de (mail.compucation.de [213.185.64.44])
(MDaemon.PRO.v6.8.4.R)
with ESMTP id 55-md50000000003.tmp
for <[email protected]>; Wed, 13 Aug 2003 21:30:56 +0200
From: Greg Lyons <[EMAIL PROTECTED]>
To: "ftp.proxy" <[email protected]>
Subject: [general-l] Is this discussion group alive? {10}
Date: Wed, 13 Aug 2003 14:30:39 -0500
User-Agent: KMail/1.5
References: <[EMAIL PROTECTED]>
In-Reply-To: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-ID: <[EMAIL PROTECTED]>
X-MDRcpt-To: [EMAIL PROTECTED]
X-MDRemoteIP: 63.240.76.164
Sender: [EMAIL PROTECTED]
X-Return-Path: [EMAIL PROTECTED]
Precedence: bulk
List-Unsubscribe: <mailto:[EMAIL PROTECTED]>
X-MDMailing-List: [EMAIL PROTECTED]
X-MDSend-Notifications-To: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
X-MDaemon-Deliver-To: [email protected]
X-Eudora2Unix: 3905-11-05T08:39:36Z converted
If you already have something listening on port 21, you'll need to choose a
different port (like 2121 or something). You can do that by adding a line to
your /etc/xinetd.d/ftpproxy file like the one below and restart xinetd.
port = 2121
You won't need to add a user to start with, since you don't have an ACP yet,
which is the thing that will require authentication on the proxy itself. So
to test, you'd run ftp and and type "open localhost 2121". It will prompt
you for a username, which would be something like "[EMAIL PROTECTED]".
The password would be your email address. If you can do an ls or get, then
you're working!
On Wednesday 13 August 2003 09:55, Magdalena Hewryk wrote:
> Great! I've re-started xinetd and tried to ftp to the localhost or from my
> PC to the server.
> I have vsFTPd installed on the box which answers on port 21.
>
> I can's see any activity for ftp.proxy. The log is not updated, nothing is
> written to the box every time I ftp.
>
> Should I update /etc/services and plug in ftpproxy there?
>
> My ftpproxy service in /etc/xinetd.d directory looks like like the
> following.
>
> How can I add at least one client to test if ftp.proxy works?
> Any syntax examples?
> Any logs examples? Maybe some troubleshooting examples are available
> somewhere?
>
> /etc/xinetd.d/ #root# cat ftpproxy
> service ftpproxy
> {
> disable = no
> socket_type = stream
> wait = no
> user = nobody
> server = /usr/local/sbin/ftp.proxy
> server_args = -e -m
> }
>
>
> From: Greg Lyons <[EMAIL PROTECTED]>
>
> >Reply-To: [EMAIL PROTECTED]
> >To: "general-l List Member" <[EMAIL PROTECTED]>
> >Subject: [general-l] Is this discussion group alive? {08}
> >Date: Tue, 12 Aug 2003 21:30:58 -0500
> >
> >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
>
> _________________________________________________________________
> Add photos to your messages with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail
>
>
> --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