HTTP Anti-Virus Proxy

Official HAVP Support Forum
Registration disabled, I'm tired of spambots. E-mail havp@hege.li if you have questions.
HAVP project is pretty much frozen/abandoned at this time anyway.
It is currently 22 Jun 2014 09:52

All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 16 Sep 2008 13:46 
Offline

Joined: 16 Sep 2008 13:01
Posts: 1
Can you add suport for http://www.malwaredomains.com

It is my code in PHP, I download domains.txt
Code:
wget http://www.malwaredomains.com/files/domains.txt

After it i parse file and generate blacklist domains,and i add new domains to my existings file


Code:
#!/opt/CMS/bin/php
<?
  //  wget http://www.malwaredomains.com/files/domains.txt

  // insert file in array
  $f=file("domains.txt");

  // delete first line
  $f[0]="#";

  //
  foreach ($f as $row)
  {
    make_row($row);
  }

  function make_row($row)
  {
    $line = trim($row);
    if($line[0]!="#" && $line!="" )
    {
      $T=explode("\t",$line);
      echo $T[0]."/*\n";
    }
  }
?>


But problem is with update blacklist
Have you any ideas ?


Top
 Profile  
 
PostPosted: 16 Sep 2008 20:30 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
Location: Finland
HAVP is not intended or optimized for such large blocklisting.

See:

ufdbGuard
SquidGuard
DansGuardian
etc..


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 2 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group