Opened 11 years ago

Closed 11 years ago

#290 closed enhancement (invalid)

Secure Link Feature Request - Compatibility with RTMP module

Reported by: Greg Fortune Owned by:
Priority: minor Milestone:
Component: nginx-module Version: 1.2.x
Keywords: secure link trmp Cc:
uname -a: Linux dev327 2.6.32-17-pve #1 SMP Wed Nov 28 07:15:55 CET 2012 i686 i686 i386 GNU/Linux
nginx -V: nginx version: nginx/1.2.6
built by gcc 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx/ --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/ --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-mail --with-mail_ssl_module --with-file-aio --with-ipv6 --with-debug --add-module=/usr/src/nginx-rtmp-module


I would like to implement the security mechanism of the Secure Link module in my RTMP configurations. I would like to append the token values to the end of the url of the stream and process them in nginx just like I would a static file. If the tokens are invalid or expired, access to the stream would be denied.

The Secure Link module requires the location context in the config file, while the RTMP module uses the application context instead and does not implement a location context.

Could the Secure Link module be modified so that it accepts the application context as well, and if so, would that change allow the module to work in this context?

Change History (1)

comment:1 by Maxim Dounin, 11 years ago

Resolution: invalid
Status: newclosed

RTMP module is 3rd party one, and this is wrong place to request enhancements in it, closing this ticket as invalid.

Overral I suspect this will require reimplementation of the secure link module within rtmp module, as AFAIK rtmp module is implemented as core module rather than an http one, and this means it uses his own submodule functionality (if any).

Note: See TracTickets for help on using tickets.