stchang / pasterack

The Racket pastebin.
30 stars 7 forks source link

filter out pastes based on ip using known spammer lists #47

Open stchang opened 9 years ago

stchang commented 9 years ago

A quick scan of the logs shows that most spam posts are from known spammer ips. Eg

        "128.70.36.116"
        "93.186.31.112" ; 78462                                                 
        "8.37.227.32"   ; 62710
        "41.203.67.164" ; 40338
        "41.203.67.164" ; 65175                                                 
        "41.203.67.168" ; 39202                                                 
        "70.39.187.244" ; 44180                                                 
        "8.37.224.8"    ; 38778                                                 
        "8.37.227.147"  ; 62694                                                 
        "41.140.8.173"  ; 91555                                                  
        "70.39.185.182" ; 29288                                                 
        "93.186.23.114" ; 27429                                                 
        "93.186.31.112" ; 26228                                                 
        "93.186.23.96"  ; 70131                                                  
        "93.186.31.113" ; 36938                                                 
        "93.186.31.96"  ; 53146                                                  
        "93.186.31.81"  ; 48601                                                  
        "93.186.31.82"  ; 99040                                                  
        "93.186.23.80"  ; 80496                                                  
        "41.71.185.31"  ; 51208                                                  
        "23.236.124.165" ; 91179                                                
        "199.190.46.75" ; 49259                                                 
        "199.190.46.75" ; 60459                                                 
        "199.190.46.75" ; 83624                          

The site should automatically delete posts from known spammer ip addresses, perhaps using a service like this: https://www.stopforumspam.com/usage

stchang commented 9 years ago

0c3062c18aedb80664147bfe0fa33b7c1b0b3c7b attempts to handle this issue

stchang commented 9 years ago

@takikawa Looks like spam is a lot less now, thanks!

Here's a couple that did get through

41468       8.37.225.208
16756       82.168.242.192