Mail :: Abuse :: Incident :: Normalize.

À̸ÞÀÏ ³»ÀÇ º¸°í¼­ÀÇ ÅؽºÆ® ÇÊÅ͸µ
Áö±Ý ´Ù¿î·Îµå

Mail :: Abuse :: Incident :: Normalize. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Luis Mu?oz
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~luismunoz/

Mail :: Abuse :: Incident :: Normalize. ű×


Mail :: Abuse :: Incident :: Normalize. ¼³¸í

À̸ÞÀÏ ³»¿¡¼­ º¸°í¼­ÀÇ ÅؽºÆ®¸¦ ÇÊÅ͸µÇÕ´Ï´Ù Mail :: Abuse :: Incident :: Normalize´Â ÀüÀÚ ¸ÞÀÏ ³»¿¡¼­ º¸°í¼­ÀÇ ÅؽºÆ®¸¦ ÇÊÅ͸µÇÏ´Â µ¥ »ç¿ëÇÒ ¼öÀÖ´Â Perl ¸ðµâÀÔ´Ï´Ù. Synopsis Mail :: Abuse :: Report; Mail :: Abuse :: Incident :: Á¤±ÔÈ­; ³» $ i = »õ ¸ÞÀÏ :: Çдë :: »ç°Ç :: Á¤±ÔÈ­; $ Report = New Mail :: Abuse :: Report (Incidents => );ÀÌ ¼ö¾÷Àº ÇÐ´ë º¸°í¼­ Àνİú °ü·ÃµÈ ´Ù¾çÇÑ Áß¿äÇÑ ÀÛ¾÷À» ó¸®ÇÕ´Ï´Ù. ƯÁ¤ TSSKS´Â ´ÙÀ½°ú °°½À´Ï´Ù. * À̸ÞÀÏ ¸Þ½ÃÁöÀÇ Çì´õ¿Í º»¹®À» ±¸¹® ºÐ¼®ÇϽʽÿÀ * ¿øº» º¸°í¼­¿¡ ÀûÇÕÇÑ ºÎºÐÀÌ Æ÷ÇÔµÇÁö ¾ÊÀº °æ¿ì HTML¿¡¼­ ÅؽºÆ®·Î ¹ø¿ªÀ» Á¦°øÇÕ´Ï´Ù. * º¸°í¼­°¡ ¿©·¯ ¹ø Àü´ÞµÇ°Å³ª ÀÎ¿ë µÈ °æ¿ìÀÌ Å¬·¡½º´Â óÀ½ºÎÅÍ ¿ÞÂÊ (>)ÀÇ Ç¥½Ã (>).ÀÌ Å¬·¡½º¸¦ ±â¹ÝÀ¸·ÎÇÏ´Â Æļ­´Â º¸°í¼­ °³Ã¼¿¡ Àü´Þ µÈ Æļ­ ¸ñ·Ï¿¡¼­ ¸ÕÀú ¼­ºñ½º°¡ ÇÊ¿äÇÑ ¸ðµç Æļ­°¡ ÀÚµ¿À¸·Î ¾×¼¼½º ÇÒ ¼ö ÀÖ½À´Ï´Ù. Å°´ÂÀÌ Å¬·¡½º¸¦ ½ÇÇà ÇÑ ÈÄ ÇØ´ç º¸°í¼­·Î »ý¼ºµË´Ï´Ù. ´ÙÀ½°ú °°½À´Ï´Ù. headera mail :: messageÀÇ Çì´õ°¡ÀÖ´Â Çì´õ °³Ã¼. BodyContains ¸Þ½ÃÁö º»¹®¿¡ ´ëÇÑ ÂüÁ¶, ½ºÄ®¶ó ¸ÞÀÏ¿¡ ´ëÇÑ ´ÜÀÏ ½ºÄ®¶ó ¶Ç´Â String.normalizedsetÀ¸·Î :: Abuse :: Incident :: Á¤±ÔÈ­ ÀÌ Å¬·¡½º´Â Á¤±ÔÈ­¸¦ ¼öÇàÇß½À´Ï´Ù. ÁüÀÛÈ­ µÈ ½Ã°£´ë´Â ¸Þ½ÃÁö¿¡¼­ ÃßÃøÇß½À´Ï´Ù. ÀÌ°ÍÀº ³¯Â¥ ¸Ó¸®±Û ¶Ç´Â ´Ù¸¥ ¼Ò½º¿¡¼­ ¸Þ½ÃÁö º»¹®¿¡¼­ ÀÏÄ¡ÇÏ´Â °ÍÀ¸·Î ³ªÅ¸³³´Ï´Ù. ÀÌ°ÍÀº ´Ù¸¥ ÀνôøÆ® Æļ­°¡ "ÃÖÈÄÀÇ ¸®Á¶Æ® ÈùÆ®"·Î »ç¿ëÇؾßÇÕ´Ï´Ù. ´ÙÀ½ ¹æ¹ýÀº BUÀÌ Å¬·¡½ºÀÔ´Ï´Ù. Parse ($ Report)´Â º¸°í¼­ ÀÚüÀÇ ÅؽºÆ® ±¸¹® ºÐ¼®À» ±â¹ÝÀ¸·Î ÁÖ¾îÁø º¸°í¼­·Î ÀνôøÆ®¸¦ Ǫ½ÃÇÕ´Ï´Ù .It ÀνôøÆ® µ¥ÀÌÅÍ (IP ÁÖ¼Ò, ŸÀÓ ½ºÅÆÇÁ ¹× ±âŸ Á¤º¸)°¡ ä¿öÁø µ¿ÀÏÇÑ Å¬·¡½ºÀÇ °³Ã¼ ¸ñ·ÏÀ» ¹ÝȯÇؾßÇÕ´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.


Mail :: Abuse :: Incident :: Normalize. °ü·Ã ¼ÒÇÁÆ®¿þ¾î