Skip to content

Commit 3e0cfbc

Browse files
committed
Scandium configuration and alphabet, now with -seedTransitions set
ci skip
1 parent 9ea5617 commit 3e0cfbc

File tree

2 files changed

+76
-0
lines changed

2 files changed

+76
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
state-fuzzer-server
2+
3+
# SUT config
4+
-connect
5+
localhost:${sul.port}
6+
-startWait
7+
4000
8+
-responseWait
9+
500
10+
-protocol
11+
DTLS12
12+
-cmd
13+
java -jar ${fuzzer.dir}/suts/scandium-${scandium.version}-dtls-clientserver.jar -port ${sul.port} -trustLocation ${keystore}/ec_secp256r1.jks -trustPassword password -trustAlias dtls-fuzzer -keyLocation ${keystore}/ec_secp256r1.jks -keyPassword password -keyAlias dtls-fuzzer -timeout 20000000 -cipherSuites TLS_PSK_WITH_AES_128_CCM_8,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 -starterAddress localhost:${fuzzer.port}
14+
-sulConfig
15+
experiments/configs/scandium.config
16+
-adapterPort
17+
${fuzzer.port}
18+
-processTrigger
19+
START
20+
21+
22+
23+
# learning config
24+
-alphabet
25+
${alphabets.servers}/scandium_psk_ra.xml
26+
-learningAlgorithm
27+
RaStar
28+
-equivalenceAlgorithms
29+
IO_RANDOM_WALK
30+
-seedTransitions
31+
-logQueries
32+
-maxDepthRA
33+
15
34+
-probNewDataValue
35+
0.5
36+
-seed
37+
7
38+
-output
39+
output/scandium-${scandium.version}_server_psk_ra
40+
-ceReruns
41+
3
42+
-skipNonDetTests
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<!-- DTLS alphabet comprising the messages necessary to perform PSK and ECDHE handshakes
2+
using CCM_8 ciphersuites. -->
3+
<alphabet>
4+
<ClientHelloInput suite="TLS_PSK_WITH_AES_128_CCM_8" name="PSK_CLIENT_HELLO" extendedWait="300"/>
5+
<ClientKeyExchangeInput name="PSK_CLIENT_KEY_EXCHANGE" algorithm="PSK"/>
6+
<ChangeCipherSpecInput/>
7+
<FinishedInput name="FINISHED" extendedWait="300"/>
8+
<GenericTlsInput name="APPLICATION">
9+
<Application>
10+
<data>
11+
<byteArrayExplicitValueModification>
12+
<!--HEX(This is a hello message!)-->
13+
<explicitValue>0x5468697320697320612068656c6c6f206d65737361676521</explicitValue>
14+
</byteArrayExplicitValueModification>
15+
</data>
16+
</Application>
17+
</GenericTlsInput>
18+
<!--AlertInput name="Alert(WARNING,CLOSE_NOTIFY)" level="WARNING" description="CLOSE_NOTIFY"/>
19+
<AlertInput name="Alert(FATAL,UNEXPECTED_MESSAGE)" level="FATAL" description="UNEXPECTED_MESSAGE"/-->
20+
<!-- Output symbols -->
21+
<!-- Messages -->
22+
<RAOutputSymbol name="HELLO_VERIFY_REQUEST"/>
23+
<RAOutputSymbol name="SERVER_HELLO|SERVER_HELLO_DONE"/>
24+
<RAOutputSymbol name="APPLICATION"/>
25+
<RAOutputSymbol name="CHANGE_CIPHER_SPEC|FINISHED"/>
26+
<RAOutputSymbol name="CHANGE_CIPHER_SPEC|FINISHED|APPLICATION"/>
27+
<!-- Alerts -->
28+
<RAOutputSymbol name="Alert(WARNING,CLOSE_NOTIFY)"/>
29+
<RAOutputSymbol name="Alert(WARNING,NO_RENEGOTIATION)"/>
30+
<RAOutputSymbol name="Alert(FATAL,INTERNAL_ERROR)"/>
31+
<RAOutputSymbol name="Alert(FATAL,HANDSHAKE_FAILURE)"/>
32+
<!--Special symbols -->
33+
<RAOutputSymbol name="TIMEOUT"/>
34+
</alphabet>

0 commit comments

Comments
 (0)