diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1b03457c90..10b68d5bce 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,6 +2,17 @@ # See https://pre-commit.com/hooks.html for more hooks # repos: +- repo: local + hooks: + - id: license + name: Check for license headers + entry: ./ci/license-header.py + language: python + types_or: + - "c" + - "c++" + exclude: '^(testing/btest/plugins/.*|testing/builtin-plugins/.*)$' + - repo: https://github.com/pre-commit/mirrors-clang-format rev: 'v19.1.4' hooks: diff --git a/CHANGES b/CHANGES index f2264a16f4..6ce7b8d0bb 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,14 @@ +7.1.0-dev.720 | 2024-12-09 12:22:44 -0700 + + * Add missing copyright line to headers and cc files (Arne Welzel, Corelight) + + * pre-commit: Add license-header check inspired by Spicy (Arne Welzel, Corelight) + + * Add missing "COPYING" in file comments (Arne Welzel, Corelight) + + This was just done via sed. There's a number of files that don't + have a license entry at all. + 7.1.0-dev.716 | 2024-12-09 12:15:46 -0700 * BTest baseline updates for compile-to-C++ (Vern Paxson, Corelight) diff --git a/VERSION b/VERSION index 1757809c63..2f27e8c4aa 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -7.1.0-dev.716 +7.1.0-dev.720 diff --git a/ci/license-header.py b/ci/license-header.py new file mode 100755 index 0000000000..2af95aba0c --- /dev/null +++ b/ci/license-header.py @@ -0,0 +1,36 @@ +#!/usr/bin/env python3 + +import sys +import re + +exit_code = 0 + +pat1 = re.compile(r"See the file \"COPYING\" in the main distribution directory for copyright.") + +# This is the copyright line used within Spicy plugin and popular in +# Spicy analyzers. +pat2 = re.compile(r"Copyright \(c\) 2... by the Zeek Project. See COPYING for details.") + + +def match_line(line): + for pat in [pat1, pat2]: + m = pat.search(line) + if m is not None: + return True + + return False + + +for f in sys.argv[1:]: + has_license_header = False + with open(f) as fp: + for line in fp: + line = line.strip() + if has_license_header := match_line(line): + break + + if not has_license_header: + print(f"{f}:does not seem to contain a license header", file=sys.stderr) + exit_code = 1 + +sys.exit(exit_code) diff --git a/src/Anon.cc b/src/Anon.cc index 82fbd51f15..022778c9c0 100644 --- a/src/Anon.cc +++ b/src/Anon.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/Anon.h" #include diff --git a/src/Anon.h b/src/Anon.h index 454a47ca32..419a2afcf7 100644 --- a/src/Anon.h +++ b/src/Anon.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // The prefix-preserving IP address anonymization code is largely // based on (and sometimes directly copied from) Eddie Kohler's // ipsumdump-1.20 code, per: diff --git a/src/Base64.cc b/src/Base64.cc index 56d1433317..fbc6ad1eab 100644 --- a/src/Base64.cc +++ b/src/Base64.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/Base64.h" #include "zeek/zeek-config.h" diff --git a/src/Base64.h b/src/Base64.h index a6e258d05d..dd74d35c14 100644 --- a/src/Base64.h +++ b/src/Base64.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include "zeek/zeek-config.h" diff --git a/src/DNS_Mapping.cc b/src/DNS_Mapping.cc index daed31eb23..3fa14b4e93 100644 --- a/src/DNS_Mapping.cc +++ b/src/DNS_Mapping.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/DNS_Mapping.h" #include diff --git a/src/DNS_Mapping.h b/src/DNS_Mapping.h index 7aadfb6355..c2108107e3 100644 --- a/src/DNS_Mapping.h +++ b/src/DNS_Mapping.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include diff --git a/src/DbgBreakpoint.cc b/src/DbgBreakpoint.cc index fe833493f3..5d75cc1cc2 100644 --- a/src/DbgBreakpoint.cc +++ b/src/DbgBreakpoint.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // Implementation of breakpoints. #include "zeek/DbgBreakpoint.h" diff --git a/src/DbgBreakpoint.h b/src/DbgBreakpoint.h index bca79f5498..bf0aae016d 100644 --- a/src/DbgBreakpoint.h +++ b/src/DbgBreakpoint.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // Structures and methods for implementing breakpoints in the Zeek debugger. #pragma once diff --git a/src/DbgDisplay.h b/src/DbgDisplay.h index 8e79a5d736..1e36295aea 100644 --- a/src/DbgDisplay.h +++ b/src/DbgDisplay.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // Structures and methods for implementing watches in the Zeek debugger. #pragma once diff --git a/src/DbgHelp.cc b/src/DbgHelp.cc index 7f346b9a14..8ffec2054f 100644 --- a/src/DbgHelp.cc +++ b/src/DbgHelp.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // Zeek Debugger Help #include "zeek/zeek-config.h" diff --git a/src/DbgWatch.cc b/src/DbgWatch.cc index fd8700bd6e..daa865f2b5 100644 --- a/src/DbgWatch.cc +++ b/src/DbgWatch.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // Implementation of watches #include "zeek/DbgWatch.h" diff --git a/src/DbgWatch.h b/src/DbgWatch.h index 93c12f6e38..e5ba83e3d2 100644 --- a/src/DbgWatch.h +++ b/src/DbgWatch.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // Structures and methods for implementing watches in the Zeek debugger. #pragma once diff --git a/src/Debug.cc b/src/Debug.cc index 66e11b5e50..9f1a9b28b2 100644 --- a/src/Debug.cc +++ b/src/Debug.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // Debugging support for Zeek policy files. #include "zeek/Debug.h" diff --git a/src/Debug.h b/src/Debug.h index 34cd81542b..4f04bc0898 100644 --- a/src/Debug.h +++ b/src/Debug.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // Debugging support for Zeek policy files. #pragma once diff --git a/src/DebugCmds.cc b/src/DebugCmds.cc index 0cb510b18c..dd5c41b3f7 100644 --- a/src/DebugCmds.cc +++ b/src/DebugCmds.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // Support routines to help deal with Zeek debugging commands and // implementation of most commands. diff --git a/src/DebugCmds.h b/src/DebugCmds.h index 5913b21144..9be4095eb5 100644 --- a/src/DebugCmds.h +++ b/src/DebugCmds.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // Support routines to help deal with Zeek debugging commands and // implementation of most commands. diff --git a/src/DebugLogger.cc b/src/DebugLogger.cc index 3feb37f8d0..6b586d5ab6 100644 --- a/src/DebugLogger.cc +++ b/src/DebugLogger.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #ifdef DEBUG #include "zeek/DebugLogger.h" diff --git a/src/DebugLogger.h b/src/DebugLogger.h index 4cfa7c9e32..63269443c9 100644 --- a/src/DebugLogger.h +++ b/src/DebugLogger.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // A logger for (selective) debugging output. Only compiled in if DEBUG is // defined. diff --git a/src/EventHandler.cc b/src/EventHandler.cc index a5701aa5fa..c375b3a3e1 100644 --- a/src/EventHandler.cc +++ b/src/EventHandler.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/EventHandler.h" #include "zeek/Desc.h" diff --git a/src/EventHandler.h b/src/EventHandler.h index 9291bda809..ce241f93c7 100644 --- a/src/EventHandler.h +++ b/src/EventHandler.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // Capsulates local and remote event handlers. #pragma once diff --git a/src/EventLauncher.cc b/src/EventLauncher.cc index e23517122b..44bdcec2a0 100644 --- a/src/EventLauncher.cc +++ b/src/EventLauncher.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/EventLauncher.h" #include "event.bif.func_def" diff --git a/src/EventLauncher.h b/src/EventLauncher.h index 4ce7cd6ad9..9595c63264 100644 --- a/src/EventLauncher.h +++ b/src/EventLauncher.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include "zeek/Conn.h" diff --git a/src/EventRegistry.cc b/src/EventRegistry.cc index b166546276..483ce88654 100644 --- a/src/EventRegistry.cc +++ b/src/EventRegistry.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/EventRegistry.h" #include diff --git a/src/EventRegistry.h b/src/EventRegistry.h index cbe9c622bf..727ba9eb0c 100644 --- a/src/EventRegistry.h +++ b/src/EventRegistry.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // Each event raised/handled by Zeek is registered in the EventRegistry. #pragma once diff --git a/src/EventTrace.h b/src/EventTrace.h index 8d391a01df..a9f7e28353 100644 --- a/src/EventTrace.h +++ b/src/EventTrace.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // Classes for tracing/dumping Zeek events. #pragma once diff --git a/src/IntSet.cc b/src/IntSet.cc index e2cac41798..6e661121a9 100644 --- a/src/IntSet.cc +++ b/src/IntSet.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/IntSet.h" #include "zeek/zeek-config.h" diff --git a/src/IntSet.h b/src/IntSet.h index 73c37a180d..a92ea2a0d2 100644 --- a/src/IntSet.h +++ b/src/IntSet.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // A simple but fast data structure for sets of integers. // Only supported operations are insert, remove and membership test. // diff --git a/src/List.cc b/src/List.cc index 690d144c69..6f29942f2a 100644 --- a/src/List.cc +++ b/src/List.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/List.h" #include "zeek/3rdparty/doctest.h" diff --git a/src/List.h b/src/List.h index 4db1ded1f3..b8351c5dc3 100644 --- a/src/List.h +++ b/src/List.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once // BaseList.h -- diff --git a/src/PacketFilter.cc b/src/PacketFilter.cc index 4fc771eec6..5fca22e5b7 100644 --- a/src/PacketFilter.cc +++ b/src/PacketFilter.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/PacketFilter.h" #include "zeek/IP.h" diff --git a/src/PacketFilter.h b/src/PacketFilter.h index 746cbe5946..76bef7b0cb 100644 --- a/src/PacketFilter.h +++ b/src/PacketFilter.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // Provides some very limited but fast packet filter mechanisms #pragma once diff --git a/src/PolicyFile.cc b/src/PolicyFile.cc index de82da11f0..b5e8662c65 100644 --- a/src/PolicyFile.cc +++ b/src/PolicyFile.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/PolicyFile.h" #include "zeek/zeek-config.h" diff --git a/src/PolicyFile.h b/src/PolicyFile.h index 91b3db5c13..be6f75c083 100644 --- a/src/PolicyFile.h +++ b/src/PolicyFile.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once // Functions for displaying the contents of policy files. diff --git a/src/PrefixTable.cc b/src/PrefixTable.cc index 9de77efa20..bc975c8fa4 100644 --- a/src/PrefixTable.cc +++ b/src/PrefixTable.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/PrefixTable.h" #include "zeek/Reporter.h" diff --git a/src/PrefixTable.h b/src/PrefixTable.h index 5a4532f136..343ff8539f 100644 --- a/src/PrefixTable.h +++ b/src/PrefixTable.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once extern "C" { diff --git a/src/RandTest.cc b/src/RandTest.cc index 23f409f7a7..3e94dd5556 100644 --- a/src/RandTest.cc +++ b/src/RandTest.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + /* Apply various randomness tests to a stream of bytes diff --git a/src/RandTest.h b/src/RandTest.h index 0a8b0f7485..6862e78504 100644 --- a/src/RandTest.h +++ b/src/RandTest.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include "zeek/zeek-config.h" diff --git a/src/Rule.cc b/src/Rule.cc index bfc00bdc6e..523ed5a61f 100644 --- a/src/Rule.cc +++ b/src/Rule.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/Rule.h" #include "zeek/zeek-config.h" diff --git a/src/Rule.h b/src/Rule.h index 5481d3d57b..7d91893260 100644 --- a/src/Rule.h +++ b/src/Rule.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include diff --git a/src/RuleAction.cc b/src/RuleAction.cc index db58b5c838..0e99cdc4c4 100644 --- a/src/RuleAction.cc +++ b/src/RuleAction.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/RuleAction.h" #include "zeek/zeek-config.h" diff --git a/src/RuleAction.h b/src/RuleAction.h index ed6ed064a7..5dbe688155 100644 --- a/src/RuleAction.h +++ b/src/RuleAction.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include // for u_char diff --git a/src/RuleCondition.cc b/src/RuleCondition.cc index 180b30b472..a888d53e53 100644 --- a/src/RuleCondition.cc +++ b/src/RuleCondition.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/RuleCondition.h" #include "zeek/zeek-config.h" diff --git a/src/RuleCondition.h b/src/RuleCondition.h index cd4331c5e3..f49e6661d2 100644 --- a/src/RuleCondition.h +++ b/src/RuleCondition.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include // for u_char diff --git a/src/RuleMatcher.cc b/src/RuleMatcher.cc index ef3860748f..4ef2211de4 100644 --- a/src/RuleMatcher.cc +++ b/src/RuleMatcher.cc @@ -1,3 +1,4 @@ +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/RuleMatcher.h" diff --git a/src/RuleMatcher.h b/src/RuleMatcher.h index 9f7e40e665..6f801645ba 100644 --- a/src/RuleMatcher.h +++ b/src/RuleMatcher.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include // for u_char diff --git a/src/ScannedFile.cc b/src/ScannedFile.cc index 44a6ddac30..f6a5aa83cc 100644 --- a/src/ScannedFile.cc +++ b/src/ScannedFile.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/ScannedFile.h" #include diff --git a/src/ScriptCoverageManager.cc b/src/ScriptCoverageManager.cc index 0b9e9c1f79..8603fb2755 100644 --- a/src/ScriptCoverageManager.cc +++ b/src/ScriptCoverageManager.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/ScriptCoverageManager.h" #include diff --git a/src/ScriptCoverageManager.h b/src/ScriptCoverageManager.h index b61a21f6aa..fe7886a969 100644 --- a/src/ScriptCoverageManager.h +++ b/src/ScriptCoverageManager.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include diff --git a/src/ScriptValidation.cc b/src/ScriptValidation.cc index 1510e1f53a..cc2bf69092 100644 --- a/src/ScriptValidation.cc +++ b/src/ScriptValidation.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/ScriptValidation.h" #include "zeek/Func.h" diff --git a/src/SerializationFormat.cc b/src/SerializationFormat.cc index 69679ab304..8f0bb88198 100644 --- a/src/SerializationFormat.cc +++ b/src/SerializationFormat.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/SerializationFormat.h" #include diff --git a/src/SerializationFormat.h b/src/SerializationFormat.h index c80f65e5d0..6f18aae740 100644 --- a/src/SerializationFormat.h +++ b/src/SerializationFormat.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // Implements different data formats for serialization. #pragma once diff --git a/src/Stats.cc b/src/Stats.cc index 7b776b0138..c4e14d9561 100644 --- a/src/Stats.cc +++ b/src/Stats.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/Stats.h" #include diff --git a/src/Stats.h b/src/Stats.h index 563e067684..129f047420 100644 --- a/src/Stats.h +++ b/src/Stats.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // Classes that collect and report statistics. #pragma once diff --git a/src/Trigger.cc b/src/Trigger.cc index 09718a99f4..eacf631bf9 100644 --- a/src/Trigger.cc +++ b/src/Trigger.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/Trigger.h" #include diff --git a/src/Trigger.h b/src/Trigger.h index 0cba28fd20..ad9929f238 100644 --- a/src/Trigger.h +++ b/src/Trigger.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include diff --git a/src/WeirdState.cc b/src/WeirdState.cc index de8f331eff..014676b3af 100644 --- a/src/WeirdState.cc +++ b/src/WeirdState.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/WeirdState.h" #include "zeek/RunState.h" diff --git a/src/ZeekArgs.cc b/src/ZeekArgs.cc index 6cc6785519..2efb8079b4 100644 --- a/src/ZeekArgs.cc +++ b/src/ZeekArgs.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/ZeekArgs.h" #include "zeek/Desc.h" diff --git a/src/analyzer/protocol/bittorrent/BitTorrent.cc b/src/analyzer/protocol/bittorrent/BitTorrent.cc index 0ae0e2888a..de9256b8f6 100644 --- a/src/analyzer/protocol/bittorrent/BitTorrent.cc +++ b/src/analyzer/protocol/bittorrent/BitTorrent.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // This code contributed by Nadi Sarrar. #include "zeek/analyzer/protocol/bittorrent/BitTorrent.h" diff --git a/src/analyzer/protocol/bittorrent/BitTorrent.h b/src/analyzer/protocol/bittorrent/BitTorrent.h index 6616ad3195..82186b3da1 100644 --- a/src/analyzer/protocol/bittorrent/BitTorrent.h +++ b/src/analyzer/protocol/bittorrent/BitTorrent.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // This code contributed by Nadi Sarrar. #pragma once diff --git a/src/analyzer/protocol/bittorrent/BitTorrentTracker.cc b/src/analyzer/protocol/bittorrent/BitTorrentTracker.cc index dd35f0e17d..52fd6d23bf 100644 --- a/src/analyzer/protocol/bittorrent/BitTorrentTracker.cc +++ b/src/analyzer/protocol/bittorrent/BitTorrentTracker.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // This code contributed by Nadi Sarrar. #include "zeek/analyzer/protocol/bittorrent/BitTorrentTracker.h" diff --git a/src/analyzer/protocol/bittorrent/BitTorrentTracker.h b/src/analyzer/protocol/bittorrent/BitTorrentTracker.h index 44768cda26..6f8812506a 100644 --- a/src/analyzer/protocol/bittorrent/BitTorrentTracker.h +++ b/src/analyzer/protocol/bittorrent/BitTorrentTracker.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // This code contributed by Nadi Sarrar. #pragma once diff --git a/src/analyzer/protocol/bittorrent/Plugin.cc b/src/analyzer/protocol/bittorrent/Plugin.cc index 2625a4268a..b36bb9c64d 100644 --- a/src/analyzer/protocol/bittorrent/Plugin.cc +++ b/src/analyzer/protocol/bittorrent/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/conn-size/Plugin.cc b/src/analyzer/protocol/conn-size/Plugin.cc index 38b96332f3..512fa71330 100644 --- a/src/analyzer/protocol/conn-size/Plugin.cc +++ b/src/analyzer/protocol/conn-size/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/dce-rpc/Plugin.cc b/src/analyzer/protocol/dce-rpc/Plugin.cc index 5a70f5dd50..da2250adac 100644 --- a/src/analyzer/protocol/dce-rpc/Plugin.cc +++ b/src/analyzer/protocol/dce-rpc/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/dhcp/DHCP.cc b/src/analyzer/protocol/dhcp/DHCP.cc index ff9d669ae0..0b49486dea 100644 --- a/src/analyzer/protocol/dhcp/DHCP.cc +++ b/src/analyzer/protocol/dhcp/DHCP.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/analyzer/protocol/dhcp/DHCP.h" #include "zeek/analyzer/protocol/dhcp/events.bif.h" diff --git a/src/analyzer/protocol/dhcp/DHCP.h b/src/analyzer/protocol/dhcp/DHCP.h index c70306fd5c..10a3e3c60b 100644 --- a/src/analyzer/protocol/dhcp/DHCP.h +++ b/src/analyzer/protocol/dhcp/DHCP.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include "analyzer/protocol/dhcp/dhcp_pac.h" diff --git a/src/analyzer/protocol/dhcp/Plugin.cc b/src/analyzer/protocol/dhcp/Plugin.cc index d4c5a42d01..424f9d3a19 100644 --- a/src/analyzer/protocol/dhcp/Plugin.cc +++ b/src/analyzer/protocol/dhcp/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/dnp3/DNP3.cc b/src/analyzer/protocol/dnp3/DNP3.cc index 7024c316cd..5da3719b26 100644 --- a/src/analyzer/protocol/dnp3/DNP3.cc +++ b/src/analyzer/protocol/dnp3/DNP3.cc @@ -1,4 +1,5 @@ -// +// See the file "COPYING" in the main distribution directory for copyright. + // DNP3 was initially used over serial links; it defined its own application // layer, transport layer, and data link layer. This hierarchy cannot be // mapped to the TCP/IP stack directly. As a result, all three DNP3 layers diff --git a/src/analyzer/protocol/dnp3/DNP3.h b/src/analyzer/protocol/dnp3/DNP3.h index e904bcc681..75007302b5 100644 --- a/src/analyzer/protocol/dnp3/DNP3.h +++ b/src/analyzer/protocol/dnp3/DNP3.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include "zeek/analyzer/protocol/tcp/TCP.h" diff --git a/src/analyzer/protocol/dnp3/Plugin.cc b/src/analyzer/protocol/dnp3/Plugin.cc index eb0def9eb4..d9a2ad6713 100644 --- a/src/analyzer/protocol/dnp3/Plugin.cc +++ b/src/analyzer/protocol/dnp3/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/dns/Plugin.cc b/src/analyzer/protocol/dns/Plugin.cc index e5d57661ff..e57c076acd 100644 --- a/src/analyzer/protocol/dns/Plugin.cc +++ b/src/analyzer/protocol/dns/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/file/File.cc b/src/analyzer/protocol/file/File.cc index a569a00cdf..f3af1e2afd 100644 --- a/src/analyzer/protocol/file/File.cc +++ b/src/analyzer/protocol/file/File.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/analyzer/protocol/file/File.h" #include diff --git a/src/analyzer/protocol/file/File.h b/src/analyzer/protocol/file/File.h index d9073a6710..590ad01062 100644 --- a/src/analyzer/protocol/file/File.h +++ b/src/analyzer/protocol/file/File.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // Analyzer for connections that transfer binary data. #pragma once diff --git a/src/analyzer/protocol/file/Plugin.cc b/src/analyzer/protocol/file/Plugin.cc index d107cf8a10..eb851aa570 100644 --- a/src/analyzer/protocol/file/Plugin.cc +++ b/src/analyzer/protocol/file/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/finger/legacy/Plugin.cc b/src/analyzer/protocol/finger/legacy/Plugin.cc index 8f10c0e525..69e271999a 100644 --- a/src/analyzer/protocol/finger/legacy/Plugin.cc +++ b/src/analyzer/protocol/finger/legacy/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/ftp/Plugin.cc b/src/analyzer/protocol/ftp/Plugin.cc index 8c255e8029..3f8c01760e 100644 --- a/src/analyzer/protocol/ftp/Plugin.cc +++ b/src/analyzer/protocol/ftp/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/gnutella/Plugin.cc b/src/analyzer/protocol/gnutella/Plugin.cc index f6ce79611c..c6526730b5 100644 --- a/src/analyzer/protocol/gnutella/Plugin.cc +++ b/src/analyzer/protocol/gnutella/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/gssapi/Plugin.cc b/src/analyzer/protocol/gssapi/Plugin.cc index a009e903bb..37136278c9 100644 --- a/src/analyzer/protocol/gssapi/Plugin.cc +++ b/src/analyzer/protocol/gssapi/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/http/Plugin.cc b/src/analyzer/protocol/http/Plugin.cc index a0753df0b8..fdd7b953d0 100644 --- a/src/analyzer/protocol/http/Plugin.cc +++ b/src/analyzer/protocol/http/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/ident/Plugin.cc b/src/analyzer/protocol/ident/Plugin.cc index 9e432412e2..60cf0d04d7 100644 --- a/src/analyzer/protocol/ident/Plugin.cc +++ b/src/analyzer/protocol/ident/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/imap/Plugin.cc b/src/analyzer/protocol/imap/Plugin.cc index 32b1bde50f..b55e3a72e5 100644 --- a/src/analyzer/protocol/imap/Plugin.cc +++ b/src/analyzer/protocol/imap/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/irc/IRC.cc b/src/analyzer/protocol/irc/IRC.cc index b82e1a8a36..a0b36b6c4b 100644 --- a/src/analyzer/protocol/irc/IRC.cc +++ b/src/analyzer/protocol/irc/IRC.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // An IRC analyzer contributed by Roland Gruber. #include "zeek/analyzer/protocol/irc/IRC.h" diff --git a/src/analyzer/protocol/irc/IRC.h b/src/analyzer/protocol/irc/IRC.h index 07dc39819f..7dc40178ee 100644 --- a/src/analyzer/protocol/irc/IRC.h +++ b/src/analyzer/protocol/irc/IRC.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // An IRC analyzer contributed by Roland Gruber. #pragma once diff --git a/src/analyzer/protocol/irc/Plugin.cc b/src/analyzer/protocol/irc/Plugin.cc index d1f323832a..d0d6a7950a 100644 --- a/src/analyzer/protocol/irc/Plugin.cc +++ b/src/analyzer/protocol/irc/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/krb/Plugin.cc b/src/analyzer/protocol/krb/Plugin.cc index 2cd808d6ab..7ec24f8b92 100644 --- a/src/analyzer/protocol/krb/Plugin.cc +++ b/src/analyzer/protocol/krb/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/login/Plugin.cc b/src/analyzer/protocol/login/Plugin.cc index c154ab9ba1..c61ffaffba 100644 --- a/src/analyzer/protocol/login/Plugin.cc +++ b/src/analyzer/protocol/login/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/mime/MIME.cc b/src/analyzer/protocol/mime/MIME.cc index e0773ee159..7a1180c5d8 100644 --- a/src/analyzer/protocol/mime/MIME.cc +++ b/src/analyzer/protocol/mime/MIME.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/analyzer/protocol/mime/MIME.h" #include "zeek/zeek-config.h" diff --git a/src/analyzer/protocol/mime/MIME.h b/src/analyzer/protocol/mime/MIME.h index 9b8ea9a7b2..c9079b3900 100644 --- a/src/analyzer/protocol/mime/MIME.h +++ b/src/analyzer/protocol/mime/MIME.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include diff --git a/src/analyzer/protocol/mime/Plugin.cc b/src/analyzer/protocol/mime/Plugin.cc index 3864f40b98..24e7557a2d 100644 --- a/src/analyzer/protocol/mime/Plugin.cc +++ b/src/analyzer/protocol/mime/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/modbus/Modbus.cc b/src/analyzer/protocol/modbus/Modbus.cc index 65ab10d2dc..0dad53ad62 100644 --- a/src/analyzer/protocol/modbus/Modbus.cc +++ b/src/analyzer/protocol/modbus/Modbus.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/analyzer/protocol/modbus/Modbus.h" #include "zeek/analyzer/protocol/modbus/events.bif.h" diff --git a/src/analyzer/protocol/modbus/Modbus.h b/src/analyzer/protocol/modbus/Modbus.h index 86b516d526..c365089984 100644 --- a/src/analyzer/protocol/modbus/Modbus.h +++ b/src/analyzer/protocol/modbus/Modbus.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include "zeek/analyzer/protocol/tcp/TCP.h" diff --git a/src/analyzer/protocol/modbus/Plugin.cc b/src/analyzer/protocol/modbus/Plugin.cc index cdf9b3e18d..38ef4801ac 100644 --- a/src/analyzer/protocol/modbus/Plugin.cc +++ b/src/analyzer/protocol/modbus/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/mqtt/MQTT.cc b/src/analyzer/protocol/mqtt/MQTT.cc index 795c3e0014..dc6ca77e3f 100644 --- a/src/analyzer/protocol/mqtt/MQTT.cc +++ b/src/analyzer/protocol/mqtt/MQTT.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/analyzer/protocol/mqtt/MQTT.h" diff --git a/src/analyzer/protocol/mqtt/MQTT.h b/src/analyzer/protocol/mqtt/MQTT.h index a4731dd59b..2818402b66 100644 --- a/src/analyzer/protocol/mqtt/MQTT.h +++ b/src/analyzer/protocol/mqtt/MQTT.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // Generated by binpac_quickstart #pragma once diff --git a/src/analyzer/protocol/mqtt/Plugin.cc b/src/analyzer/protocol/mqtt/Plugin.cc index b30abfaea8..be9771e4e3 100644 --- a/src/analyzer/protocol/mqtt/Plugin.cc +++ b/src/analyzer/protocol/mqtt/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/ncp/Plugin.cc b/src/analyzer/protocol/ncp/Plugin.cc index 29f40948ad..29e269d506 100644 --- a/src/analyzer/protocol/ncp/Plugin.cc +++ b/src/analyzer/protocol/ncp/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/netbios/Plugin.cc b/src/analyzer/protocol/netbios/Plugin.cc index e4cacc57fe..261ad40350 100644 --- a/src/analyzer/protocol/netbios/Plugin.cc +++ b/src/analyzer/protocol/netbios/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/ntlm/Plugin.cc b/src/analyzer/protocol/ntlm/Plugin.cc index 996bf8f013..ef3c1201ab 100644 --- a/src/analyzer/protocol/ntlm/Plugin.cc +++ b/src/analyzer/protocol/ntlm/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/ntp/NTP.cc b/src/analyzer/protocol/ntp/NTP.cc index f2225a7840..39e764ba36 100644 --- a/src/analyzer/protocol/ntp/NTP.cc +++ b/src/analyzer/protocol/ntp/NTP.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/analyzer/protocol/ntp/NTP.h" #include "zeek/Reporter.h" diff --git a/src/analyzer/protocol/ntp/NTP.h b/src/analyzer/protocol/ntp/NTP.h index 369a085b4b..2b1412e5dc 100644 --- a/src/analyzer/protocol/ntp/NTP.h +++ b/src/analyzer/protocol/ntp/NTP.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include "zeek/analyzer/protocol/ntp/events.bif.h" diff --git a/src/analyzer/protocol/ntp/Plugin.cc b/src/analyzer/protocol/ntp/Plugin.cc index d625658392..ebb07efd33 100644 --- a/src/analyzer/protocol/ntp/Plugin.cc +++ b/src/analyzer/protocol/ntp/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/pia/PIA.cc b/src/analyzer/protocol/pia/PIA.cc index 07cf4a49e1..884b4a67fe 100644 --- a/src/analyzer/protocol/pia/PIA.cc +++ b/src/analyzer/protocol/pia/PIA.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/analyzer/protocol/pia/PIA.h" #include "zeek/DebugLogger.h" diff --git a/src/analyzer/protocol/pia/PIA.h b/src/analyzer/protocol/pia/PIA.h index 09ab8dd0ca..b471214771 100644 --- a/src/analyzer/protocol/pia/PIA.h +++ b/src/analyzer/protocol/pia/PIA.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // An analyzer for application-layer protocol-detection. #pragma once diff --git a/src/analyzer/protocol/pia/Plugin.cc b/src/analyzer/protocol/pia/Plugin.cc index 36ac9e90aa..1ccde06253 100644 --- a/src/analyzer/protocol/pia/Plugin.cc +++ b/src/analyzer/protocol/pia/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/pop3/POP3.cc b/src/analyzer/protocol/pop3/POP3.cc index fc11b4ca41..fd2388b6ff 100644 --- a/src/analyzer/protocol/pop3/POP3.cc +++ b/src/analyzer/protocol/pop3/POP3.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // This code contributed to Zeek/Bro by Florian Schimandl, Hugh Dollman and // Robin Sommer. diff --git a/src/analyzer/protocol/pop3/POP3.h b/src/analyzer/protocol/pop3/POP3.h index 697bc73183..3191df8038 100644 --- a/src/analyzer/protocol/pop3/POP3.h +++ b/src/analyzer/protocol/pop3/POP3.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // This code contributed to Zeek/Bro by Florian Schimandl and Hugh Dollman. // // An analyser for the POP3 protocol. diff --git a/src/analyzer/protocol/pop3/Plugin.cc b/src/analyzer/protocol/pop3/Plugin.cc index 5b1d0f7f3d..9e8f41a7fe 100644 --- a/src/analyzer/protocol/pop3/Plugin.cc +++ b/src/analyzer/protocol/pop3/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/radius/Plugin.cc b/src/analyzer/protocol/radius/Plugin.cc index 2e1565dd70..ca61e3e09d 100644 --- a/src/analyzer/protocol/radius/Plugin.cc +++ b/src/analyzer/protocol/radius/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/radius/RADIUS.cc b/src/analyzer/protocol/radius/RADIUS.cc index 83b9d4352b..4820cda73e 100644 --- a/src/analyzer/protocol/radius/RADIUS.cc +++ b/src/analyzer/protocol/radius/RADIUS.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/analyzer/protocol/radius/RADIUS.h" #include "zeek/Reporter.h" diff --git a/src/analyzer/protocol/radius/RADIUS.h b/src/analyzer/protocol/radius/RADIUS.h index 90bfa514a9..baca03ee4f 100644 --- a/src/analyzer/protocol/radius/RADIUS.h +++ b/src/analyzer/protocol/radius/RADIUS.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include "zeek/analyzer/protocol/radius/events.bif.h" diff --git a/src/analyzer/protocol/rdp/Plugin.cc b/src/analyzer/protocol/rdp/Plugin.cc index cec1c73d8e..311ad7ceff 100644 --- a/src/analyzer/protocol/rdp/Plugin.cc +++ b/src/analyzer/protocol/rdp/Plugin.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/plugin/Plugin.h" #include "zeek/analyzer/Component.h" diff --git a/src/analyzer/protocol/rdp/RDP.cc b/src/analyzer/protocol/rdp/RDP.cc index f11bf88377..f1bce538b4 100644 --- a/src/analyzer/protocol/rdp/RDP.cc +++ b/src/analyzer/protocol/rdp/RDP.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/analyzer/protocol/rdp/RDP.h" #include "zeek/Reporter.h" diff --git a/src/analyzer/protocol/rdp/RDP.h b/src/analyzer/protocol/rdp/RDP.h index c09b4d521d..832127b3c7 100644 --- a/src/analyzer/protocol/rdp/RDP.h +++ b/src/analyzer/protocol/rdp/RDP.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include "zeek/analyzer/protocol/rdp/events.bif.h" diff --git a/src/analyzer/protocol/rdp/RDPEUDP.cc b/src/analyzer/protocol/rdp/RDPEUDP.cc index 41d62a8348..4d93a1b982 100644 --- a/src/analyzer/protocol/rdp/RDPEUDP.cc +++ b/src/analyzer/protocol/rdp/RDPEUDP.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/analyzer/protocol/rdp/RDPEUDP.h" #include "zeek/Reporter.h" diff --git a/src/analyzer/protocol/rdp/RDPEUDP.h b/src/analyzer/protocol/rdp/RDPEUDP.h index a56ec36bea..5b3222e92f 100644 --- a/src/analyzer/protocol/rdp/RDPEUDP.h +++ b/src/analyzer/protocol/rdp/RDPEUDP.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include "zeek/analyzer/protocol/rdp/events.bif.h" diff --git a/src/analyzer/protocol/rfb/Plugin.cc b/src/analyzer/protocol/rfb/Plugin.cc index 457f5c113a..16853c85f6 100644 --- a/src/analyzer/protocol/rfb/Plugin.cc +++ b/src/analyzer/protocol/rfb/Plugin.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/plugin/Plugin.h" #include "zeek/analyzer/Component.h" diff --git a/src/analyzer/protocol/rfb/RFB.cc b/src/analyzer/protocol/rfb/RFB.cc index c96a34e024..ee5e36722d 100644 --- a/src/analyzer/protocol/rfb/RFB.cc +++ b/src/analyzer/protocol/rfb/RFB.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/analyzer/protocol/rfb/RFB.h" #include "zeek/Reporter.h" diff --git a/src/analyzer/protocol/rfb/RFB.h b/src/analyzer/protocol/rfb/RFB.h index 4007bcc782..9d799a9271 100644 --- a/src/analyzer/protocol/rfb/RFB.h +++ b/src/analyzer/protocol/rfb/RFB.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include "zeek/analyzer/protocol/rfb/events.bif.h" diff --git a/src/analyzer/protocol/rpc/Plugin.cc b/src/analyzer/protocol/rpc/Plugin.cc index 43ca97c49f..8b939d4e06 100644 --- a/src/analyzer/protocol/rpc/Plugin.cc +++ b/src/analyzer/protocol/rpc/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/sip/Plugin.cc b/src/analyzer/protocol/sip/Plugin.cc index f8a1ff3b67..ec6fcd10ac 100644 --- a/src/analyzer/protocol/sip/Plugin.cc +++ b/src/analyzer/protocol/sip/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/sip/SIP.cc b/src/analyzer/protocol/sip/SIP.cc index cbbcf5115a..7409d0d635 100644 --- a/src/analyzer/protocol/sip/SIP.cc +++ b/src/analyzer/protocol/sip/SIP.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/analyzer/protocol/sip/SIP.h" #include "zeek/analyzer/protocol/sip/events.bif.h" diff --git a/src/analyzer/protocol/sip/SIP.h b/src/analyzer/protocol/sip/SIP.h index 781a6401e7..5f0f652620 100644 --- a/src/analyzer/protocol/sip/SIP.h +++ b/src/analyzer/protocol/sip/SIP.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include "zeek/analyzer/protocol/sip/events.bif.h" diff --git a/src/analyzer/protocol/smb/Plugin.cc b/src/analyzer/protocol/smb/Plugin.cc index 6730418569..3caaf28cec 100644 --- a/src/analyzer/protocol/smb/Plugin.cc +++ b/src/analyzer/protocol/smb/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/smb/SMB.cc b/src/analyzer/protocol/smb/SMB.cc index 38c0f3cb6f..6f5650b512 100644 --- a/src/analyzer/protocol/smb/SMB.cc +++ b/src/analyzer/protocol/smb/SMB.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/analyzer/protocol/smb/SMB.h" namespace zeek::analyzer::smb { diff --git a/src/analyzer/protocol/smb/SMB.h b/src/analyzer/protocol/smb/SMB.h index c0fd30d0fb..427d3fcc6a 100644 --- a/src/analyzer/protocol/smb/SMB.h +++ b/src/analyzer/protocol/smb/SMB.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include "zeek/analyzer/protocol/tcp/TCP.h" diff --git a/src/analyzer/protocol/smtp/BDAT.cc b/src/analyzer/protocol/smtp/BDAT.cc index 9bbd759c7a..f83d011592 100644 --- a/src/analyzer/protocol/smtp/BDAT.cc +++ b/src/analyzer/protocol/smtp/BDAT.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/analyzer/protocol/smtp/BDAT.h" #include "zeek/Conn.h" diff --git a/src/analyzer/protocol/smtp/Plugin.cc b/src/analyzer/protocol/smtp/Plugin.cc index b27747f2e3..c93c421d6e 100644 --- a/src/analyzer/protocol/smtp/Plugin.cc +++ b/src/analyzer/protocol/smtp/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/snmp/Plugin.cc b/src/analyzer/protocol/snmp/Plugin.cc index 2cfde7a67d..a7e20b1499 100644 --- a/src/analyzer/protocol/snmp/Plugin.cc +++ b/src/analyzer/protocol/snmp/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/socks/Plugin.cc b/src/analyzer/protocol/socks/Plugin.cc index 9a4f051127..ce06bf419f 100644 --- a/src/analyzer/protocol/socks/Plugin.cc +++ b/src/analyzer/protocol/socks/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/socks/SOCKS.cc b/src/analyzer/protocol/socks/SOCKS.cc index fe9a87ff7a..097bde61be 100644 --- a/src/analyzer/protocol/socks/SOCKS.cc +++ b/src/analyzer/protocol/socks/SOCKS.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/analyzer/protocol/socks/SOCKS.h" #include "zeek/analyzer/protocol/socks/events.bif.h" diff --git a/src/analyzer/protocol/socks/SOCKS.h b/src/analyzer/protocol/socks/SOCKS.h index e05eb4faf6..108b4e3aa6 100644 --- a/src/analyzer/protocol/socks/SOCKS.h +++ b/src/analyzer/protocol/socks/SOCKS.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once // SOCKS v4 analyzer. diff --git a/src/analyzer/protocol/ssh/Plugin.cc b/src/analyzer/protocol/ssh/Plugin.cc index 3fa882b55f..ba2d9a8a95 100644 --- a/src/analyzer/protocol/ssh/Plugin.cc +++ b/src/analyzer/protocol/ssh/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/ssl/DTLS.cc b/src/analyzer/protocol/ssl/DTLS.cc index 529d167004..582b1272d3 100644 --- a/src/analyzer/protocol/ssl/DTLS.cc +++ b/src/analyzer/protocol/ssl/DTLS.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/analyzer/protocol/ssl/DTLS.h" #include "zeek/Reporter.h" diff --git a/src/analyzer/protocol/ssl/DTLS.h b/src/analyzer/protocol/ssl/DTLS.h index f6d2cbc256..8b7f95bdcb 100644 --- a/src/analyzer/protocol/ssl/DTLS.h +++ b/src/analyzer/protocol/ssl/DTLS.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include "zeek/analyzer/protocol/ssl/events.bif.h" diff --git a/src/analyzer/protocol/ssl/Plugin.cc b/src/analyzer/protocol/ssl/Plugin.cc index a807089e3c..c42d189fd6 100644 --- a/src/analyzer/protocol/ssl/Plugin.cc +++ b/src/analyzer/protocol/ssl/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/ssl/SSL.cc b/src/analyzer/protocol/ssl/SSL.cc index b6a3043a21..f94abc0db7 100644 --- a/src/analyzer/protocol/ssl/SSL.cc +++ b/src/analyzer/protocol/ssl/SSL.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/analyzer/protocol/ssl/SSL.h" #include diff --git a/src/analyzer/protocol/ssl/SSL.h b/src/analyzer/protocol/ssl/SSL.h index 5fb3cb8ac6..e721e0e600 100644 --- a/src/analyzer/protocol/ssl/SSL.h +++ b/src/analyzer/protocol/ssl/SSL.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include "zeek/analyzer/protocol/pia/PIA.h" diff --git a/src/analyzer/protocol/syslog/legacy/Plugin.cc b/src/analyzer/protocol/syslog/legacy/Plugin.cc index 4db0ce8262..16a879e721 100644 --- a/src/analyzer/protocol/syslog/legacy/Plugin.cc +++ b/src/analyzer/protocol/syslog/legacy/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/syslog/legacy/Syslog.cc b/src/analyzer/protocol/syslog/legacy/Syslog.cc index 986aef5fec..de9d1f08cf 100644 --- a/src/analyzer/protocol/syslog/legacy/Syslog.cc +++ b/src/analyzer/protocol/syslog/legacy/Syslog.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/analyzer/protocol/syslog/legacy/Syslog.h" #include "zeek/analyzer/protocol/syslog/legacy/events.bif.h" diff --git a/src/analyzer/protocol/syslog/legacy/Syslog.h b/src/analyzer/protocol/syslog/legacy/Syslog.h index 0c01c022f1..d64f8bc40b 100644 --- a/src/analyzer/protocol/syslog/legacy/Syslog.h +++ b/src/analyzer/protocol/syslog/legacy/Syslog.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include "zeek/analyzer/protocol/tcp/TCP.h" diff --git a/src/analyzer/protocol/tcp/ContentLine.cc b/src/analyzer/protocol/tcp/ContentLine.cc index 5544338434..018ab5ecf0 100644 --- a/src/analyzer/protocol/tcp/ContentLine.cc +++ b/src/analyzer/protocol/tcp/ContentLine.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/analyzer/protocol/tcp/ContentLine.h" #include "zeek/Reporter.h" diff --git a/src/analyzer/protocol/tcp/ContentLine.h b/src/analyzer/protocol/tcp/ContentLine.h index de069ebb62..6c6a557ad4 100644 --- a/src/analyzer/protocol/tcp/ContentLine.h +++ b/src/analyzer/protocol/tcp/ContentLine.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // Support-analyzer to split a reassembled stream into lines. #pragma once diff --git a/src/analyzer/protocol/tcp/Plugin.cc b/src/analyzer/protocol/tcp/Plugin.cc index 74b467cd11..d21f5ccda6 100644 --- a/src/analyzer/protocol/tcp/Plugin.cc +++ b/src/analyzer/protocol/tcp/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/tcp/TCP_Flags.h b/src/analyzer/protocol/tcp/TCP_Flags.h index ba4c7098a9..989e3feb23 100644 --- a/src/analyzer/protocol/tcp/TCP_Flags.h +++ b/src/analyzer/protocol/tcp/TCP_Flags.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once // This needs to remain the first include in this file, or some defines aren't diff --git a/src/analyzer/protocol/tcp/TCP_Reassembler.cc b/src/analyzer/protocol/tcp/TCP_Reassembler.cc index 9a63962db2..bc9df6b076 100644 --- a/src/analyzer/protocol/tcp/TCP_Reassembler.cc +++ b/src/analyzer/protocol/tcp/TCP_Reassembler.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/analyzer/protocol/tcp/TCP_Reassembler.h" #include diff --git a/src/analyzer/protocol/tcp/TCP_Reassembler.h b/src/analyzer/protocol/tcp/TCP_Reassembler.h index fc889f342b..3a8f626862 100644 --- a/src/analyzer/protocol/tcp/TCP_Reassembler.h +++ b/src/analyzer/protocol/tcp/TCP_Reassembler.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include "zeek/File.h" diff --git a/src/analyzer/protocol/websocket/WebSocket.cc b/src/analyzer/protocol/websocket/WebSocket.cc index 8cd47aeefc..870a38d023 100644 --- a/src/analyzer/protocol/websocket/WebSocket.cc +++ b/src/analyzer/protocol/websocket/WebSocket.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/analyzer/protocol/websocket/WebSocket.h" diff --git a/src/analyzer/protocol/xmpp/Plugin.cc b/src/analyzer/protocol/xmpp/Plugin.cc index fd9f90a08c..f1ea2aacf4 100644 --- a/src/analyzer/protocol/xmpp/Plugin.cc +++ b/src/analyzer/protocol/xmpp/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/analyzer/protocol/zip/Plugin.cc b/src/analyzer/protocol/zip/Plugin.cc index 7347ca764b..1fffee9fe1 100644 --- a/src/analyzer/protocol/zip/Plugin.cc +++ b/src/analyzer/protocol/zip/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/binpac_zeek.h b/src/binpac_zeek.h index 04849c57f8..7f3309c127 100644 --- a/src/binpac_zeek.h +++ b/src/binpac_zeek.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include diff --git a/src/broker/Data.cc b/src/broker/Data.cc index ee8777e986..e9a6492b88 100644 --- a/src/broker/Data.cc +++ b/src/broker/Data.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/broker/Data.h" #include diff --git a/src/broker/Data.h b/src/broker/Data.h index e92c75ab85..6b20fd4aeb 100644 --- a/src/broker/Data.h +++ b/src/broker/Data.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include diff --git a/src/broker/Manager.cc b/src/broker/Manager.cc index 6e5dd26cd7..7584c05fd4 100644 --- a/src/broker/Manager.cc +++ b/src/broker/Manager.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/broker/Manager.h" #include diff --git a/src/broker/Manager.h b/src/broker/Manager.h index 9701d79d39..51974685d9 100644 --- a/src/broker/Manager.h +++ b/src/broker/Manager.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include diff --git a/src/broker/Plugin.cc b/src/broker/Plugin.cc index 3f252f2690..7fd982efa9 100644 --- a/src/broker/Plugin.cc +++ b/src/broker/Plugin.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/broker/Plugin.h" #include diff --git a/src/broker/Store.cc b/src/broker/Store.cc index 7504b3f08a..849f2697d1 100644 --- a/src/broker/Store.cc +++ b/src/broker/Store.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/broker/Store.h" #include "zeek/Desc.h" diff --git a/src/broker/Store.h b/src/broker/Store.h index db5333d3c9..8babc1d344 100644 --- a/src/broker/Store.h +++ b/src/broker/Store.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include diff --git a/src/cluster/BifSupport.cc b/src/cluster/BifSupport.cc index 1ed4b49760..40e62ed29f 100644 --- a/src/cluster/BifSupport.cc +++ b/src/cluster/BifSupport.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/cluster/BifSupport.h" #include "zeek/Desc.h" diff --git a/src/cluster/Manager.cc b/src/cluster/Manager.cc index eff6196164..e4e1ac8f71 100644 --- a/src/cluster/Manager.cc +++ b/src/cluster/Manager.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/cluster/Manager.h" #include "zeek/cluster/Serializer.h" diff --git a/src/cluster/serializer/binary-serialization-format/Plugin.cc b/src/cluster/serializer/binary-serialization-format/Plugin.cc index dc328b131a..1513321a91 100644 --- a/src/cluster/serializer/binary-serialization-format/Plugin.cc +++ b/src/cluster/serializer/binary-serialization-format/Plugin.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/cluster/serializer/binary-serialization-format/Plugin.h" #include "zeek/cluster/Component.h" diff --git a/src/cluster/serializer/binary-serialization-format/Serializer.cc b/src/cluster/serializer/binary-serialization-format/Serializer.cc index fdddeacd54..1bb2e49710 100644 --- a/src/cluster/serializer/binary-serialization-format/Serializer.cc +++ b/src/cluster/serializer/binary-serialization-format/Serializer.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/cluster/serializer/binary-serialization-format/Serializer.h" #include diff --git a/src/cluster/serializer/broker/Plugin.cc b/src/cluster/serializer/broker/Plugin.cc index aa9ab83d79..86ae0e2578 100644 --- a/src/cluster/serializer/broker/Plugin.cc +++ b/src/cluster/serializer/broker/Plugin.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "Plugin.h" #include diff --git a/src/cluster/serializer/broker/Serializer.cc b/src/cluster/serializer/broker/Serializer.cc index 068dd20767..6b1b036f22 100644 --- a/src/cluster/serializer/broker/Serializer.cc +++ b/src/cluster/serializer/broker/Serializer.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/cluster/serializer/broker/Serializer.h" #include diff --git a/src/file_analysis/analyzer/data_event/Plugin.cc b/src/file_analysis/analyzer/data_event/Plugin.cc index 6150af66cf..997f451584 100644 --- a/src/file_analysis/analyzer/data_event/Plugin.cc +++ b/src/file_analysis/analyzer/data_event/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/file_analysis/analyzer/entropy/Plugin.cc b/src/file_analysis/analyzer/entropy/Plugin.cc index 8238131d4c..cabb47f220 100644 --- a/src/file_analysis/analyzer/entropy/Plugin.cc +++ b/src/file_analysis/analyzer/entropy/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/file_analysis/analyzer/extract/Plugin.cc b/src/file_analysis/analyzer/extract/Plugin.cc index ea8a7201a4..f08101dfa1 100644 --- a/src/file_analysis/analyzer/extract/Plugin.cc +++ b/src/file_analysis/analyzer/extract/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/file_analysis/analyzer/hash/Plugin.cc b/src/file_analysis/analyzer/hash/Plugin.cc index 741289dc7b..833da66e1f 100644 --- a/src/file_analysis/analyzer/hash/Plugin.cc +++ b/src/file_analysis/analyzer/hash/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/file_analysis/analyzer/pe/PE.cc b/src/file_analysis/analyzer/pe/PE.cc index c591145c70..70d36ecf81 100644 --- a/src/file_analysis/analyzer/pe/PE.cc +++ b/src/file_analysis/analyzer/pe/PE.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/file_analysis/analyzer/pe/PE.h" #include "zeek/file_analysis/Manager.h" diff --git a/src/file_analysis/analyzer/pe/PE.h b/src/file_analysis/analyzer/pe/PE.h index 83c8cee17c..33d3617415 100644 --- a/src/file_analysis/analyzer/pe/PE.h +++ b/src/file_analysis/analyzer/pe/PE.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include diff --git a/src/file_analysis/analyzer/pe/Plugin.cc b/src/file_analysis/analyzer/pe/Plugin.cc index cee234abb4..adb5203b14 100644 --- a/src/file_analysis/analyzer/pe/Plugin.cc +++ b/src/file_analysis/analyzer/pe/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/file_analysis/analyzer/x509/Plugin.cc b/src/file_analysis/analyzer/x509/Plugin.cc index 84b8801b88..6e01516140 100644 --- a/src/file_analysis/analyzer/x509/Plugin.cc +++ b/src/file_analysis/analyzer/x509/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/fuzzers/FuzzBuffer.cc b/src/fuzzers/FuzzBuffer.cc index 25cece20c1..89608b9ed9 100644 --- a/src/fuzzers/FuzzBuffer.cc +++ b/src/fuzzers/FuzzBuffer.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #if ! defined(_GNU_SOURCE) #define _GNU_SOURCE #endif diff --git a/src/fuzzers/FuzzBuffer.h b/src/fuzzers/FuzzBuffer.h index 9188fb6221..dcd1932ef7 100644 --- a/src/fuzzers/FuzzBuffer.h +++ b/src/fuzzers/FuzzBuffer.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include diff --git a/src/fuzzers/dns-fuzzer.cc b/src/fuzzers/dns-fuzzer.cc index 4472aa09e9..cd0b9f657c 100644 --- a/src/fuzzers/dns-fuzzer.cc +++ b/src/fuzzers/dns-fuzzer.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include #include "zeek/Conn.h" diff --git a/src/fuzzers/fuzzer-setup.h b/src/fuzzers/fuzzer-setup.h index 706290a4bf..3c2d20f18f 100644 --- a/src/fuzzers/fuzzer-setup.h +++ b/src/fuzzers/fuzzer-setup.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include diff --git a/src/fuzzers/generic-analyzer-fuzzer.cc b/src/fuzzers/generic-analyzer-fuzzer.cc index d00273bda6..bdaf6c0fe8 100644 --- a/src/fuzzers/generic-analyzer-fuzzer.cc +++ b/src/fuzzers/generic-analyzer-fuzzer.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // Generic protocol analyzer fuzzer. // // Expects ZEEK_FUZZ_ANALYZER and ZEEK_FUZZ_ANALYZER_TRANSPORT to be set. diff --git a/src/fuzzers/packet-fuzzer.cc b/src/fuzzers/packet-fuzzer.cc index 1b6b55be98..25b69d6517 100644 --- a/src/fuzzers/packet-fuzzer.cc +++ b/src/fuzzers/packet-fuzzer.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #ifdef _MSC_VER #include #endif diff --git a/src/fuzzers/standalone-driver.cc b/src/fuzzers/standalone-driver.cc index f60e1519c6..3199d3ff06 100644 --- a/src/fuzzers/standalone-driver.cc +++ b/src/fuzzers/standalone-driver.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include #include #include diff --git a/src/fuzzers/websocket-fuzzer.cc b/src/fuzzers/websocket-fuzzer.cc index 1d1b47d39e..a83dfe4341 100644 --- a/src/fuzzers/websocket-fuzzer.cc +++ b/src/fuzzers/websocket-fuzzer.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include #include "zeek/Conn.h" diff --git a/src/input/readers/ascii/Plugin.cc b/src/input/readers/ascii/Plugin.cc index 2cbd2478cd..bec5775772 100644 --- a/src/input/readers/ascii/Plugin.cc +++ b/src/input/readers/ascii/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/input/readers/benchmark/Plugin.cc b/src/input/readers/benchmark/Plugin.cc index 13b55a447f..bc8fd989d1 100644 --- a/src/input/readers/benchmark/Plugin.cc +++ b/src/input/readers/benchmark/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/input/readers/binary/Plugin.cc b/src/input/readers/binary/Plugin.cc index f6987bb91b..1481d6be0f 100644 --- a/src/input/readers/binary/Plugin.cc +++ b/src/input/readers/binary/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/input/readers/config/Plugin.cc b/src/input/readers/config/Plugin.cc index bbf45eeabc..ac79045dc2 100644 --- a/src/input/readers/config/Plugin.cc +++ b/src/input/readers/config/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/input/readers/raw/Plugin.cc b/src/input/readers/raw/Plugin.cc index 1f1af5c931..757e989836 100644 --- a/src/input/readers/raw/Plugin.cc +++ b/src/input/readers/raw/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/input/readers/raw/Plugin.h" diff --git a/src/input/readers/raw/Plugin.h b/src/input/readers/raw/Plugin.h index 88bd662108..d15ecdbe33 100644 --- a/src/input/readers/raw/Plugin.h +++ b/src/input/readers/raw/Plugin.h @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #pragma once diff --git a/src/input/readers/sqlite/Plugin.cc b/src/input/readers/sqlite/Plugin.cc index 0448f8105e..cdba61d2b8 100644 --- a/src/input/readers/sqlite/Plugin.cc +++ b/src/input/readers/sqlite/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/iosource/Packet.cc b/src/iosource/Packet.cc index d5095edfca..5c5e7c631c 100644 --- a/src/iosource/Packet.cc +++ b/src/iosource/Packet.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/iosource/Packet.h" extern "C" { diff --git a/src/iosource/Packet.h b/src/iosource/Packet.h index 0a6314618b..a3796d19df 100644 --- a/src/iosource/Packet.h +++ b/src/iosource/Packet.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include "zeek/zeek-config.h" diff --git a/src/iosource/pcap/Dumper.h b/src/iosource/pcap/Dumper.h index e5b0923408..81abe23936 100644 --- a/src/iosource/pcap/Dumper.h +++ b/src/iosource/pcap/Dumper.h @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #pragma once diff --git a/src/iosource/pcap/Plugin.cc b/src/iosource/pcap/Plugin.cc index 846dbc6738..f74aa39927 100644 --- a/src/iosource/pcap/Plugin.cc +++ b/src/iosource/pcap/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/iosource/pcap/Source.cc b/src/iosource/pcap/Source.cc index be01e148cc..9bb3d7833e 100644 --- a/src/iosource/pcap/Source.cc +++ b/src/iosource/pcap/Source.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/iosource/pcap/Source.h" diff --git a/src/logging/WriterFrontend.cc b/src/logging/WriterFrontend.cc index 97aee69d3a..8a51c76724 100644 --- a/src/logging/WriterFrontend.cc +++ b/src/logging/WriterFrontend.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/logging/WriterFrontend.h" #include "zeek/RunState.h" diff --git a/src/logging/writers/ascii/Plugin.cc b/src/logging/writers/ascii/Plugin.cc index 944cdf0605..d7b640b32c 100644 --- a/src/logging/writers/ascii/Plugin.cc +++ b/src/logging/writers/ascii/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/logging/writers/none/None.cc b/src/logging/writers/none/None.cc index 1227dd3eb9..d17870e331 100644 --- a/src/logging/writers/none/None.cc +++ b/src/logging/writers/none/None.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/logging/writers/none/None.h" #include diff --git a/src/logging/writers/none/Plugin.cc b/src/logging/writers/none/Plugin.cc index b6a093adfa..d07087006f 100644 --- a/src/logging/writers/none/Plugin.cc +++ b/src/logging/writers/none/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/logging/writers/sqlite/Plugin.cc b/src/logging/writers/sqlite/Plugin.cc index 461c78e923..97f59036e8 100644 --- a/src/logging/writers/sqlite/Plugin.cc +++ b/src/logging/writers/sqlite/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/module_util.h b/src/module_util.h index 81a4ce4796..c97ac3c82f 100644 --- a/src/module_util.h +++ b/src/module_util.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // // These functions are used by both Zeek and bifcl. // diff --git a/src/packet_analysis/protocol/gtpv1/GTPv1.h b/src/packet_analysis/protocol/gtpv1/GTPv1.h index c97d575d88..f48707dea1 100644 --- a/src/packet_analysis/protocol/gtpv1/GTPv1.h +++ b/src/packet_analysis/protocol/gtpv1/GTPv1.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include "zeek/packet_analysis/Analyzer.h" diff --git a/src/packet_analysis/protocol/gtpv1/Plugin.cc b/src/packet_analysis/protocol/gtpv1/Plugin.cc index f19478ac0f..461832ca55 100644 --- a/src/packet_analysis/protocol/gtpv1/Plugin.cc +++ b/src/packet_analysis/protocol/gtpv1/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/packet_analysis/protocol/ip/SessionAdapter.cc b/src/packet_analysis/protocol/ip/SessionAdapter.cc index 742f5638fd..7963c8e4b5 100644 --- a/src/packet_analysis/protocol/ip/SessionAdapter.cc +++ b/src/packet_analysis/protocol/ip/SessionAdapter.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/packet_analysis/protocol/ip/SessionAdapter.h" #include "zeek/File.h" diff --git a/src/packet_analysis/protocol/ip/SessionAdapter.h b/src/packet_analysis/protocol/ip/SessionAdapter.h index 0e4d74d91c..4fca79da85 100644 --- a/src/packet_analysis/protocol/ip/SessionAdapter.h +++ b/src/packet_analysis/protocol/ip/SessionAdapter.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include "zeek/analyzer/Analyzer.h" diff --git a/src/packet_analysis/protocol/teredo/Plugin.cc b/src/packet_analysis/protocol/teredo/Plugin.cc index 2a35a5b847..e0a36a116a 100644 --- a/src/packet_analysis/protocol/teredo/Plugin.cc +++ b/src/packet_analysis/protocol/teredo/Plugin.cc @@ -1,4 +1,4 @@ -// See the file in the main distribution directory for copyright. +// See the file "COPYING" in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" diff --git a/src/packet_analysis/protocol/teredo/Teredo.cc b/src/packet_analysis/protocol/teredo/Teredo.cc index ea4b551ab2..b12ff52235 100644 --- a/src/packet_analysis/protocol/teredo/Teredo.cc +++ b/src/packet_analysis/protocol/teredo/Teredo.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/packet_analysis/protocol/teredo/Teredo.h" #include "zeek/Conn.h" diff --git a/src/packet_analysis/protocol/teredo/Teredo.h b/src/packet_analysis/protocol/teredo/Teredo.h index d482157b92..d4577d02ae 100644 --- a/src/packet_analysis/protocol/teredo/Teredo.h +++ b/src/packet_analysis/protocol/teredo/Teredo.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include diff --git a/src/plugin/ComponentManager.h b/src/plugin/ComponentManager.h index deb2317748..9304a60cdc 100644 --- a/src/plugin/ComponentManager.h +++ b/src/plugin/ComponentManager.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include diff --git a/src/script_opt/Expr.h b/src/script_opt/Expr.h index f1b8427319..491b9c59fe 100644 --- a/src/script_opt/Expr.h +++ b/src/script_opt/Expr.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/Expr.h" namespace zeek::detail { diff --git a/src/session/Key.cc b/src/session/Key.cc index 6ab31b701a..669ddb4c61 100644 --- a/src/session/Key.cc +++ b/src/session/Key.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/session/Key.h" #include diff --git a/src/telemetry/Counter.cc b/src/telemetry/Counter.cc index 889a17f1a7..154a552a64 100644 --- a/src/telemetry/Counter.cc +++ b/src/telemetry/Counter.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/telemetry/Counter.h" using namespace zeek::telemetry; diff --git a/src/telemetry/Gauge.cc b/src/telemetry/Gauge.cc index 06ddbc95cc..21d6e50ca5 100644 --- a/src/telemetry/Gauge.cc +++ b/src/telemetry/Gauge.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/telemetry/Gauge.h" using namespace zeek::telemetry; diff --git a/src/telemetry/Histogram.cc b/src/telemetry/Histogram.cc index 6ebae60c08..d3c2d22a60 100644 --- a/src/telemetry/Histogram.cc +++ b/src/telemetry/Histogram.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/telemetry/Histogram.h" using namespace zeek::telemetry; diff --git a/src/telemetry/Opaques.cc b/src/telemetry/Opaques.cc index d5f1c50de5..fdd9edb6e0 100644 --- a/src/telemetry/Opaques.cc +++ b/src/telemetry/Opaques.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "Opaques.h" using namespace zeek; diff --git a/src/telemetry/ProcessStats.cc b/src/telemetry/ProcessStats.cc index 476efd4487..58c534c64b 100644 --- a/src/telemetry/ProcessStats.cc +++ b/src/telemetry/ProcessStats.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/telemetry/ProcessStats.h" #include "zeek/util.h" diff --git a/src/telemetry/ProcessStats.h b/src/telemetry/ProcessStats.h index d79bb2cb5f..7d4f78c33f 100644 --- a/src/telemetry/ProcessStats.h +++ b/src/telemetry/ProcessStats.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include "zeek/zeek-config.h" diff --git a/src/telemetry/Utils.cc b/src/telemetry/Utils.cc index b17ee169ae..d2c7741e18 100644 --- a/src/telemetry/Utils.cc +++ b/src/telemetry/Utils.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "Utils.h" #include "zeek/ID.h" diff --git a/src/telemetry/Utils.h b/src/telemetry/Utils.h index 77489fc260..0ce613151e 100644 --- a/src/telemetry/Utils.h +++ b/src/telemetry/Utils.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include diff --git a/src/threading/BasicThread.cc b/src/threading/BasicThread.cc index 222cb6406d..f5c6a588ad 100644 --- a/src/threading/BasicThread.cc +++ b/src/threading/BasicThread.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/threading/BasicThread.h" #include "zeek/zeek-config.h" diff --git a/src/threading/BasicThread.h b/src/threading/BasicThread.h index 103c11de3a..9d94a2df89 100644 --- a/src/threading/BasicThread.h +++ b/src/threading/BasicThread.h @@ -1,3 +1,4 @@ +// See the file "COPYING" in the main distribution directory for copyright. #pragma once diff --git a/src/threading/Manager.cc b/src/threading/Manager.cc index 12f0fa432e..e34cb92a6a 100644 --- a/src/threading/Manager.cc +++ b/src/threading/Manager.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/threading/Manager.h" #include diff --git a/src/threading/Manager.h b/src/threading/Manager.h index 897068bee5..6eaefe5771 100644 --- a/src/threading/Manager.h +++ b/src/threading/Manager.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include diff --git a/src/threading/MsgThread.cc b/src/threading/MsgThread.cc index 5bfb8ebeb4..b5621de96e 100644 --- a/src/threading/MsgThread.cc +++ b/src/threading/MsgThread.cc @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #include "zeek/threading/MsgThread.h" #include diff --git a/src/threading/MsgThread.h b/src/threading/MsgThread.h index 0bb3dbaec4..0e486cf592 100644 --- a/src/threading/MsgThread.h +++ b/src/threading/MsgThread.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include diff --git a/src/threading/Queue.h b/src/threading/Queue.h index 38e78396e2..b3f949f8eb 100644 --- a/src/threading/Queue.h +++ b/src/threading/Queue.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once #include diff --git a/src/threading/SerialTypes.h b/src/threading/SerialTypes.h index 1a0ea21f1b..2e7fbb0e37 100644 --- a/src/threading/SerialTypes.h +++ b/src/threading/SerialTypes.h @@ -1,3 +1,4 @@ +// See the file "COPYING" in the main distribution directory for copyright. #pragma once diff --git a/src/threading/formatters/detail/json.h b/src/threading/formatters/detail/json.h index 7a947aaaa6..1bafc2bf6c 100644 --- a/src/threading/formatters/detail/json.h +++ b/src/threading/formatters/detail/json.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + // Not installed - used by Val.cc and formatters/JSON.cc only. #pragma once diff --git a/src/zeek-bif.h b/src/zeek-bif.h index 3e7a53da9e..8e40acafe8 100644 --- a/src/zeek-bif.h +++ b/src/zeek-bif.h @@ -1,3 +1,5 @@ +// See the file "COPYING" in the main distribution directory for copyright. + #pragma once // Headers to include by generated BiF code.