CVS log for snort/contrib/Attic/create_mysql

(logo)

Help

(back) Up to [cvs] / snort / contrib

Request diff between arbitrary revisions


Default branch: MAIN
Bookmark a link to: HEAD / (download)

Revision 1.17.10.1 , Wed Nov 10 23:44:25 2004 UTC (4 years, 7 months ago) by jhewlett
Branch: SNORT_2_3
Changes since 1.17: +0 -0 lines
FILE REMOVED
* Actually removing from 2.3 branch now.

Revision 1.18 , Wed Nov 10 23:20:31 2004 UTC (4 years, 7 months ago) by jhewlett
Branch: MAIN
CVS Tags: HEAD
Changes since 1.17: +0 -0 lines
FILE REMOVED
* Removed obsolete contribs, relocated to www.snort.org

Revision 1.17 / (view) - annotate - [select for diffs] , Tue Sep 3 20:46:00 2002 UTC (6 years, 10 months ago) by danyliw
Branch: MAIN
CVS Tags: version-2-1-0, version-2-0-6, version-2-0-5, version-2-0-2, version-2-0-1, version-2-0-0, version-1-9-1, version-1-9-0, cmg, SNORT_v2_2_0-RC1, SNORT_v2_2_0, SNORT_v2_1_3-RC1, SNORT_v2_1_3, SNORT_v2_1_2, SNORT_v2_1_1-RC1, SNORT_v2_1_1, SNORT_v2_1_0, SNORT_2_2, SNORT_2_1, SNORT_2_0, SNORT_1_9, CMG
Branch point for: SNORT_2_3
Changes since 1.16: +8 -5 lines
Diff to previous 1.16
- DB schema v106
- Added the sensor.last_cid field to the schema so the
  database can store the last used cid for a given sensor.
  This field will ensure that a cid will never be reused.
- Improved error messages

Revision 1.16 / (view) - annotate - [select for diffs] , Thu Feb 28 22:12:18 2002 UTC (7 years, 4 months ago) by chrisgreen
Branch: MAIN
CVS Tags: beta-1_9_0-beta6, beta-1_9_0-beta5, beta-1_9_0-beta4, beta-1_9_0-beta2
Changes since 1.15: +1 -1 lines
Diff to previous 1.15
* updated changes to db stuff from Roman
* updated BUILD #
* strncat in sp_reference
* opts[1] fix to plugin args passing

Revision 1.15.2.1 / (view) - annotate - [select for diffs] , Thu Feb 28 20:22:56 2002 UTC (7 years, 4 months ago) by danyliw
Branch: SNORT_1_8
CVS Tags: version1-8-7-release, version1-8-1release
Changes since 1.15: +1 -1 lines
Diff to previous 1.15 to next main 1.16
+ DB schema version 105
+ native DATE support in Oracle for timestamps (Chad Kreimendahl)

Revision 1.15 / (view) - annotate - [select for diffs] , Wed Sep 26 03:42:39 2001 UTC (7 years, 9 months ago) by jpickel
Branch: MAIN
Branch point for: SNORT_1_8
Changes since 1.14: +2 -2 lines
Diff to previous 1.14
Patch from (Roman Danyliw <roman@danyliw.com>)
+ enlarged the reference.reg_tag field to 100 characters.

- patch altered: changed to "TEXT" where available, left "VARCHAR(100)"
                 where not
- note that the schema version has changed to 1.04

Revision 1.14 / (view) - annotate - [select for diffs] , Fri Aug 3 18:51:38 2001 UTC (7 years, 11 months ago) by jpickel
Branch: MAIN
Changes since 1.13: +1 -1 lines
Diff to previous 1.13
Small fix in create_mysql that prevents older versions of mysql from
complaining about indexing a NULL column.

Revision 1.13 / (view) - annotate - [select for diffs] , Fri Jun 15 21:00:26 2001 UTC (8 years ago) by jpickel
Branch: MAIN
Changes since 1.12: +6 -28 lines
Diff to previous 1.12
XML Plugin
+ added support for priority, rev, sid, and classification
+ updated /contrib/snml.dtd to version 1.03

Database Plugin
+ introduce schema v103
+ removed support for schema v0, v100-v102 in database plug-in
+ removed duplicate logging of IP addresses as 4-byte octets
+ removed classification level priorities
+ removed classification description from schema
+ removed hard-coded classifications from the create_* scripts.
  Classification information is now logged like a reference;
  on the first instance of a rule, log its classification
+ added support for the 'priority', 'rev', 'sid' rule options

Revision 1.12 / (view) - annotate - [select for diffs] , Sat May 12 00:34:07 2001 UTC (8 years, 1 month ago) by jpickel
Branch: MAIN
Changes since 1.11: +29 -4 lines
Diff to previous 1.11
* Patch from Roman to support classifications in the database
* Update to create_mysql and create_postgresql to include classifications
* Bug fix for handling rules with no layer 4 content

Note that after the 1.8 release all future versions of the create_*
scripts will not include static INSERT statements for classification
data; rather we will handle this with a script that reads
"classification.config" and generates the proper INSERT statements.

Revision 1.11 / (view) - annotate - [select for diffs] , Mon May 7 19:13:20 2001 UTC (8 years, 1 month ago) by jpickel
Branch: MAIN
Changes since 1.10: +1 -1 lines
Diff to previous 1.10
Patch from Roman Danyliw to
* Update schema version number
* Change signature column to int4 in create_postgresql

Revision 1.10 / (view) - annotate - [select for diffs] , Fri Mar 16 23:49:51 2001 UTC (8 years, 3 months ago) by jpickel
Branch: MAIN
Changes since 1.9: +28 -4 lines
Diff to previous 1.9
database patch from Roman Danyliw <roman@danyliw.com>

+ added support for the 'reference' tag in the rules
+ normalization of the signature in the DB schema
+ embedding the schema version number in the schema itself
+ updated the DDL create_* scripts to reflect the updated structure

- temporarily removed support for the DELAYED clause in MySQL inserts
  (it was interferring with some of the code with the reference tags.
   Further investigation will be needed)

Revision 1.9 / (view) - annotate - [select for diffs] , Wed Aug 30 20:46:39 2000 UTC (8 years, 10 months ago) by jpickel
Branch: MAIN
Changes since 1.8: +4 -4 lines
Diff to previous 1.8
Changed all checksum fields to short ints instead of long ints.

Revision 1.8 / (view) - annotate - [select for diffs] , Mon Aug 28 21:51:36 2000 UTC (8 years, 10 months ago) by jpickel
Branch: MAIN
Changes since 1.7: +4 -4 lines
Diff to previous 1.7
Fixed a couple sizes for checksum fields. They were smallints: they were
changed to long ints.

Revision 1.7 / (view) - annotate - [select for diffs] , Thu Aug 24 23:52:25 2000 UTC (8 years, 10 months ago) by jpickel
Branch: MAIN
Changes since 1.6: +40 -14 lines
Diff to previous 1.6
Makefile.in

* Committed Makefile.in because it was out of sync with Makefile.am. This
  was one of the build problems people have had in the past 24 hours.

plugbase.c/plugbase.h

* Added hex() function. This converts a bunch of bytes into a hex string.
  It is used for database logging, and I will add this functionality to
  the xml plugin as well.
* Added escaping for the ascii character ' in the ascii() function

spo_log_database.c/spo_log_database.h

* Added "encoding" option so you can select hex, base64, or ascii for
  logging binary data
* Added the "detail" option so you can choose between full and fast
  logging. Fast logs to only a subset of the fields where full loggs
  all of the fields.
* Fixed the full logging of tcp fields. I noticed this morning that
  I negleted to add all of the fields for the commit I made yesterday.
* Added encoding and detail to sensor table queries
* Added hex binary logging support

create_mysql / create_postgresql

* Added detail and encoding to sensor table
* Slightly changed the data table to make more sense with new binary
  encoding option
* Added encoding and detail lookup tables

Revision 1.6 / (view) - annotate - [select for diffs] , Thu Aug 24 03:26:18 2000 UTC (8 years, 10 months ago) by jpickel
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5
spo_log_database.c
  Fixed time issue --- now it logs the time reported by libpcap instead
   of now() so you can effectively insert packets replayed from a
   tcpdump file.
  Fixed udp and icmp inserts -- they were failing based on the code
   submitted in the last commit.

create_mysql / create_postgresql
  Changed a couple fields in icmphdr from tinyints to smallints. They
   were previously a typo.

Revision 1.5 / (view) - annotate - [select for diffs] , Wed Aug 23 22:25:03 2000 UTC (8 years, 10 months ago) by jpickel
Branch: MAIN
Changes since 1.4: +62 -31 lines
Diff to previous 1.4
This commit includes an updated version of the database plugin.
The database format has been updated to include all possible
fields in ip, tcp, udp, or icmp headers. This includes ip and
tcp options and data payload. Payload is logged as either base64
or ascii depending on wether the user enters the -d and/or -C
command line switches.

IP addresses are currently represented as both one four byte int
and four one byte ints. I plan to phase out the four one byte
ints before the next official release.

There is also a one liner fix for the xml plugin in here that
caused a coredump when DEBUG was defined.

Revision 1.4 / (view) - annotate - [select for diffs] , Wed Aug 9 20:31:47 2000 UTC (8 years, 10 months ago) by jpickel
Branch: MAIN
Changes since 1.3: +1 -0 lines
Diff to previous 1.3
This is a test to see if the mailing list for CVS commits is working.
There is no functional change to create_mysql. I just added a \n on
the last line.

Revision 1.3 / (view) - annotate - [select for diffs] , Wed Aug 9 02:54:39 2000 UTC (8 years, 10 months ago) by jpickel
Branch: MAIN
Changes since 1.2: +0 -1 lines
Diff to previous 1.2
This is another test to see if the cvsinfo mailinglist is working.
There is no functional change to the code.

Revision 1.2 / (view) - annotate - [select for diffs] , Mon Aug 7 22:54:32 2000 UTC (8 years, 10 months ago) by jpickel
Branch: MAIN
Changes since 1.1: +1 -0 lines
Diff to previous 1.1
This is just a test to ensure everything is working correctly as far
as commit access to the CVS tree goes. This is also a test to see if
the mailing list that reports changes in CVS is working.

I just added a \n on the last line in this file so it would be
different.

* Jed

Revision 1.1.1.1 / (view) - annotate - [select for diffs] (vendor branch) , Mon Aug 7 02:42:47 2000 UTC (8 years, 10 months ago) by roesch
Branch: vendor
CVS Tags: start
Changes since 1.1: +0 -0 lines
Diff to previous 1.1
Initial Import


Revision 1.1 / (view) - annotate - [select for diffs] , Mon Aug 7 02:42:47 2000 UTC (8 years, 10 months ago) by roesch
Branch: MAIN
Initial revision

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Diffs between and
Type of Diff should be a

View only Branch:
Sort log by:

snort-team@sourcefire.com