=== 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,"pgsql_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@fca70da71937.2023-11-16_09.05.55/big_tests.tests.mim_c2s_SUITE.logs/run.2023-11-16_09.05.57/mim_c2s_suite.too_big_stanza_rejected.4.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@fca70da71937.2023-11-16_09.05.55/big_tests.tests.mim_c2s_SUITE.logs/run.2023-11-16_09.05.57/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 => rdbms,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 => rdbms,
host => {prefix,<<"vjud.">>},
iqdisc => parallel,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@fca70da71937.2023-11-16_09.05.55"
=== Started at 2023-11-16 09:05:57
*** User 2023-11-16 09:05:57.760 ***🔗
alicE_too_big_stanza_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 2023-11-16 09:05:57.772 ***🔗
alicE_too_big_stanza_rejected_8@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7892f0c53874aa7d' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-16 09:05:57.775 ***🔗
alicE_too_big_stanza_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>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2023-11-16 09:05:57.785 ***🔗
alicE_too_big_stanza_rejected_8@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Rvb19iaWdfc3RhbnphX3JlamVjdGVkXzgAbWF0eWdyeXNh</auth>
*** User 2023-11-16 09:05:57.789 ***🔗
alicE_too_big_stanza_rejected_8@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-16 09:05:57.789 ***🔗
alicE_too_big_stanza_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 2023-11-16 09:05:57.791 ***🔗
alicE_too_big_stanza_rejected_8@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f97653b4746701ad' from='localhost' version='1.0' xml:lang='en' to='alice_too_big_stanza_rejected_8@localhost'>
*** User 2023-11-16 09:05:57.795 ***🔗
alicE_too_big_stanza_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 2023-11-16 09:05:57.844 ***🔗
alicE_too_big_stanza_rejected_8@localhost out
<iq type='set' id='4c2d52a7d4146d5c26553c8d8f5f2d01'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>escalus-default-resource</resource>
</bind>
</iq>
*** User 2023-11-16 09:05:57.846 ***🔗
alicE_too_big_stanza_rejected_8@localhost in
<iq id='4c2d52a7d4146d5c26553c8d8f5f2d01' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_too_big_stanza_rejected_8@localhost/escalus-default-resource</jid>
</bind>
</iq>
*** User 2023-11-16 09:05:57.848 ***🔗
alice_too_big_stanza_rejected_8@localhost/escalus-default-resource out
<message to='alice_too_big_stanza_rejected_8@localhost/escalus-default-resource' type='chat'>
<body>29aa66e13a4dc2365d370569658a40fb7462ba5fbfc7c7fdf5796711a83844d1d8cafbe159a4cab4c5566381c908e070363dbe75fc86034793f9ce2cb986275d84fd7aaa695af4eb464b5282682e1c9367d3004c4bb741a0d909368cb8d9b7cb315f484063458aec83044d4de094417dce5bc14d05a9c0562abefb3c9a8341121499fcfc675eb7df96615ad5c208b7160a8223a922f73be09238edff9b1d733a82d7b57cf949826e136844a3bf78dd96476ea84254737c0e37085b0b82c4b0aa7a87cbbd6a0b8612d62b89af0226aa05b8ff5b803f9db679c0b8f9adc63be2ebffb2ed2551625976b02c9fcc930b1651c26259d5440de3e3986a01a74a3cafe5d6a5649369e16662170601f21c5737cb58bc311291ec4c557053ce77b293f65f524427440741bb6c3001ca3b411fbabdaae4de93aa7bf1e27a4a078bbd94540a9323af7ba20048c4b763cb2f7a666d493e8ac9fe461d6f0bd10cc057b8f9774b871729db7764b001c4652c50894798b0c9cb2e87161cd0bd7543da06012263c4bd7bf3748be330658f3fa4946fc1bb202710b9c6244e07eae55ba30ec7faef1e21b90b1e694b28fbe688df07d43bd5e5c08b7fdc46bf3269c019b3871c3a9c74ed3cda27b6781376706a0078ed9e8fcb2eac8c7197ca485260310d43da60bfd0ed798cc601eff54bff5a13606bf7b01bb01fabc4df6a3b815a7bf524e81c4f233b375d2903d6fd6143afefc5e57919f54f6c5a133bb308d6522de9ee46c909afa1c9c583f5bb25035e7c7245df9b5d2b41cfa6b66623c0117b8502b1ef90cb410b26525bc4861d57413622548e0daf52062dcd1cd68c8f32eda63201f9ccb452506ed080a7049698e5e370899bb52d87adbbf318a9ff85de0879cafa1dcb189704654788e77f7a0eaaea7b6b28525ef5fb24da02d085442288aafcff1e063bc353447ab31efa313eee94f1d56c65bcb15f0430a8c8b853eff00089ee13e6b882ea2e3bbf8712733ee48ebd49281aab342b1fbd6ad9334f8aac3d6c2771c99887635d615d70292441fd0d43abf25db0f9083a98164e4797e81b36c50c70b7dafb0371feecfcc00a1481ccabbe9025867447b34b76e184b1b75bfe8c5e0ce30acdc8033e964b086ce09375d4ed790be6ca65c2e876b84f356764ba6d6558d2e80b0305da3db8e35e217d89ca0837b2bcf2c1054a78167a1cea0668b3500e581b3dadd727585aae4421610aae003a94674101249dd19bf022ec347b3ad0d75ee4632375052d25de168820166069a8abaed13b38ce527b93771d2215ed77c26ed7a556b0b43bf639a0d234763897f134acc04dcfa79ef456e542ee14b4c0fb03936613e4a355bc27cae0593f5afcdda75e6844168d3c74f4f7528a1b3b04b729e6233089734baaf398dd13cc2769a1236b73847ae981f5d8b8b18ad0fabfa02a6614</body>
</message>
*** User 2023-11-16 09:05:57.848 ***🔗
alice_too_big_stanza_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'>child element too big</text>
</stream:error>
*** User 2023-11-16 09:05:57.849 ***🔗
alice_too_big_stanza_rejected_8@localhost/escalus-default-resource in
</stream:stream>
=== Ended at 2023-11-16 09:05:57
=== successfully completed test case
=== === Returned value: true