Menu

#5 HTTP Authentication

pending
5
2012-12-07
2010-12-24
No

It is very useful to add authentication support to udppxy.
For example:
type: HTTP Basic
user/passwords store in .htaccess
return HTTP 401 if authentication failed...

Discussion

  • Pavel Cherenkov

    Pavel Cherenkov - 2011-01-09
    • milestone: --> Considered for future release
    • assigned_to: nobody --> bsl45
     
  • Pavel Cherenkov

    Pavel Cherenkov - 2011-01-09

    Should be a good addition to Udpxy when used in an enterprise environment.

     
  • Pavel Cherenkov

    Pavel Cherenkov - 2011-01-09

    Need a bit more info on the issue. Could you please contact me by email (it's in the udpxy's README file).

     
  • Ilya Evseev

    Ilya Evseev - 2012-12-07

    Here is a quick&dirty patch implementing that feature:
    http://svn1.sytes.net/udpxy/udpxy-basic-http-auth.tar.gz

    Should be additionally tested!

     
  • Ilya Evseev

    Ilya Evseev - 2012-12-07

    Please take notice that my patch in previous comment was successfully tested with proprietary TVIP.ru client, but VLC fails because sends HTTP request not as single TCP packet, but on packet-per-line basis, so read_command() receives only leading "GET ..." line only.

    Possibly, this can be quickly and dirty workarounded using "usleep(100)" in read_command() before recv(). That little delay should be enough for gathering mutiple packets on server side and merging into single buffer.

     
  • Pavel Cherenkov

    Pavel Cherenkov - 2012-12-07

    This is an enterprise-oriented feature, it is planned to be first implemented in the commercial enterprise-oriented (udpxy-like) product to be announced soon (Q1 2013). It may be later back-ported to udpxy, but not as the first priority.

     
  • Pavel Cherenkov

    Pavel Cherenkov - 2012-12-07
    • status: open --> pending
     
  • Pavel Cherenkov

    Pavel Cherenkov - 2012-12-07

    Of course, the authentication code to be used in the new product would be completely distinct from yours; please feel free to create a branch with your patch and advertise it on the forum (a cygwin port is maintained in the same manner). Thank you.

     

Log in to post a comment.

MongoDB Logo MongoDB