~ubuntu-branches/ubuntu/precise/dropbear/precise

« back to all changes in this revision

Viewing changes to session.h

  • Committer: Bazaar Package Importer
  • Author(s): Gerrit Pape
  • Date: 2007-03-02 20:48:18 UTC
  • mfrom: (1.3.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070302204818-ozmbou2sbyj7dus5
Tags: 0.49-1
* new upstream release, fixes
  * CVE-2007-1099: dropbear dbclient insufficient warning on hostkey
    mismatch (closes: #412899).
  * dbclient uses static "Password:" prompt instead of using the server's
    prompt (closes: #394996).
* debian/control: Suggests: openssh-client, not ssh (closes: #405686);
  Standards-Version: 3.7.2.2.
* debian/README.Debian: ssh -> openssh-server, openssh-client; remove
  'Replacing OpenSSH "sshd" with Dropbear' part, this is simply done by not
  installing the openssh-server package.
* debian/README.runit: runsvstat -> sv status.

Show diffs side-by-side

added added

removed removed

Lines of Context:
123
123
 
124
124
        unsigned char lastpacket; /* What the last received packet type was */
125
125
        
126
 
 
 
126
    int signal_pipe[2]; /* stores endpoints of a self-pipe used for
 
127
                                                   race-free signal handling */
127
128
 
128
129
        /* KEX/encryption related */
129
130
        struct KEXState kexstate;
189
190
        KEX_NOTHING,
190
191
        KEXINIT_RCVD,
191
192
        KEXDH_INIT_SENT,
192
 
        KEXDONE,
193
 
 
 
193
        KEXDONE
194
194
} cli_kex_state;
195
195
 
196
196
typedef enum {
202
202
        USERAUTH_REQ_SENT,
203
203
        USERAUTH_FAIL_RCVD,
204
204
        USERAUTH_SUCCESS_RCVD,
205
 
        SESSION_RUNNING,
206
 
 
 
205
        SESSION_RUNNING
207
206
} cli_state;
208
207
 
209
208
struct clientsession {