Re: Considering buying a SliMP3

Bob Miller <yahoo-user-dSPFHXr/[email protected]> Wed, 6 Feb 2002 09:17:41 -0800
Newsgroups gmane.music.equipment.slimp3.user
Organization Unlikely
Message-ID <[email protected]>
brucezca wrote:

> Hi guys,
> 
> I'm at the point where I'm considering buying a SliMP3 or Audiotron,
> and I have a question:
> 
> The machine that I want to run the server on is a linux box which has
> two NICs.  I want the server to only listen to requests from my
> internal network.  Does the server accept configuration to do this, or
> would I have to use iptable rules to block the server port on the
> other NIC?

Short answer: Yes.

The SliMP3 server is actually two servers in one.  It serves the audio
stream to the device, and it has a web server interface.  To restrict
the web server to one NIC, use the --httpaddr argument:

	./server.pl --httpaddr=192.168.123.45

(Substitute your internal NIC's IP address for 192.168.123.45.)

To restrict the audio stream, make a one line change to server.pl.

	158c158
	<       my $localClientNetAddr;
	---
	>       my $localClientNetAddr = '192.168.123.45';

I'm talking about SliMP3 Server V1.8.  Future versions may make the
second step easier.  And I'll warn you -- I just read the code, I
haven't actually tested this.

-- 
Bob Miller                              K<bob>
kbobsoft software consulting
http://kbobsoft.com                     kbob-dSPFHXr/[email protected]

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Tiny Wireless Camera under $80!
Order Now! FREE VCR Commander!
Click Here - Only 1 Day Left!
http://us.click.yahoo.com/nuyOHD/7.PDAA/yigFAA/rIp0lB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/