This is an automated email from the ASF dual-hosted git repository.
btellier pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git.
from 8aa408c [DOCUMENTATION] mailbox/cassandra table structure and
denormalization (#608)
add 6263d87 JAMES-1862 Generalize STARTTLS sanitizing fix
add 4972594 JAMES-1862 Refactor POP3 to load configuration from a file
add 42959b2 JAMES-1862 IMAP unit tests for STARTTLS command sanitizing
add 66c835e JAMES-1862 POP3 unit tests for STARTTLS command sanitizing
add cbb114f JAMES-1862 Prevent Session fixation via STARTTLS
new f06bff8 Merge pull request #589 JAMES-1862 Generalize STARTTLS
sanitizing fix
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../james/mpt/smtp/SmtpStarttlsCommandTest.java | 7 ++
.../smtp/scripts/starttls_session_fixation.test | 26 +++++++
.../protocols/api/CommandDetectionSession.java | 12 +--
.../james/protocols/api/ProtocolSession.java | 3 +-
.../james/protocols/api/ProtocolSessionImpl.java | 17 +++++
.../apache/james/imap/api/process/ImapSession.java | 3 +-
.../apache/james/imap/encode/FakeImapSession.java | 15 ++++
.../imap/processor/AbstractAuthProcessor.java | 1 +
.../james/imap/processor/AppendProcessor.java | 2 +
.../imap/processor/AuthenticateProcessor.java | 1 +
.../AllButStartTlsLineBasedChannelHandler.java | 25 ++++---
.../AllButStartTlsLineChannelHandlerFactory.java | 10 +--
.../netty}/CommandInjectionDetectedException.java | 2 +-
.../apache/james/protocols/smtp/SMTPSession.java | 6 --
.../james/protocols/smtp/SMTPSessionImpl.java | 14 ----
.../smtp/core/esmtp/StartTlsCmdHandler.java | 6 ++
.../smtp/netty/NettyStartTlsSMTPServerTest.java | 8 +-
.../protocols/smtp/utils/BaseFakeSMTPSession.java | 2 +-
server/protocols/protocols-imap4/pom.xml | 5 ++
.../james/imapserver/netty/NettyImapSession.java | 17 +++++
.../netty/SwitchableLineBasedFrameDecoder.java | 45 +++++++++--
.../SwitchableLineBasedFrameDecoderFactory.java | 2 +-
.../james/imapserver/netty/IMAPServerTest.java | 60 +++++++++++++++
.../{imapServer.xml => imapServerStartTLS.xml} | 7 +-
.../src/test/resources/keystore | Bin
.../managesieveserver/netty/ManageSieveServer.java | 5 +-
server/protocols/protocols-pop3/pom.xml | 5 ++
.../james/pop3server/core/PassCmdHandler.java | 1 +
.../apache/james/pop3server/netty/POP3Server.java | 4 +-
.../apache/james/pop3server/POP3ServerTest.java | 82 ++++++++++++++++++---
.../james/pop3server/POP3TestConfiguration.java | 35 ---------
.../src/test/resources/keystore | Bin
.../src/test/resources/pop3server.xml | 15 ++++
.../apache/james/smtpserver/netty/SMTPServer.java | 4 +-
34 files changed, 336 insertions(+), 111 deletions(-)
create mode 100644
mpt/impl/smtp/core/src/main/resources/org/apache/james/smtp/scripts/starttls_session_fixation.test
copy
backends-common/cassandra/src/main/java/org/apache/james/backends/cassandra/versions/table/CassandraSchemaVersionTable.java
=>
protocols/api/src/main/java/org/apache/james/protocols/api/CommandDetectionSession.java
(82%)
rename protocols/{smtp/src/main/java/org/apache/james/protocols/smtp =>
netty/src/main/java/org/apache/james/protocols/netty}/AllButStartTlsLineBasedChannelHandler.java
(78%)
rename protocols/{smtp/src/main/java/org/apache/james/protocols/smtp =>
netty/src/main/java/org/apache/james/protocols/netty}/AllButStartTlsLineChannelHandlerFactory.java
(87%)
rename protocols/{smtp/src/main/java/org/apache/james/protocols/smtp =>
netty/src/main/java/org/apache/james/protocols/netty}/CommandInjectionDetectedException.java
(96%)
copy server/protocols/protocols-imap4/src/test/resources/{imapServer.xml =>
imapServerStartTLS.xml} (62%)
copy
server/protocols/{webadmin-integration-test/memory-webadmin-integration-test =>
protocols-imap4}/src/test/resources/keystore (100%)
delete mode 100644
server/protocols/protocols-pop3/src/test/java/org/apache/james/pop3server/POP3TestConfiguration.java
copy
server/protocols/{webadmin-integration-test/memory-webadmin-integration-test =>
protocols-pop3}/src/test/resources/keystore (100%)
create mode 100644
server/protocols/protocols-pop3/src/test/resources/pop3server.xml
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]