search for: do_authenticated2

Displaying 20 results from an estimated 21 matches for "do_authenticated2".

Did you mean: do_authenticated
2002 May 09
0
functions : server_input_channel_req userauth_pubkey
...); +void do_login(Session *, const char *, const char *realname); #ifdef LOGIN_NEEDS_UTMPX static void do_pre_login(Session *s); #endif @@ -109,8 +109,8 @@ void do_motd(void); int check_quietlogin(Session *, const char *); - -static void do_authenticated1(Authctxt *); - -static void do_authenticated2(Authctxt *); +static void do_authenticated1(Authctxt *, const char *realname); +static void do_authenticated2(Authctxt *, const char *realname); static void session_close(Session *); static int session_pty_req(Session *); @@ -140,7 +140,7 @@ #endif void - -do_authenticated(Authctxt *authctxt)...
2001 Nov 15
1
Solaris 2.6: acomp failed for session.c
...********** *** 132,137 **** --- 132,140 ---- void do_child(Session *, const char *); void do_motd(void); int check_quietlogin(Session *, const char *); + #ifdef LOGIN_NEEDS_UTMPX + static void do_pre_login(Session *); + #endif static void do_authenticated1(Authctxt *); static void do_authenticated2(Authctxt *); FWIW, -- Rick Troxel rick at helix.nih.gov 301/435-2983 ///////////////////////////////////////////////////////////////// All effort and exertion put forth by man from the fullness of his heart is worship, if it is prompted by the highest motives and the will to do...
2003 May 06
1
logging command line execs
...xfree(command); } else { -------------------------------------- But as you might recognize, this snipet is from the do_authenticated1() function - which is obviously for ssh protocol 1. I cannot find the ssh protocol 2 counterpart of this code. The do_authenticated2() function simply calls server_loop2(), which does some child care, and I've followed various functions that are called in server_loop2(), and never do I find anything that seems to be checking for a command from the command line of the client and executing it. I'm sure its there, becau...
2001 Jun 05
1
OpenSSH tmp cleanup
Hi, I noticed that Markus has fixed the temporary file cleanup problems in OpenSSH cvs. What files need patching for this ? I only noticed changes in: session.c, channels.h and channels.c. -Jarno -- Jarno Huuskonen <Jarno.Huuskonen at uku.fi>
2003 Sep 15
1
SCO 3.2v4.2 and OpenSSH -current --> connection hangs and does no t close
..., tvp); (gdb) p connection_closed $1 = 0 (gdb) bt #0 wait_until_can_do_something (readsetp=0x7ffff8e4, writesetp=0x7ffff8e0, maxfdp=0x7ffff8dc, nallocp=0x7ffff8d8, max_time_milliseconds=0) at serverloop.c:326 #1 0x8bfc in server_loop2 (authctxt=0x42f91c) at serverloop.c:771 #2 0x1030f in do_authenticated2 (authctxt=0x42f91c) at session.c:2086 #3 0xcc19 in do_authenticated (authctxt=0x42f91c) at session.c:216 #4 0x2eaa in main (ac=6, av=0x7ffffe28) at sshd.c:1506 (gdb) s at this point the connection this hangs. I do not know how to process from here, please advise Vikash
2001 Oct 23
1
Compilation error on Solaris Workshop 6 (+patch)
...ched Tue Oct 23 11:19:54 2001 @@ -132,6 +132,9 @@ void do_child(Session *, const char *); void do_motd(void); int check_quietlogin(Session *, const char *); +#ifdef LOGIN_NEEDS_UTMPX +static void do_pre_login(Session *s); +#endif static void do_authenticated1(Authctxt *); static void do_authenticated2(Authctxt *); ================================== %< =================================================== WBR, Alexander Ignatyev AI-RIPE -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3197 bytes Desc: not ava...
2001 Oct 23
2
PAM problem - sshd segfault on Solaris
...l_request (type=98, plen=19, ctxt=0x116898) at channels.c:1974 #9 0x3cae0 in dispatch_run (mode=1, done=0x0, ctxt=0x116898) at dispatch.c:71 #10 0x30e1c in process_buffered_input_packets () at serverloop.c:423 #11 0x314b8 in server_loop2 (authctxt=0xffbef408) at serverloop.c:705 #12 0x348d8 in do_authenticated2 (authctxt=0x1170f0) at session.c:2063 #13 0x31eb4 in do_authenticated (authctxt=0x1170f0) at session.c:199 #14 0x29c68 in do_authentication2 () at auth2.c:134 #15 0x280d4 in main (ac=6, av=0x8) at sshd.c:1204 I do not claim to know what the correct fix is, however I can avoid the segfault by remo...
2002 Oct 05
1
a patch for 3.4, please
Hello all, I'd greatly appreciate a patch that will stop PAM mucking around after I log in with a Kerberos 4 ticket and forward an AFS ticket (KTH Kerberos 1.1.1 used for libkrb/libkafs). The trouble is, I need pam_krb4, so that folks, who log in with without tickets using tunnelled plaintext password, would get Kerberos 4 tickets for the box. I rebuilt sshd without PAM in order to verify
2003 Sep 15
0
SCO 3.2v4.2 and OpenSSH -current --> connection hangs and does n o t close
...p)+1, *readsetp, *writesetp, NULL, tvp); (gdb) bt #0 wait_until_can_do_something (readsetp=0x7ffff8e4, writesetp=0x7ffff8e0, maxfdp=0x7ffff8dc, nallocp=0x7ffff8d8, max_time_milliseconds=0) at serverloop.c:326 #1 0x8bfc in server_loop2 (authctxt=0x42f91c) at serverloop.c:771 #2 0x1030f in do_authenticated2 (authctxt=0x42f91c) at session.c:2086 #3 0xcc19 in do_authenticated (authctxt=0x42f91c) at session.c:216 #4 0x2eaa in main (ac=6, av=0x7ffffe28) at sshd.c:1506 (gdb) s
2000 Nov 05
0
Socket options not properly set for ssh and sshd.
...is the case for both ssh and sshd. Specifically, for sshd protocol 1 connections, function calls are made: main to do_authentication to do_authenticated to packet_set_interactive For sshd protocol 2 connections, function calls are made: main to do_authentication2 to do_authenticated2 which does not call packet_set_interactive. For ssh protocol 1 connections, packet_set_interactive is called from ssh_session. For protocol 2, the corresponding function ssh_session2 makes no call to packet_set_interactive. ---------------- I haven't delved into the protocol specificati...
2000 Nov 24
2
Getting the authctxt
My port forwarding changes require an authorization (authentication) context in channel_connect_to(). I'd like to change the dispatch_* functions so that they accept an Authctxt * instead of a void * (this parameter is already used this way). In addition, I'd have to pass the authctxt all the way down to channel_connect_to(). As a side effect, it's possible to get rid of the global
2003 Sep 17
3
[Bug 651] SCO 3.2v4.2 and OpenSSH 3.7.1p1 --> connection hangs and does not close (ssh2 only)
...memset(*writesetp, 0, *nallocp); (gdb) bt #0 wait_until_can_do_something (readsetp=0x7ffff8d8, writesetp=0x7ffff8d4, maxfdp=0x7ffff8d0, nallocp=0x7ffff8cc, max_time_milliseconds=0) at serverloop.c:326 #1 0x8bfc in server_loop2 (authctxt=0x42eaf8) at serverloop.c:770 #2 0x104bb in do_authenticated2 (authctxt=0x42eaf8) at session.c:2152 #3 0xcc19 in do_authenticated (authctxt=0x42eaf8) at session.c:216 #4 0x2eaa in main (ac=6, av=0x7ffffe1c) at sshd.c:1506 (gdb) s I have no idea how to resolve this. ------- You are receiving this mail because: ------- You are the assignee for the bug, or...
2002 Feb 12
0
[Patch] Xauthority file in /tmp
...e { + strlcat(xauthfile, "/cookies", MAXPATHLEN); + fd = open(xauthfile, O_RDWR|O_CREAT|O_EXCL, 0600); + if (fd >= 0) + close(fd); + restore_uid(); + fatal_add_cleanup((void (*) (void *)) xauthfile_cleanup_proc, s->pw); + } + } + return 1; } @@ -2074,4 +2124,6 @@ do_authenticated2(Authctxt *authctxt) { server_loop2(authctxt); + if (xauthfile) + xauthfile_cleanup_proc(authctxt->pw); }
2001 Apr 13
0
Fixed patch for Digital Unix SIA
...2001 +++ openssh/session.c Fri Apr 13 09:32:41 2001 @@ -128,9 +128,11 @@ void do_exec_no_pty(Session *s, const char *command); void do_login(Session *s, const char *command); void do_child(Session *s, const char *command); +void do_motd(void); void do_authenticated1(Authctxt *authctxt); void do_authenticated2(Authctxt *authctxt); +int check_quietlogin(Session *s, const char *command); /* import */ extern ServerOptions options; @@ -633,8 +635,10 @@ close(ttyfd); /* record login, etc. similar to login(1) */ +#ifndef HAVE_OSF_SIA if (!(options.use_login && command == NULL)) do_lo...
2001 Oct 08
1
Hanging ssh session...
...f558, 2, ffffffff) ff1cf6b0 select (ffbef568, ff238bc4, 153230, ff238bc8, 153234, c) + 298 00052128 wait_until_can_do_something (ffbef6dc, ffbef6d8, ffbef6d0, 0, 0, 0) + 500 0005387c server_loop2 (0, 0, 0, 0, 0, 0) + 19c 0005ab60 do_authenticated2 (153ea0, 0, 0, 0, ff235ad4, 54bd0) + 8 00054c40 do_authenticated (153ea0, 153ea0, 153ea0, 2000, ffff, 0) + b0 0004435c do_authentication2 (1187a0, 7, c30b, ffbefd64, ff235ad4, 41888) + d4 00041914 main (1, ffbefdec, ffbefdf4, 138c00, 0, 0) + 26...
2001 Oct 24
2
disable features
...11 Oct 2001 13:45:21 -0000 1.108 +++ session.c 22 Oct 2001 18:37:43 -0000 @@ -148,18 +148,22 @@ } #endif #endif +#ifdef WITH_TCPFWD /* setup the channel layer */ if (!no_port_forwarding_flag && options.allow_tcp_forwarding) channel_permit_all_opens(); +#endif if (compat20) do_authenticated2(authctxt); else do_authenticated1(authctxt); +#ifdef WITH_AGENTFWD /* remove agent socket */ if (auth_get_socket_name()) auth_sock_cleanup_proc(authctxt->pw); +#endif #ifdef KRB4 if (options.kerberos_ticket_cleanup) krb4_cleanup_proc(authctxt); @@ -181,9 +185,15 @@ { Sessi...
2007 Mar 14
1
sshd gets stuck: select() in packet_read_seqnr waits indefinitely
...0x.. in kex_setup () from /usr/lib/libssh.so.3 #6 0x.. in kex_input_kexinit () from /usr/lib/libssh.so.3 #7 0x.. in dispatch_run () from /usr/lib/libssh.so.3 #8 0x.. in process_buffered_input_packets () at serverloop.c:475 #9 0x.. in server_loop2 (authctxt=0x4) at serverloop.c:760 #10 0x.. in do_authenticated2 (authctxt=0x4) at session.c:2456 #11 0x.. in do_authenticated (authctxt=0x53a400) at session.c:227 #12 0x.. in main at sshd.c:1749 This backtrace agrees with the debug messages: it's in kexgex_server(), calling packet_read_expect(SSH2_MSG_KEX_DH_GEX_INIT), which ultimately calls select() from...
2016 Apr 18
8
[Bug 2565] New: High baud rate gets sent, solaris closes pty
https://bugzilla.mindrot.org/show_bug.cgi?id=2565 Bug ID: 2565 Summary: High baud rate gets sent, solaris closes pty Product: Portable OpenSSH Version: 7.1p2 Hardware: Sparc OS: Solaris Status: NEW Severity: minor Priority: P5 Component: sshd Assignee: unassigned-bugs at
2006 Mar 16
11
[Bug 1131] buffer_append_space: alloc not supported Error with V 4.2p1
...x0806fe30 in channel_handler (ftab=0x809a480, readset=0x92e1e88, writeset=0x92e07b8) at channels.c:1778 #8 0x0806ff41 in channel_after_select (readset=0x92e1e88, writeset=0x92e07b8) at channels.c:1817 #9 0x0805536d in server_loop2 (authctxt=0x92d7750) at serverloop.c:805 #10 0x0805cacd in do_authenticated2 (authctxt=0x92d7750) at session.c:2420 #11 0x08058c81 in do_authenticated (authctxt=0x92d7750) at session.c:217 #12 0x0804f928 in main (ac=4, av=0x92d5018) at sshd.c:1755 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
2003 Aug 10
9
updated gssapi diff
...hods that we've used to alter + * the childs environment as they see fit + */ + ssh_gssapi_do_child(&env, &envsize); +#endif + if (!options.use_login) { /* Set basic environment. */ child_set_env(&env, &envsize, "USER", pw->pw_name); @@ -1832,4 +1855,7 @@ do_authenticated2(Authctxt *authctxt) { server_loop2(authctxt); +#if defined(GSSAPI) + ssh_gssapi_cleanup_creds(NULL); +#endif } Index: session.h =================================================================== RCS file: /home/hack/jakob/mycvs/sshgss/session.h,v retrieving revision 1.1.1.1 retrieving revision...