pmarks-net / dtella

A decentralized Direct Connect "hub"
GNU General Public License v2.0
7 stars 2 forks source link

Implement InspIRCd-compatible host masking #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, inspircd.py is still relying on UnrealIRCd's hostname masking 
algorithm, so Dtella users' hostnames are in a different format than normal 
IRC users.

It might be nice to implement InspIRCd's algorithm in Python someday.  
Although their algorithm is slightly crazy, so the implementation needs to 
include unit tests.

Original issue reported on code.google.com by sparkm...@gmail.com on 2 Sep 2009 at 5:05

GoogleCodeExporter commented 9 years ago

Original comment by jacob.feisley on 18 Jan 2010 at 1:12

GoogleCodeExporter commented 9 years ago
I was looking into this again today.  Inspircd's m_cloaking module modifies the 
internal state of the MD5 algorithm, and thus is not compatible with Python's 
MD5 
interface.  In order to make this work, I'd have to find/include a pure-Python 
implementation of MD5.

Inspircd 2.0 includes some new cloaking code which is significantly less insane 
than 
the 1.x version.  I suggest we migrate the server to the 2.0 beta, so I can 
play with 
the new algorithm instead.

Original comment by sparkm...@gmail.com on 31 Jan 2010 at 4:07

GoogleCodeExporter commented 9 years ago
A test server has been provided for 2.0 to be tested on.

Original comment by jacob.feisley on 23 Aug 2010 at 7:17

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/dtella/source/detail?r=626

Original comment by sparkm...@gmail.com on 25 Aug 2010 at 9:42