Displaying 20 results from an estimated 26 matches for "strnvis".
2014 Jan 23
1
Call for testing: OpenSSH-6.5
Hi
When NetBSD added strnvis they swapped around the argument order.
On OpenBSD:
int strnvis(char *, const char *, size_t, int)
On NetBSD:
int strnvis(char *, size_t, const char *, int);
Don't ask me why.
On Thu, Jan 23, 2014 at 12:56:48PM +1100, Darren Tucker wrote:
> On Thu, Jan 23, 2014 at 12:13 PM, Hi...
2012 Sep 25
2
OpenSSH banner doesnot display multibyte characters like korean
Hello,
The banner message displayed on the screen contain octal values
instead of korean chars. Prior to ssh 5.1 the banner message would
display the charaters properly.
I understand that starting from 5.1 the message is passed through
strnvis() function.
I looked into documentation on strnvis and found that it does not
support multibyte chars and doesnt work well with international chars.
Could you please share any workaround to display international chars
like korean in banner message.
I also found little information inthe changelog...
2008 Jul 31
7
[Bug 1496] New: ssh fails with xmalloc: zero size
...ntrum.cz
Created an attachment (id=1553)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=1553)
Patch which fixes the zero length banner problem.
ssh fails with xmalloc: zero size when connecting to a server with
present but empty banner.
Also the processing of the received banner through strnvis() is
unfortunate in the regard that it mangles banners with international
characters. The processing should be done according to the current
locale and allow the international characters to be printed unmangled.
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- Yo...
2003 Mar 31
1
OpenSSH 3.6 released (fwd)
-------------- next part --------------
An embedded message was scrubbed...
From: Marc-Christian Petersen <m.c.p at gmx.net>
Subject: Re: OpenSSH 3.6 released
Date: Mon, 31 Mar 2003 18:50:18 +0200
Size: 3785
Url: http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20030331/7da804d0/attachment.mht
2013 Jan 07
14
[Bug 2058] New: SSH Banner message displays UTF-8 multibyte char incorrrectly
...4481
Logging the defect with fix for consideration.
Description:
The banner message displayed on the screen contain octal values
instead of korean chars. Prior to ssh 5.1 the banner message would
display the charaters properly.
I understand that starting from 5.1 the message is passed through
strnvis() function.
I looked into documentation on strnvis and found that it does not
support multibyte chars and doesnt work well with international chars.
--
You are receiving this mail because:
You are watching the assignee of the bug.
2004 Mar 24
2
Request for comment, logging patch
Greetings.
Attached is a patch that provides more logging information
for example:
Mar 19 08:34:54 secosr5 sshd[7667]: Accepted publickey of? vix at wormhole for root from 192.168.1.1 port 1256 ssh2
Mar 19 08:34:54 secosr5 sshd[7667]: executing command 'who' for? vix at wormhole as user root
Mar 19 10:37:16 secosr5 sshd[7725]: Accepted publickey of? vix at wormhole for root from
2017 Feb 13
3
Logfile encoding question
Hello.
I've got a question about encoding in sshd's log files.
When I try to log in with a "?" username, which is a cyrillic "h" (U+0445),
I get this message in a logfile: input_userauth_request: invalid user
\\321\\205 [preauth].
I am struggling to understand: is that hex, is that octal? It doesn't map
to any encoding that I know of.
2016 Dec 14
17
Call for testing: OpenSSH 7.4
...ibcrypto compiled without RIPEMD160 support.
* contrib: Add a gnome-ssh-askpass3 with GTK+3 support. bz#2640
* sshd(8): Improve PRNG reseeding across privilege separation and
force libcrypto to obtain a high-quality seed before chroot or
sandboxing.
* All: Explicitly test for broken strnvis. NetBSD added an strnvis
and unfortunately made it incompatible with the existing one in
OpenBSD and Linux's libbsd (the former having existed for over ten
years). Try to detect this mess, and assume the only safe option
if we're cross compiling.
OpenSSH is brought to you by M...
2003 Sep 19
2
[Bug 692] Can't make OpenSSH-3.7.1p1 on OpenBSD 3.0
...everity: critical
Priority: P2
Component: Build system
AssignedTo: openssh-bugs at mindrot.org
ReportedBy: szedula at mindspring.com
"make" terminates with message:
log.c: In function `do_log':
log.c:393: warning: implicit declaration of function `strnvis'
log.c:393: `VIS_SAFE' undeclared (first use in this function)
log.c:393: (Each undeclared identifier is reported only once
log.c:393: for each function it appears in.)
log.c:393: `VIS_OCTAL' undeclared (first use in this function)
*** Error code 1
I found both "VIS_SAFE" and...
2003 Sep 19
2
[Bug 692] Can't make OpenSSH-3.7.1p1 on OpenBSD 3.0
...everity: critical
Priority: P2
Component: Build system
AssignedTo: openssh-bugs at mindrot.org
ReportedBy: szedula at mindspring.com
"make" terminates with message:
log.c: In function `do_log':
log.c:393: warning: implicit declaration of function `strnvis'
log.c:393: `VIS_SAFE' undeclared (first use in this function)
log.c:393: (Each undeclared identifier is reported only once
log.c:393: for each function it appears in.)
log.c:393: `VIS_OCTAL' undeclared (first use in this function)
*** Error code 1
I found both "VIS_SAFE" and...
2016 Jan 02
3
ssh-keygen: sanitize ANSI escape sequences in key comment
Hi,
Today I fiddled around a bit with my OpenSSH public key files, and I noticed
that ssh-keygen prints most non-printable characters in the comment as-is when
showing the fingerprint of a key. This can lead to confusing output on the
terminal when the comment contains ANSI escape characters which are interpreted
by the terminal. The attached public key file serves as an example, which, when
2016 Dec 19
2
Announce: OpenSSH 7.4 released
...ibcrypto compiled without RIPEMD160 support.
* contrib: Add a gnome-ssh-askpass3 with GTK+3 support. bz#2640
* sshd(8): Improve PRNG reseeding across privilege separation and
force libcrypto to obtain a high-quality seed before chroot or
sandboxing.
* All: Explicitly test for broken strnvis. NetBSD added an strnvis
and unfortunately made it incompatible with the existing one in
OpenBSD and Linux's libbsd (the former having existed for over ten
years). Try to detect this mess, and assume the only safe option
if we're cross compiling.
Checksums:
==========
- SHA1...
2016 Dec 19
2
Announce: OpenSSH 7.4 released
...ibcrypto compiled without RIPEMD160 support.
* contrib: Add a gnome-ssh-askpass3 with GTK+3 support. bz#2640
* sshd(8): Improve PRNG reseeding across privilege separation and
force libcrypto to obtain a high-quality seed before chroot or
sandboxing.
* All: Explicitly test for broken strnvis. NetBSD added an strnvis
and unfortunately made it incompatible with the existing one in
OpenBSD and Linux's libbsd (the former having existed for over ten
years). Try to detect this mess, and assume the only safe option
if we're cross compiling.
Checksums:
==========
- SHA1...
2007 Dec 12
58
[Bug 1402] New: [RFE] Support auditing through Linux Audit subsystem
https://bugzilla.mindrot.org/show_bug.cgi?id=1402
Summary: [RFE] Support auditing through Linux Audit subsystem
Classification: Unclassified
Product: Portable OpenSSH
Version: 4.7p1
Platform: Other
OS/Version: Linux
Status: NEW
Keywords: patch
Severity: normal
Priority: P2
Component: sshd
2003 Nov 20
11
Problem running SSH on IBM PPC440 processor, help appreciated
Hi,
Sorry to bother you on this mailing list, however I tried everything else and I am desperate to get this running. Please send me any hints you can think of.
I have installed openssh-3.7.1p2 on a ppc target and trying to connect to an sshd running on a redhat 9 with openssh-3.5p1. I keep getting the error "Disconnecting: Corrupted check bytes on input" no matter what I tried. I
2003 Sep 17
5
problems with 3.7.1p1 on IRIX (again)
Hi,
I've seen a few messages re. problems with 3.7.1p1 on IRIX 6.5...
I'm using 6.5.19 and having no trouble compiling, installing and
starting, but sshd just closes the connection with no explanation.
debug/verbose modes don't seem to give any clues.
Darren Tucker suggested defining BROKEN_GETADDRINFO in config.h,
but I find that compilation then fails (assuming I've implemented
2011 Jun 02
2
preauth privsep logging via monitor
...pri = LOG_ERR;
break;
}
- if (txt != NULL) {
+ if (txt != NULL && log_handler == NULL) {
snprintf(fmtbuf, sizeof(fmtbuf), "%s: %s", txt, fmt);
vsnprintf(msgbuf, sizeof(msgbuf), fmtbuf, args);
} else {
@@ -383,7 +406,13 @@ do_log(LogLevel level, const char *fmt,
}
strnvis(fmtbuf, msgbuf, sizeof(fmtbuf),
log_on_stderr ? LOG_STDERR_VIS : LOG_SYSLOG_VIS);
- if (log_on_stderr) {
+ if (log_handler != NULL) {
+ /* Avoid recursion */
+ tmp_handler = log_handler;
+ log_handler = NULL;
+ tmp_handler(level, fmtbuf, log_handler_ctx);
+ log_handler = tmp_handler;
+ }...
2013 Feb 26
16
Call for testing: OpenSSH-6.2
Hi,
It's that time again...
OpenSSH 6.2 is almost ready for release, so we would appreciate testing
on as many platforms and systems as possible. This release contains
some substantial new features and a number of bugfixes.
Snapshot releases for portable OpenSSH are available from
http://www.mindrot.org/openssh_snap/
The OpenBSD version is available in CVS HEAD:
2003 Jun 22
2
Problem with Configure
...s
checking for setsid... yes
checking for setvbuf... yes
checking for sigaction... yes
checking for sigvec... yes
checking for snprintf... yes
checking for socketpair... yes
checking for strerror... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for strmode... yes
checking for strnvis... no
checking for sysconf... yes
checking for tcgetpgrp... yes
checking for truncate... yes
checking for utimes... (cached) yes
checking for vhangup... no
checking for vsnprintf... yes
checking for waitpid... yes
checking for library containing nanosleep... none required
checking for library conta...
2006 Feb 06
1
Compile warning report of openssh 4.3p1 on Intel Macs
...s
checking for setvbuf... yes
checking for sigaction... yes
checking for sigvec... yes
checking for snprintf... yes
checking for socketpair... yes
checking for strdup... yes
checking for strerror... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for strmode... yes
checking for strnvis... no
checking for strtonum... no
checking for strtoll... yes
checking for strtoul... yes
checking for sysconf... yes
checking for tcgetpgrp... yes
checking for truncate... yes
checking for unsetenv... yes
checking for updwtmpx... no
checking for vasprintf... yes
checking for vhangup... no
checking...