×
Create a new article
Write your page title here:
We currently have 3,189 articles on s23. Type your article name above or create one of the articles listed here!



    s23
    3,189Articles

    Trackback-Spam: Difference between revisions

    Content added Content deleted
    imported>mutante
    mNo edit summary
    imported>mutante
    mNo edit summary
    Line 11: Line 11:
    for spammer in ${subnet[@]}
    for spammer in ${subnet[@]}
    do
    do
    echo "$IPTABLES -A INPUT -s $spammer -j LOG --log-prefix \"** TRACKBACKER **\""
    $IPTABLES -A INPUT -s $spammer -j LOG --log-prefix "** TRACKBACKER **"
    echo "$IPTABLES -A INPUT -s $spammer -j DROP"
    $IPTABLES -A INPUT -s $spammer -j DROP
    done
    done
    </pre>
    </pre>

    Revision as of 11:35, 18 November 2007

    # TrackbackSpammer raus! (die mit den WordPress User-Agents)
    
    # 62.213.0.0 - 62.213.5.255  SAMTEL Network of the Samara Telegraph  RU
    subnet[0]="62.213.0.0/21"
    # 212.158.0.0 - 212.158.127.255 EU-EN-990217 Cable & Wireless Telecommunication Services GmbH  EU
    subnet[1]="212.158.0.0/17"
    # 217.23.0.0 - 217.23.15.255    PT-COFINA-20001004      IDCentre, S.A.  PT
    subnet[2]="217.23.0.0/20"
    
    for spammer in ${subnet[@]}
     do
            $IPTABLES -A INPUT -s $spammer -j LOG --log-prefix "** TRACKBACKER **"
            $IPTABLES -A INPUT -s $spammer -j DROP
     done
    

    ranges from ipindex

    related: iptables, Spam, Apache, Mediawiki

    Sorry for any false positives this might cause.

    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.