본문 바로가기

전체 글

sge 통신 방식을 ssh 로 전환 sge 통신 방식을 ssh 로 전환qconf -mconf ——————————————————————————————————————-.qlogin_command /engrid/ensge/bin/lx24-amd64/qlogin_wrapperqlogin_daemon /usr/sbin/sshd -irlogin_command /usr/bin/sshrlogin_daemon /usr/sbin/sshd -irsh_command /usr/bin/sshrsh_daemon /usr/sbin/sshd -i.——————————————————————————————————————-vi /engrid/ensge/bin/lx24-amd64/qlogin_wrapper ——————————————————————————————————————- .. 더보기
ddos 방화벽 룰 - 패스워드 공격 :iptables -A INPUT -p tcp —dport 22 -m state —state NEW -m recent —set —name SSHSCANiptables -A INPUT -p tcp —dport 22 -m state —state NEW -m recent —update —seconds 60 —hitcount 8 —rttl —name SSHSCAN -j LOG —log-prefix SSH_SCAN:iptables -A INPUT -p tcp —dport 22 -m state —state NEW -m recent —update —seconds 60 —hitcount 8 —rttl —name SSHSCAN -j DROP혹은 ../etc/rc.d/init.d/iptables save.. 더보기
UNIX IP Stack Tuning Guide v2.7 UNIX IP Stack Tuning Guide v2.7 UNIX IP Stack Tuning Guide v2.7 By Rob Thomas, robt at cymru.com, 03 DEC 2000 Introduction The purpose of this document is to strengthen the UNIX IP stack against a variety of attack types prevalent on the Internet today. This document details the settings recommended for UNIX servers designed to provide network intensive services such as HTTP or routing (firewall.. 더보기
죽은 프로세스 살리기 #include #include #include #include #include #include #include /* 검사 주기(초) */#define CHECK_SECOND 30 /* 실행 서버 패스 및 이름 */#define APP_PATH "/root/ztsvr/ztsvr"#define APP_NAME "ztsvr" int check_process();void get_timef(time_t, char *); int main(){ int rt; time_t the_time; char buffer[255]; char app[255]; sprintf(app, "nohup %s &", APP_PATH); printf("START\n"); fflush(stdout); while(1) { time(&the_t.. 더보기