RE: enigma-list digest, Vol 1 #1915 - 5 msgs

Bob Turner <[email protected]> Fri, 14 Nov 2003 11:12:42 -0600
Newsgroups gmane.linux.redhat.release.enigma
Message-ID <7B24BF80010C9B4499428865EB70C75201031DB8@whr-app01.whrarchitects.local>
thanks

Bob



-----Original Message-----
From: [email protected] [mailto:[email protected]]

Sent: Friday, November 14, 2003 11:00 AM
To: [email protected]
Subject: enigma-list digest, Vol 1 #1915 - 5 msgs

Send enigma-list mailing list submissions to
	[email protected]

To subscribe or unsubscribe via the World Wide Web, visit
	https://www.redhat.com/mailman/listinfo/enigma-list
or, via email, send a message with subject or body 'help' to
	[email protected]

You can reach the person managing the list at
	[email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of enigma-list digest..."


Today's Topics:

   1. FTP: connection refused (Brenden T.)
   2. xdmcp (upendra)
   3. Re: FTP: connection refused (Antonio Galea)
   4. Re: FTP: connection refused (Keith Mastin)
   5. RE: FTP: connection refused (George Gallen)

--__--__--

Message: 1
Date: Thu, 13 Nov 2003 16:18:43 -0800
From: "Brenden T." <[email protected]>
To: [email protected], [email protected]
Subject: FTP: connection refused
Reply-To: [email protected]

This is a multi-part message in MIME format.
--------------010807010701030504050807
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi all, I have a tough problem that hopefully has a not so tough 
solution.  I'm trying to setup a simple ftp server on Red Hat 7.2 and I 
can't get beyond "connection" refused when trying to connect externally. 
 I've read every FAQ and online guide I can and I can't figure out why.

The big clue I think is that netstat -a says that ftp is not being 
listened on.  /etc/services looks ok to me (ftp is on port 21 for both 
UDP and TCP), I added the ftp service in /etc/xinet.d/ftp and restarted 
xinetd, so I'm not sure what could be inhibiting ftpd.  Here's my config 
from /etc/xinet.d/ftp:
service ftp {
 disable = no
 socket_type = stream
 wait = no
 nice = 10
 user = root
 server = /usr/sbin/in.ftpd
 server_args = -l
 instances = 4
 log_on_sucess += DURATION HOST USERID
}

I modified /etc/hosts.allow and /etc/hosts.deny too.  I wasn't sure 
about hosts.allow so I copied the working nfs stuff to a new line and 
changed it:
in.ftpd: 10.0.0.0/255.255.255.224
which is just like the entries for mountd, statd, etc.

Not sure what else to say.  Here's the long story summarized:
1. Dowloaded wu-ftp and built it with ./configure and make
2. Created /usr/ftp and the little jail for it to run in.
3. Check the firewall to make sure it didn't reject ftp.
4. Made changed to /etc/xinetd.d/ftp above and hosts files.
5. Restarted xinetd
There maybe a few other things I did, this is what I recall for now.

I did a tcpdump trace of the connect attempt, the packets are reaching 
the server and it replies, but the replies are all R (resets).  I think 
this is related to the fact that xinetd doesn't think it has something 
to run on port 21 (ftp port).


Help?  What could I be missing?


--------------010807010701030504050807
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<div class="moz-text-flowed"
 style="font-family: -moz-fixed; font-size: 13px;" lang="x-western">Hi
all, I have a tough problem that hopefully has a not so tough
solution.&nbsp; I'm trying to setup a simple ftp server on Red Hat 7.2 and I
can't get beyond "connection" refused when trying to connect externally.
&nbsp;I've read every FAQ and online guide I can and I can't figure out why.
<br>
<br>
The big clue I think is that netstat -a says that ftp is not being
listened on.&nbsp; /etc/services looks ok to me (ftp is on port 21 for both
UDP and TCP), I added the ftp service in /etc/xinet.d/ftp and restarted
xinetd, so I'm not sure what could be inhibiting ftpd.&nbsp; Here's my
config
from /etc/xinet.d/ftp: <br>
service ftp { <br>
&nbsp;disable = no <br>
&nbsp;socket_type = stream <br>
&nbsp;wait = no <br>
&nbsp;nice = 10 <br>
&nbsp;user = root <br>
&nbsp;server = /usr/sbin/in.ftpd <br>
&nbsp;server_args = -l <br>
&nbsp;instances = 4 <br>
&nbsp;log_on_sucess += DURATION HOST USERID <br>
} <br>
<br>
I modified /etc/hosts.allow and /etc/hosts.deny too.&nbsp; I wasn't sure
about hosts.allow so I copied the working nfs stuff to a new line and
changed it: <br>
in.ftpd: 10.0.0.0/255.255.255.224 <br>
which is just like the entries for mountd, statd, etc. <br>
<br>
Not sure what else to say.&nbsp; Here's the long story summarized: <br>
1. Dowloaded wu-ftp and built it with ./configure and make <br>
2. Created /usr/ftp and the little jail for it to run in. <br>
3. Check the firewall to make sure it didn't reject ftp. <br>
4. Made changed to /etc/xinetd.d/ftp above and hosts files. <br>
5. Restarted xinetd <br>
There maybe a few other things I did, this is what I recall for now. <br>
<br>
I did a tcpdump trace of the connect attempt, the packets are reaching
the server and it replies, but the replies are all R (resets).&nbsp; I think
this is related to the fact that xinetd doesn't think it has something
to run on port 21 (ftp port). <br>
<br>
<br>
Help?&nbsp; What could I be missing? <br>
<br>
</div>
</body>
</html>

--------------010807010701030504050807--



--__--__--

Message: 2
Date: Thu, 13 Nov 2003 22:14:24 -0800 (PST)
From: upendra <[email protected]>
Subject: xdmcp
To: [email protected]
Cc: [email protected]
Reply-To: [email protected]

hi
I have around 9/10 machines in linux used for
computation
now we use xdmcp protocol for allowing any machine to
connect to any other machine on which a particular
user may have account.
       Problem is with newly added RH 9.0 machines
that they are showing the other machines in xdmcp manu
but not themselves. so the xdmcp menu we get here on
all machines is still with old list.
  HOw do i make sure that the newly added machines
show up in the xdmcp menu?

mail me cc of the reply
rgds 
upendra

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree



--__--__--

Message: 3
Date: Fri, 14 Nov 2003 09:43:25 +0100 (CET)
From: Antonio Galea <[email protected]>
To: [email protected]
cc: [email protected]
Subject: Re: FTP: connection refused
Reply-To: [email protected]

On Thu, 13 Nov 2003, Brenden T. wrote:

> The big clue I think is that netstat -a says that ftp is not being 
> listened on.  /etc/services looks ok to me (ftp is on port 21 for both 
> UDP and TCP), I added the ftp service in /etc/xinet.d/ftp and restarted 
> xinetd, so I'm not sure what could be inhibiting ftpd.  Here's my config 
> from /etc/xinet.d/ftp:
> ...

AFAICT, your config is fine; but does 'chkconfig --list' show your ftp
service
as active ('on')?

Since 'netstat -a' tells you that xinetd doesn't listen to port 21, you
could
be able to gather some more information from the logs: after a 'service
xinetd
restart', what do you find in /var/log/messages? If xinetd can't start
wu-ftpd,
you should find a trace of the reason there.

HTH,

Ant9000

-- 
____________________________________________________________________________
_
Dr. Antonio Galea       N e t   W i s e
http://www.netwise.it
Sviluppo tecnico     Tecnologie per il Web    Tel 0461.421016 Fax
0461.426021
----------------------------------------------------------------------------
-
There are only 10 types of people in this world.
Those who understand binary and those who don't.
----------------------------------------------------------------------------
-
--




--__--__--

Message: 4
Date: Fri, 14 Nov 2003 11:04:57 -0500 (EST)
Subject: Re: FTP: connection refused
From: "Keith Mastin" <[email protected]>
To: [email protected]
Reply-To: [email protected]


> Hi all, I have a tough problem that hopefully has a not so tough
> solution.  I'm trying to setup a simple ftp server on Red Hat 7.2 and I
> can't get beyond "connection" refused when trying to connect externally.
>  I've read every FAQ and online guide I can and I can't figure out why.
>
> The big clue I think is that netstat -a says that ftp is not being
> listened on.  /etc/services looks ok to me (ftp is on port 21 for both
> UDP and TCP), I added the ftp service in /etc/xinet.d/ftp and restarted
> xinetd, so I'm not sure what could be inhibiting ftpd.  Here's my config
> from /etc/xinet.d/ftp:

Why do you need udp?

> service ftp {
>  disable = no
>  socket_type = stream
>  wait = no
>  nice = 10
>  user = root
>  server = /usr/sbin/in.ftpd
>  server_args = -l
>  instances = 4
>  log_on_sucess += DURATION HOST USERID
> }
>
> I modified /etc/hosts.allow and /etc/hosts.deny too.  I wasn't sure
> about hosts.allow so I copied the working nfs stuff to a new line and
> changed it:
> in.ftpd: 10.0.0.0/255.255.255.224
> which is just like the entries for mountd, statd, etc.
>
> Not sure what else to say.  Here's the long story summarized:
> 1. Dowloaded wu-ftp and built it with ./configure and make

Try vsftpd (very secure ftp)... less likely to get hacked or fubar'ed,
comes in an rpm (you're running a redhat machine, right?) and it's a
breeze to set up. Installing from sources on a redhat machine can be a
turkey shoot as redhat regularily decides that files belong where redhat
thinks they should go, not where the standards dictate. This in #2 on my
personal list of beefs with redhat.

If you insist on using wu-ftpd, then at least rebuild it from the source
rpm.

> 2. Created /usr/ftp and the little jail for it to run in.
> 3. Check the firewall to make sure it didn't reject ftp.

Which port, 20 or 21? Try opening both 20 and 21.

> 4. Made changed to /etc/xinetd.d/ftp above and hosts files.
> 5. Restarted xinetd
> There maybe a few other things I did, this is what I recall for now.

Go to .bash_history to check your work. You can also log all shell
activity to a different file, but /bash_history should be sufficient for
most cases.

> I did a tcpdump trace of the connect attempt, the packets are reaching
> the server and it replies, but the replies are all R (resets).  I think
> this is related to the fact that xinetd doesn't think it has something
> to run on port 21 (ftp port).

Can you connect in with telnet localhost 21?
Does netstat -tuan show port 21 listening?

-- 
Keith Mastin
BeechTree Information Technology Services Inc.
Toronto, Canada
(416)429 9304



--__--__--

Message: 5
From: George Gallen <[email protected]>
To: "'[email protected]'" <[email protected]>
Subject: RE: FTP: connection refused
Date: Fri, 14 Nov 2003 11:35:41 -0500
Reply-To: [email protected]

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C3AACD.57D6E1E6
Content-Type: text/plain;
	charset="iso-8859-1"

in my /etc/xinet.d, it's setup as wu-ftpd

and looks like:

# default: on
# description: The wu-ftpd FTP server serves FTP connections. It uses \
#       normal, unencrypted usernames and passwords for authentication.
service ftp
{
        disable = no
        socket_type             = stream
        wait                    = no
        user                    = root
        server                  = /usr/sbin/in.ftpd
        server_args             = -l -a
        log_on_success          += DURATION USERID
        log_on_failure          += USERID
        nice                    = 10
}



>-----Original Message-----
>From: Keith Mastin [mailto:[email protected]]
>Sent: Friday, November 14, 2003 11:05 AM
>To: [email protected]
>Subject: Re: FTP: connection refused
>
>
>
>> Hi all, I have a tough problem that hopefully has a not so tough
>> solution.  I'm trying to setup a simple ftp server on Red 
>Hat 7.2 and I
>> can't get beyond "connection" refused when trying to connect 
>externally.
>>  I've read every FAQ and online guide I can and I can't 
>figure out why.
>>
>> The big clue I think is that netstat -a says that ftp is not being
>> listened on.  /etc/services looks ok to me (ftp is on port 
>21 for both
>> UDP and TCP), I added the ftp service in /etc/xinet.d/ftp 
>and restarted
>> xinetd, so I'm not sure what could be inhibiting ftpd.  
>Here's my config
>> from /etc/xinet.d/ftp:
>
>Why do you need udp?
>
>> service ftp {
>>  disable = no
>>  socket_type = stream
>>  wait = no
>>  nice = 10
>>  user = root
>>  server = /usr/sbin/in.ftpd
>>  server_args = -l
>>  instances = 4
>>  log_on_sucess += DURATION HOST USERID
>> }
>>
>> I modified /etc/hosts.allow and /etc/hosts.deny too.  I wasn't sure
>> about hosts.allow so I copied the working nfs stuff to a new line and
>> changed it:
>> in.ftpd: 10.0.0.0/255.255.255.224
>> which is just like the entries for mountd, statd, etc.
>>
>> Not sure what else to say.  Here's the long story summarized:
>> 1. Dowloaded wu-ftp and built it with ./configure and make
>
>Try vsftpd (very secure ftp)... less likely to get hacked or fubar'ed,
>comes in an rpm (you're running a redhat machine, right?) and it's a
>breeze to set up. Installing from sources on a redhat machine can be a
>turkey shoot as redhat regularily decides that files belong 
>where redhat
>thinks they should go, not where the standards dictate. This 
>in #2 on my
>personal list of beefs with redhat.
>
>If you insist on using wu-ftpd, then at least rebuild it from 
>the source rpm.
>
>> 2. Created /usr/ftp and the little jail for it to run in.
>> 3. Check the firewall to make sure it didn't reject ftp.
>
>Which port, 20 or 21? Try opening both 20 and 21.
>
>> 4. Made changed to /etc/xinetd.d/ftp above and hosts files.
>> 5. Restarted xinetd
>> There maybe a few other things I did, this is what I recall for now.
>
>Go to .bash_history to check your work. You can also log all shell
>activity to a different file, but /bash_history should be 
>sufficient for
>most cases.
>
>> I did a tcpdump trace of the connect attempt, the packets 
>are reaching
>> the server and it replies, but the replies are all R 
>(resets).  I think
>> this is related to the fact that xinetd doesn't think it has 
>something
>> to run on port 21 (ftp port).
>
>Can you connect in with telnet localhost 21?
>Does netstat -tuan show port 21 listening?
>
>-- 
>Keith Mastin
>BeechTree Information Technology Services Inc.
>Toronto, Canada
>(416)429 9304
>
>
>_______________________________________________
>enigma-list mailing list
>[email protected]
>https://www.redhat.com/mailman/listinfo/enigma-list
>

------_=_NextPart_001_01C3AACD.57D6E1E6
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2655.35">
<TITLE>RE: FTP: connection refused</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>in my /etc/xinet.d, it's setup as wu-ftpd</FONT>
</P>

<P><FONT SIZE=3D2>and looks like:</FONT>
</P>

<P><FONT SIZE=3D2># default: on</FONT>
<BR><FONT SIZE=3D2># description: The wu-ftpd FTP server serves FTP =
connections. It uses \</FONT>
<BR><FONT SIZE=3D2>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; normal, =
unencrypted usernames and passwords for authentication.</FONT>
<BR><FONT SIZE=3D2>service ftp</FONT>
<BR><FONT SIZE=3D2>{</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; disable =
=3D no</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
socket_type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp; =3D stream</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
wait&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D no</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
user&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D root</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D /usr/sbin/in.ftpd</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
server_args&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp; =3D -l -a</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
log_on_success&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
+=3D DURATION USERID</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
log_on_failure&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
+=3D USERID</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
nice&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D 10</FONT>
<BR><FONT SIZE=3D2>}</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=3D2>&gt;-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>&gt;From: Keith Mastin [<A =
HREF=3D"mailto:[email protected]">mailto:[email protected]</A>]</F=
ONT>
<BR><FONT SIZE=3D2>&gt;Sent: Friday, November 14, 2003 11:05 AM</FONT>
<BR><FONT SIZE=3D2>&gt;To: [email protected]</FONT>
<BR><FONT SIZE=3D2>&gt;Subject: Re: FTP: connection refused</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; Hi all, I have a tough problem that =
hopefully has a not so tough</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; solution.&nbsp; I'm trying to setup a =
simple ftp server on Red </FONT>
<BR><FONT SIZE=3D2>&gt;Hat 7.2 and I</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; can't get beyond &quot;connection&quot; =
refused when trying to connect </FONT>
<BR><FONT SIZE=3D2>&gt;externally.</FONT>
<BR><FONT SIZE=3D2>&gt;&gt;&nbsp; I've read every FAQ and online guide =
I can and I can't </FONT>
<BR><FONT SIZE=3D2>&gt;figure out why.</FONT>
<BR><FONT SIZE=3D2>&gt;&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; The big clue I think is that netstat -a =
says that ftp is not being</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; listened on.&nbsp; /etc/services looks ok =
to me (ftp is on port </FONT>
<BR><FONT SIZE=3D2>&gt;21 for both</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; UDP and TCP), I added the ftp service in =
/etc/xinet.d/ftp </FONT>
<BR><FONT SIZE=3D2>&gt;and restarted</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; xinetd, so I'm not sure what could be =
inhibiting ftpd.&nbsp; </FONT>
<BR><FONT SIZE=3D2>&gt;Here's my config</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; from /etc/xinet.d/ftp:</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;Why do you need udp?</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; service ftp {</FONT>
<BR><FONT SIZE=3D2>&gt;&gt;&nbsp; disable =3D no</FONT>
<BR><FONT SIZE=3D2>&gt;&gt;&nbsp; socket_type =3D stream</FONT>
<BR><FONT SIZE=3D2>&gt;&gt;&nbsp; wait =3D no</FONT>
<BR><FONT SIZE=3D2>&gt;&gt;&nbsp; nice =3D 10</FONT>
<BR><FONT SIZE=3D2>&gt;&gt;&nbsp; user =3D root</FONT>
<BR><FONT SIZE=3D2>&gt;&gt;&nbsp; server =3D /usr/sbin/in.ftpd</FONT>
<BR><FONT SIZE=3D2>&gt;&gt;&nbsp; server_args =3D -l</FONT>
<BR><FONT SIZE=3D2>&gt;&gt;&nbsp; instances =3D 4</FONT>
<BR><FONT SIZE=3D2>&gt;&gt;&nbsp; log_on_sucess +=3D DURATION HOST =
USERID</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; }</FONT>
<BR><FONT SIZE=3D2>&gt;&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; I modified /etc/hosts.allow and =
/etc/hosts.deny too.&nbsp; I wasn't sure</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; about hosts.allow so I copied the working =
nfs stuff to a new line and</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; changed it:</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; in.ftpd: 10.0.0.0/255.255.255.224</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; which is just like the entries for mountd, =
statd, etc.</FONT>
<BR><FONT SIZE=3D2>&gt;&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; Not sure what else to say.&nbsp; Here's the =
long story summarized:</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; 1. Dowloaded wu-ftp and built it with =
./configure and make</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;Try vsftpd (very secure ftp)... less likely to =
get hacked or fubar'ed,</FONT>
<BR><FONT SIZE=3D2>&gt;comes in an rpm (you're running a redhat =
machine, right?) and it's a</FONT>
<BR><FONT SIZE=3D2>&gt;breeze to set up. Installing from sources on a =
redhat machine can be a</FONT>
<BR><FONT SIZE=3D2>&gt;turkey shoot as redhat regularily decides that =
files belong </FONT>
<BR><FONT SIZE=3D2>&gt;where redhat</FONT>
<BR><FONT SIZE=3D2>&gt;thinks they should go, not where the standards =
dictate. This </FONT>
<BR><FONT SIZE=3D2>&gt;in #2 on my</FONT>
<BR><FONT SIZE=3D2>&gt;personal list of beefs with redhat.</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;If you insist on using wu-ftpd, then at least =
rebuild it from </FONT>
<BR><FONT SIZE=3D2>&gt;the source rpm.</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; 2. Created /usr/ftp and the little jail for =
it to run in.</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; 3. Check the firewall to make sure it =
didn't reject ftp.</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;Which port, 20 or 21? Try opening both 20 and =
21.</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; 4. Made changed to /etc/xinetd.d/ftp above =
and hosts files.</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; 5. Restarted xinetd</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; There maybe a few other things I did, this =
is what I recall for now.</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;Go to .bash_history to check your work. You can =
also log all shell</FONT>
<BR><FONT SIZE=3D2>&gt;activity to a different file, but /bash_history =
should be </FONT>
<BR><FONT SIZE=3D2>&gt;sufficient for</FONT>
<BR><FONT SIZE=3D2>&gt;most cases.</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; I did a tcpdump trace of the connect =
attempt, the packets </FONT>
<BR><FONT SIZE=3D2>&gt;are reaching</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; the server and it replies, but the replies =
are all R </FONT>
<BR><FONT SIZE=3D2>&gt;(resets).&nbsp; I think</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; this is related to the fact that xinetd =
doesn't think it has </FONT>
<BR><FONT SIZE=3D2>&gt;something</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; to run on port 21 (ftp port).</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;Can you connect in with telnet localhost =
21?</FONT>
<BR><FONT SIZE=3D2>&gt;Does netstat -tuan show port 21 =
listening?</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;-- </FONT>
<BR><FONT SIZE=3D2>&gt;Keith Mastin</FONT>
<BR><FONT SIZE=3D2>&gt;BeechTree Information Technology Services =
Inc.</FONT>
<BR><FONT SIZE=3D2>&gt;Toronto, Canada</FONT>
<BR><FONT SIZE=3D2>&gt;(416)429 9304</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT =
SIZE=3D2>&gt;_______________________________________________</FONT>
<BR><FONT SIZE=3D2>&gt;enigma-list mailing list</FONT>
<BR><FONT SIZE=3D2>&gt;[email protected]</FONT>
<BR><FONT SIZE=3D2>&gt;<A =
HREF=3D"https://www.redhat.com/mailman/listinfo/enigma-list" =
TARGET=3D"_blank">https://www.redhat.com/mailman/listinfo/enigma-list</A=
></FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C3AACD.57D6E1E6--




--__--__--

_______________________________________________
enigma-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/enigma-list


End of enigma-list Digest