git status
На ветке master
Ваша ветка обновлена в соответствии с «origin/master».
Изменения, которые не в индексе для коммита:
(используйте «git add <файл>…», чтобы добавить файл в индекс)
(use "git restore <file>..." to discard changes in working directory)
изменено: Dockerfile
изменено: LICENSE
изменено: README.md
изменено: SECURITY.md
изменено: application/.htaccess
изменено: application/cache/.htaccess
изменено: application/cache/index.html
изменено: application/config/autoload.php
изменено: application/config/bands.php
изменено: application/config/config.sample.php
изменено: application/config/constants.php
изменено: application/config/database.sample.php
изменено: application/config/doctypes.php
изменено: application/config/foreign_chars.php
изменено: application/config/gettext.php
изменено: application/config/hooks.php
smartctl -s on -a /dev/sda
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.4.203-1-pve] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Phison Driven SSDs
Device Model: KINGSTON SA400S37240G
Serial Number: 50026B7783783C29
LU WWN Device Id: 5 0026b7 783783c29
Firmware Version: SBFK62A3
User Capacity: 240,057,409,536 bytes [240 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
TRIM Command: Available
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-3 T13/2161-D revision 4
SATA Version is: SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Sat Jun 1 13:00:28 2024 MSK
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: (65535) seconds.
Offline data collection
capabilities: (0x11) SMART execute Offline immediate.
No Auto Offline data collection support.
Suspend Offline collection upon new
command.
No Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
No Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 2) minutes.
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x0032 100 100 000 Old_age Always - 0
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 30503
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 43
148 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 0
149 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 0
167 Write_Protect_Mode 0x0000 100 100 000 Old_age Offline - 0
168 SATA_Phy_Error_Count 0x0012 100 100 000 Old_age Always - 0
169 Bad_Block_Rate 0x0000 100 100 000 Old_age Offline - 14
170 Bad_Blk_Ct_Erl/Lat 0x0000 100 100 010 Old_age Offline - 0/21
172 Erase_Fail_Count 0x0032 100 100 000 Old_age Always - 0
173 MaxAvgErase_Ct 0x0000 100 100 000 Old_age Offline - 169 (Average 143)
181 Program_Fail_Count 0x0032 100 100 000 Old_age Always - 0
182 Erase_Fail_Count 0x0000 100 100 000 Old_age Offline - 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
192 Unsafe_Shutdown_Count 0x0012 100 100 000 Old_age Always - 23
194 Temperature_Celsius 0x0022 036 045 000 Old_age Always - 36 (Min/Max 19/45)
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
199 SATA_CRC_Error_Count 0x0032 100 100 000 Old_age Always - 0
218 CRC_Error_Count 0x0032 100 100 000 Old_age Always - 0
231 SSD_Life_Left 0x0000 090 090 000 Old_age Offline - 90
233 Flash_Writes_GiB 0x0032 100 100 000 Old_age Always - 20301
241 Lifetime_Writes_GiB 0x0032 100 100 000 Old_age Always - 16488
242 Lifetime_Reads_GiB 0x0032 100 100 000 Old_age Always - 17812
244 Average_Erase_Count 0x0000 100 100 000 Old_age Offline - 143
245 Max_Erase_Count 0x0000 100 100 000 Old_age Offline - 169
246 Total_Erase_Count 0x0000 100 100 000 Old_age Offline - 2048432
SMART Error Log not supported
SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]
Selective Self-tests/Logging not supported
root@mail:~# sudo ufw insert 1 deny from 46.148.40.0/24 to any
Пропуск вставки существующего правила
root@mail:~# sudo ufw status numbered
Состояние: активен
В Действие Из
- -------- --
[ 1] 22/tcp LIMIT IN Anywhere
[ 2] 53 ALLOW IN Anywhere
[ 3] 25/tcp ALLOW IN Anywhere
[ 4] 465/tcp ALLOW IN Anywhere
[ 5] 587/tcp ALLOW IN Anywhere
[ 6] 993/tcp ALLOW IN Anywhere
[ 7] 995/tcp ALLOW IN Anywhere
[ 8] 4190/tcp ALLOW IN Anywhere
[ 9] 80/tcp ALLOW IN Anywhere
[10] 443 ALLOW IN Anywhere
[11] Anywhere REJECT IN 46.148.40.0/24
[12] Anywhere REJECT IN 187.192.0.0/11
[13] 22/tcp (v6) LIMIT IN Anywhere (v6)
[14] 53 (v6) ALLOW IN Anywhere (v6)
[15] 25/tcp (v6) ALLOW IN Anywhere (v6)
[16] 465/tcp (v6) ALLOW IN Anywhere (v6)
[17] 587/tcp (v6) ALLOW IN Anywhere (v6)
[18] 993/tcp (v6) ALLOW IN Anywhere (v6)
[19] 995/tcp (v6) ALLOW IN Anywhere (v6)
[20] 4190/tcp (v6) ALLOW IN Anywhere (v6)
[21] 80/tcp (v6) ALLOW IN Anywhere (v6)
[22] 443 (v6) ALLOW IN Anywhere (v6)
root@mail:~# sudo iptables -L INPUT
Chain INPUT (policy DROP)
target prot opt source destination
ufw-before-logging-input all -- anywhere anywhere
ufw-before-input all -- anywhere anywhere
ufw-after-input all -- anywhere anywhere
ufw-after-logging-input all -- anywhere anywhere
ufw-reject-input all -- anywhere anywhere
ufw-track-input all -- anywhere anywhere
DROP all -- 46.148.40.0/24 anywhere
root@mail:~# openssl ciphers -v | awk '{print $2}' | sort | uniq
SSLv3
TLSv1
TLSv1.2
TLSv1.3
первые 2 команды отработали норм,
последняя выдала портянку типа