<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>Yeah, it would be very useful to use some kind of string format, like the one used in moocow's bytes2any and any2bytes.</div><div><br></div><div>.hc</div><br><div><div>On Sep 26, 2010, at 6:08 AM, Nicolas Montgermont wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"> <div bgcolor="#ffffff" text="#000000"> cool,<br> <br> the data outlet is actually working, it was just to set the data limit...<br> Everything seems to work fine!<br> on osx, you can avoid launching pd as root by changing the read access to the interface:<br> sudo chmod a+r /dev/bpf*<br> there is some explanations on capture right for this software that use the same lib:<br> <a class="moz-txt-link-freetext" href="http://wiki.wireshark.org/CaptureSetup/CapturePrivileges">http://wiki.wireshark.org/CaptureSetup/CapturePrivileges</a><br> <br> good work, it seems very stable.<br> maybe having a possibility to switch the data output to ASCII or list of int instead of an hexa symbol could be a good thing, but it's only optional as it can be done in pd.<br> (in c it may be faster)<br> thx,<br> <br> n<br> <br> Le 25/09/10 21:04, Jordi Sala a écrit : <blockquote cite="mid:AANLkTik5xQr_QrmifEr-+WX3PtLGCtGufrAavUrhWPLo@mail.gmail.com" type="cite">Hi, <div><br> </div> <div>I'm doing some changes in pdpcap, I will change the general ip struct definition, of course and I will look what happens at outlet10. I expect to have this changes done during next week.</div> <div> <br> </div> <div>Thanks a lot for your suggestions and your tests! If you (or any other) have any other suggestion it would be very helpful for me.</div> <div><br> </div> <div>tx!</div> <div><br> </div> <div><br> </div> <div><br> <div class="gmail_quote"> On 25 September 2010 16:39, Nicolas Montgermont <span dir="ltr"><<a moz-do-not-send="true" href="mailto:nicolas_montgermont@yahoo.fr">nicolas_montgermont@yahoo.fr</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> <div bgcolor="#ffffff" text="#000000"> Hello Jordi,<br> <br> Cool thing the possibility to do tcpdump in pd!<br> I was trying to build the version 0.0.3 on osx and i run into many errors due to some difference in headers in osx and linux:<br> <br> iphdr and icmphdr struct were not defined in osx,<br> so i added their definition.<br> <br> and tcp and udp source and dest have different labelling:<br> <a moz-do-not-send="true" href="http://en.wikipedia.org/wiki/Tcphdr" target="_blank">http://en.wikipedia.org/wiki/Tcphdr</a><br> (the bsd standard seems to work on both platform though)<br> so i changed them.<br> <br> it manages to compiles and now seems to run fine!<br> except that i have zero hexadecimal data on the outlet10... and i'd love to have them.<br> <br> maybe it would be nice to use the general ip struct definiton if possible?<br> <a moz-do-not-send="true" href="http://en.wikipedia.org/wiki/Ip_%28struct%29" target="_blank">http://en.wikipedia.org/wiki/Ip_%28struct%29</a><br> attached is the diff between your file and mine.<br> <br> thx to share your work,<br> <br> n<br> osx 10.5.8<br> pd-extended 0.42.5<br> <br> Le 24/09/10 01:28, Jordi Sala a écrit : <div class="im"> <blockquote type="cite"> <div>Hi, I've made a patch to visualize on a world map the location of remote hosts that connects to our computer. </div> <div>Video demo: <a moz-do-not-send="true" href="http://vimeo.com/15138625" target="_blank">http://vimeo.com/15138625</a> </div> <div><br> </div> <div>Download the patch (It's a "dirty" patch) but I expect I works for most linux computers...</div> <div><br> </div> <a moz-do-not-send="true" href="http://musa.poperbu.net/content/view/94/1/" target="_blank">http://musa.poperbu.net/content/view/94/1/</a><br clear="all"> <br> <br> </blockquote> <br> </div> <font color="#888888"> <div>-- <br> <a moz-do-not-send="true" href="http://nim.on.free.fr" target="_blank">http://nim.on.free.fr</a></div> </font></div> <br> _______________________________________________<br> <a moz-do-not-send="true" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br> UNSUBSCRIBE and account-management -> <a moz-do-not-send="true" href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br> <br> </blockquote> </div> <br> <br clear="all"> <br> -- <br> Jordi Sala<br> <a moz-do-not-send="true" href="http://musa.poperbu.net">http://musa.poperbu.net</a><br> </div> </blockquote> <br> <div class="moz-signature">-- <br> <a class="moz-txt-link-freetext" href="http://nim.on.free.fr">http://nim.on.free.fr</a></div> </div> _______________________________________________<br><a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br></blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><br class="Apple-interchange-newline"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div><br></div><div>----------------------------------------------------------------------------</div><div><br></div><div>As we enjoy great advantages from inventions of others, we should be glad of an opportunity to serve others by any invention of ours; and this we should do freely and generously. - Benjamin Franklin</div><br class="Apple-interchange-newline"></span></span> </div><br></body></html>