blob: 1059f57cc88bbe2e58b177a60d56c305a551ed41 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
--- sshd-session.c.orig 2025-10-11 10:16:00.048273000 -0700
+++ sshd-session.c 2025-10-11 10:16:02.937735000 -0700
@@ -149,6 +149,12 @@ static int have_agent = 0;
/* Daemon's agent connection */
int auth_sock = -1;
static int have_agent = 0;
+
+/*
+ * This is compiled WITHOUT blocklistd support. This is done for patch
+ * glue in ports.
+ */
+#define BLACKLIST_NOTIFY(...)
/*
* Any really sensitive data in the application is contained in this
@@ -1275,8 +1281,10 @@ main(int ac, char **av)
}
if ((r = kex_exchange_identification(ssh, -1,
- options.version_addendum)) != 0)
+ options.version_addendum)) != 0) {
+ BLACKLIST_NOTIFY(ssh, BLACKLIST_AUTH_FAIL, "Banner exchange");
sshpkt_fatal(ssh, r, "banner exchange");
+ }
ssh_packet_set_nonblocking(ssh);
|