search for: active_st

Displaying 8 results from an estimated 8 matches for "active_st".

Did you mean: active_at
2018 Dec 03
3
[PATCH] removing an old API.
...l implicitely allocate a struct ssh and return it after then set the fds in it. sshd.c appears to be the only place where the API is still used, so we can place that sequence there. sshd.c calls the old function only once during initialization (in main()) so it does appear to arrive there while active_state is still NULL. So when called with active_state==NULL, essentially the old function is roughly equivalent to: struct *ssh = ssh_alloc_session_state(); ssh_packet_set_connection(ssh, fd_in, fd_out) active_state = ssh; ssh.c handles this in a similar way. It calls ssh_alloc_se...
2014 May 04
1
Memory Forensics of OpenSSH
...of OpenSSH. Here is a brief description of the problem: I have a raw memory dump, and all of the kernel data structures (e.g., task_struct, mm_struct) have been figured out. Now, I want to retrieve the data structures (e.g., struct session_state) of an SSH process instance. Finding a session key (active_state->newkeys) could be an example. In order to find these information, I think I need a starting point (i.e., memory address) of the OpenSSH data structures. Does anyone know how to tackle this problem? Any comments and suggestions are much appreciated. Thanks, Fengwei
2018 Dec 10
2
[PATCH] cleanup of global variables server/client_version_string in sshconnect.c
...easily be rearranged so that is clearer who owns which memory and who is thus responsible for freeing. Also, the the ssh_login function leaks the memory allocated to the host variable. Also, there is another global variable (previous_host_key) which could be removed by placing it into the ssh/active_state structure, but which, for now, could at least be made module-static. Proposal: ssh-connect allocates the initial memory and creates values and passes these as parameters to the relevant functions. It passes them also to ssh_kex2 which makes a true copy. ssh-connect frees its memory and t...
2011 Apr 15
12
[Bug 1889] New: bug in packet.c sometimes cause segfault
...SH Version: 5.8p1 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: sshd AssignedTo: unassigned-bugs at mindrot.org ReportedBy: jchadima at redhat.com There is an assumption that active_state is assigned before calling packet_connection_is_on_socket. Sometimes (early crashes) it is not true. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
2018 Feb 22
3
Attempts to connect to Axway SFTP server result in publickey auth loopin
We are attempting to use openssh sftp to connect to a server that is running some version of the Axway SFTP server. After a publickey auth completes, the server resends publickey as a valid auth. This results in a loop as openssh sftp resubmits the publickey information. This seems similar to a discussion in 2014 that terminated with the thought that it might be nice if the client tracked
2012 Nov 24
0
ssh-keyscan continuity patch --
..., and returns its type. Note that * no other data is processed until this returns, so this function should not * be used during the interactive session. @@ -1033,6 +1044,9 @@ DBG(debug("packet_read()")); + connclosed = 0; + conntimedout = 0; + setp = (fd_set *)xcalloc(howmany(active_state->connection_in + 1, NFDBITS), sizeof(fd_mask)); @@ -1087,6 +1101,7 @@ } } if (ret == 0) { + conntimedout = 1; logit("Connection to %.200s timed out while " "waiting to read", get_remote_ipaddr()); cleanup_exit(255); @@ -1098,11 +1113,12...
2018 Sep 06
4
Some wishes regarding revoked keys
Hello. I am trying to play through the following test scenario about certificate revocation on Ubuntu 18.04, which has OpenSSH of this version: OpenSSH_7.6p1 Ubuntu-4, OpenSSL 1.0.2n? 7 Dec 2017 1. A CA key is created ssh-keygen -t ed25519 -f ca 2. The CA public key is added to ~/.ssh/authorized_keys on some server: cert-authority ssh-ed25519 AAAA...e ca at yoga 3. A user key is created on a
2015 Feb 19
34
Call for testing: OpenSSH 6.8
Hi, OpenSSH 6.8 is almost ready for release, so we would appreciate testing on as many platforms and systems as possible. This release contains some substantial new features and a number of bugfixes. Snapshot releases for portable OpenSSH are available from http://www.mindrot.org/openssh_snap/ The OpenBSD version is available in CVS HEAD: http://www.openbsd.org/anoncvs.html Portable OpenSSH is