Old 31st July 2002, 06:14   #1
djcdogg
Junior Member
 
Join Date: Jul 2002
Posts: 5
not on shoutcast.com listing

hello.. I am using a multihomed fBSD machine to run the DNAS. everything
thing works fine, except..

[yp_add] yp.shoutcast.com gave error (HTTP/1.1 400 Bad Request)

I installed the DNAS current version about 2-3 weeks ago on fBSD 4.5-stable

what could cause this? I assume it is a simple firewall / routing issue. my
configuration is very basic. I would like to resolve this.. my logfiles get huge quickly!


Routing Table - ------------------------------------------------------------
Internet:
Destination Gateway Flags Refs Use Netif Expire
default bdsl.66.12.225.33. UGSc 33 24 dc0
168.muba.dlls.dlbt link#1 UC 5 0 de0
169.muba.dlls.dlbt 0:20:6f:5:1c:8e UHLW 1 3785 de0 433
171.muba.dlls.dlbt 0:0:0:0:0:0 UHLW 3 15118379 de0 1033
djcdogg 0:40:5:43:e:b8 UHLW 0 693 lo0
174.muba.dlls.dlbt 0:40:5:43:1f:4e UHLW 5 47901243 de0 1194
175.muba.dlls.dlbt ff:ff:ff:ff:ff:ff UHLWb 2 3443 de0
bdsl.66.12.225.32. link#2 UC 4 0 dc0
bdsl.66.12.225.33. 0:10:67:0:16:d6 UHLW 12 0 dc0 794
bdsl.66.12.225.34. 0:a0:cc:5a:cf:37 UHLW 0 1025 lo0
bdsl.66.12.225.38. link#2 UHRLW 0 10 dc0
bdsl.66.12.225.39. ff:ff:ff:ff:ff:ff UHLWb 2 3177 dc0
localhost.djcdogg localhost.djcdogg UH 0 1639 lo0
--------------------------------------------------------------------------/

12.99.214.169-.174 - ATT Block
66.12.225.33-.38 - GTE Block

Firewall - -----------------------------------------------------------------
-
fwcmd="ipfw -q"
oip="12.99.214.172"
oip2="66.12.225.34"

${fwcmd} -f flush

${fwcmd} add allow ip from any to any via lo0
${fwcmd} add deny ip from any to 127.0.0.0/8

${fwcmd} add allow tcp from any to ${oip} established
${fwcmd} add allow tcp from any to ${oip2} established
${fwcmd} add allow tcp from ${oip} to any
${fwcmd} add allow tcp from ${oip2} to any
${fwcmd} add allow udp from ${oip} to any
${fwcmd} add allow udp from ${oip2} to any
${fwcmd} add allow icmp from any to any

# DNS Servers
${fwcmd} add allow ip from 12.127.16.83 to any
${fwcmd} add allow ip from 12.127.17.83 to any
${fwcmd} add allow ip from 4.2.2.2 to any

# Allow all activity from other local boxes
${fwcmd} add allow ip from 12.99.214.169 to any
${fwcmd} add allow ip from 12.99.214.170 to any
${fwcmd} add allow ip from 12.99.214.171 to any
${fwcmd} add allow ip from 12.99.214.172 to any
${fwcmd} add allow ip from 12.99.214.173 to any
${fwcmd} add allow ip from 12.99.214.174 to any
${fwcmd} add allow ip from 66.12.225.33 to any
${fwcmd} add allow ip from 66.12.225.34 to any
${fwcmd} add allow ip from 66.12.225.35 to any
${fwcmd} add allow ip from 66.12.225.36 to any
${fwcmd} add allow ip from 66.12.225.37 to any
${fwcmd} add allow ip from 66.12.225.38 to any

# Services
${fwcmd} add allow tcp from any to ${oip} 21 setup
${fwcmd} add allow tcp from any to ${oip2} 21 setup
${fwcmd} add allow tcp from any to ${oip} 22 setup
${fwcmd} add allow tcp from any to ${oip2} 22 setup
${fwcmd} add allow tcp from any to ${oip} 25,110 setup
${fwcmd} add allow tcp from any to ${oip} 80,443 setup
${fwcmd} add allow tcp from any to ${oip} 113 setup
${fwcmd} add allow tcp from any to ${oip2} 25,110 setup
${fwcmd} add allow tcp from any to ${oip2} 80,443 setup
${fwcmd} add allow tcp from any to ${oip2} 113 setup
${fwcmd} add allow tcp from any to ${oip} 1600 setup
${fwcmd} add allow tcp from any to ${oip2} 1600 setup
${fwcmd} add allow tcp from any to ${oip2} 8000 setup
-----------------------------------------------------------------------/

Thank You - Corey
djcdogg is offline   Reply With Quote
Old 31st July 2002, 13:00   #2
roby0215
Senior Member
 
roby0215's Avatar
 
Join Date: Apr 2002
Location: Great White North
Posts: 262
Send a message via ICQ to roby0215
I think you need to punch another hole in the firewall. Check out these posts:
getting my station listed on shoutcast
Fixing yp.shoutcast gave error()

Hope this helps ya.



Listen Or check out the website
roby0215 is offline   Reply With Quote
Old 31st July 2002, 14:53   #3
Sawg
Guest
 
Posts: n/a
Forum Search: Bad Request
  Reply With Quote
Old 31st July 2002, 16:05   #4
djcdogg
Junior Member
 
Join Date: Jul 2002
Posts: 5
still no go

well I tried all thet stuff, and more.. even allowed yp.shoutcast.com to do anything in the firewall rules.. and I get the same exact error. :/

I have even disabled the firewall and restarted the DNAS with the alternate configs and still get the same error.
djcdogg is offline   Reply With Quote
Old 31st July 2002, 21:07   #5
DJ AmPs
Major Dude
 
DJ AmPs's Avatar
 
Join Date: Mar 2002
Location: g
Posts: 1,603
maybe there's something wrong with your conf file. I've seen all types of strange problems solved by replacing the config with a fresh one, mainly on *nix machines.

-amps
DJ AmPs is offline   Reply With Quote
Old 31st July 2002, 21:41   #6
Tom
Moderator
 
Join Date: Apr 2000
Posts: 4,491
What are you using as your source? What are AIM, ICQ and IRC set to?

Tom

Tom is offline   Reply With Quote
Old 31st July 2002, 22:31   #7
djcdogg
Junior Member
 
Join Date: Jul 2002
Posts: 5
Config info...

lets see.. I am using an XP machine as the source to the BSD box over the lan. My AIM / ICQ / IRC are blank.. I am using the newest versions of everyrthing.. well Winamp 2.7 is out of date.. here is my config file.

// begin sc_serv.conf

MaxUser=6
Password=***********
PortBase=8000
LogFile=sc_serv.log
RealTime=0
ScreenLog=0
ShowLastSongs=5
TchLog=yes
WebLog=no
W3CEnable=Yes
W3CLog=sc_w3c.log
SrcIP=ANY
DestIP=ANY
Yport=80
NameLookups=0
AdminPassword=**
AutoDumpUsers=0
AutoDumpSourceTime=30
ContentDir=./content
TitleFormat=djc-net: %s
PublicServer=default
AllowPublicRelay=Yes
MetaInterval=8192

// end sc_serv.conf

I looked over it a few time before posting this.. I see nothing wrong, unless I am just an idiot... but I did manage to install FreeBSD from floppy over ftp and get this far with only GUI-OS experience ;p
djcdogg is offline   Reply With Quote
Old 1st August 2002, 03:47   #8
Tom
Moderator
 
Join Date: Apr 2000
Posts: 4,491
Your adminpassword was left in so I edited it out but be sure to change it. Post the part of the log where the DSP connects (the bit with the bitrate, AIM, etc.).

Tom

Tom is offline   Reply With Quote
Old 1st August 2002, 04:38   #9
djcdogg
Junior Member
 
Join Date: Jul 2002
Posts: 5
whoops =]

<07/31/02@10:29:20> [SHOUTcast] DNAS/FreeBSD4 v1.8.9 (Mar 29 2002) starting up...
<07/31/02@10:29:20> [main] pid: 38374
<07/31/02@10:29:20> [main] loaded config from /usr/bin/shoutcast/sc_serv.conf
<07/31/02@10:29:20> [main] initializing (usermax:6 portbase:8000)...
<07/31/02@10:29:20> [main] No ban file found (sc_serv.ban)
<07/31/02@10:29:20> [main] No rip file found (sc_serv.rip)
<07/31/02@10:29:20> [main] opening source socket
<07/31/02@10:29:20> [main] source thread starting
<07/31/02@10:29:20> [main] opening client socket
<07/31/02@10:29:20> [main] Client Stream thread [0] starting
<07/31/02@10:29:20> [main] client main thread starting
<07/31/02@10:29:20> [source] listening for connection on port 8001
<07/31/02@10:29:41> [source] connected from 12.99.214.171
<07/31/02@10:29:41> [source] icy-name:djc-net: - rare trance - top trance - exclusive mixes - ; icy-genre:trance
<07/31/02@10:29:41> [source] icy-pub:1 ; icy-br:96 ; icy-url:http://djcdogg.com
<07/31/02@10:29:41> [source] icy-irc:#djc-net on irctoo.net ; icy-icq:0 ; icy-aim:
<07/31/02@10:29:43> [yp_add] yp.shoutcast.com gave error (HTTP/1.1 400 Bad Request)
<07/31/02@10:29:45> [yp_add] yp.shoutcast.com gave error (HTTP/1.1 400 Bad Request)

....

Thanks Tom..
djcdogg is offline   Reply With Quote
Old 1st August 2002, 04:44   #10
Tom
Moderator
 
Join Date: Apr 2000
Posts: 4,491
Ditch the IRC entry. It doesn't even show up on the site anymore and looks to be the cause of your problems (mainly the spaces in it).

Tom

Tom is offline   Reply With Quote
Old 1st August 2002, 05:34   #11
djcdogg
Junior Member
 
Join Date: Jul 2002
Posts: 5
irc...

It will be the death of me.. I know it

we could say it's even ruined my life, lol

Thanks everyone!
djcdogg is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump