search for: monitor_wrap

Displaying 20 results from an estimated 78 matches for "monitor_wrap".

2002 Jun 29
0
Privsep for osf/1 .. still need a bit of help
...onitor.h --- monitor.h 11 Jun 2002 16:42:49 -0000 1.8 +++ monitor.h 29 Jun 2002 03:19:27 -0000 @@ -50,6 +50,7 @@ MONITOR_REQ_RSACHALLENGE, MONITOR_ANS_RSACHALLENGE, MONITOR_REQ_RSARESPONSE, MONITOR_ANS_RSARESPONSE, MONITOR_REQ_PAM_START, + MONITOR_REQ_SETUP_SIA, MONITOR_REQ_TERM }; Index: monitor_wrap.c =================================================================== RCS file: /var/cvs/openssh/monitor_wrap.c,v retrieving revision 1.13 diff -u -r1.13 monitor_wrap.c --- monitor_wrap.c 27 Jun 2002 00:23:03 -0000 1.13 +++ monitor_wrap.c 29 Jun 2002 03:19:30 -0000 @@ -649,6 +649,24 @@ s->ttyf...
2002 Jun 28
0
Newer OSF patch.
...onitor.h --- monitor.h 11 Jun 2002 16:42:49 -0000 1.8 +++ monitor.h 28 Jun 2002 20:29:09 -0000 @@ -50,6 +50,7 @@ MONITOR_REQ_RSACHALLENGE, MONITOR_ANS_RSACHALLENGE, MONITOR_REQ_RSARESPONSE, MONITOR_ANS_RSARESPONSE, MONITOR_REQ_PAM_START, + MONITOR_REQ_SETUP_SIA, MONITOR_REQ_TERM }; Index: monitor_wrap.c =================================================================== RCS file: /var/cvs/openssh/monitor_wrap.c,v retrieving revision 1.13 diff -u -r1.13 monitor_wrap.c --- monitor_wrap.c 27 Jun 2002 00:23:03 -0000 1.13 +++ monitor_wrap.c 28 Jun 2002 20:29:12 -0000 @@ -649,6 +649,24 @@ s->ttyf...
2002 Aug 01
0
Tru64 and OSF/1 Privsep patch
...Tue Jun 11 12:42:49 2002 +++ openssh-3.4p1+/monitor.h Sun Jul 21 22:53:14 2002 @@ -50,6 +50,7 @@ MONITOR_REQ_RSACHALLENGE, MONITOR_ANS_RSACHALLENGE, MONITOR_REQ_RSARESPONSE, MONITOR_ANS_RSARESPONSE, MONITOR_REQ_PAM_START, + MONITOR_REQ_SETUP_SIA, MONITOR_REQ_TERM }; diff -ur openssh-3.4p1/monitor_wrap.c openssh-3.4p1+/monitor_wrap.c --- openssh-3.4p1/monitor_wrap.c Thu Jun 20 20:43:43 2002 +++ openssh-3.4p1+/monitor_wrap.c Sun Jul 21 22:53:14 2002 @@ -649,6 +649,24 @@ s->ttyfd = -1; } +#ifdef HAVE_OSF_SIA +void +mm_setup_sia(char *name, char *tty) +{ + Buffer m; + + debug3("%s enteri...
2002 Dec 21
6
[PATCH] PAM chauthtok + Privsep
...or.h --- monitor.h 27 Sep 2002 03:26:02 -0000 1.10 +++ monitor.h 21 Dec 2002 11:39:06 -0000 @@ -52,6 +52,7 @@ MONITOR_REQ_KRB4, MONITOR_ANS_KRB4, MONITOR_REQ_KRB5, MONITOR_ANS_KRB5, MONITOR_REQ_PAM_START, + MONITOR_REQ_PAM_CHAUTHTOK, MONITOR_ANS_PAM_CHAUTHTOK, MONITOR_REQ_TERM }; Index: monitor_wrap.c =================================================================== RCS file: /cvs/openssh/monitor_wrap.c,v retrieving revision 1.20 diff -u -r1.20 monitor_wrap.c --- monitor_wrap.c 27 Sep 2002 03:26:03 -0000 1.20 +++ monitor_wrap.c 21 Dec 2002 11:39:06 -0000 @@ -663,6 +663,31 @@ buffer_free(...
2014 Sep 08
1
possible deadcodes in sources
...*charptr = tilde_expand_filename(arg, getuid()); - /* increase optional counter */ - if (intptr != NULL) - *intptr = *intptr + 1; - } break; case sClientAliveInterval: * monitor_wrap.c:720:dead_error_line ? Execution cannot reach this statement "close(tmp2);".o --- a/monitor_wrap.c +++ b/monitor_wrap.c @@ -714,10 +714,8 @@ mm_pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, size_t namebuflen) if ((tmp1 = dup(pmonitor->m_recvfd)) == -1 || (tm...
2002 Mar 25
2
compile failure
The latest snapshot (20020324) fails to compile here. Linux 2.4.18-rc1 Alpha The first messages are: monitor_wrap.c: In function `mm_request_receive': monitor_wrap.c:91: warning: int format, different type arg (arg 3) monitor_wrap.c:100: warning: int format, different type arg (arg 3) which have to do with fatal() calls and int not being the same as ssize_t... But the next one is the problem: monitor_mm...
2002 Aug 11
4
OSF/1 or Tru64 patch for Privsep
...Tue Jun 11 12:42:49 2002 +++ openssh-3.4p1+/monitor.h Sun Jul 21 22:53:14 2002 @@ -50,6 +50,7 @@ MONITOR_REQ_RSACHALLENGE, MONITOR_ANS_RSACHALLENGE, MONITOR_REQ_RSARESPONSE, MONITOR_ANS_RSARESPONSE, MONITOR_REQ_PAM_START, + MONITOR_REQ_SETUP_SIA, MONITOR_REQ_TERM }; diff -ur openssh-3.4p1/monitor_wrap.c openssh-3.4p1+/monitor_wrap.c --- openssh-3.4p1/monitor_wrap.c Thu Jun 20 20:43:43 2002 +++ openssh-3.4p1+/monitor_wrap.c Sun Jul 21 22:53:14 2002 @@ -649,6 +649,24 @@ s->ttyfd = -1; } +#ifdef HAVE_OSF_SIA +void +mm_setup_sia(char *name, char *tty) +{ + Buffer m; + + debug3("%s enteri...
2011 Jun 02
2
preauth privsep logging via monitor
....h 5 Nov 2008 05:20:46 -0000 1.22 +++ monitor.h 2 Jun 2011 03:58:14 -0000 @@ -72,6 +72,8 @@ struct mm_master; struct monitor { int m_recvfd; int m_sendfd; + int m_log_recvfd; + int m_log_sendfd; struct mm_master *m_zback; struct mm_master *m_zlib; struct Kex **m_pkex; Index: monitor_wrap.c =================================================================== RCS file: /var/cvs/openssh/monitor_wrap.c,v retrieving revision 1.88 diff -u -p -r1.88 monitor_wrap.c --- monitor_wrap.c 29 May 2011 11:39:38 -0000 1.88 +++ monitor_wrap.c 2 Jun 2011 03:58:14 -0000 @@ -88,6 +88,26 @@ extern struc...
2002 Dec 10
5
[PATCH] Password expiry with Privsep and PAM
...or.h --- monitor.h 27 Sep 2002 03:26:02 -0000 1.10 +++ monitor.h 10 Dec 2002 12:34:11 -0000 @@ -52,6 +52,7 @@ MONITOR_REQ_KRB4, MONITOR_ANS_KRB4, MONITOR_REQ_KRB5, MONITOR_ANS_KRB5, MONITOR_REQ_PAM_START, + MONITOR_REQ_PAM_CHAUTHTOK, MONITOR_ANS_PAM_CHAUTHTOK, MONITOR_REQ_TERM }; Index: monitor_wrap.c =================================================================== RCS file: /cvs/openssh/monitor_wrap.c,v retrieving revision 1.20 diff -u -u -r1.20 monitor_wrap.c --- monitor_wrap.c 27 Sep 2002 03:26:03 -0000 1.20 +++ monitor_wrap.c 10 Dec 2002 12:34:11 -0000 @@ -663,6 +663,25 @@ buffer_fr...
2004 Sep 07
0
Please review openssh patch for selinux
...| 3 + auth1.c | 11 +++++ auth2.c | 17 +++++++ config.h.in | 3 + configure.ac | 13 ++++++ contrib/redhat/sshd.init | 9 ++++ monitor.c | 29 +++++++++++++ monitor.h | 2 monitor_wrap.c | 18 ++++++++ monitor_wrap.h | 3 + selinux.c | 101 +++++++++++++++++++++++++++++++++++++++++++++++ selinux.h | 10 ++++ session.c | 8 +++ sshpty.c | 8 +++ 15 files changed, 234 insertions(+), 3 del...
2002 Apr 26
0
PAM keyboard-interactive
...+ #include <security/pam_appl.h> -#include "ssh.h" -#include "ssh2.h" #include "auth.h" -#include "auth-pam.h" -#include "packet.h" #include "xmalloc.h" -#include "dispatch.h" #include "log.h" +#include "monitor_wrap.h" -static int do_pam_conversation_kbd_int(int num_msg, - const struct pam_message **msg, struct pam_response **resp, - void *appdata_ptr); -void input_userauth_info_response_pam(int type, u_int32_t seqnr, void *ctxt); - -struct { - int finished, num_received, num_expected; - int *promp...
2006 May 04
2
xmalloc(foo*bar) -> xcalloc(foo, bar) for Portable
...Buffer * sshpam_authok = NULL; num = buffer_get_int(m); if (num > 0) { - resp = xmalloc(num * sizeof(char *)); + resp = xcalloc(num, sizeof(char *)); for (i = 0; i < num; ++i) resp[i] = buffer_get_string(m, NULL); ret = (sshpam_device.respond)(sshpam_ctxt, num, resp); Index: monitor_wrap.c =================================================================== RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/monitor_wrap.c,v retrieving revision 1.59 diff -u -p -r1.59 monitor_wrap.c --- monitor_wrap.c 31 Mar 2006 12:13:02 -0000 1.59 +++ monitor_wrap.c 4 May 2006 01:57:46 -0000...
2008 Jan 25
1
OpenSSH for OS/390
I have been trying to compile OpenSSH_4.7p1 for OS/390 and got really stuck. IBM released a build of v3.8.1p1 several years ago, but I do not know whether anyone else has ever managed to compile it for OS/390 or OS/z. The first problem is that the build apparently performs ssh transport exchange using EBCDIC character encoding instead of ASCII (which breaks RFC 4253) and I am not sure how to do
2006 Feb 16
2
PAM and passwd age warnings again.
...n); child_state.output = buffer_get_string(&m, &child_state.olen); + /* Let's not forget our loginmsg, now, eh? */ + p = buffer_get_string (&m, &plen); + if (plen) buffer_append (&loginmsg, p, plen); + xfree (p); + buffer_free(&m); } diff -Naur openssh-4.2p1.old/monitor_wrap.c openssh-4.2p1.new/monitor_wrap.c --- openssh-4.2p1.old/monitor_wrap.c Sun Jul 17 03:53:31 2005 +++ openssh-4.2p1.new/monitor_wrap.c Tue Dec 20 09:09:16 2005 @@ -631,6 +631,9 @@ buffer_put_string(&m, buffer_ptr(&input), buffer_len(&input)); buffer_put_string(&m, buffer_ptr(&amp...
2002 Jul 02
3
New PAM kbd-int diff
...#include <security/pam_appl.h> #include "ssh.h" -#include "ssh2.h" #include "auth.h" -#include "auth-pam.h" -#include "packet.h" #include "xmalloc.h" -#include "dispatch.h" #include "log.h" +#include "monitor_wrap.h" + +extern char *__progname; -static int do_pam_conversation_kbd_int(int num_msg, - const struct pam_message **msg, struct pam_response **resp, - void *appdata_ptr); -void input_userauth_info_response_pam(int type, u_int32_t seqnr, void *ctxt); - -struct { - int finished, num_recei...
2002 Mar 20
1
privsep
i think our strategy for privsep is to just keep portable sync'd closely with openbsd's tree, even though things will be broken wrt privsep for many platforms. then we just get primary one's working and work out issues as we go along. i'll start to work on sun and hp-ux again tomorrow.
2002 Jun 14
0
AFS/kerberos build problems
...cannot be compiled configure: WARNING: krb.h: check for missing prerequisite headers? configure: WARNING: krb.h: proceeding with the preprocessor's result checking for krb.h... yes The build fails at this point -- "./auth.h", line 114: cannot find include file: <kafs.h> "monitor_wrap.c", line 613: warning: argument #2 is incompatible with prototype: prototype: pointer to const char : "/usr/include/string.h", line 72 argument : pointer to unsigned char cc: acomp failed for monitor_wrap.c make: *** [monitor_wrap.o] Error 2 Any suggestions _______...
2002 Jun 25
4
PAM kbd-int with privsep
...#include <security/pam_appl.h> #include "ssh.h" -#include "ssh2.h" #include "auth.h" -#include "auth-pam.h" -#include "packet.h" #include "xmalloc.h" -#include "dispatch.h" #include "log.h" +#include "monitor_wrap.h" + +extern char *__progname; -static int do_pam_conversation_kbd_int(int num_msg, - const struct pam_message **msg, struct pam_response **resp, - void *appdata_ptr); -void input_userauth_info_response_pam(int type, u_int32_t seqnr, void *ctxt); - -struct { - int finished, num_recei...
2006 Sep 12
1
openssh (OpenBSD) , bsdauth and tis authsrv
nuqneH, I've tried using TIS authsrv authentication via bsd auth and found it quite limited. The most important restriction it does not log ip and fqdn of the remote peer, nor the application name, to the authentication server. It does not matter much for TIS authsrv, but since other applications do provide such information, our authsrv version uses it for extra authentication restrictions.
2006 Jan 08
3
Allow --without-privsep build.
...RIVSEP + static int mm_compare(struct mm_share *a, struct mm_share *b) { @@ -343,3 +345,5 @@ mm_memvalid(struct mm_master *mm, void * if (end > (void *)((u_char *)mm->address + mm->size)) fatal("mm_memvalid: address too large: %p", address); } + +#endif --- openssh-4.2p1/monitor_wrap.c~ 2005-07-17 08:53:31.000000000 +0100 +++ openssh-4.2p1/monitor_wrap.c 2006-01-07 18:40:15.000000000 +0000 @@ -63,6 +63,8 @@ RCSID("$OpenBSD: monitor_wrap.c,v 1.40 2 #include "ssh-gss.h" #endif +#ifdef USE_PRIVSEP + /* Imports */ extern int compat20; extern Newkeys *newkeys[]...