Greetings everyone.... I tried posting this once before, but got no response. When I run liveice, I get an "Error:sending data to remote server message" from liveice, and then it hangs (I actually have to open another console window to kill the process). The IceCast server respond with the following: Kicking source 1 [127.0.0.1] [Access Denied (tcp wrappers (source connection))] [encoder], connected for 1 seconds, 0 bytes transfered. -1 sources connected I am pretty sure this has to do with the permissions settings in both the hosts.allow file and the icecast.conf file, but I am not sure what to change (I can access the IceCast admin window without a problem). I have included what happens when I run IceCast and LiveIce below.... Any help would be greatly appreciated... Best regards, Bryan <p>[root@live liveice]# ./liveice playlist playlist 0 Initialising Soundcard 16Bit 22050Hz Stereo opening connection to localhost 80 Attempting to Contact Server connection successful: forking process opening pipe!... writing password Setting up Interface Soundcard Reopened For Encoding Input Format: 16Bit 22050Hz Stereo Output Format: 32000 Bps Mpeg Audio IceCast Server: localhost:80 Mountpoint: live Name: LiveMusic Genre: experimental Url: http://server.com:80 Description: Live and on the air Press '+' to Finish Lvl: L: 70 R: 61 1279:Error: sending data to remote server Lvl: L: 68 R: 70 [root@live icecast-1.3.12]# icecast Icecast Version 1.3.12 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... [20/Dec/2002:10:35:45] Icecast Version 1.3.12 Starting.. [20/Dec/2002:10:35:45] Starting Admin Console Thread... -> [20/Dec/2002:10:35:45] Starting main connection handler... -> [20/Dec/2002:10:35:45] Listening on port 80... -> [20/Dec/2002:10:35:45] Using 'server.com' as servername... -> [20/Dec/2002:10:35:45] Server limits: 900 clients, 900 clients per source, 10 sources, 5 admins -> [20/Dec/2002:10:35:45] WWW Admin interface accessible at http://server.com:80/admin -> [20/Dec/2002:10:35:45] Starting Calender Thread... -> [20/Dec/2002:10:35:45] Starting UDP handler thread... -> [20/Dec/2002:10:35:45] Starting relay connector thread... -> -> [20/Dec/2002:10:35:45] [Bandwidth: 0.000000MB/s] [Sources: 0] [Clients: 0] [Admins: 1] [Uptime: 0 seconds] -> [20/Dec/2002:10:36:07] Kicking source 1 [127.0.0.1] [Access Denied (tcp wrappers (source connection))] [encoder], connected for 1 seconds, 0 bytes transfered. -1 sources connected -> [20/Dec/2002:10:36:07] Kicking all 0 clients for source 1 -> --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Sun, Jan 05, 2003 at 11:14:00AM -0800, Bryan D. Brown wrote:> Greetings everyone....hi bryan,> I tried posting this once before, but got no response. > > When I run liveice, I get an "Error:sending data to remote server > message" from liveice, and then it hangs (I actually have to open > another console window to kill the process). > > The IceCast server respond with the following: > > Kicking source 1 [127.0.0.1] [Access Denied (tcp wrappers (source > connection))] [encoder], connected for 1 seconds, 0 bytes transfered. > -1 sources connectedyou try to access the encoder module via localhost (127.0.0.1)> I am pretty sure this has to do with the permissions settings in both > the hosts.allow file and the icecast.conf file, but I am not sure > what to change (I can access the IceCast admin window without a > problem).try to put the following line into /etc/hosts.allow icecast: LOCAL if this doesn't work, put the tcp port number (80 in your case) in the beginning instead the name of the daemon. 80: LOCAL you can extend the middle part (LOCAL) with all your ips or subnets which should be allowed to access the encoder module. i guess you have a somewhat similar line in /etc/hosts.deny like this: ALL: PARANOID this does lock out every tcp connection to all daemons which are linked against libwrap or started with tcpd(8) (e.g. inetd programs does this usually). do something against it and fix your /etc/hosts.allow. if it still doesn't work, check out tcp_wrapper settings with tcpdchk. see manual page for syntax.> opening connection to localhost 80this is alright.> -> [20/Dec/2002:10:35:45] Listening on port 80...this is ok.> -> [20/Dec/2002:10:36:07] Kicking source 1 [127.0.0.1] [Access Denied > (tcp wrappers (source connection))] [encoder], connected for 1 > seconds, 0 bytes transfered. -1 sources connectedif i interpret the error right, its using the tcp_wrappers (libwrap) library to check for access permissions and is not using its internal ACL scheme) and you try to connect to icecast server via tcp port 80 on the localhost. fix your tcp_wrappers settings read more about tcp_wrappers in the following manual pages: tcpd (8) - access control facility for internet services tcpdchk (8) - tcp wrapper configuration checker hosts_access (5) - format of host access control files hosts_access (3) - access control library hosts_options (5) - host access control language extensions if it still doesn't work, check the internal ACL settings of icecast in icecast.conf. HTH - regards from switzerland, turrican --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.