mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Correct so-import-pcap wrapping; add so-pcap-import alias for so-import-pcap; prompt to reboot after changing IP address on manager; ensure all tools have exec bit set
This commit is contained in:
@@ -27,8 +27,7 @@ function usage {
|
|||||||
cat << EOF
|
cat << EOF
|
||||||
Usage: $0 <pcap-file-1> [pcap-file-2] [pcap-file-N]
|
Usage: $0 <pcap-file-1> [pcap-file-2] [pcap-file-N]
|
||||||
|
|
||||||
Imports one or more PCAP files onto a sensor node. The PCAP traffic will be analyzed and
|
Imports one or more PCAP files onto a sensor node. The PCAP traffic will be analyzed and made available for review in the Security Onion toolset.
|
||||||
made available for review in the Security Onion toolset.
|
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
6
salt/common/tools/sbin/so-ip-update
Normal file → Executable file
6
salt/common/tools/sbin/so-ip-update
Normal file → Executable file
@@ -50,9 +50,9 @@ if [ "$CONTINUE" == "y" ]; then
|
|||||||
|
|
||||||
echo "The IP has been changed from $OLD_IP to $NEW_IP."
|
echo "The IP has been changed from $OLD_IP to $NEW_IP."
|
||||||
|
|
||||||
if [ -z "$SKIP_STATE_APPLY" ]; then
|
read -n 1 -p "The system must reboot to ensure all services have restarted with the new configuration. Reboot now? (y/N)" CONTINUE
|
||||||
echo "Re-applying salt states."
|
if [ "$CONTINUE" == "y" ]; then
|
||||||
salt-call state.highstate queue=True
|
reboot
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "Exiting without changes."
|
echo "Exiting without changes."
|
||||||
|
|||||||
0
salt/common/tools/sbin/so-playbook-reset
Normal file → Executable file
0
salt/common/tools/sbin/so-playbook-reset
Normal file → Executable file
0
salt/common/tools/sbin/so-ssh-harden
Normal file → Executable file
0
salt/common/tools/sbin/so-ssh-harden
Normal file → Executable file
0
salt/common/tools/sbin/so-wazuh-user-add
Normal file → Executable file
0
salt/common/tools/sbin/so-wazuh-user-add
Normal file → Executable file
0
salt/common/tools/sbin/so-wazuh-user-passwd
Normal file → Executable file
0
salt/common/tools/sbin/so-wazuh-user-passwd
Normal file → Executable file
0
salt/common/tools/sbin/so-wazuh-user-remove
Normal file → Executable file
0
salt/common/tools/sbin/so-wazuh-user-remove
Normal file → Executable file
Reference in New Issue
Block a user