[Bug 265306] sysutils/tmux: has tcsh send DNS query

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 19 Jul 2022 07:17:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265306

            Bug ID: 265306
           Summary: sysutils/tmux: has tcsh send DNS query
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: mat@FreeBSD.org
          Reporter: tatsuki_makino@hotmail.com
             Flags: maintainer-feedback?(mat@FreeBSD.org)
          Assignee: mat@FreeBSD.org

Created attachment 235350
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=235350&action=edit
experimental patch

DNS server may receive DNS queries related to tmux.
The following is an excerpt from my ISC BIND log.

19-Jul-2022 15:54:30.421 client @0x803584960 ::1#59707 (tmux\(67594\).%0): view
internal-in: query: tmux\(67594\).%0 IN A + (::1)
19-Jul-2022 15:54:30.421 client @0x803584960 ::1#60153 (tmux\(67594\).%0): view
internal-in: query: tmux\(67594\).%0 IN AAAA + (::1)

This query seems to be sent when a user whose login shell is tcsh/csh creates a
new pane of tmux.
This is probably related to the function getremotehost in
/usr/src/contrib/tcsh/tc.func.c .

The patch is an experimental patch to stop this DNS query.
This patch misleads tcsh into thinking that tmux is an X server connecting to a
unix domain socket :)

-- 
You are receiving this mail because:
You are the assignee for the bug.