can't get xinetd to manage danted

This is a discussion on can't get xinetd to manage danted within the Linux Networking forums, part of the Linux Forums category; I'm running xinetd 2.3.4 and danted 1.1.12-pre1, under Debian. I'd like to have ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-18-2003
Andrew Schulman
 
Posts: n/a
Default can't get xinetd to manage danted

I'm running xinetd 2.3.4 and danted 1.1.12-pre1, under Debian. I'd like to
have xinetd manage connections to danted, but I can't find the right
configuration-- danted always exits with one error or another. I know this
is an xinetd problem, because danted runs just fine when I run it
stand-alone, without xinetd.

In xinetd.conf, the relevant section is

# SOCKS
service socks
{
socket_type = stream
wait = no
user = sockd
server = /usr/sbin/danted
server_args = -d
interface = 127.0.0.1
only_from = 127.0.0.1
}

xinetd starts without error. But when I try to connect via a socksified
ftp, I get "Connection reset by peer" and /var/log/daemon.log shows

Jul 18 05:58:01 arsenic danted[6977]: serverinit(): bind(127.0.0.1.1080):
Address already in use (errno = 98)
Jul 18 05:58:01 arsenic danted[6977]: sockdexit(): terminating

On the other hand if I change wait to "yes", I get the dreaded

Jul 18 06:08:37 arsenic xinetd[6970]: Deactivating service socks due to
excessive incoming connections. Restarting in 10 seconds.

Many people have reported this 2nd error in the newsgroups, but no one seems
to know the solution. I've tried setting instances=1, or 10, or UNLIMITED,
but it doesn't matter.

Any help would be much appreciated. My danted.conf is below.
Andrew.

# Server settings

internal: 127.0.0.1 port = 1080
external: eth0

user.privileged: sockd
user.notprivileged: sockd
#user.libwrap: libwrap

connecttimeout: 0
iotimeout: 0

logoutput: syslog/daemon

# Client rules: who can connect
clientmethod: none
client pass {
from: 127.0.0.1/32 to: 0.0.0.0/0
log: connect
}

# Socks rules: what they can do once they connect
method: none
pass {
from: 127.0.0.1/32 to: 0.0.0.0/0
}

--
To reply by email, change "deadspam.com" to "alumni.utexas.net"

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:32 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0