summaryrefslogtreecommitdiff
path: root/loginrec.c
AgeCommit message (Collapse)Author
2003-04-09 - (djm) Bug #539: Specify creation mode with O_CREAT for lastlog. ReportDamien Miller
from matth@eecs.berkeley.edu
2003-04-09*** empty log message ***Damien Miller
2003-04-09 - (djm) Bug #539: Specify creation mode with O_CREAT for lastlog. ReportDamien Miller
from matth@eecs.berkeley.edu
2003-03-10 - (djm) One more portable-specific one from dlheine@suif.Stanford.EDU/Damien Miller
CLOUSEAU
2003-01-07 - (djm) Bug #110: bogus error messages in lastlog_get_entry(). Fix basedDamien Miller
on one by peak@argo.troja.mff.cuni.cz
2003-01-03 - (djm) Bug #460: Filling utmp[x]->ut_addr_v6 if present. Patch fromDamien Miller
cjwatson@debian.org
2002-09-25Cray fixes (bug 367) based on patch from Wendy Palm @ cray.Tim Rice
This does not include the deattack.c fixes.
2002-07-22 - (bal) [configure.ac defines.h loginrec.c sshd.c sshpty.c] Partial syncBen Lindstrom
with Cray (mostly #ifdef renaming). Patch by wendyp@cray.com.
2002-07-14 [loginrec.c] Bug 348: add missing found = 1; to wtmpx_islogin()Tim Rice
report by rodney@bond.net
2002-07-14 [loginrec.c] Bug 347: Fix typo (WTMPX_FILE) report by rodney@bond.netTim Rice
2002-04-23 - (djm) Bug #214: Fix utmp for Irix (don't strip "tty"). Patch fromDamien Miller
Kevin Taylor <no@nowhere.org> (??) via Philipp Grau <phgrau@zedat.fu-berlin.de>
2002-02-24[loginrec.c session.c sshlogin.c sshlogin.h] Bug 84Tim Rice
patch by wknox@mitre.org (William Knox). [sshlogin.h] declare record_utmp_only for session.c
2001-10-29 [TODO defines.h loginrec.c] Change the references to configure.inTim Rice
to configure.ac
2001-10-26 - (bal) Set the correct current time in login_utmp_only(). Patch byBen Lindstrom
Wayne Davison <wayned@users.sourceforge.net>
2001-10-22 - (djm) Fix fd leak in loginrec.c (ro fd to lastlog was left open).Damien Miller
Report from Michal Zalewski <lcamtuf@coredump.cx>
2001-10-02 - (stevesk) loginrec.c: fix type conversion problems exposed when usingKevin Steves
64-bit off_t.
2001-08-06 - (bal) Second around of UNICOS patches. A few other things left.Ben Lindstrom
Patches by William L. Jones <jones@mail.utexas.edu>
2001-05-08 - (bal) UseLogin patch for Solaris/UNICOS. Patch by Wayne DavisonBen Lindstrom
<wayne@blorf.net>
2001-02-22 - (stevesk) remove erroneous #ifdef sgi code.Kevin Steves
Michael Stone <mstone@cs.loyola.edu>
2001-02-05 - stevesk@cvs.openbsd.org 2001/02/04 08:32:27Kevin Steves
[many files; did this manually to our top-level source dir] unexpand and remove end-of-line whitespace; ok markus@
2001-01-22Hopefully things did not get mixed around too much. It compiles underBen Lindstrom
Linux and works. So that is at least a good sign. =) 20010122 - (bal) OpenBSD Resync - markus@cvs.openbsd.org 2001/01/19 12:45:26 GMT 2001 by markus [servconf.c ssh.h sshd.c] only auth-chall.c needs #ifdef SKEY - markus@cvs.openbsd.org 2001/01/19 15:55:10 GMT 2001 by markus [auth-krb4.c auth-options.c auth-rh-rsa.c auth-rhosts.c auth-rsa.c auth1.c auth2.c channels.c clientloop.c dh.c dispatch.c nchan.c packet.c pathname.h readconf.c scp.c servconf.c serverloop.c session.c ssh-add.c ssh-keygen.c ssh-keyscan.c ssh.c ssh.h ssh1.h sshconnect1.c sshd.c ttymodes.c] move ssh1 definitions to ssh1.h, pathnames to pathnames.h - markus@cvs.openbsd.org 2001/01/19 16:48:14 [sshd.8] fix typo; from stevesk@ - markus@cvs.openbsd.org 2001/01/19 16:50:58 [ssh-dss.c] clear and free digest, make consistent with other code (use dlen); from stevesk@ - markus@cvs.openbsd.org 2001/01/20 15:55:20 GMT 2001 by markus [auth-options.c auth-options.h auth-rsa.c auth2.c] pass the filename to auth_parse_options() - markus@cvs.openbsd.org 2001/01/20 17:59:40 GMT 2001 [readconf.c] fix SIGSEGV from -o ""; problem noted by jehsom@togetherweb.com - stevesk@cvs.openbsd.org 2001/01/20 18:20:29 [sshconnect2.c] dh_new_group() does not return NULL. ok markus@ - markus@cvs.openbsd.org 2001/01/20 21:33:42 [ssh-add.c] do not loop forever if askpass does not exist; from andrew@pimlott.ne.mediaone.net - djm@cvs.openbsd.org 2001/01/20 23:00:56 [servconf.c] Check for NULL return from strdelim; ok markus - djm@cvs.openbsd.org 2001/01/20 23:02:07 [readconf.c] KNF; ok markus - jakob@cvs.openbsd.org 2001/01/21 9:00:33 [ssh-keygen.1] remove -R flag; ok markus@ - markus@cvs.openbsd.org 2001/01/21 19:05:40 [atomicio.c automicio.h auth-chall.c auth-krb4.c auth-options.c auth-options.h auth-passwd.c auth-rh-rsa.c auth-rhosts.c auth-rsa.c auth.c auth.h auth1.c auth2-chall.c auth2.c authfd.c authfile.c bufaux.c bufaux.h buffer.c canahost.c canahost.h channels.c cipher.c cli.c clientloop.c clientloop.h compat.c compress.c deattack.c dh.c dispatch.c groupaccess.c hmac.c hostfile.c kex.c key.c key.h log-client.c log-server.c log.c log.h login.c login.h match.c misc.c misc.h nchan.c packet.c pty.c radix.h readconf.c readpass.c readpass.h rsa.c scp.c servconf.c serverloop.c serverloop.h session.c sftp-server.c ssh-add.c ssh-agent.c ssh-dss.c ssh-keygen.c ssh-keyscan.c ssh-rsa.c ssh.c ssh.h sshconnect.c sshconnect.h sshconnect1.c sshconnect2.c sshd.c tildexpand.c tildexpand.h ttysmodes.c uidswap.c xmalloc.c] split ssh.h and try to cleanup the #include mess. remove unnecessary #includes. rename util.[ch] -> misc.[ch] - (bal) renamed 'PIDDIR' to '_PATH_SSH_PIDDIR' to match OpenBSD tree - (bal) Moved #ifdef KRB4 in auth-krb4.c above the #include to resolve conflict when compiling for non-kerb install - (bal) removed the #ifdef SKEY in auth1.c to match Markus' changes on 1/19.
2000-12-2820001228Ben Lindstrom
- (bal) Patch to add libutil.h to loginrec.c only if the platform has libutil.h. Suggested by Pekka Savola <pekka@netcore.fi>
2000-12-0120001202Ben Lindstrom
- (bal) Backed out of part of Alain St-Denis' loginrec.c patch. - (bal) Irix need some sort of mansubdir, patch by Michael Stone <mstone@cs.loyola.edu> Also removed a finished entry in TODO, and changed my address in the CREDITS file to match my new home address.
2000-11-10Two Ooops. =)Ben Lindstrom
- INSTALL minor correction for s/key - and I forgot to submit loginrec.c even after I put it in the ChangeLog =)
2000-09-30 - (djm) Irix strips "/dev/tty" from [uw]tmp entries (other systems onlyDamien Miller
strip "/dev/"). Fix loginrec.c based on patch from Alain St-Denis <Alain.St-Denis@ec.gc.ca>
2000-09-23 - (djm) Seperate tests for int64_t and u_int64_t typesDamien Miller
2000-09-23 - (djm) Fix address logging in utmp from Kevin StevesDamien Miller
<stevesk@sweden.hp.com>
2000-09-05 - (djm) Merge cygwin support from Corinna Vinschen <vinschen@cygnus.com>Damien Miller
2000-08-29 - (djm) NeXT tweaks from Ben Lindstrom <mouring@pconline.com>Damien Miller
2000-08-18 - (djm) Lastlog was not getting closed after writing login entryDamien Miller
2000-08-15 - (djm) Don't seek in directory based lastlogsDamien Miller
- (djm) Fix --with-ipaddr-display configure option test. Patch from Jarno Huuskonen <jhuuskon@messi.uku.fi>
2000-08-15 - (djm) More SunOS 4.1.x fixes from Nate Itkin <nitkin@europa.com>Damien Miller
2000-08-09 - (djm) utmp direct write & SunOS 4 patch from Charles LevertDamien Miller
<charles@comm.polymtl.ca>
2000-07-11 - (djm) Fix broken inet_ntoa check and ut_user/ut_name confusion, reportDamien Miller
from Jim Watt <jimw@peisj.pebio.com>
2000-07-09 - (djm) More NeXT compatibility from Ben Lindstrom <mouring@pconline.com>Damien Miller
Including sigaction() et al. replacements
2000-07-09 - (djm) Replace ut_name with ut_user. Patch from Jim WattDamien Miller
<jimw@peisj.pebio.com>
2000-07-02 - (djm) Fix brace mismatch from Corinna Vinschen <vinschen@cygnus.com>Damien Miller
2000-07-01 - (djm) Login fixes from Tom Bertelson <tbert@abac.com>Damien Miller
2000-06-28 - (djm) Fixes to lastlog code for IrixDamien Miller
- (djm) Use atomicio in loginrec
2000-06-27 - (djm) FormattingDamien Miller
2000-06-27 - (djm) Fixes to login code - not setting li->uid, cleanupsDamien Miller
2000-06-20 - (djm) Typo in loginrec.cDamien Miller
2000-06-19*** empty log message ***andre
2000-06-19Big loginrec.c updateandre
- MIN_SIZEOF macro to pick smallest buffer for str[ln]cpy() - fixes lastlog clobber spotted by P.S.S.Camp <P.S.S.Camp@ukc.ac.uk> - Added some top-level api documentation - Re-ordered construct_utmp(x)() to build well-formed structures for both login and logout, based on li->type. - change wtmp(x)_logout() to match new construct_*() form - Improved error responses throughout - Add ut_type cross-check for 'lastlog-from-wtmp(x)' where available - utmp_write_direct() has had some testing. Oh yes! - Re-ordered loginrec.h slightly
2000-06-13 - (djm) Fix short copy in loginrec.c (based on patch from Phill CampDamien Miller
<P.S.S.Camp@ukc.ac.uk>
2000-06-12Fixed getlast_entry() so that it doesn't try to use utmp(x) ifandre
DISABLE_LASTLOG is defined. Bug reported by Tom Bertelson <tbert@abac.com> for AIX.
2000-06-07 - (djm) Remove duplicate headers from loginrec.cDamien Miller
2000-06-04Many changes to new login code based on Damien's feedback:andre
- Removed many redundant accessor/mutator methods as they're not necesary in OpenSSH - Added proper credits for OpenBSD code in loginrec.c - Changed function definitions to the OpenBSD style - Removed spurious 'L' prefix in line filename abbreviation for ut_line - Added some documentation in loginrec.c - Changed lastlog access function names - Removed #include lines in mid-file loginrec.c - loginrec.h, login.c and logintest.c changed to reflect new interface - Added TODO note for ttyslot() replacement
2000-06-03Disable lastlog for AIX, as it's handled by the OS as part of the loginandre
message
2000-06-03Added new login recording codeandre
Added test program for login code (make logintest)