ÀÌÀü ÁÖÁ¦ º¸±â :: ´ÙÀ½ ÁÖÁ¦ º¸±â |
±Û¾´ÀÌ |
¸Þ½ÃÁö |
mh4270 ¼Õ´Ô
|
¿Ã·ÁÁü: 2003.9.26 ±Ý, 11:24 am ÁÖÁ¦: mod_dosevasive.c ¼³Ä¡ ¿¡·¯ ³³´Ï´Ù. |
|
|
¸ÕÀú ÁÁÀº Á¤º¸ °¨»çÇÕ´Ï´Ù.
linux kernel : 2.2.25
apache : 1.3.28
mod_dosevasive v1.8
¿¡ ÄÄÆÄÀÏÀ» Çß½À´Ï´Ù.
$ ./configure
--prefix=/usr/local/apache \
--enable-rule=SHARED_CORE \
--enable-module=so \
--enable-shared=max \
--add-module=src/modules/mod_dosevasive/mod_dosevasive.c \
--enable-module=headers
$ make¸¦ Çϸé mod_dosevasive.c :53: badly punctuated parameter list in '#define'¶ó´Â ¿¡·¯°¡ ³³´Ï´Ù.
±×·¡¼ ¼Ò½º¿¡ ÀÕ´Â 53ÁÙ°ú À̺κÐÀ» ÂüÁ¶ÇÏ´Â ºÎºÐ¿¡ ÁÖ¼®Ã³¸®¸¦ ÇÏ°í Àç ÄÄÆÄÀÏÇϸé ÄÄÆÄÀÏ¿¡ ¼º°øÀº Ç޴µ¥..
LoadModule dosevasive_module¡¡libexec/mod_dosevasive.so
ÀÌ ºÎºÐÀÌ »ý±âÁú ¾Ê½À´Ï´Ù.
¾î¶»°Ô Çؾ߸¸ ÄÄÆÄÀÏ¿¡ ¼º°øÀ» ÇÒ¼ö ÀÕÀ»±î¿ä.?
²À Á» ¾Ë·ÁÁÖ¼¼¿ä.
ÀúÀÇ ¸ÞÀÏ :mh4270@hanmail.net
±×·³... |
|
À§·Î |
|
|
truefeel Ä«Æä °ü¸®ÀÚ
°¡ÀÔ: 2003³â 7¿ù 24ÀÏ ¿Ã¸° ±Û: 1277 À§Ä¡: ´ëÇѹα¹
|
¿Ã·ÁÁü: 2003.9.26 ±Ý, 12:10 pm ÁÖÁ¦: Re: mod_dosevasive.c ¼³Ä¡ ¿¡·¯ ³³´Ï´Ù. |
|
|
mh4270 ¾¸: | ¸ÕÀú ÁÁÀº Á¤º¸ °¨»çÇÕ´Ï´Ù.
linux kernel : 2.2.25
apache : 1.3.28
mod_dosevasive v1.8
¿¡ ÄÄÆÄÀÏÀ» Çß½À´Ï´Ù.
$ ./configure
--prefix=/usr/local/apache \
--enable-rule=SHARED_CORE \
--enable-module=so \
--enable-shared=max \
--add-module=src/modules/mod_dosevasive/mod_dosevasive.c \
--enable-module=headers
$ make¸¦ Çϸé mod_dosevasive.c :53: badly punctuated parameter list in '#define'¶ó´Â ¿¡·¯°¡ ³³´Ï´Ù.
±×·¡¼ ¼Ò½º¿¡ ÀÕ´Â 53ÁÙ°ú À̺κÐÀ» ÂüÁ¶ÇÏ´Â ºÎºÐ¿¡ ÁÖ¼®Ã³¸®¸¦ ÇÏ°í Àç ÄÄÆÄÀÏÇϸé ÄÄÆÄÀÏ¿¡ ¼º°øÀº Ç޴µ¥..
LoadModule dosevasive_module¡¡libexec/mod_dosevasive.so
ÀÌ ºÎºÐÀÌ »ý±âÁú ¾Ê½À´Ï´Ù.
¾î¶»°Ô Çؾ߸¸ ÄÄÆÄÀÏ¿¡ ¼º°øÀ» ÇÒ¼ö ÀÕÀ»±î¿ä.?
|
·¹µåÇÞ ¾²½Ã¸é 6.x? ±Ùµ¥ Ä¿³ÎÀº 2.2.xÁß¿¡¼´Â ÃֽŹöÀüÀ» »ç¿ëÇϽó׿ä.
ÃֽŠ¹èÆ÷ÆÇÀ» ¹Þ¾Æ ¼¹ö ¿î¿µÇϱ⸦ ±ÇÇÕ´Ï´Ù. ¿ö³« ¿À·¡µÈ ½Ã½ºÅÛÀ̶ó.
badly punctuated ... ¾Ö·¯°¡ ³ª¿Ô´Ù¸é gcc¿Í °ü·ÃµÈ ¹®Á¦ÀÎ µí ÇÏ´Ï
gcc 2.9x ÀÇ ´õ ³ªÀº ¹öÀü¸¦ ¹Þ¾Æ´Ù°¡ ¼³Ä¡ÇغÁ¼ Á¤»óÀÎÁöµµ ÆľÇÇغ¸´Â °Íµµ ÁÁ°Ú½À´Ï´Ù.
gcc ¾÷Àº °ü·ÃµÈ °ÍµéÀÌ ¸¹¾Æ¼ ½¬¿î °ÍÀº ¾Æ´Ï°Åµç¿ä.
Çغ¸°í ½ÍÀ¸½Ã¸é rpmÀ» ã¾Æ¼ ¾÷µ¥ÀÌÆ® ÇϽñæ.
gcc°ü·ÃÀº µÚ·Î Á¢¾îµÎ°í ´ÙÀ½ ¸ÕÀú.
ÇØ´ç ¶óÀο¡ syslog °ü·Ã ºÎºÐÀÌÁÒ? syslog·Î ·Î±×¸¦ ³Ñ±æ ÀÌÀ¯°¡ ¾ø´Ù¸é
/usr/local/apache/libexec/mod_dosevasive.so ÀÖ´ÂÁö »ìÆ캸°í
¼öµ¿À¸·Î httpd.conf¿¡ LoadModule°ú AddModule¸¦ ³Ö¾îº¸¼¼¿ä.
mod_dosevasive ÀÇ README ÆÄÀϵµ Âü°íÇغ¸½Ã±¸¿ä. |
|
À§·Î |
|
|
mh4270 ¼Õ´Ô
|
¿Ã·ÁÁü: 2003.9.26 ±Ý, 3:43 pm ÁÖÁ¦: mod_dosevasive.soÆÄÀÏÀÌ »ý¼ºÀÌ ¾ÈµË´Ï´Ù. |
|
|
¸ÕÀú ´äº¯ °©»çÇÕ´Ï´Ù.
linux :redhat7.3¿¡¼ ´Ù½Ã Àç ÄÄÆÄÀÏ ÇØ º¸¾Ò½À´Ï´Ù.
ÄÄÆÄÀÏÀº ¹®¾ÈÇÏ°Ô Àß µÇ¾ù½À´Ï´Ù.
±Ùµ¥..
/usr/local/apache/libexec/mod_dosevasive.so ÆÄÀÏÀÌ »ý¼ºÀÌ µÇÁö¸¦ ¾Ê¾Ñ½À´Ï´Ù.
´ë½Å /usr/local/apache_source/src/modules/extra/mod_dosevasive.oÆÄÀÏÀÌ ÀÕ¾ù½À´Ï´Ù.
±×·¡¼ ÀÌ°ÍÀ» °¡Áö°í
LoadModule dosevasive_module¡¡libexec/mod_dosevasive.o
Çغ¸¾Ñ´Âµ¥...¿¡·¯°¡ ³³´Ï´Ù.
¹«½¼ ¹®Á¦°¡ Àմ°̴ϱî...
´Ù½Ã Çѹø ½Ã¿øÇÑ ´äº¯ ºÎŹµå¸³´Ï´Ù.
±×·³ ²Ù¹÷... |
|
À§·Î |
|
|
truefeel Ä«Æä °ü¸®ÀÚ
°¡ÀÔ: 2003³â 7¿ù 24ÀÏ ¿Ã¸° ±Û: 1277 À§Ä¡: ´ëÇѹα¹
|
¿Ã·ÁÁü: 2003.9.26 ±Ý, 6:28 pm ÁÖÁ¦: Re: mod_dosevasive.soÆÄÀÏÀÌ »ý¼ºÀÌ ¾ÈµË´Ï´Ù. |
|
|
mh4270 ¾¸: | ¸ÕÀú ´äº¯ °©»çÇÕ´Ï´Ù.
linux :redhat7.3¿¡¼ ´Ù½Ã Àç ÄÄÆÄÀÏ ÇØ º¸¾Ò½À´Ï´Ù.
ÄÄÆÄÀÏÀº ¹®¾ÈÇÏ°Ô Àß µÇ¾ù½À´Ï´Ù.
±Ùµ¥..
/usr/local/apache/libexec/mod_dosevasive.so ÆÄÀÏÀÌ »ý¼ºÀÌ µÇÁö¸¦ ¾Ê¾Ñ½À´Ï´Ù.
´ë½Å /usr/local/apache_source/src/modules/extra/mod_dosevasive.oÆÄÀÏÀÌ ÀÕ¾ù½À´Ï´Ù.
±×·¡¼ ÀÌ°ÍÀ» °¡Áö°í
LoadModule dosevasive_module¡¡libexec/mod_dosevasive.o
Çغ¸¾Ñ´Âµ¥...¿¡·¯°¡ ³³´Ï´Ù.
¹«½¼ ¹®Á¦°¡ Àմ°̴ϱî...
´Ù½Ã Çѹø ½Ã¿øÇÑ ´äº¯ ºÎŹµå¸³´Ï´Ù.
±×·³ ²Ù¹÷... |
·¹µåÇÞ 7.3À̶ó¸é #define ÁÖ¼®Ã³¸® ÇÏÁö ¸»°í Çغ¸¼¼¿ä.
±×¸®°í mod_dosevasive.o°¡ ¾Æ´Ï°í ¾ÆÆÄÄ¡°¡ ¼³Ä¡ ¿î¿µÁßÀÎ <¾ÆÆÄġȨ>/libexec/mod_dosevasive.so ÆÄÀÏÀÌ »ý¼ºµÇ¾î¾ß ÇÕ´Ï´Ù.
´ç¿¬È÷ libexec/mod_dosevasive.o ¸¦ ³ÖÀ¸´Ï ¿À·ù°¡ ¶ß´Â°Ì´Ï´Ù.
Ȥ½Ã .so°¡ Á¤»óÀûÀ¸·Î ¼³Ä¡µÇ°í apache ½ÇÇàÇÒ ¶§ ¿À·ù°¡ ³ª¿Â´Ù¸é
±× ¿À·ù¸Þ½ÃÁöµµ ÇÔ²² ¿Ã·ÁÁÖ¼¼¿ä.
Âü°í·Î 7.x¿¡¼µµ Á¤»óÀûÀ¸·Î ¼³Ä¡µÇ¾ú½À´Ï´Ù. |
|
À§·Î |
|
|
|