[icecast] A few Newbie Questions on libwrap
Andrew M. Wu
andrewwu at Princeton.EDU
Mon Apr 16 23:12:34 PDT 2001
I have been having some trouble getting my Icecast server and IceS
streamer up and running properly. I have successfully compiled both
(Icecast 1.3.10 and IceS 0.0.1beta5) with libwrap and encrypt enabled.
I can start up Icecast fine, with the following logged messages on
Icecast Version 1.3.10 Initializing...
Icecast comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of Icecast under the terms of the
GNU General Public License.
For more information about these matters, see the file named COPYING.
Starting thread engine...
[17/Apr/2001:01:56:37] Icecast Version 1.3.10 Starting..
[17/Apr/2001:01:56:37] Starting Admin Console Thread...
-> [17/Apr/2001:01:56:37] Starting main connection handler...
-> [17/Apr/2001:01:56:37] Listening on host 220.127.116.11...
-> [17/Apr/2001:01:56:37] Listening on port 8000...
-> [17/Apr/2001:01:56:37] Listening on port 8001...
-> [17/Apr/2001:01:56:37] Using 'wuhoo.princeton.edu' as servername...
-> [17/Apr/2001:01:56:37] Server limits: 30 clients, 30 clients per
source, 10 sources, 5 ad
-> [17/Apr/2001:01:56:37] WWW Admin interface accessible at
-> [17/Apr/2001:01:56:37] Starting Calender Thread...
-> -> [17/Apr/2001:01:56:37] Starting UDP handler thread...
-> [17/Apr/2001:01:56:37] Starting relay connector thread...
-> [17/Apr/2001:01:56:37] [Bandwidth: 0.000000MB/s] [Sources: 0] [Clients:
0] [Admins: 1] [U
ptime: 0 seconds]
(I have set user and group to a user 'icecast' - at least I hope that that
is what Icecast and IceS will be running under (as user/group icecast and
not root, as entering 'admins' gives me:
[Id: 0] [Host: icecast console] [Connected for: 1 minutes and 42 seconds]
End of admin listing (1 listed)
Does the 'Id: 0' have any signficance (security-wise)?
However, when I try to start up IceS, it exits with the following error:
Failed connecting to server 127.0.0.1, error: Not connected to server.
and Icecast logs the following:
-> [17/Apr/2001:01:48:55] Kicking unknown 1 [127.0.0.1] [Access Denied
(tcp wrappers) [gener
ic connection]], connected for 0 seconds
(The time is incorrect but the error message is the same.)
And in icecast logs I have the following:
Apr 17 01:48:55 wuhoo icecast: warning: /etc/hosts.allow, line 1: can't
hostname: gethostbyname(localhost.localdomain) failed
Could any of you inform me what I have done wrong?
Included in my /etc/hosts.allow file is the following:
ALL:ALL at .princeton.edu
icecast: ALL at .princeton.edu,localhost
icecast_admin: ALL at .princeton.edu,localhost
icecast_client: ALL at .princeton.edu,localhost
where 18.104.22.168 corresponds to my actual IP
and in my /etc/hosts.deny I have
# Mandrake-Security : if you remove this comment, remove the next line
ALL:ALL at ALL EXCEPT localhost
icecast:ALL at ALL EXCEPT localhost, ALL at .princeton.edu
icecast_client:ALL at ALL EXCEPT localhost, ALL at .princeton.edu
icecast_admin: ALL at ALL EXCEPT localhost, ALL at .princeton.edu
my /etc/host.conf looks like
order hosts, nis, bind
and my /etc/hosts file looks like
127.0.0.1 localhost.localdomain localhost # 0
22.214.171.124 wuhoo.princeton.edu wuhoo andrewwu # 0
I am running Linux kernel 2.4.2 on a Mandrake 7.0 base system.
Thank you for your help.
--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Icecast