[Bug 3526] Config option AddressFamily has no effect?

2023-11-22 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=3526 renmingshuai changed: What|Removed |Added CC||rmsh1...@163.com --- Comment #14 from

[Bug 3526] Config option AddressFamily has no effect?

2023-11-19 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=3526 Damien Miller changed: What|Removed |Added Resolution|--- |FIXED Status|REOPENED

[Bug 3526] Config option AddressFamily has no effect?

2023-11-18 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=3526 nix-mu...@gmx.net changed: What|Removed |Added Attachment #3746|0 |1 is obsolete|

[Bug 3526] Config option AddressFamily has no effect?

2023-11-15 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=3526 Damien Miller changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 3526] Config option AddressFamily has no effect?

2023-11-15 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=3526 Darren Tucker changed: What|Removed |Added Attachment #3746|ok?(dtuc...@dtucker.net)|ok+ Flags|

[Bug 3526] Config option AddressFamily has no effect?

2023-11-15 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=3526 Damien Miller changed: What|Removed |Added CC||dtuc...@dtucker.net Attachment #3746|

[Bug 3526] Config option AddressFamily has no effect?

2023-10-16 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=3526 --- Comment #10 from Damien Miller --- It was after the getnameinfo() block because we need that to do the name->address conversion -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the

[Bug 3526] Config option AddressFamily has no effect?

2023-10-16 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=3526 --- Comment #9 from nix-mu...@gmx.net --- > Making it `errno = EAFNOSUPPORT;` (instead of errno = 0) results in > a nice(r) "Address family not supported by protocol family". Then again, that might be misleading. And platform dependant? Not quite

[Bug 3526] Config option AddressFamily has no effect?

2023-10-16 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=3526 nix-mu...@gmx.net changed: What|Removed |Added Attachment #3741|0 |1 is obsolete|

[Bug 3526] Config option AddressFamily has no effect?

2023-10-15 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=3526 --- Comment #7 from Damien Miller --- could you try replacing the -1 with AF_UNSPEC? -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.

[Bug 3526] Config option AddressFamily has no effect?

2023-10-15 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=3526 --- Comment #6 from nix-mu...@gmx.net --- (In reply to Damien Miller from comment #5) > Created attachment 3741 [details] > filter addresses by AddressFamily at connect time > > Please give this patch a try This made ssh skip any address

[Bug 3526] Config option AddressFamily has no effect?

2023-10-11 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=3526 Damien Miller changed: What|Removed |Added Blocks||3628 Referenced Bugs:

[Bug 3526] Config option AddressFamily has no effect?

2023-10-11 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=3526 --- Comment #5 from Damien Miller --- Created attachment 3741 --> https://bugzilla.mindrot.org/attachment.cgi?id=3741=edit filter addresses by AddressFamily at connect time Please give this patch a try -- You are receiving this mail because:

[Bug 3526] Config option AddressFamily has no effect?

2023-02-10 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=3526 --- Comment #4 from nix-mu...@gmx.net --- Just checked, the lookup is for both (A and ) records. Anyways, the IP4/IP6 decision is made too early. AddressFamily is not used like -G output suggests. Change "Host lazy.actual-domain.redacted" to

[Bug 3526] Config option AddressFamily has no effect?

2023-02-10 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=3526 --- Comment #3 from nix-mu...@gmx.net --- Huh, found it. Because of canonicalization, the hostname is resolved before its canonical form is parsed in the config. This lookup must be cached and not resolve both A and records for later decision

[Bug 3526] Config option AddressFamily has no effect?

2023-02-10 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=3526 --- Comment #2 from nix-mu...@gmx.net --- Created attachment 3669 --> https://bugzilla.mindrot.org/attachment.cgi?id=3669=edit conffile + verbose output reduced the config to only the most relevant stuff -- You are receiving this mail

[Bug 3526] Config option AddressFamily has no effect?

2023-02-09 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=3526 Damien Miller changed: What|Removed |Added CC||d...@mindrot.org --- Comment #1 from