matrix-construct / construct Goto Github PK
View Code? Open in Web Editor NEWThis is The Construct
License: Other
This is The Construct
License: Other
This reduces the memory consumption (at the cost of speed) which will allow compiling on low-memory systems. This has to be applied only for json.cc via ircd/Makefile.am, somehow.
1551743733.910715 ERROR listener * 0 :'matrix-443' @ [0.0.0.0]:44343: socket:2346 local[redacted:443] remote[redacted:49921] in handshake(): no shared cipher
Line 1787 in e33c486
These redirects cannot be used for authenticated client endpoints with that user-agent.
If -frtti
can be eliminated from our included compilation we are a step closer to using packaged rocksdb libraries from systems rather than our --with-included-rocksdb
.
I don't see the module for it here, but I swear I thought... looks simple enough though.
If your remote server happens to be synapse, the invite will get stuck forever.
1552276764.926827 ERROR resource client 57 :socket:71 local[45.231.133.188:443] remote[177.118.166.198:61815] client:68 req:17:17 HTTP 404 `' Not Found in 1.61ms; text/html; charset=utf-8 content-length:0
Happens when switching tabs on riot iOS (even though it's not doing the initial sync, for another reason).
1552713906.495079 ERROR resource client 79 :socket:4377 local[45.231.133.188:443] remote[177.76.6.60:65466] client:3415 req:24:24 HTTP 404 `/_matrix/client/r0/sync' Not Found in 908.00us; text/html; charset=utf-8 content-length:79 wrote:157
1552713913.439890 ERROR client client 62 :socket:4377 local[45.231.133.188:443] remote[177.76.6.60:65466] client:3415 req:27:27 HTTP 404 `/_matrix/client/r0/sync?filter=&timeout=0&since=388445' Not Found :{"errcode":"M_NOT_FOUND","error":"Since parameter is too far in the future..."}
1552713913.440228 ERROR resource client 62 :socket:4377 local[45.231.133.188:443] remote[177.76.6.60:65466] client:3415 req:27:27 HTTP 404 `/_matrix/client/r0/sync' Not Found in 1.10ms; text/html; charset=utf-8 content-length:79 wrote:155
1552713918.461716 ERROR client client 70 :socket:4377 local[45.231.133.188:443] remote[177.76.6.60:65466] client:3415 req:29:29 HTTP 404 `/_matrix/client/r0/sync?filter=&timeout=0&since=388445' Not Found :{"errcode":"M_NOT_FOUND","error":"Since parameter is too far in the future..."}
1552713918.464746 ERROR resource client 70 :socket:4377 local[45.231.133.188:443] remote[177.76.6.60:65466] client:3415 req:29:29 HTTP 404 `/_matrix/client/r0/sync' Not Found in 3.61ms; text/html; charset=utf-8 content-length:79 wrote:155
In the console, writing
conf set ircd.net.dns.resolver.servers 127.0.0.11,1.1.1.1,8.8.8.8
will cause a crash and it will prevent me from restarting the server.
The valid configuration would have included ;
instead of ,
to separate the DNS servers.
No library for thumbnailing has yet been decided upon. Currently the thumbnail endpoint is a passthru to /download.
Without RWF_NOWAIT (since Linux 4.14)
the call to io_submit(2)
in ircd/fs_aio.cc
is liable to block the entire daemon under certain conditions. A non-blocking use of this call allows the daemon to continue making progress in other contexts during that time.
Otherwise clients will show displayname/avatar changes as joins
An optimized build with -flto
crashes during execution. This does not occur in any other optimized build without -flto
.
relevant portion of stacktrace:
(#0 ... #10 template jumble in /deps/boost/include/boost/spirit/home/karma/*)
#11 ircd::json::printer::operator()<boost::spirit::karma::rule<char*, ircd::string_view, boost::spirit::unused_type, boost::spirit::unused_type, boost::spirit::unused_type> const&, ircd::string_view const&>(ircd::buffer::mutable_buffer&, boost::spirit::karma::rule<char*, ircd::string_view, boost::spirit::unused_type, boost::spirit::unused_type, boost::spirit::unused_type> const&, ircd::string_view const&) const [clone .isra.1773] [clone .lto_priv.3466] (out=..., g=..., a#0=...) at json.cc:356
#12 0x00007ffff7b25b56 in ircd::json::serialized (v=...) at json.cc:2706
#13 0x00007ffff7b2634a in ircd::json::value::value (this=this@entry=0x7fffffffdd50, other=...) at json.cc:2985
#14 0x00007ffff7ab9973 in __base_ctor (__y=..., __x=..., this=0x7fffffffdd50) at /usr/include/c++/6/bits/stl_pair.h:311
#15 ircd::json::member::member<char const (&) [30]>(ircd::string_view const&, char const (&) [30]) [clone .lto_priv.2021] (this=0x7fffffffdd50, key=..., v=...) at json/member.h:69
#16 0x00007ffff7ab96ae in __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at ircd.cc:26
#17 _GLOBAL__sub_I_ircd.cc.lto_priv.1875 () at ircd.cc:405
#18 0x00007ffff7adb82e in global constructors keyed to 65535_0_info.o.568086 () from /home/jason/charybdis/lib/libircd.so.3
#19 0x00007ffff7de76ba in call_init (l=<optimized out>, argc=argc@entry=3, argv=argv@entry=0x7fffffffde58, env=env@entry=0x7fffffffde78) at dl-init.c:72
#20 0x00007ffff7de77cb in call_init (env=0x7fffffffde78, argv=0x7fffffffde58, argc=3, l=<optimized out>) at dl-init.c:30
#21 _dl_init (main_map=0x7ffff7ffe168, argc=3, argv=0x7fffffffde58, env=0x7fffffffde78) at dl-init.c:120
#22 0x00007ffff7dd7c6a in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
#23 0x0000000000000003 in ?? ()
#24 0x00007fffffffe221 in ?? ()
#25 0x00007fffffffe245 in ?? ()
#26 0x00007fffffffe24e in ?? ()
#27 0x0000000000000000 in ?? ()
Link-Time-Optimization is not enabled by default due to [at least] this issue. To enable it manually configure with --enable-lto
.
The header openssl/tls1.h does not seem able to be compiled on its own, so ./configure considers it not to exist. Everything still compiles and works normally.
Either this is simply removed or a way to make this check pass is figured out.
This is because the events sent to /sync for linear-sync (page reload & heavy traffic) and longpoll-sync are not real events with sequence numbers. If the longpoll-sync misses the event, linear-sync will not be able to find it. Polylog-sync (initial and overnight page load) does not have this problem because it extracts EDU's from real events. Linear-sync has to match on the same real events as polylog-sync to extract EDU data.
I just try to compile on debian testing.
I follow the readme but maybe i miss something.
First i have to remove the CXX=g++-6 on CXX=g++-6 ./configure --prefix=$PWD/build.
With conf items for which non-modifying endpoints to allow through the ACL. Because information wants to be free and I hope we're not fascists.
After doing so, the conf item ircd.m.room.state.disable_history
should be defaulted to false, and all current users must change this conf item to false and run the command room state rebuild history *
. Otherwise the "state of a room at an event" will not be available as specified.
Resolving this issue involves going through the handlers in the modules/
tree alongside the matrix client and server specification to flag methods required to be rate-limited. Currently some are, but many are not.
Example of a method with the flag:
resource::method
method
{
resource, "GET", handler,
{
method.REQUIRES_AUTH |
method.RATE_LIMITED
}
};
Currently when the remote changes an alias we have no automated mechanism to update the cache in the !alias
room, or even do that manually.
Forward secrecy (sometimes also called perfect forward secrecy) is a protocol feature that enables secure conversations that are not dependent on the server’s private key. With cipher suites that do not provide forward secrecy, someone who can recover a server’s private key can decrypt all earlier recorded encrypted conversations. You need to support and prefer ECDHE suites in order to enable forward secrecy with modern web browsers. To support a wider range of clients, you should also use DHE suites as fallback after ECDHE. Avoid the RSA key exchange unless absolutely necessary. My proposed default configuration in Section 2.3 contains only suites that provide forward secrecy.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.