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...
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Should be a good addition to Udpxy when used in an enterprise environment.
Need a bit more info on the issue. Could you please contact me by email (it's in the udpxy's README file).
Here is a quick&dirty patch implementing that feature:
http://svn1.sytes.net/udpxy/udpxy-basic-http-auth.tar.gz
Should be additionally tested!
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.
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.
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.