°Ô½Ã¹° 1,369°Ç
   
[»ç½½] ³ëµå ¸®½ºÆ®
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2023-09-18 (¿ù) 09:48 Á¶È¸ : 493
±ÛÁÖ¼Ò :
                                
#!/bin/bash
dir="/root/saseul_nodeip"
today=`date +'%Y-%m%d-%H%M'`
filename=saseul_${today}
ipset flush saseul_nodeip

curl http://49.247.40.227/peer | jq > ${dir}/${filename}
for i in $(cat ${dir}/${filename} |grep -Eo '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' |egrep -v "115.68.|49.247." |sort -u ); do ipset add saseul_nodeip $i ;done


À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.