TigerVNC/tigervnc

IPv6 address in HostsFile not working

オープン

#1,389 opened on 2021/12/08

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)C++ (1,177 件のフォーク)github user discovery
bughelp wanted

Repository metrics

Stars
 (7,403 個のスター)
PR merge metrics
 (平均マージ 95d 10h) (30d で 4 merged PRs)

説明

Describe the bug When IPv6 address is in HostsFile Server quits after first attempted connection with log line: Main: unable to resolve host by name: Name or service not known

To Reproduce Steps to reproduce the behavior: Create HostsFile containing two lines: +IPv6 address - run x0vncserver with -HostsFile option

Try to connect.

Expected behavior Server parses IPv6 address and does not quit.

Server (please complete the following information):

  • OS: Linux Mint
  • VNC server: TigerVNC Server
  • VNC server version: 1.10.1
  • Server downloaded from: Ubuntu apt repository
  • Server was started using: x0vncserver

Additional context I think this might be caused by too short readline here 32 chars is to little for IPv6 address (although i don't know if this is the only problem with parsing). Log line might be coming from here or here


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

コントリビューターガイド