admin 2010.07.13 Flooding in SYN and IP Tables #!/bin/bash/sbin/modprobe ip_tables/sbin/modprobe ip_conntrack/sbin/modprobe ip_conntrack_ftprm /root/.dyn*echo “Setting kernel tcp parameters to reduct DoS effects”#Reduce DoS’ing ability by reducing timeoutsecho 30 > /proc/sys/net/ipv4/tcp_fin_timeoutecho 1800 > /proc/sys/net/ipv4/tcp_keepalive_timeecho 1 > /proc/sys/net/ipv4/tcp_window_scalingecho 0 > /proc/sys/net/ipv4/tcp_sackecho 1280 > /pro... Read More..
+ admin 2010.06.24 Layer 7 Traffic Control (set up ) How to set up Layer 7 Traffic Control How to set up Layer 7 Traffic Control Resources Prerequisites Patching the kernel Patching iptables Testing the setup Traffic Control Script IP Accounting Dependencies Setting up pmacct and pmgraph pmacct pmgraph Resources Some resources that greatly helped to figure this stuff outL7-HomepageLARTC-GuideFreifunk-WikiHTB Linux queue manualHTB How To Prerequisite... Read More..
admin 2010.06.08 libphp5.so: cannot restore segment prot after reloc: Permission denied libphp5.so: cannot restore segment prot after reloc: Permission denied : 원인은 페도라 계열에서 SELinux와의 퍼미션 충돌이 발생해서 그렇다 * 에러메시지 httpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied * 해결책 shell> restorecon -R -v /usr/local/apache2... Read More..
admin 2010.06.08 fastcgi 설치 및 설정 FCGI 설치 http://www.fastcgi.com 에서 mod_fastcgi-2.4.2.tar , fcgi-2.4.0.tar 받아온다 – mod_fastcgi 생성 mod_fastcgi-2.4.2.tar 압축 푼 디렉 토리에서 Makefile.AP2 파일에서 top_dir=/home/fs/apmz/apache2로 설치된 아파치 경로 지정 cp Makefile.AP2 Makefile make ; make install ( 아파치 2.2.2 버전의경우 헤더파일 없다는 에러 발생함) ls /home/fs/apmz/apache2/modules... Read More..
admin 2010.05.18 spamassassin 룰 설정 (점수부여) 스팸어쎄신을 이용하여 스팸메일을 차단하는데 있어 스코어 점수을 이용하여 그 점수를 판단하여 스팸여부를 확인 할수 있다 local.cf에서 점수 부분을 기여하면 된다.자신이 보내는 메일에 대해서 스팸어쎄신을 적용하려면 스팸밀터를 설치하면 되는것이다.아래 옵션에 대한 부분은 검색해보면 많이 나올것이다 [root@ns1 ~]# vi /etc/mail/spamassassin/local.cf # SpamAssassin config file for version 3.x# NOTE: NOT COMPATIBLE WITH VERSIONS 2.5 or 2.6# See http://www.yrex.com/spam/spamconfig25.php for earlier versions# Generated by http://www.y... Read More..
admin 2010.05.06 configure: error: …No recognized SSL/TLS toolkit detected configure: error: …No recognized SSL/TLS toolkit detected 아파치 설치시 위의 에러가 발생이 된다면 아래와 같이 해결하면 된다 openssl 이 없기때문에 그런것이다yum을 이용하여 openssl 설치yum install openssl-devel Read More..
admin 2010.03.30 oops-firewall 설치 (rpmbuild) 환경 : centos 5.x (64bit)1. oops 소스 다운로드 [root@localhost ~]# wget ftp://mirror.oops.org/pub/oops/oops-firewall/oops-firewall-6.2.6.tar.bz22. 다운로드 받은 파일 rpm 파일 만들기 [root@localhost ~]# rpmbuild -tb oops-firewall-6.2.6.tar.bz2..생략작성: /usr/src/redhat/RPMS/noarch/oops-firewall-6.2.6-1.noarch.rpm작성: /usr/src/redhat/RPMS/noarch/oops-firewall-doc-6.2.6-1.noarch.rpm실행 중(%clean): /bin/sh -e /var/tmp/rpm-tmp.6... Read More..
admin 2010.03.30 dovecot 시작 에러 ( mysql 삭제 시) centos5.x 에서 dovecot 사용시 에러 부분 [root@idccc ~]# yum -y install dovecot강제로 mysql을 삭제 [root@idccc ~]# rpm -e mysql –nodeps위처럼 강제로 삭제하고 dovecot을 재시작하면 아래처럼 에러가 발생이 된다 [root@idccc ~]# /etc/rc.d/init.d/dovecot restartDovecot Imap 를 정지 중: [실패]Dovecot Imap (을)를 시작 중: [ OK ]확인 결과 mysql 버전이 5.x 이면 상관이 없는데 4.x에서 위처럼 에러가 발생이 된다..즉 라이브러리 이 부분을 참... Read More..
admin 2010.03.26 configure: error: Kerberos libraries not found. configure: error: Kerberos libraries not found. 에러 발생시[root@loca root]# yum -y install krb5-devel Read More..