No description
Find a file
Tor Lillqvist a97c8c3455 Fis our use of inet_ntop() etc
We had:
    auto ipv4 = (struct sockaddr_in *)&clientInfo.sin_addr
even if the clientInfo variable itself was a struct sockaddr_in.

And then we also had:
    auto ipv6 = (struct sockaddr_in6 *)&clientInfo.sin_addr
which makes even less sense.

Instead, make clientInfo into a struct sockaddr_in6, which is big
enough to also to be interpreted as a sockaddr_in. Pass the address of
the correct field, either sin_addr or sin6_addr, to inet_ntop(). (Note
that sin_addr in sockaddr_in has a different offset than sin6_addr in
sockaddr_in6.)

At least on my Fedora 28, when I connect using IPv4, accept4() still
returns the client address as an IPv4 mapped IPv6 address, that is
::ffff:192.168.1.113 for 192.168.1.113. So the sample
net.post_allow.host value in loolwsd.xml.in should probably be changed
to have that ::ffff: prefix, too.

Change-Id: I0ad774616b210d94b904982e2f7dc928adc879ed
2018-07-10 23:14:51 +03:00
bundled/include/LibreOfficeKit
common wsd: reduce lock scope and log diskspace checks 2018-06-11 22:15:57 +02:00
debian Cleanup all old files in the cache, not just png's. 2018-05-30 20:04:15 +02:00
docker tdf#117557 Add CJK Fonts to LibreOffice Online Docker Image 2018-05-11 13:15:40 +02:00
etc new dummy ssl key and cert for testing 2018-04-14 17:52:54 +02:00
kit Implement client websocket masking. 2018-06-15 14:54:19 +01:00
loleaflet Our zoom step factor is 1.2, not 2 as in upstream 2018-07-07 00:01:28 +02:00
man Add man pages for installed binaries/scripts 2018-05-14 12:04:41 +02:00
net Fis our use of inet_ntop() etc 2018-07-10 23:14:51 +03:00
scripts use Makefile to build loleaflet 2018-05-10 20:30:16 +02:00
test Implement client websocket masking. 2018-06-15 14:54:19 +01:00
tools The std::string compare() method is like strcmp(): it returns 0 on equality 2018-07-10 23:14:51 +03:00
wsd wsd: avoid unnecessary value parameter 2018-07-09 09:11:20 +02:00
.clang-tidy
.gitignore loleaflet: add more node paths when bundling admin files 2018-05-19 10:27:40 -04:00
.gitreview
AUTHORS
autogen.sh execute autogen.sh from a build directory 2018-04-12 15:46:40 -04:00
ChangeLog
configure.ac Don't confuse git wwhen the npm-shrinkwrap.json auto-updates. 2018-05-18 15:49:07 +02:00
COPYING
discovery.xml
favicon.ico Favicon refresh 2018-06-06 03:18:13 -05:00
INSTALL
loolkitconfig.xcu
loolstat
loolwsd-systemplate-setup redirect stderr of find to /dev/null, non existing search paths can be ignored 2018-06-15 15:04:25 +02:00
loolwsd.service
loolwsd.spec.in Cleanup all old files in the cache, not just png's. 2018-05-30 20:04:15 +02:00
loolwsd.xml.in Remove test monitor. 2018-05-18 18:32:57 +01:00
Makefile.am loolsocketdump is an internal utility, not for packaging 2018-05-14 12:05:02 +02:00
NEWS
PROBLEMS typo fixes 2018-06-14 19:43:47 +02:00
README
sysconfig.loolwsd
TODO typo fix 2018-06-14 23:35:53 +02:00

LibreOffice Online.

This project has several components:

wsd/
	The Web Services Daemon - which accepts external connections.

kit/
	The client which lives in its own chroot and renders documents.

common/
	Shared code between these processes.

loleaflet/
	The client side JavaScript component.

It is recommended to read these files:

	wsd/README
	loleaflet/README

Enjoy.