pastebin - collaborative debugging tool
kpaste.net RSS

Difference between
modified post 784cadb by Anonymous on Sat 8th Dec 2012 16:19
original post 5a83f0b03 by Anonymous on Sat 8th Dec 2012 00:33
Download diff
Show old version | new version | both versions

    
11
<!DOCTYPE HTML>
22
33
<html>
44
<head>
55
<title>Failed ssh attempts</title>
66
<style>
77
#customers
88
{font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
99
width:100%;
1010
border-collapse:collapse;
1111
}
1212
#customers td, #customers th
1313
{font-size:1em;
1414
border:1px solid #98bf21;
1515
padding:3px 7px 2px 7px;
1616
}
1717
#customers th
1818
{font-size:1.1em;
1919
text-align:left;
2020
padding-top:5px;
2121
padding-bottom:4px;
2222
background-color:#A7C942;
2323
color:#ffffff;
2424
}
2525
#customers tr.alt td
2626
{color:#000000;
2727
background-color:#EAF2D3;
2828
}
2929
</style>
3030
</head>
3131
<body>
3232
<ul id=header>
3333
<center>
34-
<table id="customers"<tr><th><center>Failed ssh attempts<!-- << for blind idiots who cant read the title eg: rohara --!></centeR><th></tr></table>
34+
<table id="customers"<tr><th><center>Failed ssh attempts</centeR><th></tr></table>
3535
<table id="customers">
3636
<tr>
3737
    <th>Attempts</th>
3838
    <th>IP</th>
3939
    <th>RDNS<font size="1" color="green">(correct ip?)</font></th>
4040
    <th>Traceroute</th>
4141
    <th>port check</th>
4242
    <th>Country</th>
4343
</tr>
4444
{% set row_class = cycler('alt', 'norm' ) %}
4545
{% for a in ip_list %}
4646
{% if a['attempts'] >= 20 %}
4747
<tr class='{{ row_class.next()}}'>
4848
<td>{{ a['attempts'] }}
4949
{% if a['new'] != 0%}
5050
    <font size="1"> (   {{ a['new'] }} new )</font>
5151
{% endif %}
5252
</td>
5353
<td><b> {{ a['IP']}}</b> </td>
5454
<td>
5555
    {% if a['RDNS'] != None %}
5656
        <b>
5757
    {% endif %}
5858
        {{a['RDNS']}}
5959
    {% if a['RDNS'] != None %}
6060
        <font size="0" color="green">({% if 'good' not in a['IPCHECK'] %}
6161
        <font color="red" size="2">
6262
       {% endif %}
6363
        {{ a['IPCHECK'] }}</font><font size="0" color="green"> )</font>
6464
        </b>
6565
    {% endif %}
6666
</td>
6767
<td>{% for b in svg_list %} {% if b[0] == a['IP'] %} <a href="{{b[1]}}">(port 22, 80, 443)</a>{% endif %}{% endfor %}</td>
6868
6969
<td><font color=red>
7070
    {% if a['attempts'] > 99 %}
7171
7272
        {% if a['Port22'] == True%}
7373
            <font color=green>
7474
                {% endif%}
7575
                22<font color=black>, <font color=red>
7676
7777
        {% if a['Port80'] == True%}
7878
            <font color=green>
7979
                {% endif%}
8080
                80<font color=black>,<font color=red>
8181
        {% if a['Port443'] == True%}
8282
            <font color=green>
8383
                {% endif%}
8484
                443<font color=black><font color=red>
8585
8686
8787
    {% endif %}
8888
8989
</font></td>
9090
<td>{{ a['geo']}}</td>
9191
<tr>
9292
{% endif %}
9393
{% endfor %}
9494
</table>
9595
<br>
9696
<a href="http://vps2.pronto185.com/static/dump.txt">raw data here (python pickle dump)</a><br><font size="0"><sub>
9797
updates every hour, on the hour(takes about a minute or two to update, so check at :02 after or so<br>
9898
also "blar blar blar fail2ban/etc...iptables/blar blar" < this is a fun server, not a production(NOW SPELLED CORRECTLY) server...<br<
9999
~
100100

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at