search for: auth_header

Displaying 14 results from an estimated 14 matches for "auth_header".

2020 Jul 14
3
[PATCH nbdkit RFC 0/2] curl: Implement authorization scripts.
This is an RFC only, at the very least it lacks tests. This implements a rather complex new feature in nbdkit-curl-plugin allowing you to specify an external shell script that can be used to fetch an authorization token for services which requires a token or cookie for access, especially if that token must be renewed periodically. The motivation can be seen in the changes to the docs in patch 2.
2020 Jul 14
0
[PATCH nbdkit RFC 2/2] curl: Implement authorization scripts.
...er; +extern const char *user_agent; + +/* The per-connection handle. */ +struct curl_handle { + CURL *c; + bool accept_range; + int64_t exportsize; + char errbuf[CURL_ERROR_SIZE]; + char *write_buf; + uint32_t write_count; + const char *read_buf; + uint32_t read_count; + struct curl_slist *auth_headers; +}; + +/* auth-script.c */ +extern int do_auth_script (struct curl_handle *h); +extern void auth_script_unload (void); + +#endif /* NBDKIT_CURLDEFS_H */ diff --git a/plugins/curl/auth-script.c b/plugins/curl/auth-script.c new file mode 100644 index 00000000..6839cd85 --- /dev/null +++ b/plugins/c...
2016 Nov 02
1
mount type=default problems
...assword>something</password> > ... > </mount> > > <mount type="normal"> > ... > <authentication type="url"> > <option name="stream_auth" value="http://my.api/streamAuth"/> > <option name="auth_header" value="x-is-authenticated: 200 OK" /> > </authentication> > ... > </mount> > > this all works fine and stable. BUT when i add > > <mount type="default"> > <authentication type="url"> > <option name=&qu...
2011 Apr 29
4
You don't check for malloc failure
...diff -ru icecast-2.3.2-ORIG/src/slave.c icecast-2.3.2/src/slave.c --- icecast-2.3.2-ORIG/src/slave.c Tue Nov 20 06:01:27 2007 +++ icecast-2.3.2/src/slave.c Thu Apr 28 19:55:04 2011 @@ -172,11 +172,17 @@ unsigned len = strlen(relay->username) + strlen(relay->password) + 2; auth_header = malloc (len); + if (auth_header == NULL) { + abort(); + } snprintf (auth_header, len, "%s:%s", relay->username, relay->password); esc_authorisation = util_base64_encode(auth_header); free(auth_header); len = strlen (esc_authorisation) + 24;...
2015 Oct 14
5
Icecast on Raspberry Pi
Is it possible to make Icecast run, for serving no more than 16 listeners, on Raspberry Pi? I simply want to dip my toe into the Linux universe, and this would be a fine excuse for me to try RP if it's doable. Thanks. Jeremiah Rogers Cell: 704-996-5334 Email: jeremiahzrogers at gmail.com Social Networking: /jzrogers
2015 Jun 03
2
Icecast URL authentication problem
...http://some.server.org/stream_control.php"/> <option name="stream_auth" value="http://some.server.org/stream_control.php"/> <option name="user" value='source'/> <option name="pass" value='pass'/> <option name="auth_header" value="icecast-auth-user: 1"/> </authentication> Script named stream_control.php just writes POST data received from calling site (to some file) and returns icecast-auth-user: 1. This script is never called by any of these methods by the icecast server, also in the error...
2007 Jan 05
1
Icecast Won't Authenticate by URL (Previous Threads Didn't Help)
...;http://baraka/%7Erevence/sauti/notify_listener.php>" /> <option name="listener_remove" value=" http://baraka/~revence/sauti/notify_listener.php<http://baraka/%7Erevence/sauti/notify_listener.php>" /> <option name="auth_header" value="icecast-auth-user: 1" /> </authentication> </mount> But the mount_add page is not called at any one point. This is what `wget -S http://baraka/~revence/sauti/notify_mount.php`<http://baraka/%7Erevence/sauti/notify_mount.php%60>returns: [...
2007 Feb 12
0
url authentication help
...1/icesauth/action.php"/> <option name="end" value="http://192.168.1.251/icesauth/action.php"/> <option name="username" value="user"/> <option name="password" value="pass"/> <option name="auth_header" value="icecast-auth-user: 1"/> </authentication> Guilermo
2015 May 27
0
URL authentication not working
...http://some.server.org/stream_control.php"/> <option name="stream_auth" value="http://some.server.org/stream_control.php"/> <option name="user" value='source'/> <option name="pass" value='pass'/> <option name="auth_header" value="icecast-auth-user: 1"/> </authentication> Script named stream_control.php just writes POST data received from calling site (to some file) and returns icecast-auth-user: 1. This script is never called by any of these methods by the icecast server, also in the error....
2015 Jun 05
0
Icecast URL authentication problem
..."stream_auth" value="http://some.server.org/stream_control.php"/ <http://some.server.org/stream_control.php%22/>> > <option name="user" value='source'/> > <option name="pass" value='pass'/> > <option name="auth_header" value="icecast-auth-user: 1"/> > </authentication> > > Script named stream_control.php just writes POST data received from calling site (to some file) and returns icecast-auth-user: 1. > > > This script is never called by any of these methods by the...
2006 Jul 02
0
Help with Icecast core dump
...60.com/modules/ice/index.php?ma"/> <option name="mount_remove" value="http://www.scan60.com/modules/ice/index.php?mr"/> <option name="timelimit_header" value="icecast-timelimit:" /> <option name="auth_header" value="icecast-auth-user: 1" /> </authentication> </mount> The auth options point to an auth module I found for Xoops. My whole site is built on Xoops and the concept was to allow only signed in users to play a mount from the icecast server. Core was gen...
2011 Jun 03
1
Icecast authentication cant resolve address on Debian
...hentication type="url"> <option name="listener_add" value="http://www.***.co.uk/online/auth.php"/> <option name="listener_remove" value="http://www.***.co.uk/online/auth.php"/> <option name="auth_header" value="icecast-auth-user: 1"/> <option name="timelimit_header" value="icecast-auth-timelimit:"/> </authentication> </mount> <fileserve>1</fileserve> <paths> <basedir>/etc/icecas...
2010 Jul 30
33
[PATCHES] Smartjog PatchDump
Hello, I work at SmarctJog.com, we have here some patches on IceCast for performance and reliability, these are mostly client/connection/source cleanups (a slave merge is underway, and some more good stuff (c)), but we'd like this to be merged in before the list gets any longer. Please find attached a list of our patches with a short desc: This one is actually not from us/me, it was found
2010 Sep 01
4
NoMethodError: undefined method `force_encoding' for "Conten
...nize renatosis$ rake (in /private/tmp/mechanize) /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -w -Ilib:bin:test:. -e ''require "rubygems"; require "test/unit"; require "test/chain/test_argument_validator.rb"; require "test/chain/test_auth_headers.rb"; require "test/chain/test_custom_headers.rb"; require "test/chain/test_header_resolver.rb"; require "test/chain/test_parameter_resolver.rb"; require "test/chain/test_request_resolver.rb"; require "test/chain/test_response_reader.rb"; requi...