http://es.wiki.guifi.net/w/index.php?title=Guaita.py&feed=atom&action=history
Guaita.py - Historial de revisiones
2024-03-28T17:45:58Z
Historial de revisiones para esta página en el wiki
MediaWiki 1.22.0
http://es.wiki.guifi.net/w/index.php?title=Guaita.py&diff=2552&oldid=prev
Pablog: /* Referencias */
2012-07-05T22:04:12Z
<p><span dir="auto"><span class="autocomment">Referencias</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Revisión anterior</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revisión de 22:04 5 jul 2012</td>
</tr><tr><td colspan="2" class="diff-lineno">Línea 17:</td>
<td colspan="2" class="diff-lineno">Línea 17:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>0      subnets claimed by different AS</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>0      subnets claimed by different AS</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div></pre></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div></pre></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">== Véase también ==</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">* [[Pollo de rutas]]</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Referencias ==</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Referencias ==</div></td></tr>
</table>
Pablog
http://es.wiki.guifi.net/w/index.php?title=Guaita.py&diff=2218&oldid=prev
Blackhold en 21:46 9 jun 2012
2012-06-09T21:46:12Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Revisión anterior</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revisión de 21:46 9 jun 2012</td>
</tr><tr><td colspan="2" class="diff-lineno">Línea 28:</td>
<td colspan="2" class="diff-lineno">Línea 28:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* https://guifi.net/node/35211</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* https://guifi.net/node/35211</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[ca:Guaita.py]]</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>[[Categoría:Desarrollo]]</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>[[Categoría:Desarrollo]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>[[Categoría:Mantenimiento]]</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>[[Categoría:Mantenimiento]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>[[Categoría:Scripts]]</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>[[Categoría:Scripts]]</div></td></tr>
</table>
Blackhold
http://es.wiki.guifi.net/w/index.php?title=Guaita.py&diff=2168&oldid=prev
Pablog en 12:36 3 jun 2012
2012-06-03T12:36:47Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Revisión anterior</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revisión de 12:36 3 jun 2012</td>
</tr><tr><td colspan="2" class="diff-lineno">Línea 1:</td>
<td colspan="2" class="diff-lineno">Línea 1:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'''guaita.py''' es un script hecho por Joan Llopart. Está escrito en Python y sirve para identificar [[pollos de rutas]].</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'''guaita.py''' es un script hecho por Joan Llopart. Está escrito en Python y sirve para identificar [[pollos de rutas]].</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Se puede descargar desde el repositorio '''guifi-misc''' en Gitorious<ref>[https://gitorious.org/guifi-altres/guifi-misc/<del class="diffchange diffchange-inline">trees</del>/master/Guaita <del class="diffchange diffchange-inline">Guaita</del>]</ref>.</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Se puede descargar desde el repositorio '''guifi-misc''' en Gitorious<ref>[https://gitorious.org/guifi-altres/guifi-misc/<ins class="diffchange diffchange-inline">blobs/raw</ins>/master/Guaita<ins class="diffchange diffchange-inline">/guaita.py guaita.py</ins>]</ref>.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>=== Funcionamiento ===</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>=== Funcionamiento ===</div></td></tr>
</table>
Pablog
http://es.wiki.guifi.net/w/index.php?title=Guaita.py&diff=2167&oldid=prev
Pablog: Página creada con «'''guaita.py''' es un script hecho por Joan Llopart. Está escrito en Python y sirve para identificar pollos de rutas. Se puede descargar desde el repositorio '''guifi...»
2012-06-03T12:36:07Z
<p>Página creada con «'''guaita.py''' es un script hecho por Joan Llopart. Está escrito en Python y sirve para identificar <a href="/wiki/Pollos_de_rutas" class="mw-redirect" title="Pollos de rutas">pollos de rutas</a>. Se puede descargar desde el repositorio '''guifi...»</p>
<p><b>Página nueva</b></p><div>'''guaita.py''' es un script hecho por Joan Llopart. Está escrito en Python y sirve para identificar [[pollos de rutas]].<br />
<br />
Se puede descargar desde el repositorio '''guifi-misc''' en Gitorious<ref>[https://gitorious.org/guifi-altres/guifi-misc/trees/master/Guaita Guaita]</ref>.<br />
<br />
=== Funcionamiento ===<br />
El script se conecta mediante SSH y el usuario ''guest'' y obtiene la tabla de rutas de un dispositivo [[MikroTik]]. Posteriormente, analiza la tabla de rutas y busca si hay subredes anunciadas por AS diferentes. En caso de encontrar alguna, mediante [[CNML]] busca en la aplicación de Guifi.net cuál es el AS correcto y cuál es el malo que está anunciando subredes que no le pertenecen.<br />
<br />
Ten en cuenta que la red puedes tener redundancia y por lo tanto distintos caminos para llegar a un mismo destino. El problema está cuando esas rutas no las ha anunciado el mismo AS (BGP_AS_PATH).<br />
<br />
=== Ejemplo de uso ===<br />
En este ejemplo vemos que hay redundancia de rutas pero no hay ningún problema:<br />
<pre><br />
root@server-vallcarca:/home/jmoles# sudo ./guaita.py 10.228.193.161<br />
Retrieving 10.228.193.161's routing table ...<br />
2775 entries found<br />
1291 subnets with more than one route & pointing to same AS<br />
0 subnets claimed by different AS<br />
</pre><br />
<br />
== Referencias ==<br />
<references/><br />
{{MM|url=https://lists.guifi.net/pipermail/guifi-rdes/2011-August/020904.html|list=desarrollo}}<br />
{{MM|url=https://lists.guifi.net/pipermail/guifi-rdes/2012-June/024273.html|list=desarrollo}}<br />
<br />
== Enlaces externos ==<br />
* https://gitorious.org/guifi-altres/guifi-misc<br />
* https://lists.guifi.net/pipermail/guifi-rdes/2011-August/020904.html<br />
* https://guifi.net/node/35211<br />
<br />
[[Categoría:Desarrollo]]<br />
[[Categoría:Mantenimiento]]<br />
[[Categoría:Scripts]]</div>
Pablog