본문 바로가기

개발/서버

(84)
개발/서버
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 ——————————————————————————————————————- .. 2015.09.10
개발/서버
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.. 2015.09.10
개발/서버
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.. 2015.09.10
개발/서버
죽은 프로세스 살리기 #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.. 2015.09.10
개발/서버
How to kill zombie process [closed] I launched my program in the foreground (a daemon program), and then I killed it withkill -9, but I get a zombie remaining and I m not able to kill it withkill -9. How to kill a zombie process?If the zombie is a dead process (already killed), how I remove it from the output ofps aux?root@OpenWrt:~# anyprogramd & root@OpenWrt:~# ps aux | grep anyprogram 1163 root 2552 S anyprogramd 1167 root 2552.. 2015.09.10
개발/서버
DNS 시스템에 대한 위협에 대해 DNS 시스템에 대한 위협에 대해 http://www.ietf.org/rfc/rfc3833.txt Network Working Group D. AtkinsRequest for Comments: 3833 IHTFP ConsultingCategory: Informational R. Austein ISC August 2004 Threat Analysis of the Domain Name System (DNS) Status of this Memo This memo provides information for the Internet community. It does not specify an Internet standard of any kind. Distribution of this memo is unlimite.. 2015.02.03