☰ Menu
Home›Command-line Tools›pulledpork
CLI Open source 2 installs/mo

pulledpork for Mac

pulledpork

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

  1. Open Terminal (press ⌘ + Space and type “Terminal”).
  2. If Homebrew is not installed yet, run the command below first.
  3. Run this command:

Latest 10 releases

Last updated 2020-09-11; current version v0.7.4, with the latest 3 releases listed.

VersionReleasedTypeSizemacOSWindowsLinux
v0.7.42020-09-11Stable————
v0.7.32017-12-07Stable————
v0.7.22016-11-08Stable————

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.

Compared with similar apps
AppVersionLicenseArchitecture30-day installs
pulledporkv0.7.4GPL-2.0-or-laterCLI2
preciousv1.0.0Apache-2.0 OR MITCLI10
pintv0.90.0Apache-2.0CLI132
mihomov1.19.34GPL-3.0-or-laterCLI597

Similar apps: Command-line Tools

Leave a comment

评论表单加载中…