/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to mandos-ctl

  • Committer: Teddy Hogeborn
  • Date: 2010-09-25 23:52:17 UTC
  • Revision ID: teddy@fukt.bsnet.se-20100925235217-4hhqfryz1ste6uw3
* mandos (ClientDBus.__init__): Bug fix: Translate "-" in client names
                                to "_" in D-Bus object paths.
  (MandosServer.handle_ipc): Bug fix: Send only address string to
                             D-Bus signal, not whole tuple.

* mandos-ctl: New options "--approve-by-default", "--deny-by-default",
              "--approval-delay", and "--approval-duration".
* mandos-ctl.xml (SYNOPSIS, OPTIONS): Document new options.

* mandos-monitor (MandosClientWidget.update): Fix spelling.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
    'Enabled': u'Enabled',
18
18
    'Timeout': u'Timeout',
19
19
    'LastCheckedOK': u'Last Successful Check',
20
 
    'LastApprovalRequest': u'Last Approval Request',
21
20
    'Created': u'Created',
22
21
    'Interval': u'Interval',
23
22
    'Host': u'Host',
240
239
                            'LastCheckedOK', 'Created', 'Interval',
241
240
                            'Host', 'Fingerprint', 'CheckerRunning',
242
241
                            'LastEnabled', 'ApprovalPending',
243
 
                            'ApprovedByDefault',
244
 
                            'LastApprovalRequest', 'ApprovalDelay',
 
242
                            'ApprovedByDefault', 'ApprovalDelay',
245
243
                            'ApprovalDuration', 'Checker')
246
244
            else:
247
245
                keywords = defaultkeywords
248
 
            
 
246
                
249
247
            print_clients(clients.values(), keywords)
250
248
        else:
251
249
            # Process each client in the list by all selected options