SourceForge.net | 13 Aug 2011 13:28
Picon

[ libetpan-Bugs-3390872 ] mode_reader rejects 201 as unexpected

Bugs item #3390872, was opened at 2011-08-13 13:28
Message generated for change (Tracker Item Submitted) made by sbigaret
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=429696&aid=3390872&group_id=41064

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: NNTP
Group: Latest development - libEtPan!
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Sébastien Bigaret (sbigaret)
Assigned to: Nobody/Anonymous (nobody)
Summary: mode_reader rejects 201 as unexpected

Initial Comment:
Hi

This applies to libetpan v1.1 and to the subversion HEAD as of today.

In low-level/nntp/newsnntp.c: newsnntp_mode_reader() returns
NEWSNNTP_ERROR_UNEXPECTED_RESPONSE when a server replies with a 201
cf. http://tools.ietf.org/html/rfc3977#section-5.3


It should return NEWSNNTP_NO_ERROR (like in newsnntp_connect())

Tiny patch attached.
(Continue reading)

SourceForge.net | 13 Aug 2011 13:31
Picon

[ libetpan-Bugs-3390872 ] mode_reader rejects 201 as unexpected

Bugs item #3390872, was opened at 2011-08-13 13:28
Message generated for change (Comment added) made by sbigaret
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=429696&aid=3390872&group_id=41064

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: NNTP
Group: Latest development - libEtPan!
Status: Open
Resolution: None
>Priority: 7
Private: No
Submitted By: Sébastien Bigaret (sbigaret)
Assigned to: Nobody/Anonymous (nobody)
Summary: mode_reader rejects 201 as unexpected

Initial Comment:
Hi

This applies to libetpan v1.1 and to the subversion HEAD as of today.

In low-level/nntp/newsnntp.c: newsnntp_mode_reader() returns
NEWSNNTP_ERROR_UNEXPECTED_RESPONSE when a server replies with a 201
cf. http://tools.ietf.org/html/rfc3977#section-5.3


It should return NEWSNNTP_NO_ERROR (like in newsnntp_connect())

Tiny patch attached.
(Continue reading)

SourceForge.net | 14 Aug 2011 15:00
Picon

[ libetpan-Bugs-3391473 ] Response 381 is invalid except for AUTHINFO USER

Bugs item #3391473, was opened at 2011-08-14 15:00
Message generated for change (Tracker Item Submitted) made by sbigaret
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=429696&aid=3391473&group_id=41064

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: NNTP
Group: Latest stable - libEtPan!
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Sébastien Bigaret (sbigaret)
Assigned to: Nobody/Anonymous (nobody)
Summary: Response 381 is invalid except for AUTHINFO USER

Initial Comment:
Hi,

Following RFC4643, in particular see: http://tools.ietf.org/html/rfc4643#section-2.3.1

381 Password required is only valid for «AUTHINFO USER».

My understanding is that the only place where it is valid to return
NEWSNNTP_WARNING_REQUEST_AUTHORIZATION_PASSWORD is in newsnntp_authinfo_username()
[src/low_level/nntp/newsnntp.c], and that any 381 encountered elsewhere should be treated as NEWSNNTP_ERROR_UNEXPECTED_RESPONSE.

I've attached the corresponding patch.

(Continue reading)

SourceForge.net | 14 Aug 2011 15:16
Picon

[ libetpan-Bugs-3391479 ] 481 Authentication failed/rejected not handled

Bugs item #3391479, was opened at 2011-08-14 15:16
Message generated for change (Tracker Item Submitted) made by sbigaret
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=429696&aid=3391479&group_id=41064

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: NNTP
Group: Latest development - libEtPan!
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Sébastien Bigaret (sbigaret)
Assigned to: Nobody/Anonymous (nobody)
Summary: 481 Authentication failed/rejected not handled

Initial Comment:
Hi,

This applies to v1.1 and CVS HEAD.

The response code 481 "Authentication failed/rejected" is not handled by
newsnntp_authinfo_username() nor by newsnntp_authinfo_password() [in src/low-level/nntp/newsnntp.c].
Ref. RFC: http://tools.ietf.org/html/rfc4643


I've attached the correspondig patch fixing this.

In addition, 482 "authentication commands issued out of sequence" is also reported as AUTHENTIFICATION
(Continue reading)

SourceForge.net | 16 Aug 2011 07:15
Picon

[ libetpan-Bugs-3391479 ] 481 Authentication failed/rejected not handled

Bugs item #3391479, was opened at 2011-08-14 15:16
Message generated for change (Comment added) made by hoa
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=429696&aid=3391479&group_id=41064

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: NNTP
Group: Latest development - libEtPan!
>Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Sébastien Bigaret (sbigaret)
Assigned to: Nobody/Anonymous (nobody)
Summary: 481 Authentication failed/rejected not handled

Initial Comment:
Hi,

This applies to v1.1 and CVS HEAD.

The response code 481 "Authentication failed/rejected" is not handled by
newsnntp_authinfo_username() nor by newsnntp_authinfo_password() [in src/low-level/nntp/newsnntp.c].
Ref. RFC: http://tools.ietf.org/html/rfc4643


I've attached the correspondig patch fixing this.

In addition, 482 "authentication commands issued out of sequence" is also reported as AUTHENTIFICATION
(Continue reading)

SourceForge.net | 16 Aug 2011 07:15
Picon

[ libetpan-Bugs-3391473 ] Response 381 is invalid except for AUTHINFO USER

Bugs item #3391473, was opened at 2011-08-14 15:00
Message generated for change (Comment added) made by hoa
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=429696&aid=3391473&group_id=41064

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: NNTP
Group: Latest stable - libEtPan!
>Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Sébastien Bigaret (sbigaret)
Assigned to: Nobody/Anonymous (nobody)
Summary: Response 381 is invalid except for AUTHINFO USER

Initial Comment:
Hi,

Following RFC4643, in particular see: http://tools.ietf.org/html/rfc4643#section-2.3.1

381 Password required is only valid for «AUTHINFO USER».

My understanding is that the only place where it is valid to return
NEWSNNTP_WARNING_REQUEST_AUTHORIZATION_PASSWORD is in newsnntp_authinfo_username()
[src/low_level/nntp/newsnntp.c], and that any 381 encountered elsewhere should be treated as NEWSNNTP_ERROR_UNEXPECTED_RESPONSE.

I've attached the corresponding patch.

(Continue reading)

SourceForge.net | 16 Aug 2011 07:15
Picon

[ libetpan-Bugs-3390872 ] mode_reader rejects 201 as unexpected

Bugs item #3390872, was opened at 2011-08-13 13:28
Message generated for change (Comment added) made by hoa
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=429696&aid=3390872&group_id=41064

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: NNTP
Group: Latest development - libEtPan!
>Status: Closed
Resolution: None
Priority: 7
Private: No
Submitted By: Sébastien Bigaret (sbigaret)
Assigned to: Nobody/Anonymous (nobody)
Summary: mode_reader rejects 201 as unexpected

Initial Comment:
Hi

This applies to libetpan v1.1 and to the subversion HEAD as of today.

In low-level/nntp/newsnntp.c: newsnntp_mode_reader() returns
NEWSNNTP_ERROR_UNEXPECTED_RESPONSE when a server replies with a 201
cf. http://tools.ietf.org/html/rfc3977#section-5.3


It should return NEWSNNTP_NO_ERROR (like in newsnntp_connect())

Tiny patch attached.
(Continue reading)

SourceForge.net | 16 Aug 2011 07:16
Picon

[ libetpan-Bugs-3349626 ] bad include order in namespace_parser.c

Bugs item #3349626, was opened at 2011-07-03 00:19
Message generated for change (Comment added) made by hoa
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=429696&aid=3349626&group_id=41064

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: other
Group: Latest development - EtPan! cvs
>Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Daniel Leite (higuita)
Assigned to: Nobody/Anonymous (nobody)
Summary: bad include order in namespace_parser.c

Initial Comment:
When trying to compile in slackware64 13.37 i get this:

make[7]: Entering directory `/home/higuita/build/claws-mail/libetpan/src/low-level/imap'
/bin/sh ../../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. 
-I../../../include -I../../../src/data-types -D_REENTRANT   -O2 -fPIC -W -Wall -MT
namespace_parser.lo -MD -MP -MF .deps/namespace_parser.Tpo -c -o namespace_parser.lo namespace_parser.c
/bin/sh ../../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. 
-I../../../include -I../../../src/data-types -D_REENTRANT   -O2 -fPIC -W -Wall -MT xlist.lo -MD -MP
-MF .deps/xlist.Tpo -c -o xlist.lo xlist.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../src/data-types
-D_REENTRANT -O2 -fPIC -W -Wall -MT xlist.lo -MD -MP -MF .deps/xlist.Tpo -c xlist.c  -fPIC -DPIC -o .libs/xlist.o
(Continue reading)


Gmane