NTP ์๋ฒ(Network Time Protocol Server)๋ ์ปดํจํฐ ์์คํ ๊ฐ์ ์ ํํ ์๊ฐ ๋๊ธฐํ๋ฅผ ์ ๊ณตํ๋ ์๋ฒ์ ๋๋ค. ์ด๋ฅผ ํตํด ๋คํธ์ํฌ ๋ด ๋ชจ๋ ์ฅ์น๊ฐ ํ์ค ์๊ฐ์ ์ ์งํ ์ ์๋๋ก ๋์์ค๋๋ค.
NTP ์๋ฒ๋ ๊ณ์ธต ๊ตฌ์กฐ๋ฅผ ๊ฐ์ง๋ฉฐ, Stratum(์ธต, ๋จ๊ณ) ๊ฐ์ด ๋ฎ์์๋ก ๋ ์ ํํ ์๊ฐ์ ์ ๊ณตํฉ๋๋ค.
Stratum | ์ค๋ช |
---|---|
Stratum 0 | GPS, ์์์๊ณ, ๋ฃจ๋น ์ง๋์ ๋ฑ (์ง์ ์ ๊ทผ ๋ถ๊ฐ) |
Stratum 1 | Stratum 0๊ณผ ์ง์ ์ฐ๊ฒฐ๋ NTP ์๋ฒ (ํ์ค ์๊ฐ ์ ๊ณต) |
Stratum 2 | Stratum 1๊ณผ ๋๊ธฐํ๋ NTP ์๋ฒ (์ผ๋ฐ ๊ธฐ์ /๊ธฐ๊ด ์๋ฒ) |
Stratum 3 | Stratum 2์ ๋๊ธฐํ๋ ์๋ฒ (์ผ๋ฐ์ ์ธ ํด๋ผ์ด์ธํธ ์ฅ์น) |
UDP 123 ํฌํธ ์ฌ์ฉ
)time.google.com
(Google NTP ์๋ฒ)time.windows.com
(Microsoft NTP ์๋ฒ)pool.ntp.org
(์ ์ธ๊ณ NTP ์๋ฒ ํ)time.nist.gov
(๋ฏธ๊ตญ ํ์ค์ฐ๊ตฌ์ NTP ์๋ฒ)time.kriss.re.kr
(ํ๊ตญํ์ค๊ณผํ์ฐ๊ตฌ์)time.bora.net
(KT NTP ์๋ฒ)ntp.kornet.net
(KT NTP ์๋ฒ)1๏ธโฃ NTP ํจํค์ง ์ค์น (RHEL/CentOS)
yum install -y ntp
2๏ธโฃ NTP ์๋ฒ ํ์ฑํ
systemctl enable ntpd
systemctl start ntpd
3๏ธโฃ NTP ์๋ฒ ํ์ธ
ntpq -p
4๏ธโฃ NTP ํด๋ผ์ด์ธํธ ์ค์ (/etc/ntp.conf)
server time.kriss.re.kr iburst
server time.google.com iburst
NTP ์๋ฒ๋ DDoS ๊ณต๊ฒฉ, ์คํธํ ๊ณต๊ฒฉ์ ์ ์ฉ๋ ์ ์๊ธฐ ๋๋ฌธ์ ๋ณด์ ์ค์ ์ด ์ค์ํฉ๋๋ค.
โ ๋ณด์ ์ค์ ์์ (/etc/ntp.conf)
restrict default kod nomodify notrap nopeer noquery
restrict 127.0.0.1
restrict <๋ด๋ถ ๋คํธ์ํฌ> mask <์๋ธ๋ท> nomodify notrap
โ ๋ฐฉํ๋ฒฝ(iptables) ์ค์
iptables -A INPUT -p udp --dport 123 -s trusted-ip -j ACCEPT
iptables -A INPUT -p udp --dport 123 -j DROP
NTP(Network Time Protocol) ์๋ฒ ๊ณต๊ฒฉ์ ์ฃผ๋ก DDoS ์ฆํญ ๊ณต๊ฒฉ์ ๋ชฉ์ ์ผ๋ก ์ํ๋๋ฉฐ, ๊ณต๊ฒฉ์๋ ์ทจ์ฝํ NTP ์๋ฒ๋ฅผ ์ ์ฉํ์ฌ ๋๋์ ํธ๋ํฝ์ ์์ฑํ ์ ์์ต๋๋ค. ์ฃผ์ ๊ณต๊ฒฉ ์ ํ์ ๋ค์๊ณผ ๊ฐ์ต๋๋ค.
๐ก ๋์ ๋ฐฉ๋ฒ
monlist
๊ธฐ๋ฅ ๋นํ์ฑํ (restrict default noquery
์ค์ )UDP 123 ํฌํธ ์ ํ
)๐ก ๋์ ๋ฐฉ๋ฒ
๐ก ๋์ ๋ฐฉ๋ฒ
restrict default kod nomodify notrap nopeer noquery restrict 127.0.0.1 restrict <๋ด๋ถ ๋คํธ์ํฌ> mask <์๋ธ๋ท> nomodify notrap
ntpq -c rv
๋ช
๋ น์ด๋ก ๋ฒ์ ํ์ธ ํ ์ต์ ๋ฒ์ ์ ์ง.ptables -A INPUT -p udp --dport 123 -s trusted-ip -j ACCEPT iptables -A INPUT -p udp --dport 123 -j DROP
NTP ์๋ฒ๋ DDoS ๊ณต๊ฒฉ์ ์
์ฉ๋ ๊ฐ๋ฅ์ฑ์ด ๋์ ์๋น์ค์ด๋ฏ๋ก, ๋ถํ์ํ ๊ธฐ๋ฅ์ ๋นํ์ฑํํ๊ณ , ์ต์ ๋ฒ์ ์ ์ง ๋ฐ ์ ๊ทผ ์ ํ์ด ํ์์ ์
๋๋ค. ํนํ monlist
๊ธฐ๋ฅ์ด ํ์ฑํ๋ ๊ฒฝ์ฐ ๋ฐ๋์ ๋นํ์ฑํํด์ผ ํฉ๋๋ค.
์ค๋์ AI ์ํ๊ณ์ ํ์ ์ ์ธ ๋ณํ๋ฅผ ๊ฐ์ ธ์ฌ ๊ฒ์ผ๋ก ์์๋๋ MCP(Model Context Protocol)์ ๋ํด ์์ธํ ์์๋ณด๊ฒ ์ต๋๋ค. 2024๋ …
1. TPM์ด๋? TPM(Trusted Platform Module)์ ๊ตญ์ ํ์ค ๊ธฐ๋ฐ์ ๋ณด์ ํ๋์จ์ด ์นฉ์ผ๋ก, ์ปดํจํฐ๋ ๋์งํธ ์ฅ๋น ๋ด์์…
์์ฆ2, ๊ธฐ๋ํ๋๋ฐ... ์ค๋ง๋ ๋ ๋ฐฐ!๋๋์ธ์์ ๊ธฐ๋ํ๋๋ฐ, ์ ๋ต๋ ์๋ ์๊ธฐ๋ค๋ง์ ๊ฐ์ ์ ๋ฐ๋ฅธ ํธ๊ฐ๋ฅด๊ธฐ, ์ ์น์ธ์์ด ๋์ด ๋ฒ๋ฆฐ…
BPF(Berkeley Packet Filter) ๋์ด๋ย ํด์ปค๊ฐ ๊ด๋ฆฌ์ ๋ชฐ๋ ๋ท๋ฌธ์ ์๋ก ๋ง๋ ๊ฒ์ ๋๋ค.ํด์ปค๊ฐ ๋ช ๋ น์ ๋ด๋ ค ํน์ ๋ฐ์ดํฐ๋ค์ ๋ท๋ฌธ์…
1. IPC์ ๊ฐ๋ ๊ณผ ๋ชฉ์ 1.1 IPC๋ ๋ฌด์์ธ๊ฐ? IPC (Inter-Process Communication)๋ ์ด์์ฒด์ ๋ด์ ์๋ก ๋ ๋ฆฝ์ ์ธ ํ๋ก์ธ์ค…