Posting over innd/lc.c

Russ Allbery rra at stanford.edu
Sun Feb 17 19:58:52 UTC 2002


Jeffrey M Vinocur <jeff at litech.org> writes:

> I believe we've induced a small bug that I don't know enough to track
> down.  The symptom is that posts are being treated as if they're coming
> from localhost and are being rejected based on incoming.conf.  Now, this
> isn't right; normally everything magically goes from nnrpd somehow
> avoiding incoming.conf.  On examination of the innd source, I'm getting
> the impression that the way this is supposed to work is that nnrpd uses
> a unix domain socket (innd/lc.c stuff) and that somehow bypasses
> incoming.conf.  Is that right?

Right.

> And if so, does anybody know offhand where the bit of code that decides
> whether to apply incoming.conf or not?

That channel is supposed to have LCreader as its reader function.  It
sounds like it has RCreader instead, which applies incoming.conf rules.
LCreader will accept all connections.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>


More information about the inn-workers mailing list