One way to do it is using the action called DBLSN FULL SHUTDOWN.
e.g. dblsn.exe -l "subject=myshutdown;action='DBLSN FULL SHUTDOWN'" ...
When the listener receive a message with subject equals "myshutdown", it
will shutdown. The message may come through any media that the listener is
currently listening on. The source of the message can be the notifier or
another local or external process that uses the simplest version of message
format. The simplest version of the message format is [<subject>]<content>1.
Continue with the previous example, assume the listener is listening on UDP
on port 1234. Then sending a datagram with the following plaintext to port
1234 will shutdown your listener.
[myshutdown]whatever1
Likewise, if the listener is listening on SMS. An SMS message with
subject=myshutdown and content=whatever1 will be able to shutdown the
listener.
<thomas.yung.manho (AT) gmail (DOT) com> wrote
Quote:
Dear all,
Please give some advice on how to shutdown the dblsn process
programmatically instead of the "ShutDown" button. I am using ASA 9
Build# 3228, I am a C# writer, please help !! thanks !!
Thomas Yung |