[Adium-devl] Testing needed: Libgaim with NAT-PMP support

Evan Schoenberg evan.s at dreskin.net
Thu Mar 22 14:10:44 UTC 2007


This morning I skipped pharmacology (ironically, I'm so sick of  
antibiotics) and instead finished up addition of NAT-PMP support to  
Libgaim.  I've committed a build of the framework to trunk.  The  
support is based on BSD code by R. Tyler Ballance of Bleep Software [1].

NAT-PMP is similar to UPnP; it provides direct automatic port mapping  
through NAT on supported routers.  'Supported routers' in this case  
means Apple Airport routers (Extreme and Express), which don't  
support UPnP.

In my tests behind my Airport Express, it works well and improves  
success rates on AIM file transfers.  The mapping is relevant in  
libgaim in:
Jabber file transfer
AIM file transfer & Direct Conncet
IRC DCC send
something in the SIMPLE protocol (not sure what)
obtaining the public facing IP address

I'd appreciate folks with various routers -- both supporting and not  
support NAT-PMP -- trying out trunk [19234] or later and letting me  
know how it goes. I'm specifically concerned about crashes in the  
code [2], slowdowns when using a non-supporting router [3], and  
success stories.  Hopefully this should have a significant positive  
impact on modern Airport router users.

[1] http://unethicalblogger.com/posts/tyler/i_aint_shipley_but_pmpmyapp
[2] There was a nasty crasher in the original code which popped up  
intermittently. I believe I"ve fixed it; if reports are good, I'll  
let Tyler know about the problem and fix.
[3] The code looks a bit suspicious as to how it handles failure at  
present... which I can't induce, even with disabling PMP in the  
airport config... as it tries 10 times with an exponentially  
increasing delay.

Cheers,
Evan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20070322/37604ea7/attachment.sig>


More information about the devel mailing list