Commit Graph

101 Commits

Author SHA1 Message Date
Ioana Stanciu c56216f5a8 Updated copyright notices. 2023-05-23 17:01:06 +03:00
marian e89fc66466 Avoid duplicate configuration load failure debug messages when handling 'cfgmerge' command.
git-svn-id: http://voip.null.ro/svn/yate@6581 acf43c95-373e-0410-b603-e72c3f656dc1
2022-12-19 12:03:04 +00:00
marian 2fa7a30bec Show current date/time in rmanager open/close connection output message.
git-svn-id: http://voip.null.ro/svn/yate@6564 acf43c95-373e-0410-b603-e72c3f656dc1
2022-09-13 08:26:21 +00:00
paulc 4f3fdc833f Added rmanager "date" command to show current date / time.
git-svn-id: http://voip.null.ro/svn/yate@6465 acf43c95-373e-0410-b603-e72c3f656dc1
2021-03-12 12:20:02 +00:00
paulc 904991d4e4 Made the rmanager prompt configurable for each authentication level.
git-svn-id: http://voip.null.ro/svn/yate@6456 acf43c95-373e-0410-b603-e72c3f656dc1
2020-12-11 12:34:47 +00:00
oana a440eab1f5 Add command for generating merged configuration files from rmanager.
git-svn-id: http://voip.null.ro/svn/yate@6394 acf43c95-373e-0410-b603-e72c3f656dc1
2020-03-25 14:34:04 +00:00
paulc 2ea93407df Added ^F and ^B to move one page forward / backward.
git-svn-id: http://voip.null.ro/svn/yate@6343 acf43c95-373e-0410-b603-e72c3f656dc1
2019-01-28 10:50:42 +00:00
paulc 4ab37a1a79 Added support for allowing extra commands in restricted user mode.
git-svn-id: http://voip.null.ro/svn/yate@6329 acf43c95-373e-0410-b603-e72c3f656dc1
2018-11-20 13:07:33 +00:00
marian 4ed655abce 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://voip.null.ro/svn/yate@6327 acf43c95-373e-0410-b603-e72c3f656dc1
2018-11-13 14:00:19 +00:00
paulc 871aeae4c5 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://voip.null.ro/svn/yate@6299 acf43c95-373e-0410-b603-e72c3f656dc1
2018-02-20 11:58:02 +00:00
paulc 23947f2f01 Fixed compile time bugs and warnings exposed by Visual Studio.
git-svn-id: http://voip.null.ro/svn/yate@6256 acf43c95-373e-0410-b603-e72c3f656dc1
2017-09-07 15:29:32 +00:00
paulc bbe04a7b60 Allow rmanager output to be turned off even if debug is on but preserve ^O cycling logic.
git-svn-id: http://voip.null.ro/svn/yate@6254 acf43c95-373e-0410-b603-e72c3f656dc1
2017-08-11 15:37:12 +00:00
paulc 277e34b576 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://voip.null.ro/svn/yate@6250 acf43c95-373e-0410-b603-e72c3f656dc1
2017-08-01 13:08:23 +00:00
paulc daf9497f45 Fixed limitations and bugs exposed by addition of prompt option.
git-svn-id: http://voip.null.ro/svn/yate@6227 acf43c95-373e-0410-b603-e72c3f656dc1
2017-06-05 15:35:39 +00:00
paulc d407212682 Added support for setting "debug level N+" or "debug level N-"
git-svn-id: http://voip.null.ro/svn/yate@6226 acf43c95-373e-0410-b603-e72c3f656dc1
2017-06-05 12:33:38 +00:00
paulc 1b7ab47d5a Added support for configuring an interactive mode prompt.
Added configuration setting for initial value of remote echo.


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


git-svn-id: http://voip.null.ro/svn/yate@6224 acf43c95-373e-0410-b603-e72c3f656dc1
2017-06-05 09:03:34 +00:00
paulc b04f0162d7 Fixed a deadlock when rmanager was trying to report an error about its own connection.
git-svn-id: http://voip.null.ro/svn/yate@6218 acf43c95-373e-0410-b603-e72c3f656dc1
2017-05-17 10:01:47 +00:00
paulc 0759258391 Added support for the Home and End keys in paged commands.
git-svn-id: http://voip.null.ro/svn/yate@6155 acf43c95-373e-0410-b603-e72c3f656dc1
2016-12-05 21:46:02 +00:00
paulc 25985180d8 Added engine.command cmd_header and cmd_finish parameters for proper handling of paged responses.
git-svn-id: http://voip.null.ro/svn/yate@6029 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-01 16:14:17 +00:00
paulc dc626bf2e0 Added "meminfo" command in rmanager to display memory allocator stats when mallinfo() is available.
git-svn-id: http://voip.null.ro/svn/yate@5782 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-21 09:28:44 +00:00
paulc d56cecb40e 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://voip.null.ro/svn/yate@5755 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 11:42:17 +00:00
paulc 424feb6aad Added support for counting allocated objects for memory leaks troubleshooting.
git-svn-id: http://voip.null.ro/svn/yate@5752 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-04 16:36:23 +00:00
paulc da947b7370 Make the SVN revision accessible to engine, rmanager, SNMP.
git-svn-id: http://voip.null.ro/svn/yate@5639 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-03 16:10:18 +00:00
paulc 52fc035ed7 Don't display telnet window size changes in non-debug compile.
git-svn-id: http://voip.null.ro/svn/yate@5615 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-07 11:53:15 +00:00
paulc 18e10bfd69 Changed license terms in each source file to reference an external file.
git-svn-id: http://voip.null.ro/svn/yate@5609 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 13:38:10 +00:00
paulc 22dcf9f53e 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://voip.null.ro/svn/yate@5569 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-08 12:21:26 +00:00
paulc 787d4f1585 Removed a potential buffer overflow, the Telnet options are binary anyway.
git-svn-id: http://voip.null.ro/svn/yate@5549 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-14 15:52:55 +00:00
paulc e7ee1c40a8 Added support for Telnet window size and paged output.
git-svn-id: http://voip.null.ro/svn/yate@5548 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-14 15:31:02 +00:00
paulc a4ac0559c7 Prevent controlReturn() from overwriting a previous return parameter.
Simplified rmanager control return value interpretation.


git-svn-id: http://voip.null.ro/svn/yate@5504 acf43c95-373e-0410-b603-e72c3f656dc1
2013-05-10 14:50:36 +00:00
paulc d7b51eceb7 Removed leftover call parameter.
git-svn-id: http://voip.null.ro/svn/yate@5454 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 13:35:51 +00:00
paulc 7c8b2d4c38 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://voip.null.ro/svn/yate@5449 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 13:19:14 +00:00
andrei f8944670c6 Differentiate "No component could process the command" and "The component failed to process the command" in rmanager control output.
git-svn-id: http://voip.null.ro/svn/yate@5396 acf43c95-373e-0410-b603-e72c3f656dc1
2013-02-08 15:23:06 +00:00
paulc a88a4afe21 Fixed cursor position after debug information writes or machine mode.
git-svn-id: http://voip.null.ro/svn/yate@4947 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-24 19:13:35 +00:00
paulc 47d29dc36f Fixed cursor position after screen erase (^L) command.
git-svn-id: http://voip.null.ro/svn/yate@4946 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-24 19:00:37 +00:00
paulc 5c63de281b Implemented line editing and command history in rmanager.
git-svn-id: http://voip.null.ro/svn/yate@4945 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-24 18:06:10 +00:00
paulc a7198f5e6b Added support for holding in memory and retrieving events from startup or arbitrary sources.
git-svn-id: http://voip.null.ro/svn/yate@4887 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-10 13:59:36 +00:00
paulc 40546c3a52 Prevent buggy modules from stopping a broadcast engine.help message.
git-svn-id: http://voip.null.ro/svn/yate@4836 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-06 13:32:57 +00:00
paulc ce2affe5bb Allow a $() in an alias to start a new command.
git-svn-id: http://voip.null.ro/svn/yate@4599 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-14 09:50:15 +00:00
paulc 37b76c0bb5 Separate the event writing code from the debug variable check.
git-svn-id: http://voip.null.ro/svn/yate@4575 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-29 11:08:59 +00:00
paulc dfd49af00f Added support for local (per connection) aliases in rmanager.
git-svn-id: http://voip.null.ro/svn/yate@4476 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-06 20:36:46 +00:00
paulc 6f7a47715e Don't put in rmanager's history automatically generated lines.
git-svn-id: http://voip.null.ro/svn/yate@4475 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-06 16:24:35 +00:00
paulc a7df5d0f76 Added missing instruction, fixed bug in Rev. 4437
git-svn-id: http://voip.null.ro/svn/yate@4438 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-04 14:18:22 +00:00
paulc 8dc994fa13 Added a local debug level viewing threshold to rmanager.
git-svn-id: http://voip.null.ro/svn/yate@4437 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-04 14:13:14 +00:00
paulc e272db87c1 Added rmanager settings to enable debug and color on connect.
git-svn-id: http://voip.null.ro/svn/yate@4304 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-15 21:59:00 +00:00
paulc 8e61c980ee 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://voip.null.ro/svn/yate@4203 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-23 16:26:25 +00:00
paulc 81d01794ef Preserve the editor buffer when rmanager is in "machine on" mode.
git-svn-id: http://voip.null.ro/svn/yate@4143 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-01 16:51:11 +00:00
paulc 4275a9b6d5 Print uptime in days and hh:mm:ss instead of hhhhh:mm:ss so it's easier to read.
git-svn-id: http://voip.null.ro/svn/yate@3392 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-18 15:05:40 +00:00
paulc 8c02021eeb Use static const Regexps wherever possible to speed up code.
git-svn-id: http://voip.null.ro/svn/yate@3391 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-17 11:38:46 +00:00
paulc b9cdacb68a Include the node name in the engine status and the default rmanager greeting.
git-svn-id: http://voip.null.ro/svn/yate@3352 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-28 17:07:49 +00:00