=== Test case: mim_c2s_SUITE:too_big_stanza_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.1479.0>},
{escalus_overrides,
[{initial_activity,#Fun<mim_c2s_SUITE.0.115367038>},
{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@94ef96fe7e6f.2023-11-13_20.03.17/big_tests.tests.mim_c2s_SUITE.logs/run.2023-11-13_20.03.19/mim_c2s_suite.too_big_stanza_rejected.772.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@94ef96fe7e6f.2023-11-13_20.03.17/big_tests.tests.mim_c2s_SUITE.logs/run.2023-11-13_20.03.19/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@94ef96fe7e6f.2023-11-13_20.03.17"
=== Started at 2023-11-13 20:03:19
*** User 2023-11-13 20:03:19.905 ***🔗
alicE_too_big_stanza_rejected_7@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-13 20:03:19.915 ***🔗
alicE_too_big_stanza_rejected_7@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0986b9f85b5fc9c7' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-13 20:03:19.923 ***🔗
alicE_too_big_stanza_rejected_7@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 2023-11-13 20:03:19.935 ***🔗
alicE_too_big_stanza_rejected_7@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Rvb19iaWdfc3RhbnphX3JlamVjdGVkXzcAbWF0eWdyeXNh</auth>
*** User 2023-11-13 20:03:19.938 ***🔗
alicE_too_big_stanza_rejected_7@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-13 20:03:19.939 ***🔗
alicE_too_big_stanza_rejected_7@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-13 20:03:19.943 ***🔗
alicE_too_big_stanza_rejected_7@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='094f68ef19db1e70' from='localhost' version='1.0' xml:lang='en' to='alice_too_big_stanza_rejected_7@localhost'>
*** User 2023-11-13 20:03:19.947 ***🔗
alicE_too_big_stanza_rejected_7@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 2023-11-13 20:03:20.003 ***🔗
alicE_too_big_stanza_rejected_7@localhost out
<iq type='set' id='97aa8b7dd69df62b5cef050b2501ddb1'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>escalus-default-resource</resource>
</bind>
</iq>
*** User 2023-11-13 20:03:20.007 ***🔗
alicE_too_big_stanza_rejected_7@localhost in
<iq id='97aa8b7dd69df62b5cef050b2501ddb1' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_too_big_stanza_rejected_7@localhost/escalus-default-resource</jid>
</bind>
</iq>
*** User 2023-11-13 20:03:20.009 ***🔗
alice_too_big_stanza_rejected_7@localhost/escalus-default-resource out
<message to='alice_too_big_stanza_rejected_7@localhost/escalus-default-resource' type='chat'>
<body>990542b15ef26b7611b27b70ba7898978952a13b90a4de6b3697b09b897354f8220f0ea89359e38805992026670f720d4e90af2472e41ac3a7be2cb93fade76d7293bb1c441ebcd3bf6589ed6f6d4d90f5cdea9a6187600bb50ec56a90d5993d68737c599ec03db2a5383f5ddf2a3c23da10e6e1f96095a6a8456c297dacdd8c02b032aa873d366b7c31ee68b659302347c1abdc761f3303ad66baa10cf314a9ae262aa95d73bc2e17a4037c63d7cafbfda460e39005a055ccdc39bbe1a8f2145521c78b285b2eabf689c1070e3c86b096762e6a16c1232d97c5972a04a9bd626412517b94268acd438b0b1e99f98329844a09c57d2e65a0675dae64c04aca3f2a463d1d5fd0cf80ae583939065e8a0e5dd426e4c55047c3ac5b4244df29c9429096a0392dac05d58ea1a430cb9dbf05b37bb99865bf0ae641d2dfaa826473d03170fbc0bc15ef972e18dbbe49d12a5d7d8fb39cdec6bd28927960f41e69945a5c7359203a966f45a2d895a5e18c0d0515d3ab36efe23c9f1ef2483fffa5afe705fd32ebba0239bb2afc75a34179b7f47712946b3de4ac0c2608373b2bd7577fab977ab79dd64588519573c736c4c73b2e83ff69c67cad28b1937da9ee9221dd02b3fc4333f9afe501a99eb12d2fe9d04dd2a0d024ed146f1f37adb92cbe25e939cfaa95f369f86e19bf44e319968bb1d86fc24a534c91251ef7e2709119976bfd685008fcca522b9a78cf4b3209f8bdd632ec947bdabac5345c6abbc48254047d139322187f907cdcc00dca7c6f5346a59e384173a0e8c96345d7e772a3165f2b09c0c1bec69b66ec85a6b58c76be13172dc961bb23d7f0d7b3762b689889a075bdf53c1678c25d2b86884f795a9457458fd355f3b013e6d9e449959921ff90cc713f58e84f480ad26e037a48070769a543f082b32031124f35ea09293116752868efcd5be30900e5c880f020a1a45e618343a63ae7ff1c702a50a3668bb2da0b4b16bbc51276deb1fe1407e69f46fa4602673a179782b2216328941462ac2e2b959049f341ca63214b12ef946cf0a75769e1a37c74c4be03ed744793a4cc4e5ad10061fbd94b6cb662140257d9a0e3ff9eecca71886204a4063617c9af0cf531f13923e8bbd7a4dc29c9a50418ce4196b8f41fd3b357f67045683ada1d0873592ebe9fb1fbc1649568bc65437bf8e27918a0485a1f76fc67ca11b347f33d3b99bf5e708e2b0b33cd4f017bcf116e3499b8ed9f9cd64c172dd6962a712e801c21af78805681e15358e45432117c0f7efe982488aa4903cb6e745a6c9c8b31bd4aad930f843544939ad18dba65df689770d8516170dbe16045ee4d1bd57326a3532b2d22f53019841cfdec8cb11b440c25d81b2913d5edcd7499b89a953462a06abbafd54716632ade4feab75f13b453d4f5718ca3b252cffffcb5746c6d009c</body>
</message>
*** User 2023-11-13 20:03:20.010 ***🔗
alice_too_big_stanza_rejected_7@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'>child element too big</text>
</stream:error>
*** User 2023-11-13 20:03:20.010 ***🔗
alice_too_big_stanza_rejected_7@localhost/escalus-default-resource in
</stream:stream>
=== Ended at 2023-11-13 20:03:20
=== successfully completed test case
=== === Returned value: true