Bug 242662 - sysutils/ttyd: option -i to loopback does not take effect
Summary: sysutils/ttyd: option -i to loopback does not take effect
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-16 12:33 UTC by Nils Johannsen
Modified: 2020-09-13 17:51 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nils Johannsen 2019-12-16 12:33:42 UTC
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.
Comment 1 Li-Wen Hsu freebsd_committer 2020-06-16 11:30:49 UTC
Maintainer has been reset.