forked from Xeeynamo/sonic-hybrid-rsdk
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
228 changed files
with
38,127 additions
and
0 deletions.
There are no files selected for viewing
78 changes: 78 additions & 0 deletions
78
sonic3air-main/framework/external/curl/curl/tests/data/test880
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
<testcase> | ||
<info> | ||
<keywords> | ||
POP3 | ||
SASL | ||
SASL AUTH NTLM | ||
SASL AUTH PLAIN | ||
SASL DOWNGRADE | ||
RFC1734 | ||
RFC5034 | ||
</keywords> | ||
</info> | ||
|
||
# | ||
# Server-side | ||
<reply> | ||
<servercmd> | ||
AUTH NTLM PLAIN | ||
REPLY "AUTH NTLM" + | ||
REPLY TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= + Rubbish | ||
REPLY * -ERR AUTH exchange cancelled by client | ||
REPLY "AUTH PLAIN" + | ||
REPLY AHVzZXIAc2VjcmV0 +OK Login successful | ||
</servercmd> | ||
<data> | ||
From: me@somewhere | ||
To: fake@nowhere | ||
|
||
body | ||
|
||
-- | ||
yours sincerely | ||
</data> | ||
</reply> | ||
|
||
# | ||
# Client-side | ||
<client> | ||
<server> | ||
pop3 | ||
</server> | ||
<features> | ||
NTLM | ||
SSL | ||
!SSPI | ||
</features> | ||
<name> | ||
POP3 NTLM authentication with SASL downgrade | ||
</name> | ||
<setenv> | ||
# we force our own host name, in order to make the test machine independent | ||
CURL_GETHOSTNAME=curlhost | ||
# we try to use the LD_PRELOAD hack, if not a debug build | ||
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so | ||
</setenv> | ||
<command> | ||
pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret | ||
</command> | ||
<precheck> | ||
chkhostname curlhost | ||
</precheck> | ||
</client> | ||
|
||
# | ||
# Verify data after the test has been "shot" | ||
<verify> | ||
<protocol> | ||
CAPA | ||
AUTH NTLM | ||
TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= | ||
* | ||
AUTH PLAIN | ||
AHVzZXIAc2VjcmV0 | ||
RETR %TESTNUMBER | ||
QUIT | ||
</protocol> | ||
</verify> | ||
</testcase> |
68 changes: 68 additions & 0 deletions
68
sonic3air-main/framework/external/curl/curl/tests/data/test881
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<testcase> | ||
<info> | ||
<keywords> | ||
POP3 | ||
SASL | ||
SASL AUTH DIGEST-MD5 | ||
SASL AUTH PLAIN | ||
SASL DOWNGRADE | ||
RFC1734 | ||
RFC2831 | ||
RFC5034 | ||
</keywords> | ||
</info> | ||
|
||
# | ||
# Server-side | ||
<reply> | ||
<servercmd> | ||
AUTH DIGEST-MD5 PLAIN | ||
REPLY "AUTH DIGEST-MD5" + Rubbish | ||
REPLY * -ERR AUTH exchange cancelled by client | ||
REPLY "AUTH PLAIN" + | ||
REPLY AHVzZXIAc2VjcmV0 +OK Login successful | ||
</servercmd> | ||
<data> | ||
From: me@somewhere | ||
To: fake@nowhere | ||
|
||
body | ||
|
||
-- | ||
yours sincerely | ||
</data> | ||
</reply> | ||
|
||
# | ||
# Client-side | ||
<client> | ||
<server> | ||
pop3 | ||
</server> | ||
<features> | ||
!SSPI | ||
debug | ||
crypto | ||
</features> | ||
<name> | ||
POP3 DIGEST-MD5 authentication with SASL downgrade | ||
</name> | ||
<command> | ||
pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret | ||
</command> | ||
</client> | ||
|
||
# | ||
# Verify data after the test has been "shot" | ||
<verify> | ||
<protocol> | ||
CAPA | ||
AUTH DIGEST-MD5 | ||
* | ||
AUTH PLAIN | ||
AHVzZXIAc2VjcmV0 | ||
RETR %TESTNUMBER | ||
QUIT | ||
</protocol> | ||
</verify> | ||
</testcase> |
58 changes: 58 additions & 0 deletions
58
sonic3air-main/framework/external/curl/curl/tests/data/test882
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<testcase> | ||
<info> | ||
<keywords> | ||
POP3 | ||
Clear Text | ||
RETR | ||
connection re-use | ||
</keywords> | ||
</info> | ||
|
||
# | ||
# Server-side | ||
<reply> | ||
<servercmd> | ||
REPLY "PASS secret" +OK Login successful | ||
</servercmd> | ||
<data> | ||
From: me@somewhere | ||
To: fake@nowhere | ||
|
||
body | ||
|
||
-- | ||
yours sincerely | ||
</data> | ||
</reply> | ||
|
||
# | ||
# Client-side | ||
<client> | ||
<server> | ||
pop3 | ||
</server> | ||
<name> | ||
POP3 multiple connection authentication | ||
</name> | ||
<command> | ||
pop3://%HOSTIP:%POP3PORT/%TESTNUMBER001 -u user.one:secret -: pop3://%HOSTIP:%POP3PORT/%TESTNUMBER002 -u user.two:secret | ||
</command> | ||
</client> | ||
|
||
# | ||
# Verify data after the test has been "shot" | ||
<verify> | ||
<protocol> | ||
CAPA | ||
USER user.one | ||
PASS secret | ||
RETR %TESTNUMBER001 | ||
QUIT | ||
CAPA | ||
USER user.two | ||
PASS secret | ||
RETR %TESTNUMBER002 | ||
QUIT | ||
</protocol> | ||
</verify> | ||
</testcase> |
57 changes: 57 additions & 0 deletions
57
sonic3air-main/framework/external/curl/curl/tests/data/test883
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<testcase> | ||
<info> | ||
<keywords> | ||
POP3 | ||
SASL | ||
SASL AUTH EXTERNAL | ||
RFC1734 | ||
RFC4422 | ||
RFC5034 | ||
</keywords> | ||
</info> | ||
|
||
# | ||
# Server-side | ||
<reply> | ||
<servercmd> | ||
AUTH EXTERNAL | ||
REPLY AUTH + | ||
REPLY dXNlcg== +OK Login successful | ||
</servercmd> | ||
<data> | ||
From: me@somewhere | ||
To: fake@nowhere | ||
|
||
body | ||
|
||
-- | ||
yours sincerely | ||
</data> | ||
</reply> | ||
|
||
# | ||
# Client-side | ||
<client> | ||
<server> | ||
pop3 | ||
</server> | ||
<name> | ||
POP3 external authentication | ||
</name> | ||
<command> | ||
'pop3://user;AUTH=EXTERNAL@%HOSTIP:%POP3PORT/%TESTNUMBER' | ||
</command> | ||
</client> | ||
|
||
# | ||
# Verify data after the test has been "shot" | ||
<verify> | ||
<protocol> | ||
CAPA | ||
AUTH EXTERNAL | ||
dXNlcg== | ||
RETR %TESTNUMBER | ||
QUIT | ||
</protocol> | ||
</verify> | ||
</testcase> |
57 changes: 57 additions & 0 deletions
57
sonic3air-main/framework/external/curl/curl/tests/data/test884
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<testcase> | ||
<info> | ||
<keywords> | ||
POP3 | ||
SASL | ||
SASL AUTH EXTERNAL | ||
RFC1734 | ||
RFC4422 | ||
RFC5034 | ||
</keywords> | ||
</info> | ||
|
||
# | ||
# Server-side | ||
<reply> | ||
<servercmd> | ||
AUTH EXTERNAL | ||
REPLY AUTH + | ||
REPLY = +OK Login successful | ||
</servercmd> | ||
<data> | ||
From: me@somewhere | ||
To: fake@nowhere | ||
|
||
body | ||
|
||
-- | ||
yours sincerely | ||
</data> | ||
</reply> | ||
|
||
# | ||
# Client-side | ||
<client> | ||
<server> | ||
pop3 | ||
</server> | ||
<name> | ||
POP3 external authentication without credentials | ||
</name> | ||
<command> | ||
'pop3://;AUTH=EXTERNAL@%HOSTIP:%POP3PORT/%TESTNUMBER' | ||
</command> | ||
</client> | ||
|
||
# | ||
# Verify data after the test has been "shot" | ||
<verify> | ||
<protocol> | ||
CAPA | ||
AUTH EXTERNAL | ||
= | ||
RETR %TESTNUMBER | ||
QUIT | ||
</protocol> | ||
</verify> | ||
</testcase> |
56 changes: 56 additions & 0 deletions
56
sonic3air-main/framework/external/curl/curl/tests/data/test885
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<testcase> | ||
<info> | ||
<keywords> | ||
POP3 | ||
SASL | ||
SASL AUTH EXTERNAL | ||
SASL-IR | ||
RFC1734 | ||
RFC4422 | ||
RFC5034 | ||
</keywords> | ||
</info> | ||
|
||
# | ||
# Server-side | ||
<reply> | ||
<servercmd> | ||
AUTH EXTERNAL | ||
REPLY AUTH +OK Login successful | ||
</servercmd> | ||
<data> | ||
From: me@somewhere | ||
To: fake@nowhere | ||
|
||
body | ||
|
||
-- | ||
yours sincerely | ||
</data> | ||
</reply> | ||
|
||
# | ||
# Client-side | ||
<client> | ||
<server> | ||
pop3 | ||
</server> | ||
<name> | ||
POP3 external authentication with initial response | ||
</name> | ||
<command> | ||
'pop3://user;AUTH=EXTERNAL@%HOSTIP:%POP3PORT/%TESTNUMBER' --sasl-ir | ||
</command> | ||
</client> | ||
|
||
# | ||
# Verify data after the test has been "shot" | ||
<verify> | ||
<protocol> | ||
CAPA | ||
AUTH EXTERNAL dXNlcg== | ||
RETR %TESTNUMBER | ||
QUIT | ||
</protocol> | ||
</verify> | ||
</testcase> |
Oops, something went wrong.