Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Dec 2019 12:33:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 242662] sysutils/ttyd: option -i to loopback does not take effect
Message-ID:  <bug-242662-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242662

            Bug ID: 242662
           Summary: sysutils/ttyd: option -i to loopback does not take
                    effect
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: nilsjohannsen@gmx.de
                CC: neel@neelc.org
                CC: neel@neelc.org
             Flags: maintainer-feedback?(neel@neelc.org)

ttyd (1.5.2) offers the option -i, --interface to define a network interfac=
e to
bind.
In case 'ttyd login' without the option '-i' is called, 'sockstat -s4' shows
the local address '*:7681' so that the socket listens to all interfaces.
In case 'ttyd -i em0 login' is called, sockstat shows the address
'192.168.1.144:7681' as expected, so that the socket listens only to that
specific interface.
In case 'ttyd -i lo0 login' is called, sockstat shows the address '*:7681' =
and
the socket listens to all interfaces. But in this case I would expect the
address '127.0.0.1:7681' and that the socket only listens on the local loop=
back
adapter.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242662-7788>