Skip to content

fix(core): enhance IP address handling and formatting across multiple…#1103

Open
wmade wants to merge 1 commit into
citizenfx:developfrom
wmade:master
Open

fix(core): enhance IP address handling and formatting across multiple…#1103
wmade wants to merge 1 commit into
citizenfx:developfrom
wmade:master

Conversation

@wmade
Copy link
Copy Markdown

@wmade wmade commented Mar 15, 2026

Add compatibility and support for IPv6.
The fxserver is already compatible, and it's a shame that you can't use txadmin if you don't have a public IPv4 address. (RFC 8200)

@wmade wmade requested a review from tabarra as a code owner March 15, 2026 20:43
@yorick2002
Copy link
Copy Markdown
Contributor

Add compatibility and support for IPv6. The fxserver is already compatible, and it's a shame that you can't use txadmin if you don't have a public IPv4 address. (RFC 8200)

txAdmin has had ipv6 support for years

@wmade
Copy link
Copy Markdown
Author

wmade commented Mar 15, 2026

No, otherwise I wouldn't have made the changes. And the server wouldn't crash on startup.
Unless, of course, I don't start it correctly. If I don't set TXHOST_INTERFACE, the server starts in IPv6 mode but is inaccessible.
Testing on Linux, you can clearly see that it only listens on 0.0.0.0.
And it doesn't display the address correctly either, without the [].
And if I use TXHOST_INTERFACE, the server crashes immediately. The IPv6 isn't correct.

I'm in a situation where I'm IPv6-only.

@yorick2002
Copy link
Copy Markdown
Contributor

No, otherwise I wouldn't have made the changes. And the server wouldn't crash on startup. Unless, of course, I don't start it correctly. If I don't set TXHOST_INTERFACE, the server starts in IPv6 mode but is inaccessible. Testing on Linux, you can clearly see that it only listens on 0.0.0.0. And it doesn't display the address correctly either, without the []. And if I use TXHOST_INTERFACE, the server crashes immediately. The IPv6 isn't correct.

I'm in a situation where I'm IPv6-only.

Strange, because I remember in 2022 Tabby was adding IPV6 support e70b06c

@dop42
Copy link
Copy Markdown

dop42 commented Mar 15, 2026

Fully supporting this PR. I've seen the same behavior: txAdmin defaulting to 0.0.0.0 even when the host is IPv6. The current implementation seems to lack the proper interface binding for modern network stacks. The fix for TXHOST_INTERFACE handling is crucial for anyone running on providers that are phasing out public IPv4s.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants