Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Restrict xinetd local address
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
cvk
Guru
Guru


Joined: 06 Jan 2003
Posts: 314
Location: Our house, in the middle of our street

PostPosted: Fri Feb 13, 2004 12:09 pm    Post subject: Restrict xinetd local address Reply with quote

My xinetd is currently configured to accept imap connections on *:imap, but I want to restrict the local address to imap.servername.org:imap. I've already tried to use the bind-option in the xinetd.conf, but this ignores the subdomain, i.e. I've tried

Code:
service imap
{
        socket_type             = stream
        wait                    = no
        user                    = root
        server                  = /usr/sbin/imapd
        bind                    = imap.myserver.org
        log_on_success  += HOST DURATION
        log_on_failure  += HOST
        disable                 = no
}


But a quick netstat reveals that the subdomain is ignored:

Code:
tcp        0      0 myserver.org:imap        *:*                     LISTEN      14342/xinetd


Does anybody know how to achieve this?

Regards,
cvk
_________________
Adopt an unanswered post now.
Back to top
View user's profile Send private message
smart
Guru
Guru


Joined: 19 Nov 2002
Posts: 455

PostPosted: Fri Feb 13, 2004 12:27 pm    Post subject: Reply with quote

you are required to use the IP address instead of the name with bind.
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