6.0.0-git
2020-02-28

[#6338] Show the script in "Show Active Script"
Summary Show the script in "Show Active Script"
Queue Ingo
Queue Version 1.1.5
Type Enhancement
State No Feedback
Priority 1. Low
Owners
Requester skhorde (at) smail (dot) inf (dot) fh-bonn-rhein-sieg (dot) de
Created 2008-02-28 (4383 days ago)
Due
Updated 2008-05-05 (4316 days ago)
Assigned
Resolved 2008-03-13 (4369 days ago)
Milestone
Patch No

History
2008-05-05 14:01:19 Chuck Hagenbuch Comment #5 Reply to this comment
This should be submitted at http://pear.php.net/bugs/ as we don't 
maintain Net_Sieve.
2008-05-05 09:45:58 skhorde (at) smail (dot) inf (dot) fh-bonn-rhein-sieg (dot) de Comment #4 Reply to this comment
The problem is in horde/pear/Net/Sieve.php as it does not fetch the 
CAPABILITY string send after STARTTLS:



  http://tools.ietf.org/html/draft-martin-managesieve-08#section-2.2



  "After the TLS layer is established, the server MUST re-issue the

      capability results, followed by an OK response. This is necessary to

      protect against man-in-the-middle attacks which alter the

      capabilities list prior to STARTTLS. This capability result MUST NOT

      include the STARTTLS capability."



This patch allows TLS working:

@@ -373,6 +373,11 @@

                  if (PEAR::isError($res = $this->_startTLS())) {

                      return $res;

                  }

+                               // Get STARTTLS capability and parse

+                if (PEAR::isError($res = $this->_doCmd())) {

+                    return $res;

+                }

+                               $this->_parseCapability($res);

              }

          }


2008-03-13 11:24:40 Jan Schneider State ⇒ No Feedback
 
2008-03-06 10:20:12 Jan Schneider Comment #3
State ⇒ Feedback
Reply to this comment
So, whatever the outcome is, it seems to be Net_Sieve that has 
inconsistent behavior?
2008-02-29 11:33:15 skhorde (at) smail (dot) inf (dot) fh-bonn-rhein-sieg (dot) de Comment #2 Reply to this comment
I'm using ManageSieve path with Dovecot v1.0.10.



The behavious is different, if I disable TLS in ./pear/Net/Sieve.php.

With TLS I see the output of LISTSCRIPTS.

Without TLS I see the contents of the active script.



I need to figure out, how to debug a TLS session.
2008-02-28 09:39:28 skhorde (at) smail (dot) inf (dot) fh-bonn-rhein-sieg (dot) de Comment #1
Type ⇒ Enhancement
State ⇒ New
Priority ⇒ 1. Low
Summary ⇒ Show the script in "Show Active Script"
Queue ⇒ Ingo
Reply to this comment
Using ManageSieve you can "Show Active Script", which displays the 
output of the LISTSCRIPTS command. However, the script is not shown.



It would be good to display the contents of the active script as well, 
as it was in Ingo v1.1.4.



Moreover, it would good to have a state shown above, like "the server 
script matches the current Ingo script" or not.

Saved Queries