<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 10/06/2015 03:23 PM, Claudio Pisa
wrote:<br>
</div>
<blockquote cite="mid:5613CB49.9040201@ninux.org" type="cite">
<pre wrap="">On 10/05/2015 05:10 PM, Nemesis wrote:
</pre>
<blockquote type="cite" style="color: #000000;">
<pre wrap=""><span class="moz-txt-citetags">> </span>On 10/05/2015 03:13 PM, Claudio Pisa wrote:
</pre>
<blockquote type="cite" style="color: #000000;">
<pre wrap=""><span class="moz-txt-citetags">>> </span>On 10/05/2015 02:31 PM, Nemesis wrote:
</pre>
<blockquote type="cite" style="color: #000000;">
<blockquote type="cite" style="color: #000000;">
<pre wrap=""><span class="moz-txt-citetags">>>> > </span>On 10/05/2015 02:19 PM, Claudio Pisa wrote:
</pre>
<blockquote type="cite" style="color: #000000;">
<blockquote type="cite" style="color: #000000;">
<pre wrap=""><span class="moz-txt-citetags">>>>> >> </span>On 10/05/2015 02:13 PM, Nemesis wrote:
</pre>
<blockquote type="cite" style="color: #000000;">
<blockquote type="cite" style="color: #000000;">
<blockquote type="cite" style="color: #000000;">
<blockquote type="cite" style="color: #000000;">
<pre wrap=""><span class="moz-txt-citetags">>>>>>> >>> > </span>On 10/05/2015 02:01 PM, Claudio Pisa wrote:
</pre>
<blockquote type="cite" style="color:
#000000;">
<blockquote type="cite" style="color:
#000000;">
<blockquote type="cite" style="color:
#000000;">
<blockquote type="cite" style="color:
#000000;">
<pre wrap=""><span class="moz-txt-citetags">>>>>>>>> >>>> >> </span>Magari <span class="moz-smiley-s1" title=":)"><span>:)</span></span> Si', sarebbe facile.
<span class="moz-txt-citetags">>>>>>>>> >>>> >></span>
</pre>
<blockquote type="cite" style="color:
#000000;">
<blockquote type="cite"
style="color: #000000;">
<blockquote type="cite"
style="color: #000000;">
<blockquote type="cite"
style="color: #000000;">
<blockquote type="cite"
style="color: #000000;">
<blockquote type="cite"
style="color: #000000;">
<blockquote type="cite"
style="color: #000000;">
<blockquote type="cite"
style="color:
#000000;">
<pre wrap=""><span class="moz-txt-citetags">>>>>>>>>>>>> >>>>>> >>> > </span>Il servizio whois potrebbe usare l'API per popolarsi. Ma potrebbe
<span class="moz-txt-citetags">>>>>>>>>>>>> >>>>>> >>> > </span>restituire informazioni anche per indirizzi layer2?
</pre>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<pre wrap=""><span class="moz-txt-citetags">>>>>>>>> >>>> >> </span>Si', potrebbe, pero' a questo punto non so se avrebbe ancora senso
<span class="moz-txt-citetags">>>>>>>>> >>>> >> </span>passare per chininux. Tanto vale interrogare direttamente nodeshot...
</pre>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<pre wrap=""><span class="moz-txt-citetags">>>>>>> >>> > </span>
<span class="moz-txt-citetags">>>>>>> >>> > </span>Ma a chininux gli si può fare pure richiestewhois classiche? A nodeshot
<span class="moz-txt-citetags">>>>>>> >>> > </span>al momento no(solo via HTTP).
</pre>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<pre wrap=""><span class="moz-txt-citetags">>>>> >> </span>Si'. Prova per esempio:
<span class="moz-txt-citetags">>>>> >> </span>whois -h chi.ninux.org 10.40.0.1
</pre>
</blockquote>
</blockquote>
<pre wrap=""><span class="moz-txt-citetags">>>> > </span>
<span class="moz-txt-citetags">>>> > </span>Fico! Teniamolasta cosa. Ti va?
</pre>
</blockquote>
</blockquote>
<pre wrap=""><span class="moz-txt-citetags">>> </span>Certo <span class="moz-smiley-s1" title=":)"><span>:)</span></span>
<span class="moz-txt-citetags">>></span>
</pre>
<blockquote type="cite" style="color: #000000;">
<blockquote type="cite" style="color: #000000;">
<pre wrap=""><span class="moz-txt-citetags">>>> > </span>Ora vedo che in realtà i miei dati ci sono, è solo il campo map-server
<span class="moz-txt-citetags">>>> > </span>che c'è il trattino. Quindi mancherebbero solo i dati layer2 per
<span class="moz-txt-citetags">>>> > </span>cominciare a poter popolare i dati in django-netjsongraph.
</pre>
</blockquote>
</blockquote>
<pre wrap=""><span class="moz-txt-citetags">>> </span>Basta aggiungere il permalink al mapserver nella colonna MapServer qui:
<span class="moz-txt-citetags">>> </span><a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://wiki.ninux.org/GestioneIndirizzi#Tabella_IP_Classe_A_10.2BAC8-8-1">http://wiki.ninux.org/GestioneIndirizzi#Tabella_IP_Classe_A_10.2BAC8-8-1</a>
<span class="moz-txt-citetags">>></span>
<span class="moz-txt-citetags">>> </span>Per avere i dati layer 2 dentro chininux basterebbe mettere da qualche
<span class="moz-txt-citetags">>> </span>parte sul wiki una tabella simile a quella che ti ho appena linkato, ma
<span class="moz-txt-citetags">>> </span>con indirizzi mac nella prima colonna.
<span class="moz-txt-citetags">>></span>
<span class="moz-txt-citetags">>> </span>La cosa in realta' e' un po' diversa rispetto a quanto avviene per gli
<span class="moz-txt-citetags">>> </span>indirizzi IP perche' i mac address non appartengono a uno spazio di
<span class="moz-txt-citetags">>> </span>indirizzamento ninux (vengono decisi dai vendor, non da noi) e perche'
<span class="moz-txt-citetags">>> </span>su Internet di solito non si trovano mac address dentro i record whois
<span class="moz-txt-citetags">>> </span>(non ha tanto senso linkare mac address a proprietario/amministratore,
<span class="moz-txt-citetags">>> </span>visto che il segmento di rete layer 2 si ferma al gateway).
<span class="moz-txt-citetags">>></span>
<span class="moz-txt-citetags">>> </span>Pero' mi pare che per noi la cosa ha un senso e che sia piuttosto facile
<span class="moz-txt-citetags">>> </span>da realizzare.
</pre>
</blockquote>
<pre wrap=""><span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span>Daje, lato nodeshot è implementato ed online:
<span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span><a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://ninux.nodeshot.org/api/v1/whois/10.40.0.1/">https://ninux.nodeshot.org/api/v1/whois/10.40.0.1/</a>
<span class="moz-txt-citetags">> </span><a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://ninux.nodeshot.org/api/v1/whois/00:27:22:c2:34:cb/">https://ninux.nodeshot.org/api/v1/whois/00:27:22:c2:34:cb/</a>
<span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span>Codice qui:
<span class="moz-txt-citetags">> </span><a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://github.com/ninuxorg/nodeshot/commit/7b7060f23f1f30d1ce0671a07858bb88966faf64">https://github.com/ninuxorg/nodeshot/commit/7b7060f23f1f30d1ce0671a07858bb88966faf64</a>
</pre>
</blockquote>
<pre wrap="">Ora chininux prende i dati anche da nodeshot ed implementa anche il
whois dei mac address:
whois -h chi.ninux.org 10.40.0.1
whois -h chi.ninux.org 00:27:22:c2:34:cb
Commits:
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://github.com/ninuxorg/chininux/commit/7183527ca498c73be10a46e8ac27f10818b406f0">https://github.com/ninuxorg/chininux/commit/7183527ca498c73be10a46e8ac27f10818b406f0</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://github.com/ninuxorg/chininux/commit/6fc4aec1fe20243e87d9ee2d0875ad6fe3715154">https://github.com/ninuxorg/chininux/commit/6fc4aec1fe20243e87d9ee2d0875ad6fe3715154</a></pre>
</blockquote>
<br>
<font face="Helvetica, Arial, sans-serif">Volevo fare un<font
face="Helvetica, Arial, sans-serif">a tipica esclamazione
sessista in voga qualche anno fa in ninux-roma ma dato che sono
coach di D<font face="Helvetica, Arial, sans-serif">jan<font
face="Helvetica, Arial, sans-serif">go Girls Rome [1] mi
sono trattenuto ed ho optato <font face="Helvetica, Arial,
sans-serif">per un "renzismo":
<a class="moz-txt-link-freetext" href="https://twitter.com/ninuxorg/status/651416749582249984">https://twitter.com/ninuxorg/status/651416749582249984</a><br>
<br>
<font face="Helvetica, Arial, sans-serif">[1]:
<a class="moz-txt-link-freetext" href="https://djangogirls.org/rome/">https://djangogirls.org/rome/</a></font><br>
</font></font></font></font></font>
</body>
</html>