Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#71899 - sslh-select getpeername bad file descriptor

Attached to Project: Community Packages
Opened by Gaetan Bisson (vesath) - Sunday, 22 August 2021, 23:56 GMT
Last edited by Sébastien Luttringer (seblu) - Tuesday, 31 August 2021, 23:48 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sébastien Luttringer (seblu)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

sslh-1.22-1 fails to forward http connections. Downgrading to 1.21c-2 solves the issue.

I've got a simple sslh.cfg file like this:

numeric: true;
transparent: false;

listen:
(
{ host: "168.235.104.55"; port: "443"; },
{ host: "168.235.104.55"; port: "80"; }
);

protocols:
(
{ name: "ssh"; host: "127.0.0.1"; port: "22"; },
{ name: "tls"; host: "127.0.0.1"; port: "443"; },
{ name: "http"; host: "127.0.0.1"; port: "80"; }
);

ssh connections get forwarded as expected. But http connections fail like this:

Aug 22 23:47:16 sake sslh-select[1023]: sslh-select v1.22 started
Aug 22 23:47:16 sake sslh-select[1023]: sslh-select v1.22 started
Aug 22 23:47:34 sake sslh-select[1023]: ssh:connection from 43.249.179.18:53706 to 168.235.104.55:80 forwarded from 127.0.0.1:36274 to 127.0.0.1:22
Aug 22 23:47:34 sake sslh-select[1023]: ssh:connection from 43.249.179.18:53706 to 168.235.104.55:80 forwarded from 127.0.0.1:36274 to 127.0.0.1:22
Aug 22 23:47:51 sake sslh-select[1023]: common.c:323:getpeername:9:Bad file descriptor
Aug 22 23:47:51 sake sslh-select[1023]: common.c:323:getpeername:9:Bad file descriptor
Aug 22 23:47:56 sake sslh-select[1023]: Inconsistent probing: cnx=5efc3150p
Aug 22 23:47:56 sake sslh-select[1023]: Inconsistent probing: state=1593586000
Aug 22 23:47:56 sake sslh-select[1023]: Inconsistent probing: cnx=5efc3150p
Aug 22 23:47:56 sake sslh-select[1023]: Inconsistent probing: state=1593586000
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Tuesday, 31 August 2021, 23:48 GMT
Reason for closing:  Fixed
Comment by Gaetan Bisson (vesath) - Monday, 23 August 2021, 04:52 GMT Comment by Gaetan Bisson (vesath) - Tuesday, 31 August 2021, 21:40 GMT
It's fixed upstream by release 1.22.b which landed in Arch shortly after. This report can be closed. Cheers.

Loading...