Skip to contentSkip to conversation

ftp long time connection

DISCUSSION Lonnie Cumberland 5 participants 5 messages Feb 19, 2002 SELinux security module

lore
Share & tools
lore
#0 lore raw

Hello All,

I have my systems behind a firewall and am using ftp for a specific project.

The problem is that when I try to connect to my SELinux server from another Linux client that it takes about 2 - 3 minutes. I have even tried to give the IP instead of the host name and it still take this long time as well.

Any ideas on how to fix this would be greatly appreciated, Cheers,
Lonnie

Signature · 15 lines
 Lonnie Cumberland
 OutStep Technologies Incorporated
 (313) 832-7366

 URL: http://www.outstep.com
 EMAIL: [email protected]
      : [email protected]




--
You have received this message because you are subscribed to the selinux list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#1 lore raw
Quoted 6 lines · Lonnie Cumberland

The problem is that when I try to connect to my SELinux server from another Linux client that it takes about 2 - 3 minutes. I have even tried to give the IP instead of the host name and it still take this long time as well.

Strange! I'd be inclined to think it has nothing to do with SELinux. I'm running a web server with Servlets and JSP (the URL is
http://vorpal.mcs.drexel.edu
) and haven't noticed any increase in access time. My web server is very active, too (my students take exams via fill-out forms).

Signature · 4 lines
--
You have received this message because you are subscribed to the selinux list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#2 lore raw
In reply to Lonnie Cumberland

Hello,
I really question if this is an SELinux problem, per se.
If you wait and then finally connect, then I wonder if: 1. inetd (or xinetd if you're using that) is configured to request the client host identd info (or are you using the ftp server as a daemon?), 2.doesn't see it, and then 3.waits for the timeout interval you have set prior to completing? Just a thought.

Quoted 15 lines · Lonnie Cumberland

Hello All,

I have my systems behind a firewall and am using ftp for a specific project.

The problem is that when I try to connect to my SELinux server from another Linux client that it takes about 2 - 3 minutes. I have even tried to give the IP instead of the host name and it still take this long time as well.

Any ideas on how to fix this would be greatly appreciated, Cheers,
Lonnie

Quoted 9 lines

--
Lonnie Cumberland
OutStep Technologies Incorporated
(313) 832-7366

URL: http://www.outstep.com
EMAIL: [email protected]
: [email protected]

--
------------------------------
George Fouse,
President
Quantum Technology Associates
System and Network Services
------------------------------

--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#3 lore raw
In reply to Lonnie Cumberland

it has nothing to do with selinux, i suppose, if you try ssh/telnet, etc - it will be the same?

try to add the following in your /etc/hosts

#>>>

# this is in selinux /etc/hosts
# ip of example linux client is 10.20.20.40

10.20.20.40 linux-client-name
10.20.20.41 linux2-client-name

# etc
#>>>>

i hope then all will be faster ;)

regards,

Hacko

Quoted 26 lines · Lonnie Cumberland

Hello All,

I have my systems behind a firewall and am using ftp for a specific project.

The problem is that when I try to connect to my SELinux server from another Linux client that it takes about 2 - 3 minutes. I have even tried to give the IP instead of the host name and it still take this long time as well.

Any ideas on how to fix this would be greatly appreciated, Cheers,
Lonnie

--
Lonnie Cumberland
OutStep Technologies Incorporated
(313) 832-7366

URL: http://www.outstep.com
EMAIL: [email protected]
: [email protected]

Quoted 5 lines

--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#4 lore raw
In reply to Lonnie Cumberland

Are you sure that SELinux is the problem? Usually this problem is caused by the server doing a reverse DNS lookup on the connecting host for logging purposes, and the DNS times out.

-- noah silva

Quoted 5 lines · Lonnie Cumberland

Hello All,

I have my systems behind a firewall and am using ftp for a specific project.

Quoted 26 lines

The problem is that when I try to connect to my SELinux server from another Linux client that it takes about 2 - 3 minutes. I have even tried to give the IP instead of the host name and it still take this long time as well.

Any ideas on how to fix this would be greatly appreciated, Cheers,
Lonnie

Signature · 15 lines
 Lonnie Cumberland
 OutStep Technologies Incorporated
 (313) 832-7366

 URL: http://www.outstep.com
 EMAIL: [email protected]
      : [email protected]




--
You have received this message because you are subscribed to the selinux list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.

--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.