Displaying 6 results from an estimated 6 matches for "have_addr_v6_in_utmp".
2014 Oct 18
2
[Bug 2296] New: loginrec.c fails to compile when HAVE_ADDR_V6_IN_UTMP is defined
https://bugzilla.mindrot.org/show_bug.cgi?id=2296
Bug ID: 2296
Summary: loginrec.c fails to compile when HAVE_ADDR_V6_IN_UTMP
is defined
Product: Portable OpenSSH
Version: 6.7p1
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P5
Component: sshd
Assignee: unassigned-bugs at mindrot.org...
2002 Dec 29
0
[Bug 460] New: ut_addr_v6 not used
...intainer).
diff -ruN t/openssh-3.5p1/loginrec.c openssh-3.5p1/loginrec.c
--- t/openssh-3.5p1/loginrec.c 2002-09-26 02:38:49.000000000 +0200
+++ openssh-3.5p1/loginrec.c 2002-11-05 13:14:33.000000000 +0100
@@ -609,6 +609,9 @@
construct_utmp(struct logininfo *li,
struct utmp *ut)
{
+# ifdef HAVE_ADDR_V6_IN_UTMP
+ struct sockaddr_in6 *sa6;
+# endif
memset(ut, '\0', sizeof(*ut));
/* First fill out fields used for both logins and logouts */
@@ -661,6 +664,19 @@
if (li->hostaddr.sa.sa_family == AF_INET)
ut->ut_addr = li->hostaddr.sa_in.sin_addr.s_addr;
# endif
+# ifdef HAVE_ADDR_...
2014 Feb 24
1
loginrec.c: bug in construct_utmpx() definition?
...rst use in this function)
openssh/loginrec.c:790:10: note: each undeclared identifier is reported only once for each function it appears in
My uClibc config includes support for UTMPX.
Looking in openssh/loginrec.c at the mentioned line I see that 'ut' structure pointer name is used when HAVE_ADDR_V6_IN_UTMP is defined while in in the rest of the function only 'utx' is used. For my inexperienced coding skills this looks like a bug, wrong variable name 'ut' is used over 'utx'.
Changing that code to use 'utx' instead of of 'ut' will lead to a successful compilation...
2000 Jul 01
0
Problem with cleaning utmp entry
...ng for ut_time field in utmpx.h... no
checking for ut_tv field in utmpx.h... no
PPS. Part of config.h (after doing configure):
/* struct utmp and struct utmpx fields */
#define HAVE_HOST_IN_UTMP 1
/* #undef HAVE_HOST_IN_UTMPX */
#define HAVE_ADDR_IN_UTMP 1
/* #undef HAVE_ADDR_IN_UTMPX */
/* #undef HAVE_ADDR_V6_IN_UTMP */
/* #undef HAVE_ADDR_V6_IN_UTMPX */
/* #undef HAVE_SYSLEN_IN_UTMPX */
#define HAVE_PID_IN_UTMP 1
#define HAVE_TYPE_IN_UTMP 1
/* #undef HAVE_TYPE_IN_UTMPX */
/* #undef HAVE_TV_IN_UTMP */
/* #undef HAVE_TV_IN_UTMPX */
#define HAVE_ID_IN_UTMP 1
/* #undef HAVE_EXIT_IN_UTMP */
#define HAVE_TIME_IN_UTM...
2005 Sep 19
1
ssh hangs or gives Segmentation fault
..._PORT */
#define ENTROPY_TIMEOUT_MSEC 200
#define SSH_PRIVSEP_USER "sshd"
/* #undef MANTYPE */
#define HAVE_OPENSSL 1
/* #undef RSAREF */
#define HAVE_STRUCT_TIMEVAL 1
#define HAVE_HOST_IN_UTMP 1
#define HAVE_HOST_IN_UTMPX 1
#define HAVE_ADDR_IN_UTMP 1
#define HAVE_ADDR_IN_UTMPX 1
#define HAVE_ADDR_V6_IN_UTMP 1
#define HAVE_ADDR_V6_IN_UTMPX 1
/* #undef HAVE_SYSLEN_IN_UTMPX */
#define HAVE_PID_IN_UTMP 1
#define HAVE_TYPE_IN_UTMP 1
#define HAVE_TYPE_IN_UTMPX 1
#define HAVE_TV_IN_UTMP 1
#define HAVE_TV_IN_UTMPX 1
#define HAVE_ID_IN_UTMP 1
#define HAVE_ID_IN_UTMPX 1
#define HAVE_EXIT_IN_UTMP 1
/* #undef HAV...
2014 Aug 29
90
[Bug 2266] New: Bugs intended to be fixed in 6.8
https://bugzilla.mindrot.org/show_bug.cgi?id=2266
Bug ID: 2266
Summary: Bugs intended to be fixed in 6.8
Product: Portable OpenSSH
Version: -current
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: Miscellaneous
Assignee: unassigned-bugs at