[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Most recent version of the FAQ?



Someone posted a snippet of iauth -> ircd traffic:

  >> I 2 203.36.167.162 13578 NOTICE AUTH :Bad password
  >> >client from 203.36.167.162:13578 denied: Bad password
  >> K 2 203.36.167.162 13578
  >> D 2 203.36.167.162 13578

>>>>> "Kurt" == Kurt Roeckx <Q@xxxxxxx> writes:

  Kurt> I have no idea what "I ..." is supposed to do. But I guess you
  Kurt> want something to be able to send data to the client.

This was an extension I implemented when I wrote mod_lhex.c --
basically iauth has no way of sending information to the client, which 
isn't very nice. The original reason for this was that it violated the 
RFC to send information to the client before it was registered. I
think.

However this restriction isn't very practical when trying to write
user-friendly authentication modules, so I broke it. May the Lord have 
mercy on my soul.

I recall that Christophe Kalt wasn't happy with my solution, although
he understood the need for modules to be able to send information to
the client. I think I recall him later mentioning that he had a better
way of doing this, but I don't recall being told the details or
investigating. Maybe Christophe can elaborate on the details here (or
provide a pointer).

 - Andrew
-- 
#!/usr/bin/env python
print(lambda s:s+"("+`s`+")")\
('#!/usr/bin/env python\012print(lambda s:s+"("+`s`+")")\\\012')
print(lambda x:x%`x`)('print(lambda x:x%%`x`)(%s)')