Commit Graph

98 Commits

Author SHA1 Message Date
paulc 6097706c14 Added rmanager "date" command to show current date / time.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6465 acf43c95-373e-0410-b603-e72c3f656dc1
2021-03-12 12:20:02 +00:00
paulc 79503829f9 Made the rmanager prompt configurable for each authentication level.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6456 acf43c95-373e-0410-b603-e72c3f656dc1
2020-12-11 12:34:47 +00:00
oana 380b6491a9 Add command for generating merged configuration files from rmanager.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6394 acf43c95-373e-0410-b603-e72c3f656dc1
2020-03-25 14:34:04 +00:00
paulc c010ee9cf7 Added ^F and ^B to move one page forward / backward.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6343 acf43c95-373e-0410-b603-e72c3f656dc1
2019-01-28 10:50:42 +00:00
paulc c5b6e8ae77 Added support for allowing extra commands in restricted user mode.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6329 acf43c95-373e-0410-b603-e72c3f656dc1
2018-11-20 13:07:33 +00:00
marian fbd39c5c20 Make sure debugger output is enabled if debug is enabled when connection starts. Fixes suppressed output: yate is started daemonified with no log file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6327 acf43c95-373e-0410-b603-e72c3f656dc1
2018-11-13 14:00:19 +00:00
paulc 1dc8d69a8e Added a helper class SocketRef and use it instead of all ad-hoc similar classes.
Fixed a memory leak in Jabber SSL listeners.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6299 acf43c95-373e-0410-b603-e72c3f656dc1
2018-02-20 11:58:02 +00:00
paulc 27de15bc48 Fixed compile time bugs and warnings exposed by Visual Studio.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6256 acf43c95-373e-0410-b603-e72c3f656dc1
2017-09-07 15:29:32 +00:00
paulc fb2d0ba3ae Allow rmanager output to be turned off even if debug is on but preserve ^O cycling logic.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6254 acf43c95-373e-0410-b603-e72c3f656dc1
2017-08-11 15:37:12 +00:00
paulc c4c9e994f0 Renamed DebugGoOn to DebugCrit so it better matches its purpose.
Swapped order of DebugCall and DebugNote so DebugCall is less visible.
Changed default debug level to DebugNote.
Modified a few inadequate uses of DebugCrit.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6250 acf43c95-373e-0410-b603-e72c3f656dc1
2017-08-01 13:08:23 +00:00
paulc 700acb8d1a Fixed limitations and bugs exposed by addition of prompt option.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6227 acf43c95-373e-0410-b603-e72c3f656dc1
2017-06-05 15:35:39 +00:00
paulc 9e5c186299 Added support for setting "debug level N+" or "debug level N-"
git-svn-id: http://yate.null.ro/svn/yate/trunk@6226 acf43c95-373e-0410-b603-e72c3f656dc1
2017-06-05 12:33:38 +00:00
paulc 436f772758 Added support for configuring an interactive mode prompt.
Added configuration setting for initial value of remote echo.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6225 acf43c95-373e-0410-b603-e72c3f656dc1
2017-06-05 11:37:44 +00:00
paulc 29d5a82541 Added support for supressing connection logging per listener.
Added support for customizing or disabling goodbye text.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6224 acf43c95-373e-0410-b603-e72c3f656dc1
2017-06-05 09:03:34 +00:00
paulc 0ae34db874 Fixed a deadlock when rmanager was trying to report an error about its own connection.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6218 acf43c95-373e-0410-b603-e72c3f656dc1
2017-05-17 10:01:47 +00:00
paulc 570a1cbe23 Added support for the Home and End keys in paged commands.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6155 acf43c95-373e-0410-b603-e72c3f656dc1
2016-12-05 21:46:02 +00:00
paulc 038bb01d1e Added engine.command cmd_header and cmd_finish parameters for proper handling of paged responses.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6029 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-01 16:14:17 +00:00
paulc b9e6dacc2e Added "meminfo" command in rmanager to display memory allocator stats when mallinfo() is available.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5782 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-21 09:28:44 +00:00
paulc 37a72e4bc1 Added copyright notices to sources and scripts missing them.
Updated copyright notices for 2014.
Fixed end of lines in many files.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5755 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 11:42:17 +00:00
paulc 76fdb5ce75 Added support for counting allocated objects for memory leaks troubleshooting.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5752 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-04 16:36:23 +00:00
paulc f7b7c4ef91 Make the SVN revision accessible to engine, rmanager, SNMP.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5639 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-03 16:10:18 +00:00
paulc 55c7a8e843 Don't display telnet window size changes in non-debug compile.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5615 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-07 11:53:15 +00:00
paulc cf5d0fd71a Changed license terms in each source file to reference an external file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5609 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 13:38:10 +00:00
paulc 3cf42e2828 Use Alarm() in places that could prevent normal operation.
This allows sending SNMP traps when parts of the service become non-operational.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5569 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-08 12:21:26 +00:00
paulc b3f76e22c0 Removed a potential buffer overflow, the Telnet options are binary anyway.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5549 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-14 15:52:55 +00:00
paulc 0aba5b2329 Added support for Telnet window size and paged output.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5548 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-14 15:31:02 +00:00
paulc f9ca67c53a Prevent controlReturn() from overwriting a previous return parameter.
Simplified rmanager control return value interpretation.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5504 acf43c95-373e-0410-b603-e72c3f656dc1
2013-05-10 14:50:36 +00:00
paulc c704ff9ace Removed leftover call parameter.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5454 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 13:35:51 +00:00
paulc 3b49b78ecb Added a shared static list of Atom strings and an YATOM macro.
This speeds up signifficantly the Yate RTTI on compilers that HAVE_BLOCK_RETURN.
Made the String comparison operator inline to shave off a few cycles.
Fast handle the comparison in identity case.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5449 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 13:19:14 +00:00
andrei 2a08c45703 Differentiate "No component could process the command" and "The component failed to process the command" in rmanager control output.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5396 acf43c95-373e-0410-b603-e72c3f656dc1
2013-02-08 15:23:06 +00:00
paulc bb365062b2 Fixed cursor position after debug information writes or machine mode.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4947 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-24 19:13:35 +00:00
paulc 73770407e7 Fixed cursor position after screen erase (^L) command.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4946 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-24 19:00:37 +00:00
paulc 204c13e8d9 Implemented line editing and command history in rmanager.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4945 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-24 18:06:10 +00:00
paulc 25b49afb9c Added support for holding in memory and retrieving events from startup or arbitrary sources.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4887 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-10 13:59:36 +00:00
paulc 853f32d846 Prevent buggy modules from stopping a broadcast engine.help message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4836 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-06 13:32:57 +00:00
paulc b5a55f533d Allow a $() in an alias to start a new command.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4599 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-14 09:50:15 +00:00
paulc 5516235b2d Separate the event writing code from the debug variable check.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4575 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-29 11:08:59 +00:00
paulc c0d80e9d21 Added support for local (per connection) aliases in rmanager.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4476 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-06 20:36:46 +00:00
paulc 1b5a46667b Don't put in rmanager's history automatically generated lines.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4475 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-06 16:24:35 +00:00
paulc ac48910dee Added missing instruction, fixed bug in Rev. 4437
git-svn-id: http://yate.null.ro/svn/yate/trunk@4438 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-04 14:18:22 +00:00
paulc 9fbc657434 Added a local debug level viewing threshold to rmanager.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4437 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-04 14:13:14 +00:00
paulc c179b95615 Added rmanager settings to enable debug and color on connect.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4304 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-15 21:59:00 +00:00
paulc b94f4c4239 Moved DebugEnabler and name from Module to Plugin, made name mandatory.
Added API and command to reload configuration of a single plugin.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4203 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-23 16:26:25 +00:00
paulc 74f7a015a5 Preserve the editor buffer when rmanager is in "machine on" mode.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4143 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-01 16:51:11 +00:00
paulc 81cd2bc50b Print uptime in days and hh:mm:ss instead of hhhhh:mm:ss so it's easier to read.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3392 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-18 15:05:40 +00:00
paulc 682c4c9d2a Use static const Regexps wherever possible to speed up code.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3391 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-17 11:38:46 +00:00
paulc 63e386addb Include the node name in the engine status and the default rmanager greeting.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3352 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-28 17:07:49 +00:00
paulc 25ba0b50c2 Support for multiple rmanager listeners, each with its own settings.
Support for SSL encrypted connections (needs the openssl module).
Example of connecting with SSL activated: telnet-ssl -z ssl 10.0.0.1 5038


git-svn-id: http://yate.null.ro/svn/yate/trunk@2948 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-14 14:38:57 +00:00
paulc 656efcfb4f Lock the connection list while checking if the rmanager module is busy.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2938 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-12 15:03:10 +00:00
paulc e257d087a6 Added ability to authenticate even observer only (non-admin) connections.
Added initial timeout for non-authenticated connections, default 30s.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2937 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-12 15:00:24 +00:00