본문 바로가기

hi.pe.kr2191

FreeBSD - IPFW 방화벽 FreeBSD 에서 ipfw 를 이용하여 방화벽이 사용가능 하다. 커널 설정 파일에 옵션을 주고 컴파일 해야 사용가능 하다. 아래 처럼 간단히 커널 컴파일을 하기 위해 기본설정 파일인 GENERIC 을 복사하여 옵션을 추가해주자. [root@yongbok ~]# mkdir Kernel ; cd Kernel [root@yongbok ~]# cp /usr/src/sys/i386/conf/GENERIC ~/Kernel/Yongbok [root@yongbok ~]# vi ~/Kernel/Yongbok ident Yongbok options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=5 options IPFIREWALL_DEFAU.. 2010. 1. 20.
MySQL UDF를 활용한 사용자 정의 함수 추가 1. 추가할 함수 구현 - syslogudf.c 파일에 기능 구현 #include #include #include my_bool logger_init(UDF_INIT *initid, UDF_ARGS *args, char *message) { initid->maybe_null=0; return 0; } long long logger(UDF_INIT *initid, UDF_ARGS *args, char *is_null, char *error) { if (args->arg_count != 1) { strcpy(error, "LOGGER(): needs message"); return 1; } if (args->arg_type[0] != STRING_RESULT) { strcpy(error, "LOGGER() .. 2010. 1. 19.
PGP (Pretty Good Privacy) GPGshell v3.75 - 2055 KB - Freeware GPGshell is a graphical interface for GnuPG (GNU Privacy Guard). It requires an already working installation of GnuPG v1.4.x (v1.4.9 or later), because it does not have any cryptographic code itself, and some basic knowledge about the GnuPG command-lines and functions. Included translations: CS, DE, FI, EN, ES, IT, NL, NO, PL, RU, SV, ZH Additional or updated .. 2010. 1. 19.
SSH 서버 환경 설정 (보안설정) 모든 설정(server측 설정)은 /etc/ssh/sshd_config 파일에서 가능하다. 1. Port xx SSH 서비스 포트는 22로 규약되어 있지만 보안을 위해 임의의 포트로 변경 하는것도 가능하다. 원하는 포트번호로 변경하고 /etc/services 파일에서 ssh 포트값도 변경해 주면 된다. 2. Protocol 2 SSH 프로토콜은 ver 1과 ver 2가 있는데 SSH1 클라이언트와 SSH2 클라이언트의 접속 요청에 대한 것이다. 보안상 Protocol 1은 사용하지 않고 Protocol 2 만을 사용한다. (둘다 사용하기 위해서는 Protocol 2,1 을 적어주면 된다.) 3. ListenAddress 0.0.0.0 SSH 서버에서 Listen 할 로컬 호스트 주소를 설정하는 것이다. .. 2010. 1. 18.
PasswordsPro - 해시(Hash) 암호화 크랙 Important! Using this software for purposes other than recovering your own lost passwords violates License Agreement and may violate the Law! Program Description This program is designated for the recovery of passwords for different types of hashes. The program currently supports about 30 types of hashes, and new ones can be easily added by creating a custom external hashing DLL-module. The actu.. 2010. 1. 15.