Commit Graph

72 Commits (1.4.21.2)

Author SHA1 Message Date
Tilghman Lesher 98b11ad0ee When listing the manager users, managers in users.conf are not shown, even
18 years ago
Russell Bryant 8a9d52bc7f Improve CLI command blacklist checking for the command manager action. Previously,
18 years ago
Russell Bryant f8848a7fe8 Store the manager session ID explicitly as 4 byte ID instead of a ulong. The
18 years ago
Russell Bryant c8c2c33550 Don't destroy a manager session if poll() returns an error of EAGAIN.
18 years ago
Mark Michelson b4cf033072 Fix a race condition in the manager. It is possible that a new manager event
18 years ago
Tilghman Lesher 56e908b787 Safely use the strncat() function.
18 years ago
Tilghman Lesher 11550c7be6 Ensure the session ID can't be 0.
18 years ago
Kevin P. Fleming d105ba22fa reduce the likelihood that HTTP Manager session ids will consist of primarily '1' bits
18 years ago
Pari Nannapaneni f7eae72a2e missed that one while reverting
18 years ago
Pari Nannapaneni 0fed0a955f reverting 99001 - We need the Max-Age for extending the life of cookie mansession_id
18 years ago
Kevin P. Fleming af7670bca8 we should only send the Set-Cookie header to the browser on the first response after creating a manager session, not on every response (doing so causes the browser to clear any local cookies it may have associated with the session)
18 years ago
Kevin P. Fleming eb4d447b78 make this comment explain the situation in an even more explicit fashion
18 years ago
Tilghman Lesher 3c3eb75062 Workaround for what is probably a glibc bug (but we'll see this crop up again
18 years ago
Russell Bryant 1f8caa100d Change the behavior of ao2_link(). Previously, in inherited a reference.
18 years ago
Kevin P. Fleming fc5429da7c it is impossible to set permissions for manager accounts created by users.conf (reported internally, patched by me)
18 years ago
Tilghman Lesher 540a2c7098 Up until this point, the XML output of the manager has been technically
18 years ago
Mark Michelson 1fece3bb67 Undoing previous commit since I realize it was wrong
18 years ago
Mark Michelson 88f847869d Adding a missing mutex unlock.
18 years ago
Mark Michelson 63f6e6b023 Fixing a segfault in the manager "core show channels concise" command.
18 years ago
Russell Bryant 2c757f0747 Fix a copy/paste error in the description of UpdateConfig that was pointed
18 years ago
Dwayne M. Hubbard bae4135759 moved get_base_channel() code from action_redirect to ast_channel_masquerade() for issue 7706 and BE-160
18 years ago
Dwayne M. Hubbard 7c4e477fde if an Agent is redirected, the base channel should actually be redirected. This was causing multiple issues, especially issue 7706 and BE-160
18 years ago
Russell Bryant df5599d598 Fix up another potential race condition. Do the loop decrementing use count
18 years ago
Doug Bailey 8ac8d79a5d Corrected patch applied in revision r82887.
18 years ago
Doug Bailey 33a1011c51 Fixed a bug where http manager sessions prevented the eventq from being cleaned out because http manager sessions do not have a valid file descriptor.
18 years ago
Russell Bryant 4668601f9c Fix a memory leak that can occur on systems under higher load. The issue is
18 years ago
Jason Parker 24f0e6a947 Eliminate a compiler warning with gcc 4.2 by constifying a char *
19 years ago
Russell Bryant 76164559c9 Remove a bogus comment and add proper locking to the handler function for the
19 years ago
Tilghman Lesher 6ffbaa32f3 Issue 10055 - Change memory allocation to use the heap for a command, since the output has the potential to overflow the stack (as it did here)
19 years ago
Tilghman Lesher 2e702c85eb Merged revisions 71288 via svnmerge from
19 years ago
Joshua Colp 533144b170 Add the ability to blacklist certain commands from being executed using the Command AMI action. (issue #9240 reported by junky)
19 years ago
Jason Parker e0cac0c477 Hide manager password from "manager show user foo".
19 years ago
Russell Bryant 7d478ee342 When MD5 authentication is not possible because there is no challenge present,
19 years ago
Russell Bryant 2465ea2cfa Strip terminal escape sequences from CLI command output that is going to be
19 years ago
Russell Bryant ae7a38d87b Backport the change that only went in to trunk that fixes the command manager
19 years ago
Olle Johansson b0121ca8a3 Issue #9608 - fix some annoying DEBUG messages not controlled by option_debug (DEA). Thanks!
19 years ago
Russell Bryant 5bee74171d Merged revisions 61786 via svnmerge from
19 years ago
Russell Bryant 70eb19121e Fix the UpdateConfig manager action to properly treat "variables" and "objects"
19 years ago
Tilghman Lesher 6db075dd98 Bug 9557 - simple reason why reading a function always returned NULL
19 years ago
Russell Bryant 06ff84b549 To be able to achieve the things that we would like to achieve with the
19 years ago
Russell Bryant ab5c3cd84e Merged revisions 60134 via svnmerge from
19 years ago
Russell Bryant 97fe798e7e Merged revisions 58164 via svnmerge from
19 years ago
Tilghman Lesher f2decd2446 Merged revisions 53245 via svnmerge from
19 years ago
Russell Bryant 9aab046002 Merged revisions 53045 via svnmerge from
19 years ago
Russell Bryant 771be23a9c Remove a recursive lock of the manager session. This was pointed out by
19 years ago
Russell Bryant ce753cf0d9 The session lock can not be held while calling action callbacks. If so, then
19 years ago
Joshua Colp 9c289fe01b Have the manager interface send back an "Already logged in" message instead of "Invalid/Unknown Command" when the client authenticates for a second time. (issue #8509 reported by pari)
19 years ago
Russell Bryant 2a37a53c57 Fix some bugs in process_message(). The manager session lock needs to be held
19 years ago
Russell Bryant 3d5e9fa43c When traversing the list of manager actions, the iterator needs to be
19 years ago
Russell Bryant c5a3194042 Make the "hasmanager" option in users.conf actually have an effect.
19 years ago