Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 751721 - net-misc/openssh-8.1_p1-r4[sctp]: Transport SCTP directive applies to all hosts
Summary: net-misc/openssh-8.1_p1-r4[sctp]: Transport SCTP directive applies to all hosts
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-29 08:54 UTC by WGH
Modified: 2023-05-15 14:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description WGH 2020-10-29 08:54:01 UTC
I don't know where this patch set comes from (if I knew, I reported to its upstream directly).

Reproducible: Always

Steps to Reproduce:
1. Have openssh built with "sctp" USE flag enabled
2. Have "Transport sctp" under any host in ~/.ssh/config
3. Try to connect to any host, not necessarily matched by any "Host" directive
Actual Results:  
"Transport sctp" applies to all hosts, not only the one under which it's written. And if you try to connect to a host without SSH listening on SCTP, you'll get a "connection refused" error.

Expected Results:  
"Transport sctp" would apply only to the host under which it's written (like probably all other ssh_config options do).

Given that this SCTP patch is not very widespread, it makes it even harder to test it, since you can't really use "Transport sctp" (as it would break connection to most other hosts), and passing -z host-by-host is somewhat annoying.