Displaying 20 results from an estimated 75 matches for "session_closed".
Did you mean:
session_close
2001 Jun 20
8
[Lutz.Jaenicke@aet.TU-Cottbus.DE: 2.9p1: HP-UX 10.20 utmp/wtmp handling broken?]
Hi!
I am resending the following message about problems with utmp handling.
* In the meantime I had some request in private mail from people asking
whether I have new information.
* The problem is still persistant in 2.9p2.
* My own new investigations show, that the problem only appears with
protocol 2, not with protocol 1, I therefore only started to note it
when protocol 2 became the
2005 Jun 23
0
ControlPersist.
...'ControlPath none' still applies and is required, btw.
--- openssh/clientloop.c~ 2005-06-17 03:59:35.000000000 +0100
+++ openssh/clientloop.c 2005-06-23 11:05:11.000000000 +0100
@@ -1271,8 +1271,28 @@ static void
client_channel_closed(int id, void *arg)
{
channel_cancel_cleanup(id);
- session_closed = 1;
leave_raw_mode();
+ if (options.control_persist && options.control_path != NULL && control_fd != -1) {
+ int pid = fork();
+
+ if (pid < 0) {
+ error("fork: %.100s", strerror(errno));
+ /* Just exit */
+ session_closed = 1;
+ return;
+ }
+ if (pid !=...
2002 Jan 27
0
[PATCH] Add an exit delay to Openssh-3.0.2p1 for use in tunneling
...ld be redirected from /dev/null. */
extern int stdin_null_flag;
@@ -122,7 +123,8 @@
static int connection_in; /* Connection to server (input). */
static int connection_out; /* Connection to server (output). */
static int need_rekeying; /* Set to non-zero if rekeying is requested. */
-static int session_closed = 0; /* In SSH2: login session closed. */
+enum SessionStatus {SessionOpen, SessionClose, SessionWait};
+static int session_status = SessionOpen; /* In SSH2: login session closed. */
static void client_init_dispatch(void);
int session_ident = -1;
@@ -320,6 +322,10 @@
client_wait_until_can_do_s...
2001 Sep 28
1
[PATCH] fix for Linux hang on exit bug in 2.9.9p2
...ld be redirected from /dev/null. */
extern int stdin_null_flag;
@@ -122,7 +123,8 @@
static int connection_in; /* Connection to server (input). */
static int connection_out; /* Connection to server (output). */
static int need_rekeying; /* Set to non-zero if rekeying is requested. */
-static int session_closed = 0; /* In SSH2: login session closed. */
+enum SessionStatus {SessionOpen, SessionClose, SessionWait};
+static int session_status = SessionOpen; /* In SSH2: login session closed. */
static void client_init_dispatch(void);
int session_ident = -1;
@@ -320,6 +322,10 @@
client_wait_until_can_do_s...
2016 Oct 26
4
Anyone know anything about slurm on CentOS 7?
The recently-left programmer did *something*, and he didn't know what, and
the guy who picked it up is working with me to find out why
/var/log/messages is getting flooded with
Oct 26 11:01:06 <servername> kernel: type=1105
audit(1477494066.569:642430): pid=108551 uid=0 auid=4294967295
ses=4294967295 subj=system_u:system_r:unconfined_service_t:s0
msg='op=PAM:session_open
2001 May 18
0
PATCH: implement delay (sleep) after last tunnelled connection exits
...51 2001
+++ openssh-2.9p1S/clientloop.c Thu May 17 21:41:44 2001
@@ -121,8 +121,8 @@
static int connection_in; /* Connection to server (input). */
static int connection_out; /* Connection to server (output). */
static int need_rekeying; /* Set to non-zero if rekeying is requested. */
-static int session_closed = 0; /* In SSH2: login session closed. */
-
+enum SessionStatus {SessionOpen, SessionClose, SessionWait};
+static int session_status = SessionOpen; /* In SSH2: login session closed. */
void client_init_dispatch(void);
int session_ident = -1;
@@ -324,6 +324,10 @@
client_wait_until_can_do_someth...
2001 Sep 28
1
openssh-2.9.9p2 assumes pid_t, uid_t, etc. are not 'long'
openssh-2.9.9p2 assumes that pid_t, uid_t, gid_t, and mode_t are no
wider than int. GCC complains about this assumption on 32-bit Solaris
8 sparc, where these types are 'long', not 'int'. This isn't an
actual problem at runtime on this host, as long and int are the same
width, but it is a problem on other hosts where pid_t is wider than
int. E.g., I've heard that 64-bit
2001 Nov 14
6
[PATCH]: Patch to fix hang on exit bug under Linux and add optional exit delay
...ld be redirected from /dev/null. */
extern int stdin_null_flag;
@@ -122,7 +123,8 @@
static int connection_in; /* Connection to server (input). */
static int connection_out; /* Connection to server (output). */
static int need_rekeying; /* Set to non-zero if rekeying is requested. */
-static int session_closed = 0; /* In SSH2: login session closed. */
+enum SessionStatus {SessionOpen, SessionClose, SessionWait};
+static int session_status = SessionOpen; /* In SSH2: login session closed. */
static void client_init_dispatch(void);
int session_ident = -1;
@@ -320,6 +322,10 @@
client_wait_until_can_do_s...
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>
2002 Mar 12
2
[Bug 160] Race condition in clientloop.c?
http://bugzilla.mindrot.org/show_bug.cgi?id=160
------- Additional Comments From Nicolas.Williams at ubsw.com 2002-03-13 09:10 -------
Created an attachment (id=40)
Debug output, lsof output, etc...
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
2012 Feb 04
8
Potential memory leak in sshd [detected by melton]
Hi all,
After the memory leaks (bug 1967
<https://bugzilla.mindrot.org/show_bug.cgi?id=1967>) I reported in
bugzilla are fixed,
I also applied melton(http://lcs.ios.ac.cn/~xuzb/melton.html)
to detect the potential bugs in sshd (openssh-5.9p1).
The url below is the index of bug reports that are checked as real
bugs manually.
2002 Oct 11
2
Why openssh newer than 2.9.9 doesn't send SIGTERM and SIGHUP to child process?
Hi,
I search in archive list if there any reason why is removed in openssh
newer than 2.9.9 from function
'void session_close_by_channel(int id, void *arg)' sending of SIGTEMR and
SIGHUP signals to child as was in 2.9.9 version? See follow sniped code
from 2.9.9 sources:
---- openssh-2.9.9/session.c ----------------------------------------
void
session_close_by_channel(int id, void
2001 Sep 05
2
sshd hangs on logout -- is this a bug?
In the changelog, there is an entry:
20001129
- (djm) Back out all the serverloop.c hacks. sshd will now hang again
if there are background children with open fds.
Does this mean that this is regarded as expected (and correct) behavior, that
should not change in the future, or does it mean that this behavior is a
known problem that someone will eventually fix?
--Adam
--
Adam McKenna
2001 Jun 18
2
Patch for changing expired passwords
The primary purpose of the attached patches is for portable OpenSSH to
support changing expired passwords as specified in shadow password files.
To support that, I did a couple enhancements to the base OpenBSD OpenSSH
code. They are:
1. Consolidated the handling of "forced_command" into a do_exec()
function in session.c. These were being handled inconsistently and
allocated
2001 Apr 04
1
compiler warnings about format strings
Is anyone bothered by the compiler warnings that indicate that the
format strings don't match the associated variables? I was, so I cast
most of the objectionable args (pids, uids, gids) to "long", and added
an "l" (el) to the format string. A single item was cast to an int.
Here's the patch. If you haven't applied my UseLogin patch, the line
numbers in
2008 May 30
1
"ERR sshd: error: no more sessions" issue
Initially send this mail to user group. then realized this is more apt
place. Apologies for posting in both groups...
Hi all,
We're using openssh version 4.7p on our linux 2.6-22 kernel.
We have a Java based GUI that opens a secure shell connection to this linux box.
To do something over the connection, the GUI opens a session (some
times 3-4 simultaneous sessions) & once done, it will
2006 Sep 10
2
Corrupted MAC problem on PSOS platform
Hi Group,
I am porting openSSH to an embedded platform running pSOS. I am able
to setup a connection with the server but after I disconnect and
reconnect, I always get the following error message and client won't
establish connection with the server.
<First connection..............................>
debug: Enabling compatibility mode for protocol 2.0
debug: SSH2_MSG_KEXINIT sent
debug:
2003 Nov 03
1
Problems with PAM and PermitRootLogin without-password
Hello all,
I was running some tests with openssh 3.7.1p2 and I noticed that
PermitRootLogin without-password does not work when PAM is enabled. In
fact, when PAM is enabled, PermitRootLogin will work as "yes" if "
without-password" is used, no matter what kind of authentication is used
for root login. Is that a bug, I missed something in the configurations,
or expected
2016 Oct 26
0
Anyone know anything about slurm on CentOS 7?
looks like auditd logging is a bit tweaked.
eero
26.10.2016 6.11 ip. <m.roth at 5-cent.us> kirjoitti:
> The recently-left programmer did *something*, and he didn't know what, and
> the guy who picked it up is working with me to find out why
> /var/log/messages is getting flooded with
> Oct 26 11:01:06 <servername> kernel: type=1105
> audit(1477494066.569:642430):
2001 Jun 12
0
small patch to session.c
In the following code snippit from session.c:
void
session_close_by_pid(pid_t pid, int status)
{
Session *s = session_by_pid(pid);
if (s == NULL) {
debug("session_close_by_pid: no session for pid %d", s->pid);
return;
}
if (s->chanid != -1)
session_exit_message(s, status);
session_close(s);
}