ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent-MP/bin/aemp
(Generate patch)

Comparing AnyEvent-MP/bin/aemp (file contents):
Revision 1.61 by root, Fri Mar 23 03:32:36 2012 UTC vs.
Revision 1.62 by root, Fri Mar 23 13:44:01 2012 UTC

485Sometimes a more secure mode is desired - this can be achieved by setting 485Sometimes a more secure mode is desired - this can be achieved by setting
486the secure option to a true value. 486the secure option to a true value.
487 487
488When secure mode is enabled, then the node will not execute code locally, 488When secure mode is enabled, then the node will not execute code locally,
489at least not via the normal node protocol. All other messages are still 489at least not via the normal node protocol. All other messages are still
490allowed. This means remote nodes can monitor, kill or local ports (port 490allowed. This means remote nodes can monitor, kill or snd to local ports
491names can be easily guessed). Specifically, note that the very common 491(port names can also be easily guessed).
492"send me a list that I prepend to my reply message" idiom can easily
493be used to subvert this security mechanism by asking a trusted node to
494"reply" to some other message.
495 492
496At the moment, this setting affects C<snd_on>, C<eval_on> and C<spawn> 493At the moment, this setting ignores C<snd_on>, C<eval_on> and C<spawn>
497functionality. 494requests.
498
499The C<configure> function additionally allows you to specify a callback
500that can grant or suppress such requests on a per-node basis.
501 495
502=item [set|del]monitor_timeout <seconds> 496=item [set|del]monitor_timeout <seconds>
503 497
504Sets the default monitor timeout, that is, when a connection to a node 498Sets the default monitor timeout, that is, when a connection to a node
505cannot be established within this many seconds, the node is declared 499cannot be established within this many seconds, the node is declared

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines