nnrpd headers parsing
md at Linux.IT
Sun May 6 23:46:38 UTC 2001
On May 07, Katsuhiro Kondou <kondou at nec.co.jp> wrote:
>} When an article with a malformed header without a colon is posted to a
>} moderated group, the posting fails in nnrpd/perl.c HandleHeaders(), but
>} the user gets no error instead of the "No colon-space" message.
>Which routine user gets no error in ARTpost()?
I don't understand what do you mean. This is a transcript:
md at attila:pts/2:~$telnet 0 nntp
Connected to 0.0.0.0.
Escape character is '^]'.
200 bofh.it InterNetNews server INN 2.3.1 ready
200 bofh.it InterNetNews NNRP server INN 2.3.1 ready (posting ok).
340 Ok, recommended ID <9d4nlt$hnq$1 at attila.bofh.it>
From: user at domain.invalid
240 Article posted (mailed to moderator)
Connection closed by foreign host.
md at attila:pts/2:~$
May 7 01:44:59 attila nnrpd: SERVER perl filtering enabled
May 7 01:44:59 attila nnrpd: localhost connect
May 7 01:45:12 attila nnrpd: Bad header copying headers for Perl: 'Approved xxx'
May 7 01:45:12 attila nnrpd: localhost post ok (mailed to moderator)
May 7 01:45:14 attila nnrpd: localhost posts received 1 rejected 0
May 7 01:45:14 attila nnrpd: localhost times user 0.030 system 0.040 elapsed 14.883
More information about the inn-workers