based on swatch_1.conf multi-conf files, and barnard2_1.conf files. this will allow multiple interfaces to be used with one copy of snort multiple interfaces, multiple conf files, one rc.d file. (I use it like: snort_rules="bge0 bge1" barnyard2_rules="$snort_rules" note: if you have multiple snort on one interface, you need to use additional rc.conf options to separate out pid's Fix: this patch: (can be applied to snort 2.8.x also) note: I don't think you need to do a ports bump. if you need this, you add it. if not, no reason to rebuild ports. note2: upward compatible to only one conf file note3: you can do one conf/inf at a time with: service snort restart bge0 Patch attached with submission follows: How-To-Repeat: use multiple interfaces, and/ or snort instances.
Responsible Changed From-To: freebsd-ports-bugs->gabor gabor@ wants his PRs (via the GNATS Auto Assign Tool)
Maintainer of security/snort, Please note that PR ports/161286 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/161286 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
patch applies fine to snort 2.9.1.1 also. -- Michael Scheidell, CTO o: 561-999-5000 d: 561-948-2259 >*| *SECNAP Network Security Corporation * Best Mobile Solutions Product of 2011 * Best Intrusion Prevention Product * Hot Company Finalist 2011 * Best Email Security Product * Certified SNORT Integrator ______________________________________________________________________ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.spammertrap.com/ ______________________________________________________________________
Responsible Changed From-To: gabor->zi Over to maintainer.
zi 2011-12-07 23:54:45 UTC FreeBSD ports repository Modified files: security/snort/files snort.sh.in Log: - Introduce multi-interface/instance support in rc script PR: ports/161286 Submitted by: Michael Scheidell <scheidell@secnap.net> Feature safe: yes Revision Changes Path 1.7 +31 -4 ports/security/snort/files/snort.sh.in _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->closed Committed. Thanks!