pastebin - collaborative debugging tool
kpaste.net RSS


Untitled
Posted by Anonymous on Sat 8th Dec 2012 16:19
raw | new post
modification of post by Anonymous (view diff)

  1. <!DOCTYPE HTML>
  2.  
  3. <title>Failed ssh attempts</title>
  4. #customers
  5. {font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
  6. width:100%;
  7. border-collapse:collapse;
  8. }
  9. #customers td, #customers th
  10. {font-size:1em;
  11. border:1px solid #98bf21;
  12. padding:3px 7px 2px 7px;
  13. }
  14. #customers th
  15. {font-size:1.1em;
  16. text-align:left;
  17. padding-top:5px;
  18. padding-bottom:4px;
  19. background-color:#A7C942;
  20. color:#ffffff;
  21. }
  22. #customers tr.alt td
  23. {color:#000000;
  24. background-color:#EAF2D3;
  25. }
  26. </head>
  27. <ul id=header>
  28. <table id="customers"<tr><th><center>Failed ssh attempts</centeR><th></tr></table>
  29. <table id="customers">
  30. <tr>
  31.     <th>Attempts</th>
  32.     <th>IP</th>
  33.     <th>RDNS<font size="1" color="green">(correct ip?)</font></th>
  34.     <th>Traceroute</th>
  35.     <th>port check</th>
  36.     <th>Country</th>
  37. </tr>
  38. {% set row_class = cycler('alt', 'norm' ) %}
  39. {% for a in ip_list %}
  40. {% if a['attempts'] >= 20 %}
  41. <tr class='{{ row_class.next()}}'>
  42. <td>{{ a['attempts'] }}
  43. {% if a['new'] != 0%}
  44.     <font size="1"> (   {{ a['new'] }} new )</font>
  45. {% endif %}
  46. </td>
  47. <td><b> {{ a['IP']}}</b> </td>
  48. <td>
  49.     {% if a['RDNS'] != None %}
  50.         <b>
  51.     {% endif %}
  52.         {{a['RDNS']}}
  53.     {% if a['RDNS'] != None %}
  54.         <font size="0" color="green">({% if 'good' not in a['IPCHECK'] %}
  55.         <font color="red" size="2">
  56.        {% endif %}
  57.         {{ a['IPCHECK'] }}</font><font size="0" color="green"> )</font>
  58.         </b>
  59.     {% endif %}
  60. </td>
  61. <td>{% for b in svg_list %} {% if b[0] == a['IP'] %} <a href="{{b[1]}}">(port 22, 80, 443)</a>{% endif %}{% endfor %}</td>
  62.  
  63. <td><font color=red>
  64.     {% if a['attempts'] > 99 %}
  65.  
  66.         {% if a['Port22'] == True%}
  67.             <font color=green>
  68.                 {% endif%}
  69.                 22<font color=black>, <font color=red>
  70.  
  71.         {% if a['Port80'] == True%}
  72.             <font color=green>
  73.                 {% endif%}
  74.                 80<font color=black>,<font color=red>
  75.         {% if a['Port443'] == True%}
  76.             <font color=green>
  77.                 {% endif%}
  78.                 443<font color=black><font color=red>                                                                                                                              
  79.  
  80.  
  81.     {% endif %}
  82.  
  83. </font></td>
  84. <td>{{ a['geo']}}</td>
  85. <tr>
  86. {% endif %}
  87. {% endfor %}
  88. <br>
  89. <a href="http://vps2.pronto185.com/static/dump.txt">raw data here (python pickle dump)</a><br><font size="0"><sub>
  90. updates every hour, on the hour(takes about a minute or two to update, so check at :02 after or so<br>
  91. also "blar blar blar fail2ban/etc...iptables/blar blar" < this is a fun server, not a production(NOW SPELLED CORRECTLY) server...<br<
  92. ~

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