Hello,
I happen to have a Boom on a wireless lan talking to a SBC on a LAN with a router between. The router is an enterprise class IDS (intrusion detection system) and blocks the communication because of a wrong implementation of the HTTP protocol. I have to configure a specific bypass to make it work.
Here is what happens:
When I press play on the boom, the following request in sent to the SBC:
GET /stream.mp3?player=00:04:20:1e:90:ca HTTP/1.0
This is fine. But then, 3 LF (line feed) are following which does not conform RFC 1945 that says that it should be CR/LF only.
Second, a GET is not allowed to carry a payload. But the third LF is interpreted as a payload (the 2 first two are ok: end of command, end of HTTP header).
So I guess this message is to the engineers: could you make the changes for a next version to conform the the RFC?
Best regards
Results 1 to 6 of 6
-
2009-03-14, 02:50 #1Member
- Join Date
- Dec 2008
- Posts
- 30
Bad RFC implementation on HTTP protocol
-
2009-03-14, 06:33 #2Senior Member
- Join Date
- Oct 2005
- Posts
- 2,769
You mean from the SBC, right?
Please file a bug at bugs.slimdevices.com.http://www.tux.org/~peterw/
Note: The best way to reach me is email or PM, as I don't spend time on the forums.
Free plugins: AllQuiet Auto Dim/AutoDisplay BlankSaver ContextMenu DenonSerial
FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher
SettingsManager SleepFade StatusFirst SyncOptions VolumeLock
-
2009-03-14, 07:08 #3Member
- Join Date
- Dec 2008
- Posts
- 30
Sorry, I meant SC (SqueezeCenter). The request is sent from the Boom to the SqueezeCenter (7.3.2)
Best regards
-
2009-03-14, 07:13 #4
Bad RFC implementation on HTTP protocol
Thanks for the report. Could you file a bug on bugs.slimdevices.com?
Thanks!
-dean
On Mar 14, 2009, at 2:50 AM, sbs4000 wrote:
>
> Hello,
>
> I happen to have a Boom on a wireless lan talking to a SBC on a LAN
> with a router between. The router is an enterprise class IDS
> (intrusion
> detection system) and blocks the communication because of a wrong
> implementation of the HTTP protocol. I have to configure a specific
> bypass to make it work.
>
> Here is what happens:
>
> When I press play on the boom, the following request in sent to the
> SBC:
>
> GET /stream.mp3?player=00:04:20:1e:90:ca HTTP/1.0
>
> This is fine. But then, 3 LF (line feed) are following which does not
> conform RFC 1945 that says that it should be CR/LF only.
>
> Second, a GET is not allowed to carry a payload. But the third LF is
> interpreted as a payload (the 2 first two are ok: end of command, end
> of HTTP header).
>
> So I guess this message is to the engineers: could you make the
> changes
> for a next version to conform the the RFC?
>
> Best regards
>
>
> --
> sbs4000
> ------------------------------------------------------------------------
> sbs4000's Profile: http://forums.slimdevices.com/member.php?userid=22214
> View this thread: http://forums.slimdevices.com/showthread.php?t=61329
>
>
-
2009-03-14, 07:17 #5Member
- Join Date
- Dec 2008
- Posts
- 30
I have filed a bug.
-
2009-03-14, 07:19 #6
Bad RFC implementation on HTTP protocol
Heh, thanks, that request is really wrong:
$request_string = sprintf("GET /stream.mp3?player=%s HTTP/1.0\n",
$client->id);
$request_string .= "\n";
if (length($request_string) % 2) {
$request_string .= "\n";
}
No idea what the last one is supposed to do! And they should be CRLF.
Will fix.
On Mar 14, 2009, at 7:13 AM, dean blackketter wrote:
> Thanks for the report. Could you file a bug on bugs.slimdevices.com?
> Thanks!
>
> -dean
>
>
> On Mar 14, 2009, at 2:50 AM, sbs4000 wrote:
>
>>
>> Hello,
>>
>> I happen to have a Boom on a wireless lan talking to a SBC on a LAN
>> with a router between. The router is an enterprise class IDS
>> (intrusion
>> detection system) and blocks the communication because of a wrong
>> implementation of the HTTP protocol. I have to configure a specific
>> bypass to make it work.
>>
>> Here is what happens:
>>
>> When I press play on the boom, the following request in sent to the
>> SBC:
>>
>> GET /stream.mp3?player=00:04:20:1e:90:ca HTTP/1.0
>>
>> This is fine. But then, 3 LF (line feed) are following which does not
>> conform RFC 1945 that says that it should be CR/LF only.
>>
>> Second, a GET is not allowed to carry a payload. But the third LF is
>> interpreted as a payload (the 2 first two are ok: end of command, end
>> of HTTP header).
>>
>> So I guess this message is to the engineers: could you make the
>> changes
>> for a next version to conform the the RFC?
>>
>> Best regards

Reply With Quote

