Skip to content

Commit

Permalink
3 air
Browse files Browse the repository at this point in the history
  • Loading branch information
CCIGAMES committed Mar 2, 2024
1 parent 0904e4c commit ff37565
Show file tree
Hide file tree
Showing 228 changed files with 38,127 additions and 0 deletions.
78 changes: 78 additions & 0 deletions sonic3air-main/framework/external/curl/curl/tests/data/test880
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 sonic3air-main/framework/external/curl/curl/tests/data/test881
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 sonic3air-main/framework/external/curl/curl/tests/data/test882
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 sonic3air-main/framework/external/curl/curl/tests/data/test883
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 sonic3air-main/framework/external/curl/curl/tests/data/test884
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 sonic3air-main/framework/external/curl/curl/tests/data/test885
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>
Loading

0 comments on commit ff37565

Please sign in to comment.