Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 32
  1. #11
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    5,061
    Quote Originally Posted by mherger View Post
    > I guess in every bad thing, there is some good: I had to build a small C
    > TLS application for the RP server issue (which drove me nuts) and that
    > cleared up my ideas on openssl, so I decided to give it a try on
    > squeezelite and my bridges


    I remember that when I did the https proxying somebody asked me to allow
    direct streaming - should anybody ever implement https in Squeezelite.
    Don't know whether it was you or ralphy, but I never expected this to
    happen. You proved me wrong!

    --

    Michael
    You where the one asking https://github.com/ralph-irving/squeezelite/issues/17
    LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5

  2. #12
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,316

    TLS for squeezelite?

    > You where the one asking
    > https://github.com/ralph-irving/squeezelite/issues/17


    Haha... talking about my aging brain :-D. I did search slimserver
    repository for related PRs or issues, but didn't find anything... Wow, I
    was visionary for once!

    --

    Michael

  3. #13
    jvromans@squirrel.nl
    Guest

    TLS for squeezelite?

    On Mon, 29 Apr 2019 04:38:10 +0000, philippe_44 wrote:

    > That's cool - I have to say that the changes to squeezelite were much
    > less complicated than I was anticipating.


    Great job!

  4. #14
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    2,220
    squeezelite-1.9.1.1142.ssltest2-armv6hf.tar.gz is available on sourceforge.

    Includes these additional changes.

    typo correction and style compliance.
    simplify _poll as it uses only one fd anyway

    I've updated the installation details in post #4 to reflect the newer build.
    Ralphy

    1-Touch, 5-Classics, 3-Booms, 1-UE Radio
    Squeezebox client builds donations always appreciated.

  5. #15
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,316

    TLS for squeezelite?

    > 'squeezelite-1.9.1.1142.ssltest2-armv6hf.tar.gz'
    > (https://sourceforge.net/projects/lms...ar.gz/download)
    > is available on sourceforge.


    Tried this with my Phish'in plugin, and it would fail. It actually hung
    so badly I had to kill the squeezelite task. I tried to switch back to
    the default version, but that would not kill the custom instance. Had to
    reboot the unit.

    One sample song would be:
    https://phish.in/audio/000/017/386/17386.mp3

    With proxied streaming everything went smoothly.

    --

    Michael
    Last edited by mherger; 2019-04-30 at 00:02.

  6. #16
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    5,061
    Quote Originally Posted by mherger View Post
    > 'squeezelite-1.9.1.1142.ssltest2-armv6hf.tar.gz'
    > (https://sourceforge.net/projects/lms...ar.gz/download)
    > is available on sourceforge.


    Tried this with my Phish'in plugin, and it would fail. It actually hung
    so badly I had to kill the squeezelite task. I tried to switch back to
    the default version, but that would not kill the custom instance. Had to
    reboot the unit.

    One sample song would be:
    https://phish.in/audio/000/017/386/17386.mp3

    With proxied streaming everything went smoothly.

    --

    Michael
    Interesting ... the SSL connection opens fine but write fails and ... there is (I think) a very old bug in squeezelite. If send_header fails, this function set the stream.state to DISCONNECT and then wakes the controller, but when returning from send_header, regardeless of sucess or failure, the stream.state is set to RECV_HEADER. So I guess the stream ends up in nowhere state
    Last edited by philippe_44; 2019-04-30 at 08:01.
    LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5

  7. #17
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    2,220
    Thanks philippe_44.

    squeezelite-1.9.1.1142.ssltest3-armv6hf.tar.gz is available on sourceforge.

    Includes these additional changes.

    send_header fail issue
    SSL: add SNI + better error management

    I've updated the installation details in post #4 to reflect the ssltest3 build.
    Ralphy

    1-Touch, 5-Classics, 3-Booms, 1-UE Radio
    Squeezebox client builds donations always appreciated.

  8. #18
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,316

    TLS for squeezelite?

    > Includes these additional changes.
    > send_header fail issue
    > SSL: add SNI + better error management


    Seems to fix the streaming from Phish'in. Thanks! Leaving my Pi0 running
    for a bit now to see how it behaves. Luckily those Phish shows last 3+h :-)

    --

    Michael

  9. #19
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    2,220
    squeezelite-1.9.1.1142.ssltest4-armv6hf.tar.gz is available on sourceforge.

    Includes this additional change.

    SSL_write logic tweak

    I've updated the installation details in post #4 to reflect the ssltest4 build.
    Last edited by ralphy; 2019-05-01 at 05:24.
    Ralphy

    1-Touch, 5-Classics, 3-Booms, 1-UE Radio
    Squeezebox client builds donations always appreciated.

  10. #20
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,316

    TLS for squeezelite?

    > 'squeezelite-1.9.1.1142.ssltest4-armv6hf.tar.gz'
    > (https://sourceforge.net/projects/lms...ar.gz/download)
    > is available on sourceforge.


    Run quick test on Pi 2B/pCP 4.1.0.

    Radio Paradise direct stream ok.
    Phish'in direct stream ok.
    Now playing Spotify/Ogg.

    All only quick tests so far, but promising (three Spotify tracks so far)

    BTW: these binaries don't have the -pCP appendix any more in their
    revision. Would it be back at some point?

    --

    Michael

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •