Displaying 12 results from an estimated 12 matches for "ut_hostsize".
1999 Dec 28
1
ANNOUNCE: openssh-1.2.1pre22
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have just uploaded 1.2.1pre22 to:
http://violet.ibs.com.au/openssh/files/
This release consists of portability fixes and cleanups. It also
resolves two issues which may have caused security problems
- If you OS header files did not define PATH_STDPATH, then an
unsafe path was used by default (it contained an implicit '.').
Thanks
1999 Dec 28
1
ANNOUNCE: openssh-1.2.1pre22
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have just uploaded 1.2.1pre22 to:
http://violet.ibs.com.au/openssh/files/
This release consists of portability fixes and cleanups. It also
resolves two issues which may have caused security problems
- If you OS header files did not define PATH_STDPATH, then an
unsafe path was used by default (it contained an implicit '.').
Thanks
2008 Sep 24
0
utmp_len
In sshd.c:
/* record remote hostname or ip */
u_int utmp_len = MAXHOSTNAMELEN;
However, HOSTNAMELEN is almost certainly too long. Is there a reason
not to use UT_HOSTSIZE instead, as below?
Index: sshd.c
===================================================================
--- sshd.c (revision 182719)
+++ sshd.c (working copy)
@@ -72,6 +72,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <utmp.h>
#in...
2000 Sep 12
0
OpenSSH 2.2.0p1 port to QNX 4
...#define LL_DIR 2
#define LL_OTHER 3
+
+ /* struct lastlog is not defined under QNX: define it */
+ #if defined(__QNX__) && !defined(__QNXNTO__)
+ #define __time_t time_t
+
+ /* from Linux's <bits/utmp.h> */
+ #define UT_LINESIZE 32
+ #define UT_NAMESIZE 32
+ #define UT_HOSTSIZE 256
+
+ /* The structure describing an entry in the database of
+ previous logins. */
+ struct lastlog
+ {
+ __time_t ll_time;
+ char ll_line[UT_LINESIZE];
+ char ll_host[UT_HOSTSIZE];
+ };
+ #endif /* __QNX__ && !__QNXNTO__ */
static void
lastlog_construct(s...
1999 Nov 19
0
[patch2, 1.2pre13] solaris 7 patch for bsd-login.c
...out ut_host.
***************
*** 70,75 ****
--- 74,80 ----
strncmp(old_ut.ut_line, utp->ut_line, UT_LINESIZE) == 0 &&
strncmp(old_ut.ut_name, utp->ut_name, UT_NAMESIZE) == 0)
(void)memcpy(utp->ut_host, old_ut.ut_host, UT_HOSTSIZE);
+ #endif
(void)lseek(fd, (off_t)(tty * sizeof(struct utmp)), SEEK_SET);
(void)write(fd, utp, sizeof(struct utmp));
(void)close(fd);
Marc G. Fournier marc.fournier at acadiau.ca
Senior Systems Administrator...
2001 Mar 05
0
Question re wtmp and 2.5.1
Hi,
I've got a 2.8-RELEASE box that uses the old utmp.h with:
#define UT_NAMESIZE 8
#define UT_LINESIZE 8
#define UT_HOSTSIZE 16
2.5.1's ssh/login.c seems use this by including <utmp.h>. However, when a
remote user logs into this box, the wtmp file is munged from that point on.
There are no notes about this on the OpenSSH site ("OpenSSH compiles cleanly
on OpenBSD 2.8").
Question: where is Op...
1999 Dec 22
2
ANNOUNCE: openssh-1.2.1pre19
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
OpenSSH-1.2.1pre19 has been released.
http://violet.ibs.com.au/openssh/files/MIRRORS.html
The major change in this version is the integration of Andre Lucas'
HPUX support. This adds a few other options which may be useful
on other systems.
Changelog:
19991221
- Integration of large HPUX patch from Andre Lucas
<andre.lucas at
1999 Dec 22
2
ANNOUNCE: openssh-1.2.1pre19
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
OpenSSH-1.2.1pre19 has been released.
http://violet.ibs.com.au/openssh/files/MIRRORS.html
The major change in this version is the integration of Andre Lucas'
HPUX support. This adds a few other options which may be useful
on other systems.
Changelog:
19991221
- Integration of large HPUX patch from Andre Lucas
<andre.lucas at
2004 Jan 26
6
Kernel modules listing
Hi all,
please, is there some utility/command/... to list all installed kernel
modules ?
Peter Rosa
1999 Dec 24
5
ANNOUNCE: openssh-1.2.1pre20
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
openssh-1.2.1pre20 has been released at:
http://violet.ibs.com.au/openssh/files/
This release integrates more of Andre Lucas' portability patch, Ben
Taylor's utmpx patch and some cleanups and bugfixes of my own.
The auth-passwd failures should be fixed, as should lastlog support on
NetBSD.
Since Andre Lucas' patch included platform
1999 Dec 24
5
ANNOUNCE: openssh-1.2.1pre20
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
openssh-1.2.1pre20 has been released at:
http://violet.ibs.com.au/openssh/files/
This release integrates more of Andre Lucas' portability patch, Ben
Taylor's utmpx patch and some cleanups and bugfixes of my own.
The auth-passwd failures should be fixed, as should lastlog support on
NetBSD.
Since Andre Lucas' patch included platform
1999 Nov 19
1
[solaris 7 patch] resubmit and extended ...
Okay, everything as the first large one I sent today, with a few extra
mods. _PATH_MAILDIR is only used in sshd.c, that I can see, so moved the
#ifdef from config.h.in to there.
several files had __progname defined in the middle of the code, as well as
at the top of the code, so cleaned those out.
all the fixes for u_int32_t -> uint32_t and u_int16_t -> uint16_t, plus
added appropriate