PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000817PacketFencepublic2009-10-21 14:402009-10-26 09:46
Reporterobilodeau 
Assigned Toobilodeau 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000817: Nessus scheduled scans
Descriptionpfcmd schedule add doesn't work, it returns the parameters like if it didn't recognize inputs:

[root@pf-dev pf]# bin/pfcmd schedule add 192.168.1.104 date="0 3 * * *"
Usage: pfcmd schedule <view|add|edit|delete> [number|ip-range|ipaddress/cidr] [assignments]

use nessus to scan ip(s). IP address can be specified as IP, Start-EndIP, IP/xx Cidr format.

examples:
  pfcmd schedule view all
  pfcmd schedule view 1
  pfcmd schedule now 128.11.23.2/24 tid=11808;11835;11890;12209
  pfcmd schedule add 128.11.23.7/24 tid=all,date="0 3 * * *"
  pfcmd schedule add 128.11.23.2/24 tid=11808;11835;11890;12209,date="0 3 * * *"
  pfcmd schedule delete 2

Additionally, documentation is not correct: now not mentioned in possible keywords
TagsNo tags attached.
fixed in git revision
fixed in mtn revision
Attached Files

- Relationships

-  Notes
(0001357)
obilodeau (reporter)
2009-10-21 14:44

I fixed the doc but still need to figure out what's wrong with schedule add.
(0001358)
obilodeau (reporter)
2009-10-21 14:56

Ok, well it seems that it works if I'm careful about escaping:
bin/pfcmd 'schedule add 192.168.1.1-254 date="0 3 * * *"'
(0001359)
obilodeau (reporter)
2009-10-21 15:17

invalid

- Issue History
Date Modified Username Field Change
2009-10-21 14:40 obilodeau New Issue
2009-10-21 14:40 obilodeau Status new => assigned
2009-10-21 14:40 obilodeau Assigned To => obilodeau
2009-10-21 14:44 obilodeau Note Added: 0001357
2009-10-21 14:56 obilodeau Note Added: 0001358
2009-10-21 15:17 obilodeau Note Added: 0001359
2009-10-21 15:17 obilodeau Status assigned => closed
2009-10-21 15:17 obilodeau Resolution open => no change required
2009-10-26 09:46 obilodeau Category future => 1.8.5


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker