Bugzilla – Attachment 1107 Details for
Bug 1179
sshd incorrectly rejects remote connections due to IP options
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
reorder ip options check
ipopt.diff (text/plain), 850 bytes, created by
Damien Miller
on 2006-04-01 17:05:45 AEDT
(
hide
)
Description:
reorder ip options check
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2006-04-01 17:05:45 AEDT
Size:
850 bytes
patch
obsolete
>Index: canohost.c >=================================================================== >RCS file: /var/cvs/openssh/canohost.c,v >retrieving revision 1.60 >diff -u -p -r1.60 canohost.c >--- canohost.c 26 Mar 2006 03:24:49 -0000 1.60 >+++ canohost.c 1 Apr 2006 06:04:45 -0000 >@@ -45,6 +45,9 @@ get_remote_hostname(int sock, int use_dn > cleanup_exit(255); > } > >+ if (from.ss_family == AF_INET) >+ check_ip_options(sock, ntop); >+ > ipv64_normalise_mapped(&from, &fromlen); > > if (from.ss_family == AF_INET6) >@@ -53,9 +56,6 @@ get_remote_hostname(int sock, int use_dn > if (getnameinfo((struct sockaddr *)&from, fromlen, ntop, sizeof(ntop), > NULL, 0, NI_NUMERICHOST) != 0) > fatal("get_remote_hostname: getnameinfo NI_NUMERICHOST failed"); >- >- if (from.ss_family == AF_INET) >- check_ip_options(sock, ntop); > > if (!use_dns) > return xstrdup(ntop);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
dtucker
:
ok+
Actions:
View
|
Diff
Attachments on
bug 1179
:
1105
| 1107