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