Bug 158035 - support IPV6 for headless mode
Summary: support IPV6 for headless mode
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.5.5.2 release
Hardware: All Linux (All)
: medium enhancement
Assignee: Not Assigned
URL: https://ask.libreoffice.org/t/how-to-...
Whiteboard:
Keywords: needsDevAdvice
Depends on:
Blocks: Network
  Show dependency treegraph
 
Reported: 2023-11-02 08:44 UTC by scr6159
Modified: 2023-11-21 06:30 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description scr6159 2023-11-02 08:44:21 UTC
Both unx(https://opengrok.libreoffice.org/xref/core/sal/osl/unx/socket.cxx?r=252132d9#osl_createInetSocketAddr) and win(https://opengrok.libreoffice.org/xref/core/sal/osl/w32/socket.cxx?r=db392a8a#osl_createInetSocketAddr) implementations of the functions used there in the acceptor use inet_pton (and its W variant) with AF_INET, never with AF_INET6
Comment 1 Stéphane Guillou (stragu) 2023-11-21 06:28:46 UTC
From the linked ask.LO question:

nohup /opt/libreoffice7.5/program/soffice -headless -accept=“socket,host=::1,port=8200;urp;” -nofirststartwizard &

> this process stopped somewhere on the way and never completed. It kept the CPU
> 100% busy all the time. The startup doesn’t happen and port in never listened.

Two more back in 2016 from the same author, and likely same as this report?
- https://ask.libreoffice.org/t/do-you-support-ipv6/19482
- https://ask.libreoffice.org/t/how-to-run-soffice-bin-in-headless-mode-on-a-ipv6-machine/19423

Marking as new for an enhancement, but more dev advice welcome.