8000 lws_create_context: iface option issue · Issue #3365 · warmcat/libwebsockets · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
lws_create_context: iface option issue #3365
Open
@anonhostpi

Description

@anonhostpi

When attempting to implement ttyd on OpenWRT on my router, I noticed there were issues with getting ttyd running correctly, and it appears that they may be rooted in a limitation/problem with this library.

I'd like to reiterate that:

A commonly forgotten feature of Linux networking is that Linux allows you to listen to multiple IP addresses on the same interface without bridges or virtual adapters.

From the core issue:

The problem this seems to cause, is that ttyd is only binding to one IP addresses when specifying a device even if that device has more than one IP address.

Which seems to be caused by libwebsockets here:

Workaround:

A possible workaround for now, is to have ttyd check the interface first for all assigned IPs when creating the websockets

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0