~cjwatson/ubuntu/precise/openssh/precise-proposed

« back to all changes in this revision

Viewing changes to audit.h

  • Committer: Colin Watson
  • Date: 2011-01-24 12:43:25 UTC
  • mfrom: (2660.2.14 gssapi)
  • mto: This revision was merged to the branch mainline in revision 3226.
  • Revision ID: cjwatson@debian.org-20110124124325-lpg368jr1esoeqtt
* New upstream release (http://www.openssh.org/txt/release-5.7):
  - Implement Elliptic Curve Cryptography modes for key exchange (ECDH)
    and host/user keys (ECDSA) as specified by RFC5656.  ECDH and ECDSA
    offer better performance than plain DH and DSA at the same equivalent
    symmetric key length, as well as much shorter keys.
  - sftp(1)/sftp-server(8): add a protocol extension to support a hard
    link operation.  It is available through the "ln" command in the
    client.  The old "ln" behaviour of creating a symlink is available
    using its "-s" option or through the preexisting "symlink" command.
  - scp(1): Add a new -3 option to scp: Copies between two remote hosts
    are transferred through the local host (closes: #508613).
  - ssh(1): "atomically" create the listening mux socket by binding it on
    a temporary name and then linking it into position after listen() has
    succeeded.  This allows the mux clients to determine that the server
    socket is either ready or stale without races (closes: #454784).
    Stale server sockets are now automatically removed (closes: #523250).
  - ssh(1): install a SIGCHLD handler to reap expired child process
    (closes: #594687).
  - ssh(1)/ssh-agent(1): honour $TMPDIR for client xauth and ssh-agent
    temporary directories (closes: #357469, although only if you arrange
    for ssh-agent to actually see $TMPDIR since the setgid bit will cause
    it to be stripped off).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: audit.h,v 1.3 2006/08/05 14:05:10 dtucker Exp $ */
 
1
/* $Id: audit.h,v 1.4 2011/01/17 10:15:30 dtucker Exp $ */
2
2
 
3
3
/*
4
4
 * Copyright (c) 2004, 2005 Darren Tucker.  All rights reserved.
26
26
 
27
27
#ifndef _SSH_AUDIT_H
28
28
# define _SSH_AUDIT_H
 
29
 
 
30
#include "loginrec.h"
 
31
 
29
32
enum ssh_audit_event_type {
30
33
        SSH_LOGIN_EXCEED_MAXTRIES,
31
34
        SSH_LOGIN_ROOT_DENIED,
46
49
 
47
50
void    audit_connection_from(const char *, int);
48
51
void    audit_event(ssh_audit_event_t);
49
 
void    audit_session_open(const char *);
50
 
void    audit_session_close(const char *);
 
52
void    audit_session_open(struct logininfo *);
 
53
void    audit_session_close(struct logininfo *);
51
54
void    audit_run_command(const char *);
52
55
ssh_audit_event_t audit_classify_auth(const char *);
53
56