Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xinetd ignores redirect services
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
inetman
n00b
n00b


Joined: 09 Dec 2002
Posts: 24

PostPosted: Mon Dec 09, 2002 4:42 pm    Post subject: Xinetd ignores redirect services Reply with quote

I installed xinetd on my gateway pc, I want to use it to redirect incoming connections on port 80 (HTTP) and 4662 (EDONKEY) to machines inside my lan.
Xinetd doesn't start those services, it just ignores them.
here is my /etc/xinet.d/donkey-tcp:

Code:

service edonkey_relay
{
        id = donkey
        port = 4662
        socket_type = stream
        protocol = tcp
        user = root

        redirect = 10.1.1.3 4662
        type = UNLISTED
        wait = no
       disable = no
}


Xinetd debugging output:

Code:

03/12/9@17:34:46: DEBUG: {handle_includedir} Reading included configuration file: /etc/xinetd.d/chargen-tcp [line=13]
03/12/9@17:34:46: DEBUG: {handle_includedir} Reading included configuration file: /etc/xinetd.d/chargen-udp [line=13]
03/12/9@17:34:46: DEBUG: {handle_includedir} Reading included configuration file: /etc/xinetd.d/daytime-tcp [line=14]
03/12/9@17:34:46: DEBUG: {handle_includedir} Reading included configuration file: /etc/xinetd.d/daytime-udp [line=13]
03/12/9@17:34:46: DEBUG: {handle_includedir} Reading included configuration file: /etc/xinetd.d/echo-tcp [line=14]
03/12/9@17:34:46: DEBUG: {handle_includedir} Reading included configuration file: /etc/xinetd.d/echo-udp [line=13]
03/12/9@17:34:46: DEBUG: {handle_includedir} Reading included configuration file: /etc/xinetd.d/edonkey-tcp [line=14]
03/12/9@17:34:46: DEBUG: {handle_includedir} Reading included configuration file: /etc/xinetd.d/time-tcp [line=13]
03/12/9@17:34:46: DEBUG: {handle_includedir} Reading included configuration file: /etc/xinetd.d/time-udp [line=13]
03/12/9@17:34:46: DEBUG: {remove_disabled_services} removing chargen
03/12/9@17:34:46: DEBUG: {remove_disabled_services} removing chargen
03/12/9@17:34:46: DEBUG: {remove_disabled_services} removing daytime
03/12/9@17:34:46: DEBUG: {remove_disabled_services} removing daytime
03/12/9@17:34:46: DEBUG: {remove_disabled_services} removing echo
03/12/9@17:34:46: DEBUG: {remove_disabled_services} removing echo
03/12/9@17:34:46: DEBUG: {remove_disabled_services} removing time
03/12/9@17:34:46: DEBUG: {remove_disabled_services} removing time
Service defaults
        Instances = 60
        CPS = max conn:25 wait:30
        Bind = All addresses.
        Only from:  localhost(HOST)
        No access: No blocked sites
        Logging to syslog. Facility = authpriv, level = info
        Log_on_success flags = HOST PID
        Log_on_failure flags = HOST

03/12/9@17:34:46: DEBUG: {cnf_start_services} mask_max = 0, services_started = 0
03/12/9@17:34:46: CRITICAL: {init_services} no services. Exiting...



I hope you can help me

Greetz
Inetman
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Mon Dec 09, 2002 6:53 pm    Post subject: fixing inetd Reply with quote

Remove the localhost only line from your /etc/xinetd.conf

kashani
_________________
Will personally fix your server in exchange for motorcycle related shop tools in good shape.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum