NetBSD Problem Report #33892

From www@NetBSD.org  Sat Jul  1 18:51:44 2006
Return-Path: <www@NetBSD.org>
Received: by narn.NetBSD.org (Postfix, from userid 31301)
	id 4E7D563B8ED; Sat,  1 Jul 2006 18:51:44 +0000 (UTC)
Message-Id: <20060701185144.4E7D563B8ED@narn.NetBSD.org>
Date: Sat,  1 Jul 2006 18:51:44 +0000 (UTC)
From: svs+pr@grep.ru
Reply-To: svs+pr@grep.ru
To: gnats-bugs@NetBSD.org
Subject: misc/logsurfer: updated version (1.6b) is available
X-Send-Pr-Version: www-1.0

>Number:         33892
>Category:       pkg
>Synopsis:       misc/logsurfer: updated version (1.6b) is available
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 01 18:55:00 +0000 2006
>Closed-Date:    Thu Dec 07 12:56:38 +0000 2006
>Last-Modified:  Thu Dec 07 13:00:02 +0000 2006
>Originator:     Sergey Svishchev
>Release:        
>Organization:
>Environment:
>Description:
From http://www.crypt.gen.nz/logsurfer/ :

Logsurfer+ is a branched version of the standard Logsurfer package from DFN-CERT, it has been modified to add a few features to improve what can be done with it. The following is a list of Logsurfer+ 1.6 features which are in addition to the standard Logsurfer 1.5 release:

* An optional parameter at the end of context definitions ( just before action ) specifying the minimum number of lines collected which needs to be satisfied before performing the action. This min_lines argument can be used for detecting events such as firewall attacks where we are only interested in events which generate more than x log entries ( like packet drops from a single source IP address ).

* Added -t command line option to explicity timeout contexts when exiting, therefore running the action for all contexts. The default is off, so contexts don't all trigger their actions when logsurfer is shut down.

* Changed context rule execution so that we only store lines in a context if the context has an action of 'pipe' or 'report'. In other words, don't store lines in memory which won't ever be used. The number of matching lines in the context is still incremented. This allows contexts to be created which can notify if we don't see an event, such as regular "syslog pings" from hosts.
>How-To-Repeat:

>Fix:
http://www.crypt.gen.nz/logsurfer/logsurfer-15b-16b.patch

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: obache@netbsd.org
State-Changed-When: Thu, 07 Dec 2006 12:56:38 +0000
State-Changed-Why:
Updated to 1.6.2.  Thanks for your PR!


From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/33892 CVS commit: pkgsrc/misc/logsurfer
Date: Thu,  7 Dec 2006 12:51:36 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Thu Dec  7 12:51:36 UTC 2006

 Modified Files:
 	pkgsrc/misc/logsurfer: Makefile PLIST distinfo
 	pkgsrc/misc/logsurfer/patches: patch-ab

 Log Message:
 Update logsurfer to 1.6.2(1.6b), requested in PR 33892.

 ChangeLog:
 Version 1.6b (logsurfer+)
 	+ fixed -t option in getopts()

 Version 1.6a (logsurfer+)
 	Kerry Thompson kerry_at_crypt.gen.nz:
 	+ corrected off-by-one in min_lines checking
 	+ added min_lines context arg to logsurfer.conf man page

 Version 1.6 (logsurfer+)
 	Kerry Thompson kerry_at_crypt.gen.nz:
 	+ added an optional parameter at the end of context definition
 	  (just before action) specifying the minimum number of lines
 	  collected which needs to be satisfied before performing action
 	+ added -t option to explicity timeout contexts when exiting
 	  default=off so contexts don't all trigger when we shut down
 	+ only add lines to a context if the context has an action of
 	  'pipe' or 'report'. In other words, don't store lines in
 	  memory which won't ever be used. The number of matching
 	  lines in the context is still incremented. This allows contexts
 	  to be created which can notify if we _don't_ see an event, such
 	  as regular "syslog pings" from hosts.


 To generate a diff of this commit:
 cvs rdiff -r1.15 -r1.16 pkgsrc/misc/logsurfer/Makefile
 cvs rdiff -r1.1 -r1.2 pkgsrc/misc/logsurfer/PLIST
 cvs rdiff -r1.4 -r1.5 pkgsrc/misc/logsurfer/distinfo
 cvs rdiff -r1.4 -r1.5 pkgsrc/misc/logsurfer/patches/patch-ab

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.