[Bug 242662] sysutils/ttyd: option -i to loopback does not take effect

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 16 12:33:43 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242662

            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 at FreeBSD.org
          Reporter: nilsjohannsen at gmx.de
                CC: neel at neelc.org
                CC: neel at neelc.org
             Flags: maintainer-feedback?(neel at neelc.org)

ttyd (1.5.2) offers the option -i, --interface to define a network interface 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 loopback
adapter.

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


More information about the freebsd-ports-bugs mailing list