aboutsummaryrefslogtreecommitdiff
path: root/tests/ftpserver.pl
AgeCommit message (Collapse)Author
2013-11-10ftpserver.pl: Reworked custom reply handling codeSteve Holme
1) To fix issues with IMAP custom replies 2) So initial space is not required in IMAP display text 3) To be more readable and understandable
2013-11-10ftpserver.pl: Reworked unrecognised command responsesSteve Holme
As the IMAP regex could fail and $1 would not contain the command id updated the unrecognised command response to be more generic and realistic (like those used in the command handlers). Additionally updated the POP3, SMTP and FTP responses.
2013-11-10ftpserver.pl: Fixed processing of IMAP authentication stringsSteve Holme
2013-11-06Revert "ftpserver.pl: Corrected logic from commit 27b7b1062f9d97"Steve Holme
This reverts commit 558034ab7002d1 as it appears to break the auto builds. More thought is required for this!
2013-11-06ftpserver.pl: Corrected logic from commit 27b7b1062f9d97Steve Holme
2013-11-06ftpserver.pl: Fixed IMAP cmdid being sent on custom responsesSteve Holme
2013-10-23ftpserver.pl: Added support for empty pop3 authentication dataSteve Holme
2013-10-23tests: Added empty response support to custom repliesSteve Holme
...and fixed up test869 as DIGEST-MD transcript is as follows: S: Challenge C: Authentication String S: Continue Response C: Empty String
2013-10-20ftpserver.pl: Fixed syntax error from commit 5b31b38c27bb7aSteve Holme
2013-10-19ftpserver.pl: Fixed processing of POP3 authentication stringsSteve Holme
...and corrected response when check fails from 500 to -ERR.
2013-10-19tests: Added POP3 APOP authentication testSteve Holme
2013-10-19ftpserver.pl: Added support for APOP POP3 authenticationSteve Holme
2013-09-29ftpserver.pl: Fixed compilation error from commit 49341628b50007Steve Holme
2013-09-29ftpserver.pl: Moved specifying the test number from the RCPT addressSteve Holme
...to the client address as this frees the RCPT strings to contain just an email address and by passing the test number into curl as the client address remains consistent with POP3 and IMAP tests as they are specified in the URL.
2013-09-29ftpserver.pl: Added unwanted argument check to SMTP DATA command handlerSteve Holme
2013-09-22ftpserver.pl: Expanded the SMTP RCPT handler to validate TO addressesSteve Holme
RCPT_smtp() will now check for a correctly formatted TO address which allows for invalid recipient addresses to be added.
2013-09-22ftpserver.pl: Added cURL SMTP server detection to HELO command handlerSteve Holme
As curl will send a HELO command after an negative EHLO response, added the same detection from commit b07709f7417c3e to the HELO handler to ensure the test server is identified correctly and an upload isn't performed.
2013-09-22ftpserver.pl: Corrected response code for successful RCPT commandSteve Holme
2013-09-22ftpserver.pl: Moved invalid RCPT TO: address detection to RCPT handlerSteve Holme
Rather than detecting the TO address as missing in the DATA handler, moved the detection to the RCPT command handler where an error response can be generated.
2013-09-21ftpserver.pl: Moved cURL SMTP server detection into EHLO command handlerSteve Holme
Moved the special SMTP server detection code from the DATA command handler, which happens further down the operation chain after EHLO, MAIL and RCPT commands, to the EHLO command as it is the first command to be generated by a SMTP operation as well as containing the special "verifiedserver" string from the URL. This not only makes it easier and quicker to detect but also means that cURL doesn't need to specify "verifiedserver" as --mail-from and --mail-rcpt arguments. More importantly, this also makes the upcoming verification changes to the RCPT handler easier to implement.
2013-09-20ftpserver.pl: Corrected SMTP QUIT response to be more realisticSteve Holme
2013-09-20ftpserver.pl: Moved SMTP RCPT response text into command handlerSteve Holme
2013-09-19ftpserver.pl: Updated email regex from commit 98f7ca7e971006Steve Holme
...to not be as strict as it was rejecting valid numeric email addresses.
2013-09-18ftpserver.pl: Standardised CAPA and AUTH responsesSteve Holme
2013-09-18ftpserver.pl: Corrected POP3 QUIT reply to be more realisticSteve Holme
2013-09-18ftpserver.pl: Fixed syntax error in commit 98f7ca7e971006Steve Holme
Can't modify constant item in scalar assignment line 779, near "0;"
2013-09-18ftpserver.pl: Expanded the SMTP MAIL handler to validate messagesSteve Holme
MAIl_smtp() will now check for a correctly formatted FROM address as well as the optional SIZE parameter comparing it against the server capability when specified.
2013-09-17ftpserver.pl: Corrected response code for successful MAIL commandSteve Holme
2013-09-17ftpserver.pl: Moved SMTP MAIL handler into own functionSteve Holme
2013-09-15ftpserver.pl: Added the ability to include spaces in capabilitiesSteve Holme
For example: CAPA "SIZE 1048576" 8BITMIME BINARYMIME will populate the capabilities list with the following in: SIZE 1048576 8BITMIME BINARYMIME
2013-09-15ftpserver.pl: Corrected response code for successful SMTP QUIT commandSteve Holme
2013-09-15ftpserver.pl: Fixed syntax error in commit 33c1f2876b9029Steve Holme
Can't modify constant item in postincrement line 727, near "i++"
2013-09-15ftpserver.pl: Added CAPA & AUTH directive support to the SMTP EHLO handlerSteve Holme
2013-09-15ftpserver.pl: Fixed SMTP QUIT handler from dadc495540946eSteve Holme
2013-09-15ftpserver.pl: Moved SMTP EHLO and QUIT handlers in own functionsSteve Holme
2013-09-15ftpserver.pl: Added support for SMTP HELO commandSteve Holme
...and updated test902 as explicit HELO response is no longer required.
2013-09-15ftpserver.pl: Added mailbox check to IMAP SELECT handlerSteve Holme
2013-09-15ftpserver.pl: Corrected invalid user details checkSteve Holme
...in both the IMAP LOGIN and POP3 PASS handlers introduced in commit 187ac693744949 and 84ad1569e5fc93 respectively.
2013-09-14ftpserver.pl: Moved IMAP LOGIN handler into own functionSteve Holme
2013-09-14ftpserver.pl: Moved POP3 USER and PASS handlers into own functionsSteve Holme
2013-09-14ftpserver.pl: Corrected invalid argument check in POP3 TOP handlerSteve Holme
...which was accidentally introduced in commit 4d6ef6297ae9b6.
2013-09-14ftpserver.pl: Added capability prerequisite for extended POP3 commandsSteve Holme
2013-09-14ftpserver.pl: Added support for IMAP NOOP commandSteve Holme
2013-09-12ftpserver.pl: Fixed missing comma from 7fd84b14d219b1Steve Holme
2013-09-12ftpserver.pl: Fixed variable error introduced in 7fd84b14d219b1Steve Holme
Global symbol "$mailbox" requires explicit package name
2013-09-11ftpserver.pl: Added support for UID commandSteve Holme
2013-09-11ftpserver.pl: Added support for LSUB commandSteve Holme
2013-09-11ftpserver.pl: Added support for IMAP COPY commandSteve Holme
2013-09-11ftpserver.pl: Added support for IMAP CLOSE and EXPUNGE commandsSteve Holme
2013-09-11ftpserver.pl: Added support for POP3 RSET commandSteve Holme