=== Test case: mim_c2s_SUITE:too_big_stanza_is_rejected/1 (click for source code)
=== Config value:
[{c2s_listener,
#{access => c2s,backlog => 1024,backwards_compatible_session => true,
c2s_state_timeout => 5000,connection_type => undefined,
hibernate_after => 0,ip_address => "0",
ip_tuple => {0,0,0,0},
ip_version => 4,max_connections => infinity,
max_stanza_size => 65536,module => mongoose_c2s_listener,
num_acceptors => 100,port => 5222,proto => tcp,
proxy_protocol => false,reuse_port => false,shaper => c2s_shaper,
tls =>
#{certfile => "priv/ssl/fake_server.pem",
ciphers => "TLSv1.2:TLSv1.3",
dhfile => "priv/ssl/fake_dh_server.pem",mode => starttls,
module => fast_tls,
protocol_options =>
["no_sslv2","no_sslv3","no_tlsv1","no_tlsv1_1"],
verify_mode => none}}},
{watchdog,<0.1483.0>},
{escalus_overrides,
[{initial_activity,#Fun<mim_c2s_SUITE.0.67541742>},
{start_ready_clients,fun mim_c2s_SUITE:escalus_start/2}]},
{preset,"ldap_mnesia"},
{mim_data_dir,
"/home/circleci/project/big_tests/tests/mim_c2s_SUITE_data"},
{tc_logfile,
"/home/circleci/project/big_tests/ct_report/ct_run.test@95c2ee64f870.2024-04-24_13.09.00/big_tests.tests.mim_c2s_SUITE.logs/run.2024-04-24_13.09.02/mim_c2s_suite.too_big_stanza_is_rejected.642.html"},
{tc_group_properties,[{name,basic},parallel]},
{tc_group_path,[]},
{data_dir,
"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/mim_c2s_SUITE_data/"},
{priv_dir,
"/home/circleci/project/big_tests/ct_report/ct_run.test@95c2ee64f870.2024-04-24_13.09.00/big_tests.tests.mim_c2s_SUITE.logs/run.2024-04-24_13.09.02/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_amp => #{},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users =>
#{number_of_segments => 5,strategy => fifo,time_to_live => 2},
mod_carboncopy => #{iqdisc => no_queue},
mod_disco =>
#{extra_domains => [],iqdisc => one_queue,server_info => [],
users_can_see_hidden_services => false},
mod_presence => #{},
mod_register =>
#{access => register,
ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
iqdisc => one_queue,password_strength => 0,
registration_watchers => []},
mod_roster =>
#{backend => mnesia,iqdisc => one_queue,store_current_id => false,
versioning => false},
mod_sic => #{iqdisc => one_queue},
mod_stream_management =>
#{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
buffer_max => 100,resume_timeout => 600,
stale_h =>
#{enabled => false,geriatric => 3600,repeat_after => 1800}},
mod_vcard =>
#{backend => ldap,
host => {prefix,<<"vjud.">>},
iqdisc => parallel,
ldap =>
#{base => <<"ou=Users,dc=esl,dc=com">>,
binary_search_fields => [],deref => never,
filter => <<"(objectClass=inetOrgPerson)">>,
pool_tag => default,
search_fields =>
[{<<"User">>,<<"%u">>},
{<<"Full Name">>,<<"displayName">>},
{<<"Given Name">>,<<"givenName">>},
{<<"Middle Name">>,<<"initials">>},
{<<"Family Name">>,<<"sn">>},
{<<"Nickname">>,<<"%u">>},
{<<"Birthday">>,<<"birthDay">>},
{<<"Country">>,<<"c">>},
{<<"City">>,<<"l">>},
{<<"Email">>,<<"mail">>},
{<<"Organization Name">>,<<"o">>},
{<<"Organization Unit">>,<<"ou">>}],
search_operator => 'and',
search_reported =>
[{<<"Full Name">>,<<"FN">>},
{<<"Given Name">>,<<"FIRST">>},
{<<"Middle Name">>,<<"MIDDLE">>},
{<<"Family Name">>,<<"LAST">>},
{<<"Nickname">>,<<"NICK">>},
{<<"Birthday">>,<<"BDAY">>},
{<<"Country">>,<<"CTRY">>},
{<<"City">>,<<"LOCALITY">>},
{<<"Email">>,<<"EMAIL">>},
{<<"Organization Name">>,<<"ORGNAME">>},
{<<"Organization Unit">>,<<"ORGUNIT">>}],
uids => [{<<"uid">>,<<"%u">>}],
vcard_map =>
[{<<"NICKNAME">>,<<"%u">>,[]},
{<<"FN">>,<<"%s">>,[<<"displayName">>]},
{<<"FAMILY">>,<<"%s">>,[<<"sn">>]},
{<<"GIVEN">>,<<"%s">>,[<<"givenName">>]},
{<<"MIDDLE">>,<<"%s">>,[<<"initials">>]},
{<<"ORGNAME">>,<<"%s">>,[<<"o">>]},
{<<"ORGUNIT">>,<<"%s">>,[<<"ou">>]},
{<<"CTRY">>,<<"%s">>,[<<"c">>]},
{<<"LOCALITY">>,<<"%s">>,[<<"l">>]},
{<<"STREET">>,<<"%s">>,[<<"street">>]},
{<<"REGION">>,<<"%s">>,[<<"st">>]},
{<<"PCODE">>,<<"%s">>,[<<"postalCode">>]},
{<<"TITLE">>,<<"%s">>,[<<"title">>]},
{<<"URL">>,<<"%s">>,[<<"labeleduri">>]},
{<<"DESC">>,<<"%s">>,[<<"description">>]},
{<<"TEL">>,<<"%s">>,[<<"telephoneNumber">>]},
{<<"EMAIL">>,<<"%s">>,[<<"mail">>]},
{<<"BDAY">>,<<"%s">>,[<<"birthDay">>]},
{<<"ROLE">>,<<"%s">>,[<<"employeeType">>]},
{<<"PHOTO">>,<<"%s">>,[<<"jpegPhoto">>]}]},
matches => 30,search => true}}},
{escalus_users,
[{alice,
[{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{connection_steps,
[start_stream,stream_features,maybe_use_ssl,authenticate,
bind]}]},
{alice_bis,
[{username,<<"alicE">>},
{server,<<"localhost.bis">>},
{host,<<"localhost">>},
{password,<<"matygrysa">>}]},
{bob,
[{username,<<"bOb">>},
{server,<<"localhost">>},
{password,<<"makrolika">>},
{connection_steps,
[start_stream,stream_features,maybe_use_ssl,authenticate,
bind]}]},
{carol,
[{username,<<"carol">>},
{server,<<"localhost">>},
{password,<<"jinglebells">>},
{transport,escalus_bosh},
{path,<<"/http-bind">>},
{port,5280}]},
{carol_s,
[{username,<<"carol_s">>},
{server,<<"localhost">>},
{password,<<"jinglebells_s">>},
{transport,escalus_bosh},
{ssl,true},
{path,<<"/http-bind">>},
{port,5285},
{ssl_opts,[{verify,verify_none}]}]},
{kate,
[{username,<<"kate">>},
{server,<<"localhost">>},
{password,<<"makrowe;p">>}]},
{mike,
[{username,<<"mike">>},
{server,<<"localhost">>},
{password,<<"nicniema">>}]},
{john,
[{username,<<"john">>},
{server,<<"localhost">>},
{password,<<"cosontuma">>}]},
{geralt,
[{username,<<"geralt">>},
{server,<<"localhost">>},
{password,<<"witcher">>},
{transport,escalus_ws},
{port,5280},
{wspath,<<"/ws-xmpp">>}]},
{geralt_s,
[{username,<<"geralt_s">>},
{server,<<"localhost">>},
{password,<<"witcher_s">>},
{transport,escalus_ws},
{ssl,true},
{port,5285},
{wspath,<<"/ws-xmpp">>},
{ssl_opts,[{verify,verify_none}]}]},
{hacker,
[{username,<<"hacker">>},
{server,<<"localhost">>},
{password,<<"bringdowntheserver">>},
{port,5223}]},
{admin,
[{username,<<"admin">>},
{server,<<"localhost">>},
{password,<<"bruce_almighty">>}]},
{secure_joe,
[{username,<<"secure_joe">>},
{server,<<"localhost">>},
{password,<<"break_me">>},
{starttls,required}]},
{astrid,
[{username,<<"astrid">>},
{server,<<"sogndal">>},
{host,<<"localhost">>},
{password,<<"doctor">>}]},
{alice2,
[{username,<<"alice">>},
{server,<<"fed1">>},
{host,<<"localhost">>},
{port,5242},
{password,<<"makota2">>}]},
{bob2,
[{username,<<"bob">>},
{server,<<109,105,99,104,97,197,130>>},
{host,<<"localhost">>},
{port,5242},
{password,<<"makota3">>}]},
{clusterguy,
[{username,<<"clusterguy">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{password,<<"distributionftw">>},
{port,5232}]},
{clusterbuddy,
[{username,<<"clusterbuddy">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{password,<<"wasssssssup">>},
{port,5232}]},
{eve,
[{username,<<"eve">>},
{server,<<"localhost">>},
{password,<<"password">>},
{port,5252}]},
{neustradamus,
[{username,<<"neustradamus">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{password,<<"scramshaplus">>},
{starttls,required},
{tls_module,fast_tls}]},
{alice3,
[{username,<<"alice">>},
{server,<<"example.com">>},
{host,<<"localhost">>},
{password,<<"makota2">>}]},
{bob3,
[{username,<<"bob">>},
{server,<<"example.org">>},
{host,<<"localhost">>},
{password,<<"makota3">>},
{port,5232}]}]}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@95c2ee64f870.2024-04-24_13.09.00"
=== Started at 2024-04-24 13:09:02
*** User 2024-04-24 13:09:02.634 ***🔗
alicE_too_big_stanza_is_rejected_10@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-24 13:09:02.649 ***🔗
alicE_too_big_stanza_is_rejected_10@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='652800af64cae1c0' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-24 13:09:02.651 ***🔗
alicE_too_big_stanza_is_rejected_10@localhost in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-24 13:09:02.663 ***🔗
alicE_too_big_stanza_is_rejected_10@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Rvb19iaWdfc3RhbnphX2lzX3JlamVjdGVkXzEwAG1hdHlncnlzYQ==</auth>
*** User 2024-04-24 13:09:02.667 ***🔗
alicE_too_big_stanza_is_rejected_10@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-24 13:09:02.667 ***🔗
alicE_too_big_stanza_is_rejected_10@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-24 13:09:02.668 ***🔗
alicE_too_big_stanza_is_rejected_10@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='58ba118eef93165a' from='localhost' version='1.0' xml:lang='en' to='alice_too_big_stanza_is_rejected_10@localhost'>
*** User 2024-04-24 13:09:02.668 ***🔗
alicE_too_big_stanza_is_rejected_10@localhost in
<stream:features>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-24 13:09:02.668 ***🔗
alicE_too_big_stanza_is_rejected_10@localhost out
<iq type='set' id='affa6b37a2107e5b2735318ee7c10ba3'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>escalus-default-resource</resource>
</bind>
</iq>
*** User 2024-04-24 13:09:02.668 ***🔗
alicE_too_big_stanza_is_rejected_10@localhost in
<iq id='affa6b37a2107e5b2735318ee7c10ba3' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_too_big_stanza_is_rejected_10@localhost/escalus-default-resource</jid>
</bind>
</iq>
*** User 2024-04-24 13:09:02.672 ***🔗
alice_too_big_stanza_is_rejected_10@localhost/escalus-default-resource out
<message to='alice_too_big_stanza_is_rejected_10@localhost/escalus-default-resource' type='chat'>
<body>5a0830d531e64bd7337140ee10a0a4eef55bd6e97b08385934487fa7380a3f42626756b0b46ccd8cdbdae4f838d38481ab351607f8b65cf5f5eae5876d50434da59ad0760b30fc68f1b30485e0d3b861fcbb187594bdc933fb74ad753b144354be7e0e3d58a5f349e1cd5c7ee50b767bdb2bb846a489bcf811307b854f46f09ea03b125701147486c8625166c0eae7c8c972d330258fe33785d4d221efdd19becd0c9aa8e9dd19b19981923a888f06bac36426afab24b57c486724155dc90653d269a17eb3cb9607f4b1517ecf2927e96f5c0815d00d2e3ecb84e91f0cd46f27ecf71a5b6bad3e5c44f1c1b3878b588f36e52692fcba6a0ccf537307ceb8f4569c00b4b2ff9f60dc95d9524dc75201edab1b585cf37a91ee9a1054cae0645ceda36eb3169fbdd3cee1fada16478087293e79f2015ccac54b1b0743b7e1f00032d4d91ba4dae569bc3ffafb2cb53a7a9780274cafc7d2426d9a4b450d4eed908e85205a576e3c5807b4c2c7568f5a67c0ef7271c5bc5a99423bfc6d778beaf551102034ab249ddcf02243f4a28bd5a0d065d6cbff144a13c7f0e5c91bbd52a0ba2ec934f6630e0e2f99720f6ab3a64053bd72b00cbbf8d298198c6aa489b18ef4b20f3dcfc9acd5b7b00177f631462e6f38568c3956bcb21d820022292b2657d34aad3636bf62861262d0b8e14fc273db15ac41018fd341204dda7de708fb3d7026142ca1ca3a52cfa5f9e403b0a452b0c954672a0aa73b3ca022ce39264cee25a4b73a21479c729878ff248c5024ea959b3fbd422df0aabebdf7386824f2fab5422851fe98e01ddb3e2d2728155496cb72be2c02f33944ee63717026db628d5327aa900c8e8e3c52a90a4a9cb9d2112e2c2daa1ca6f3ace9641e9e52a1a8f6a522873b02424960300c0c2af7c6a00057430009f5486d3097452eeeb9ddc49fa539bce6e6f8d43f73bff26ccea781c86472b0edfeb13834b0f458a0f79dba7b35d2f188c04a5b984f7f62572d53dc8f1fed97b4d2a9f1d9f9608bcf13dc8043827fe45cc1fb4dc477dc8363c9c29a5503d75f5047450cbfd35f600c8f1ff971998abc3afc80b8fd7d18c24e233b16f73c88f9073cc51185f77614c37b95325456757f9ffe9c1a72e2be99d54b0143ae1b20392dae1605742a2a5a21734e5c58780e1a747ee2b57ad070b9cbb9a0fa027ae805fab2bb1655f17bfbebca1095cb06ccc6598ace4369818d96cc094dea61a2da11e0f601937527c91fbbeb1ac049a428e989a3880e1620563ff14c5cbba684076618bfc7be8376d8f56e1efee3ecfd305fa9d52c580f1310d15109ec14ff54975fbc6bb44ffeca5487722cd29998f120406748fd746af135de3df60c2d7204174cf77f44971affdc2c0e97fb811f56c65b4dbfb7401b568245f405fa9c02bc8bc1713c69563025c178b0e84dc733f4</body>
</message>
*** User 2024-04-24 13:09:02.673 ***🔗
alice_too_big_stanza_is_rejected_10@localhost/escalus-default-resource in
<stream:error>
<policy-violation xmlns='urn:ietf:params:xml:ns:xmpp-streams'/>
<text xml:lang='en' xmlns='urn:ietf:params:xml:ns:xmpp-streams'>element too big</text>
</stream:error>
*** User 2024-04-24 13:09:02.673 ***🔗
alice_too_big_stanza_is_rejected_10@localhost/escalus-default-resource in
</stream:stream>
=== Ended at 2024-04-24 13:09:02
=== successfully completed test case
=== === Returned value: true