-
Notifications
You must be signed in to change notification settings - Fork 532
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12195 from Security-Onion-Solutions/2.4/dev
2.4.40
- Loading branch information
Showing
247 changed files
with
523,252 additions
and
370,811 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
### 2.4.30-20231228 ISO image released on 2024/01/02 | ||
### 2.4.40-20240116 ISO image released on 2024/01/17 | ||
|
||
|
||
### Download and Verify | ||
|
||
2.4.30-20231228 ISO image: | ||
https://download.securityonion.net/file/securityonion/securityonion-2.4.30-20231228.iso | ||
2.4.40-20240116 ISO image: | ||
https://download.securityonion.net/file/securityonion/securityonion-2.4.40-20240116.iso | ||
|
||
MD5: DBD47645CD6FA8358C51D8753046FB54 | ||
SHA1: 2494091065434ACB028F71444A5D16E8F8A11EDF | ||
SHA256: 3345AE1DC58AC7F29D82E60D9A36CDF8DE19B7DFF999D8C4F89C7BD36AEE7F1D | ||
MD5: AC55D027B663F3CE0878FEBDAD9DD78B | ||
SHA1: C2B51723B17F3DC843CC493EB80E93B123E3A3E1 | ||
SHA256: C5F135FCF45A836BBFF58C231F95E1EA0CD894898322187AD5FBFCD24BC2F123 | ||
|
||
Signature for ISO image: | ||
https://github.com/Security-Onion-Solutions/securityonion/raw/2.4/main/sigs/securityonion-2.4.30-20231228.iso.sig | ||
https://github.com/Security-Onion-Solutions/securityonion/raw/2.4/main/sigs/securityonion-2.4.40-20240116.iso.sig | ||
|
||
Signing key: | ||
https://raw.githubusercontent.com/Security-Onion-Solutions/securityonion/2.4/main/KEYS | ||
|
@@ -25,22 +25,22 @@ wget https://raw.githubusercontent.com/Security-Onion-Solutions/securityonion/2. | |
|
||
Download the signature file for the ISO: | ||
``` | ||
wget https://github.com/Security-Onion-Solutions/securityonion/raw/2.4/main/sigs/securityonion-2.4.30-20231228.iso.sig | ||
wget https://github.com/Security-Onion-Solutions/securityonion/raw/2.4/main/sigs/securityonion-2.4.40-20240116.iso.sig | ||
``` | ||
|
||
Download the ISO image: | ||
``` | ||
wget https://download.securityonion.net/file/securityonion/securityonion-2.4.30-20231228.iso | ||
wget https://download.securityonion.net/file/securityonion/securityonion-2.4.40-20240116.iso | ||
``` | ||
|
||
Verify the downloaded ISO image using the signature file: | ||
``` | ||
gpg --verify securityonion-2.4.30-20231228.iso.sig securityonion-2.4.30-20231228.iso | ||
gpg --verify securityonion-2.4.40-20240116.iso.sig securityonion-2.4.40-20240116.iso | ||
``` | ||
|
||
The output should show "Good signature" and the Primary key fingerprint should match what's shown below: | ||
``` | ||
gpg: Signature made Thu 28 Dec 2023 10:08:31 AM EST using RSA key ID FE507013 | ||
gpg: Signature made Tue 16 Jan 2024 07:34:40 PM EST using RSA key ID FE507013 | ||
gpg: Good signature from "Security Onion Solutions, LLC <[email protected]>" | ||
gpg: WARNING: This key is not certified with a trusted signature! | ||
gpg: There is no indication that the signature belongs to the owner. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +0,0 @@ | ||
20231204 | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.4.30 | ||
2.4.40 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
#!/usr/bin/env python3 | ||
|
||
# Copyright Security Onion Solutions LLC and/or licensed to Security Onion Solutions LLC under one | ||
# or more contributor license agreements. Licensed under the Elastic License 2.0 as shown at | ||
# https://securityonion.net/license; you may not use this file except in compliance with the | ||
# Elastic License 2.0. | ||
|
||
import sys | ||
import subprocess | ||
import os | ||
|
||
sys.path.append('/opt/saltstack/salt/lib/python3.10/site-packages/') | ||
import salt.config | ||
import salt.loader | ||
|
||
__opts__ = salt.config.minion_config('/etc/salt/minion') | ||
__grains__ = salt.loader.grains(__opts__) | ||
|
||
def check_needs_restarted(): | ||
osfam = __grains__['os_family'] | ||
val = '0' | ||
outfile = "/opt/so/log/sostatus/needs_restarted" | ||
|
||
if osfam == 'Debian': | ||
if os.path.exists('/var/run/reboot-required'): | ||
val = '1' | ||
elif osfam == 'RedHat': | ||
cmd = 'needs-restarting -r > /dev/null 2>&1' | ||
try: | ||
needs_restarting = subprocess.check_call(cmd, shell=True) | ||
except subprocess.CalledProcessError: | ||
val = '1' | ||
else: | ||
fail("Unsupported OS") | ||
|
||
with open(outfile, 'w') as f: | ||
f.write(val) | ||
|
||
def fail(msg): | ||
print(msg, file=sys.stderr) | ||
sys.exit(1) | ||
|
||
|
||
def main(): | ||
proc = subprocess.run(['id', '-u'], stdout=subprocess.PIPE, encoding="utf-8") | ||
if proc.stdout.strip() != "0": | ||
fail("This program must be run as root") | ||
|
||
check_needs_restarted() | ||
|
||
if __name__ == "__main__": | ||
main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.