Search Members Help

» Welcome Guest
[ Log In :: Register ]

Page 1 of 212>>

[ Track This Topic :: Email This Topic :: Print this topic ]

reply to topic new topic new poll
Topic: inetd slowness< Next Oldest | Next Newest >
 Post Number: 1
Spydir Search for posts by this member.
proof that humans suck (www.netsyndrome.net)
Avatar



Group: Members
Posts: 1089
Joined: Apr. 2001
PostIcon Posted on: Dec. 10 2001,19:21  Skip to the next post in this topic. Ignore posts   QUOTE

I have a somewhat similar problem. it takes about 10-15 seconds before anything inetd's running to catch up. Sucks when I try to ssh in to just get the uptime...

you don't happen to be using slackware? One of my friends has seen similar problems. we think it's a problem with some one of the slack8 packages

------------------
Net Syndrome - www.netsyndrome.net
Catch The Sickness

Offline
Top of Page Profile Contact Info WEB 
 Post Number: 2
incubus Search for posts by this member.
mack daddy
Avatar



Group: Admins
Posts: 1316
Joined: May 2000
PostIcon Posted on: Dec. 11 2001,01:37 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

quote:
Originally posted by damien_s_lucifer:
This is a problem I've had on a few Linux box0rs. Servers than run through inetd are really slow to start. Telnet, for example, takes 10-15 seconds before giving me a login prompt. I'm having the same problem with imap and pop3.

Any suggestions?


TCPwrappers may be deciding to do a reverse dns lookup on your host and its taking a while or port 53 is firewalled on the host and it times out or you have no rdns in-addr.arpa record and it times out looking for one.....

------------------
"just pressin y0 butt0ns f00" -- miNus

Offline
Top of Page Profile Contact Info WEB 
 Post Number: 3
damien_s_lucifer Search for posts by this member.
Emperor of Detnet
Avatar



Group: Members
Posts: 33
Joined: Jan. 1970
PostIcon Posted on: Dec. 11 2001,02:15 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

Yes, it's Slackware 7.x (I think 7.0).

Hmm... tcpwrappers doing a reverse DNS sounds like the most likely candidate. Now the question is, how do I stop it from doing reverse DNS without disabling tcpwrappers?

Offline
Top of Page Profile Contact Info WEB 
 Post Number: 4
damien_s_lucifer Search for posts by this member.
Emperor of Detnet
Avatar



Group: Members
Posts: 33
Joined: Jan. 1970
PostIcon Posted on: Dec. 11 2001,05:42 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

This is a problem I've had on a few Linux box0rs. Servers than run through inetd are really slow to start. Telnet, for example, takes 10-15 seconds before giving me a login prompt. I'm having the same problem with imap and pop3.

Any suggestions?

Offline
Top of Page Profile Contact Info WEB 
 Post Number: 5
incubus Search for posts by this member.
mack daddy
Avatar



Group: Admins
Posts: 1316
Joined: May 2000
PostIcon Posted on: Dec. 12 2001,01:51 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

quote:
Originally posted by damien_s_lucifer:
Yes, it's Slackware 7.x (I think 7.0).

Hmm... tcpwrappers doing a reverse DNS sounds like the most likely candidate. Now the question is, how do I stop it from doing reverse DNS without disabling tcpwrappers?


Hmmm ... all i can say is check inetd.conf ... im usng xinetd so i wouldnt have the foggiest mate.

omg how could anyone understand my earlier post? i was mashed lol

------------------
"just pressin y0 butt0ns f00" -- miNus

Offline
Top of Page Profile Contact Info WEB 
 Post Number: 6
damien_s_lucifer Search for posts by this member.
Emperor of Detnet
Avatar



Group: Members
Posts: 33
Joined: Jan. 1970
PostIcon Posted on: Dec. 19 2001,00:05 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

I tracked it down to TCP wrappers... yanked 'em off my IMAP server.

Everyone who had an account was bitch0ring about slow email... they're all happy now :)
Offline
Top of Page Profile Contact Info WEB 
 Post Number: 7
incubus Search for posts by this member.
mack daddy
Avatar



Group: Admins
Posts: 1316
Joined: May 2000
PostIcon Posted on: Dec. 19 2001,02:11 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

Quote (damien_s_lucifer @ Dec. 19 2001,00:05)
I tracked it down to TCP wrappers... yanked 'em off my IMAP server.

Everyone who had an account was bitch0ring about slow email... they're all happy now :)

Wicked!  I was right! w00t ;)

--------------
Quit your  job.  Start  a fight. Prove you're alive.  If you  don't claim  your
humanity  you will become a statistic.  You have been warned ....... Tyler
Offline
Top of Page Profile Contact Info WEB 
 Post Number: 8
aventari
Unregistered







PostIcon Posted on: Dec. 19 2001,06:40 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

So what to tcpwrappers do? All my redhat 6.2 boxes do the same shit at work, and i'd like to fix it. But if I pull tcpwrappers whats the downside?

[W00tar! forums be back!]

av

 Post Number: 9
damien_s_lucifer Search for posts by this member.
Emperor of Detnet
Avatar



Group: Members
Posts: 33
Joined: Jan. 1970
PostIcon Posted on: Dec. 20 2001,00:49 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

TCP wrappers allow you to control access to Internet services by IP address / subnet / domain.

For example, I have telnet open on my machine, but it only allows connections from my LAN.  Outside of my house you have to use SSH.  This is great for Telnet, but kind of stupid for email where you usually want world access.

To disable TCP wrappers on a service, you need to edit /etc/inetd.conf.  Back it up first - last thing you want is for a bad config file to kill inetd and you can't get it restarted.

You'll need to be root to do this :

Open /etc/inetd.conf in an editor and find the line for the service you want to modify.  Here's an example of an entry for POP3 :

Code Sample
pop3    stream  tcp     nowait  root    /usr/sbin/tcpd  gnu-pop3d


To remove TCP wrappers from this service, you need to yank out tcpd and have inetd call gnu-pop3d directly:

Code Sample
pop3    stream  tcp     nowait  root    /usr/sbin/gnu-pop3d


Save the file and restart inetd with

killall -HUP inetd

and that's it... no more TCP wrappers on that service.

I left them on Telnet, though.  I can wait 20 seconds to open a Telnet session.  It was the slow email that pissed me off.
Offline
Top of Page Profile Contact Info WEB 
 Post Number: 10
Spydir Search for posts by this member.
proof that humans suck (www.netsyndrome.net)
Avatar



Group: Members
Posts: 1089
Joined: Apr. 2001
PostIcon Posted on: Dec. 21 2001,03:15 Skip to the previous post in this topic.  Ignore posts   QUOTE

ok...  I can't wait 20 seconds for putty to ssh into my linux box.  Well I can, but I don't want to.  I followed what you said, and it still does that crap.  Any idea?

--------------
Net Syndrome - www.netsyndrome.net Catch The Sickness
Offline
Top of Page Profile Contact Info WEB 
15 replies since Dec. 11 2001,05:42 < Next Oldest | Next Newest >

[ Track This Topic :: Email This Topic :: Print this topic ]


Page 1 of 212>>
reply to topic new topic new poll

» Quick Reply inetd slowness
iB Code Buttons
You are posting as:

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code