nnrpd headers parsing
Marco d'Itri
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
Trying 0.0.0.0...
Connected to 0.0.0.0.
Escape character is '^]'.
200 bofh.it InterNetNews server INN 2.3.1 ready
mode reader
200 bofh.it InterNetNews NNRP server INN 2.3.1 ready (posting ok).
post
340 Ok, recommended ID <9d4nlt$hnq$1 at attila.bofh.it>
Newsgroups: it.test.moderato
From: user at domain.invalid
Subject: x
Approved xxx
x
.
240 Article posted (mailed to moderator)
quit
205 .
Connection closed by foreign host.
md at attila:pts/2:~$
May 7 01:44:59 attila nnrpd[18170]: SERVER perl filtering enabled
May 7 01:44:59 attila nnrpd[18170]: localhost connect
May 7 01:45:12 attila nnrpd[18170]: Bad header copying headers for Perl: 'Approved xxx'
May 7 01:45:12 attila nnrpd[18170]: localhost post ok (mailed to moderator)
May 7 01:45:14 attila nnrpd[18170]: localhost posts received 1 rejected 0
May 7 01:45:14 attila nnrpd[18170]: localhost times user 0.030 system 0.040 elapsed 14.883
--
ciao,
Marco
More information about the inn-workers
mailing list