=== 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.1482.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@f79facad4ed7.2024-01-15_11.58.37/big_tests.tests.mim_c2s_SUITE.logs/run.2024-01-15_11.58.39/mim_c2s_suite.too_big_stanza_is_rejected.1026.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@f79facad4ed7.2024-01-15_11.58.37/big_tests.tests.mim_c2s_SUITE.logs/run.2024-01-15_11.58.39/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@f79facad4ed7.2024-01-15_11.58.37"
=== Started at 2024-01-15 11:58:39
*** User 2024-01-15 11:58:39.639 ***🔗
alicE_too_big_stanza_is_rejected_8@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-01-15 11:58:39.657 ***🔗
alicE_too_big_stanza_is_rejected_8@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e276de40d83b0d2d' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-01-15 11:58:39.666 ***🔗
alicE_too_big_stanza_is_rejected_8@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-01-15 11:58:39.676 ***🔗
alicE_too_big_stanza_is_rejected_8@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Rvb19iaWdfc3RhbnphX2lzX3JlamVjdGVkXzgAbWF0eWdyeXNh</auth>
*** User 2024-01-15 11:58:39.678 ***🔗
alicE_too_big_stanza_is_rejected_8@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-01-15 11:58:39.678 ***🔗
alicE_too_big_stanza_is_rejected_8@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-01-15 11:58:39.683 ***🔗
alicE_too_big_stanza_is_rejected_8@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='86715d08008faba7' from='localhost' version='1.0' xml:lang='en' to='alice_too_big_stanza_is_rejected_8@localhost'>
*** User 2024-01-15 11:58:39.683 ***🔗
alicE_too_big_stanza_is_rejected_8@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-01-15 11:58:39.683 ***🔗
alicE_too_big_stanza_is_rejected_8@localhost out
<iq type='set' id='59aa0b23c9cea42667785d7893de413e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>escalus-default-resource</resource>
</bind>
</iq>
*** User 2024-01-15 11:58:39.684 ***🔗
alicE_too_big_stanza_is_rejected_8@localhost in
<iq id='59aa0b23c9cea42667785d7893de413e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_too_big_stanza_is_rejected_8@localhost/escalus-default-resource</jid>
</bind>
</iq>
*** User 2024-01-15 11:58:39.704 ***🔗
alice_too_big_stanza_is_rejected_8@localhost/escalus-default-resource out
<message to='alice_too_big_stanza_is_rejected_8@localhost/escalus-default-resource' type='chat'>
<body>bcd6ccf20855b729b793cdc506c0a1ce5add51407b7851a197b6daa14a1ef64ef07590e9c21cea63e8e57a8b08005425c870cb070e6965cbf0cbe2d5f5dc7dbd5542983e4aa137fa92553ce13f7f84748e9ca4002124ff0bf7271f8eda98646e7ee8acd0d7014881de133cc63e54242994461f559144fefc4291da41b73e9d9b21aafcab2662fa0b293a4af945e4d6ad1ba2944caebd3f05d79690fbe409bc11d5db32da0429e33782cc40744aedbdcb984b08f309bc249d3c99bd1e8e53cc01c528c71f9ea62327ba1db15f44b18b6fc119b9fec154ebe99a8ee44c1944422d2ebd2e110e76a3392a3573e27ffab6d2df32c8861d1e03852c3c3f30fa785bb40371b4a76104f7174e7197594292b16c2baa4eb63465e1aa923ddd3fb091a2a675406a603b442757386aa9fab8f82b633963af481f34584e0e57073ae1dd96700932bc977184e0b3ce87284a29d726c31c9a1d5740c8acb3153637d8d11f13c615bb55b5d4758d8eb18a804461665f9bb8fd99727495cc11cd9edeb2a76f0d2d419104da1977775abec42a6b2346595b19ed09577ee82123742334b2bcbef8fc9e2ebd061b725a808f872a4ef80b2f8cb04a53498ce02a69da907ea896218eada8118d6a5a219dd8dd700ee12966b8e60bdf16fb9145adf36b388e2af0628bdbeadbb0a66e3f8e8306e64b5b14cc73a5aa609ec0c22c7301da3c9ce0bfbf32cf458e0e478ecbac5f4f67803548237fac26a95bbf52a33485007bfc41f06f5701513fa99afb12d0cb78d47f347fdbd592319a4fd8783a7f5673ff7aceca0bee14edaff69cab6a5158b5e9236db76bf2c2c80cdc5b326818392bacbe3b8d477dddb7eeb77808d64fb8cb6d90396f54146369c066f09e9fc724d1bc84293082814fad00b5ceb5905b2f04568d462f58aa8ba09465ad0599a1650aef260f8e0ed41c7361c1e59b831b3b601da38daf38f002763b1c9bc985431183575abffca4586f373bee8d172df36c68366ad99e50e18e1ffbac2fa8c92e2a56dac025842b15df9fdf5de072c022f9857506914671b4320e90b428ddf7580984598728d6ee918c80f6464298a6d83b7fe3fa25c61d379b36b77b2afedd261d78649d4cda6c84af74a1cf339c90185025870c20ae35ee2720580f2faf59988d5c03b6c5fd00148c7feefe25fb459401967e4e59c5ea73cc9fca067fa5592c540ee558e3b01a24e86abc5f1f45728fb2e4ff8a52f5bd0ce6c3f4147e0381ee91bbb70593749e0b9dc39d62500b5bfa30cea6be8b90fbb99958fee8dad9cee6c765ced5d4ee2dcc355685bdf3b053b67404349f21d3370b9bba185af4784f14b0dc106a54b0ae2df23ec3d75a9051bf6da1a3fab60cdcc047e3268393485d03d526dcc950daa62f3c41eb4c13f6729727c217861e2e073d80e5c50520b94047c1933417653a300f1c</body>
</message>
*** User 2024-01-15 11:58:39.704 ***🔗
alice_too_big_stanza_is_rejected_8@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-01-15 11:58:39.704 ***🔗
alice_too_big_stanza_is_rejected_8@localhost/escalus-default-resource in
</stream:stream>
=== Ended at 2024-01-15 11:58:39
=== successfully completed test case
=== === Returned value: true