
Prometheus Firewall Analyzer
Prometheus एक Ruby एप्लिकेशन है और यह Ruby के हालिया संस्करण (1.8.7 या उच्चतर) चलाने वाले किसी भी सिस्टम पर चलेगा। Prometheus को स्थापित करने के लिए निम्नलिखित चरणों का उपयोग करें:
Prometheus का उपयोग करने के लिए, -c विकल्प का उपयोग करके पार्स करने के लिए एक कॉन्फ़िगरेशन फ़ाइल निर्दिष्ट करें। Prometheus डिफ़ॉल्ट रूप से वर्तमान डायरेक्टरी में डिफ़ॉल्ट HTML टेम्पलेट का उपयोग करके एक HTML रिपोर्ट बनाता है। एक कस्टम टेम्पलेट निर्दिष्ट करने के लिए, -t विकल्प का उपयोग करें। यदि आप Prometheus Pro का उपयोग कर रहे हैं, तो एक वैकल्पिक रिपोर्ट प्रारूप निर्दिष्ट करने के लिए -f विकल्प का उपयोग करें। वर्तमान में, XML ही एकमात्र विकल्प है।
Usage: ./prometheus.rb -c config_file [options]
-c, --config_file FILE Firewall configuration to parse.
-r, --report_file FILE Report file to write.
-f, --format FORMAT Report format to use.
-t, --template FILE File to use as template.
-v, --verbose Print verbose output.
-d, --debug Print debug output (very verbose).
-h, --help Display this screen
कस्टम टेम्पलेट का उपयोग करने के लिए, पहले एक HTML फ़ाइल बनाएं और फ़ाइल में टैग रखें ताकि Prometheus को बताया जा सके कि कॉन्फ़िगरेशन और भेद्यता तत्व कहाँ सम्मिलित करने हैं। वर्तमान में, Prometheus निम्नलिखित टैग का समर्थन करता है:
--name-- Firewall name.
--type-- Firewall type.
--firmware-- Firmware version.
--summary_statement-- Summary statement.
--analysis-- Identified vulnerabilities.
--interfaces-- Firewall interfaces.
--management-- Management interfaces.
--access_lists-- Access control lists.
--host_names-- List of host names (Professional only).
--network_names-- List of network names (Professional only).
--service_names-- List of service names (Professional only).
इसके बाद, -t विकल्प के साथ उपयोग करने के लिए कस्टम टेम्पलेट निर्दिष्ट करें। कस्टम टेम्पलेट बनाने का एक उदाहरण देखने के लिए, config डायरेक्टरी में डिफ़ॉल्ट HTML टेम्पलेट, template.html देखें। यह अनुशंसित है कि जब तक आप पहले बैकअप प्रति नहीं बना लेते, template.html को संशोधित न करें।