pulledpork for Mac
PulledPork for Snort and Suricata rule management (from Google code)
pulledpork — overview
PulledPork for Snort and Suricata rule management (from Google code)
Find us on Libera.Chat (IRC) #pulledpork
Copyright (C) 2009-2021 JJ Cummings, Michael Shirk and the PulledPork Team!
Thank you for choosing to use PulledPork! This file provides some basic guidance on the usage of PulledPork. Please be sure to read this file thoroughly so that you don't overlook something!
Features and Capabilities
Automated downloading, parsing, state modification and rule modification for all of your snort rulesets. Checksum verification for all major rule downloads Automatic generation of updated sid-msg.map file Capability to include your local.rules in sid-msg.map file Capability to pull rules tarballs from custom urls Complete Shared Object support Complete IP Reputation List support Capability to download multiple disparate rulesets at once Maintains accurate changelog Capability to HUP processes after rules download and process Aids in tuning of rulesets Verbose output so that you know EXACTLY what is happening Minimal Perl Module dependencies Support for Suricata, and ETOpen/ETPro rulesets A sweet smokey flavor throughout the pork!
Command Usage Reference
Basic Usage Examples
A simple example of how to use PulledPork would be to specify all of your configuration directives inside of the PulledPork.conf file. Specifically for minimal function, i.e. NO Shared Object rule processing you must define at a minimum the rule_file, oinkcode, temp_path, tar_path, and rule_path values. Below are some examples of this.
The above will fetch the snortrules-snapshot-2973.tar.gz tarball from snort.org using the specified oinkcode of 12345667778523452344234234 and put the rules files from that tarball into the output path of /usr/local/etc/snort/rules/ while the -i option tells pulledpork where the disablesid.conf lives, and the -T option tells pulledpork to not process for any shared object rules and the final -H option tells pulledpork to send a Hangup signal to the snort pid that you defined in the pulledpork.conf.
Similar to the first example but all options specified in the pulledpork.conf file (other than disablesid and -H)...
The above will simply read the disablesid and disable as defined, then send a Hangup signal after generating the sid-msg.map at the specified location without downloading anything. Highly useful when tuning / making changes etc..
Next example, snort inline with rules that we want to drop and disable, then HUP our daemons after creating a sid-msg.map and writing change info to sid_changes.log!
Next example, same as the previous but specifying that we want to run the default "security" based ruleset and that we want to enable rules specified in enablesid.conf.
Next example, same as the previous but specifying that we want to -K (Keep) the originationg tarball names. and write them to /usr/local/etc/snort/rules/
Details
Snort规则管理
How to install pulledpork
- Open Terminal (press ⌘ + Space and type “Terminal”).
- If Homebrew is not installed yet, run the command below first.
- Run this command:
Latest 10 releases
Last updated 2020-09-11; current version v0.7.4, with the latest 3 releases listed.
| Version | Released | Type | Size | macOS | Windows | Linux |
|---|---|---|---|---|---|---|
| v0.7.4 | 2020-09-11 | Stable | — | — | — | — |
| v0.7.3 | 2017-12-07 | Stable | — | — | — | — |
| v0.7.2 | 2016-11-08 | Stable | — | — | — | — |
Data from GitHub Releases; stable releases first, each group sorted newest first.
Prebuilt bottle platforms
Official Homebrew bottles cover:
- Apple silicon · latest macOS
- Apple silicon · macOS 26 Tahoe
- Apple silicon · macOS 15 Sequoia
- Apple silicon · macOS 14 Sonoma
- tahoe
- sequoia
- Intel · macOS 14 Sonoma
- Linux · ARM64
- Linux · x86_64
Compared with similar apps
Only public metadata is compared, with no subjective recommendation; see the compare pages for field-by-field comparisons.
| App | Version | License | Architecture | 30-day installs |
|---|---|---|---|---|
| pulledpork | v0.7.4 | GPL-2.0-or-later | CLI | 2 |
| precious | v1.0.0 | Apache-2.0 OR MIT | CLI | 10 |
| pint | v0.90.0 | Apache-2.0 | CLI | 132 |
| mihomo | v1.19.34 | GPL-3.0-or-later | CLI | 597 |
Similar apps: Command-line Tools
precious
Precious - One Code Quality Tool to Rule Them Allpint
Prometheus rule linter/validatormihomo
Another rule-based tunnel in Go, formerly known as ClashMetaopenssl@4
Cryptography and SSL/TLS Toolkitxz
General-purpose data compression with high compression ratiopkgconf
pkgconf is a program which helps to configure compiler and linker flags for development…Categories: Command-line Tools