Skip to content
Browse files

Removed "$Id$" tags (meaningless for git)

All "$Id$" expansion tags were removed since they were a hold-over from the
svn days.  This also meant that the "file revision: <N>" output for "psad -V"
was removed too.
  • Loading branch information...
1 parent c46c070 commit 7124ec80a10a45d1a5ab325c8578171ca3c113b0 @mrash committed Jun 17, 2011
View
2 INSTALL
@@ -73,5 +73,3 @@ parameters when installing the new versions of psad, psadwatchd, and kmsgsd.
UN-INSTALLING:
psad can be completely removed from the system by executing
install.pl with the --uninstall option.
-
-$Id$
View
2 Makefile
@@ -23,8 +23,6 @@
#
##########################################################################
#
-# $Id$
-#
### default
all : kmsgsd.c psadwatchd.c psad_funcs.c strlcpy.c strlcat.c psad.h
View
3 README
@@ -105,6 +105,3 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
psad makes use of many of the tcp, udp, and icmp signatures available in
Snort (written by Marty Roesch, see http://www.snort.org). Snort is a
registered trademark of Sourcefire, Inc.
-
-
-$Id$
View
2 auto_dl
@@ -12,8 +12,6 @@
#
#############################################################################
#
-# $Id$
-#
# <IP address> <danger level> <optional protocol>/<optional ports>;
#
View
2 bump_version.pl
@@ -8,8 +8,6 @@
#
#############################################################################
#
-# $Id: bump_version.pl 845 2007-12-07 00:32:34Z mbr $
-#
use strict;
View
2 config_vars.pl
@@ -9,8 +9,6 @@
#
############################################################################
#
-# $Id$
-#
use strict;
View
2 deps/IPTables-ChainMgr/lib/IPTables/ChainMgr.pm
@@ -14,8 +14,6 @@
#
##############################################################################
#
-# $Id$
-#
package IPTables::ChainMgr;
View
2 deps/IPTables-Parse/lib/IPTables/Parse.pm
@@ -11,8 +11,6 @@
#
##################################################################
#
-# $Id$
-#
package IPTables::Parse;
View
2 fwcheck_psad.pl
@@ -29,8 +29,6 @@
#
###############################################################################
#
-# $Id$
-#
use Getopt::Long 'GetOptions';
use strict;
View
2 icmp_types
@@ -9,8 +9,6 @@
#
###############################################################################
#
-# $Id$
-#
0 Echo Reply
0
View
1 init-scripts/psad-init.generic
@@ -8,7 +8,6 @@
# pidfile: /var/run/psad.pid
# config: /etc/psad/psad.conf
#
-# $Id$
restart() {
$0 stop
View
1 init-scripts/psad-init.gentoo
@@ -3,7 +3,6 @@
# Distributed under the terms of the GNU General Public License v2
# Author: Michael Rash
# Developed for the Gentoo Linux distribution
-# $Id$
depend() {
need logger
View
1 init-scripts/psad-init.redhat
@@ -8,7 +8,6 @@
# pidfile: /var/run/psad.pid
# config: /etc/psad/psad.conf
#
-# $Id$
# Source function library.
. /etc/rc.d/init.d/functions
View
2 install.pl
@@ -29,8 +29,6 @@
#
#########################################################################
#
-# $Id$
-#
use Cwd;
use File::Path;
View
2 ip_options
@@ -10,8 +10,6 @@
#
############################################################################
#
-# $Id$
-#
# <option value> <length (-1 for variable)> <ipopts argument> <description>
0 1 eol End of options list
View
2 kmsgsd.c
@@ -28,8 +28,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
******************************************************************************
-*
-* $Id$
*/
/* includes */
View
10 nf2csv
@@ -32,16 +32,11 @@
#
###########################################################################
#
-# $Id: nf2csv 1800 2006-12-10 04:51:40Z mbr $
-#
use Getopt::Long 'GetOptions';
use strict;
my $version = '2.1.8-pre2';
-my $revision_svn = '$Revision$';
-my $rev_num = '1';
-($rev_num) = $revision_svn =~ m|\$Rev.*:\s+(\S+)|;
### regex to match an ip address
my $ip_re = qr|(?:[0-2]?\d{1,2}\.){3}[0-2]?\d{1,2}|;
@@ -122,8 +117,7 @@ Getopt::Long::Configure('no_ignore_case');
### Print the version number and exit if -V given on the command line.
if ($print_ver) {
- print "[+] psad v$version (file revision: $rev_num)\n",
- " by Michael Rash <mbr\@cipherdyne.org>\n";
+ print "[+] psad v$version by Michael Rash <mbr\@cipherdyne.org>\n";
exit 0;
}
@@ -523,7 +517,7 @@ sub usage() {
print <<_HELP_;
nf2csv
-[+] Version: $version (file revision: $rev_num)
+[+] Version: $version
[+] By Michael Rash (mbr\@cipherdyne.org, http://www.cipherdyne.org)
Usage: nf2csv [options]
View
2 packaging/cd_rpmbuilder
@@ -25,8 +25,6 @@
#
#############################################################################
#
-# $Id: cd_rpmbuilder 1864 2008-08-22 03:16:19Z mbr $
-#
use File::Find;
use File::Copy;
View
2 packaging/psad-nobuildreqs.spec
@@ -6,8 +6,6 @@
%define psadrundir /var/run/psad
%define psadvarlibdir /var/lib/psad
-### $Id: psad.spec 2253 2009-02-21 04:29:50Z mbr $
-
### get the first @INC directory that includes the string "linux".
### This may be 'i386-linux', or 'i686-linux-thread-multi', etc.
%define psadmoddir `perl -e '$path='i386-linux'; for (@INC) { if($_ =~ m|.*/(.*linux.*)|) {$path = $1; last; }} print $path'`
View
2 packaging/psad-nodeps.spec
@@ -5,8 +5,6 @@
%define psadrundir /var/run/psad
%define psadvarlibdir /var/lib/psad
-### $Id: psad.spec 2186 2008-06-07 15:52:37Z mbr $
-
Summary: psad analyzes iptables log messages for suspect traffic
Name: %name
Version: %version
View
2 packaging/psad.spec
@@ -6,8 +6,6 @@
%define psadrundir /var/run/psad
%define psadvarlibdir /var/lib/psad
-### $Id$
-
### get the first @INC directory that includes the string "linux".
### This may be 'i386-linux', or 'i686-linux-thread-multi', etc.
%define psadmoddir `perl -e '$path='i386-linux'; for (@INC) { if($_ =~ m|.*/(.*linux.*)|) {$path = $1; last; }} print $path'`
View
2 parsetest.pl
@@ -30,8 +30,6 @@
#
#####################################################################
#
-# $Id$
-#
use strict;
View
2 posf
@@ -6,8 +6,6 @@
#
###############################################################################
#
-# $Id$
-#
### Linux 2.2
OS Linux (2.2.x kernel);
View
18 psad
@@ -129,8 +129,6 @@
#
###############################################################################
#
-# $Id$
-#
### modules used by psad
use File::Copy;
@@ -147,9 +145,6 @@ use strict;
### set the current psad version and file revision numbers
my $version = '2.1.8-pre2';
-my $revision_svn = '$Revision$';
-my $rev_num = '1';
-($rev_num) = $revision_svn =~ m|\$Rev.*:\s+(\S+)|;
### default config file for psad (can be changed with
### --config switch)
@@ -6997,7 +6992,7 @@ sub csv_mode() {
sub gnuplot_header() {
my @lines = ();
push @lines, '#', '#'x$num_hash_marks, '#',
- "# Generated by psad v$version (file revision: $rev_num)",
+ "# Generated by psad v$version",
"# Command line: 'psad @args_cp'",
"# Time stamp: " . localtime(),
'#', '#'x$num_hash_marks, '#', '';
@@ -9402,7 +9397,7 @@ sub dump_conf() {
}
print $fh "\n";
- print $fh "\n[+] psad v$version (file revision: $rev_num)\n\n";
+ print $fh "\n[+] psad v$version\n\n";
my $install_log = '/var/log/psad/install.log';
if (-e $install_log) {
print $fh "[+] $install_log exists.\n\n";
@@ -9804,8 +9799,8 @@ sub send_mail() {
sub print_sys_msg() {
my ($msg, $file) = @_;
open F, ">> $file" or die "[*] Could not open $file: $!";
- print F scalar localtime(), " psad v$version (file ",
- "rev: $rev_num) pid: $$ $msg";
+ print F scalar localtime(), " psad v$version ",
+ "pid: $$ $msg";
close F;
return;
}
@@ -9973,8 +9968,7 @@ sub getopt_wrapper() {
### Print the version number and exit if -V given on the command line.
if ($print_ver) {
- print "[+] psad v$version (file revision: $rev_num)\n",
- " by Michael Rash <mbr\@cipherdyne.org>\n";
+ print "[+] psad v$version by Michael Rash <mbr\@cipherdyne.org>\n";
exit 0;
}
return;
@@ -10036,7 +10030,7 @@ sub usage() {
psad: the Port Scan Attack Detector
-[+] Version: $version (file revision: $rev_num)
+[+] Version: $version
By Michael Rash (mbr\@cipherdyne.org)
URL: http://www.cipherdyne.org/psad/
View
2 psad.conf
@@ -13,8 +13,6 @@
#
##############################################################################
#
-# $Id$
-#
### Supports multiple email addresses (as a comma separated
### list).
View
2 psad.h
@@ -26,8 +26,6 @@
* USA
*
********************************************************************************
-*
-* $Id$
*/
#ifndef __PSAD_H__
View
2 psad_funcs.c
@@ -26,8 +26,6 @@
* USA
*
********************************************************************************
-*
-* $Id$
*/
/* includes */
View
2 psadwatchd.c
@@ -28,8 +28,6 @@
* USA
*
*****************************************************************************
-*
-* $Id$
*/
/* includes */
View
2 pscan
@@ -18,8 +18,6 @@
#
#####################################################################
#
-# $Id$
-#
use Socket;
use Getopt::Long;
View
2 signatures
@@ -26,8 +26,6 @@
#
##############################################################################
#
-# $Id$
-#
### snmp.rules
alert tcp $EXTERNAL_NET any -> $HOME_NET 705 (msg:"SNMP AgentX/tcp request"; flags:S; reference:bugtraq,4088; reference:bugtraq,4089; reference:bugtraq,4132; reference:cve,2002-0012; reference:cve,2002-0013; classtype:attempted-recon; sid:1421; psad_id:100001; psad_dl:2;)
View
2 snort_compat.pl
@@ -48,8 +48,6 @@
#
###############################################################################
#
-# $Id$
-#
use Data::Dumper;
use strict;
View
2 snort_rule_dl
@@ -11,8 +11,6 @@
#
#############################################################################
#
-# $Id$
-#
### The following example illustrates the syntax for Snort SID 2284
#2284 3;

0 comments on commit 7124ec8

Please sign in to comment.
Something went wrong with that request. Please try again.