summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - dtucker@cvs.openbsd.org 2006/05/06 08:35:40Darren Tucker2006-05-062-1/+5
| | | | | [auth-krb5.c] Add $OpenBSD$ in comment here too
* - djm@cvs.openbsd.org 2006/04/01 05:37:46Darren Tucker2006-05-062-3/+6
| | | | | [OVERVIEW] $OpenBSD$ in here too
* - djm@cvs.openbsd.org 2006/05/04 14:55:23Darren Tucker2006-05-062-3/+23
| | | | | [dh.c] tighter DH exponent checks here too; feedback and ok markus@
* - dtucker@cvs.openbsd.org 2006/04/25 08:02:27Darren Tucker2006-05-066-20/+35
| | | | | | | [authfile.c authfile.h sshconnect2.c ssh.c sshconnect1.c] Prevent ssh from trying to open private keys with bad permissions more than once or prompting for their passphrases (which it subsequently ignores anyway), similar to a previous change in ssh-add. bz #1186, ok djm@
* - (dtucker) [auth-pam.c groupaccess.c monitor.c monitor_wrap.c scard-opensc.cDarren Tucker2006-05-0411-20/+31
| | | | | | | session.c ssh-rand-helper.c sshd.c openbsd-compat/bsd-cygwin_util.c openbsd-compat/setproctitle.c] Convert malloc(foo*bar) -> calloc(foo,bar) in Portable-only code; since calloc zeros, remove now-redundant memsets. Also add a couple of sanity checks. With & ok djm@
* - (dtucker) [packet.c] Remove in_systm.h since it's also in includes.hDarren Tucker2006-05-032-2/+6
| | | | | and double including it on IRIX 5.3 causes problems. From Georg Schwarz, "no objections" tim@
* missing fileDamien Miller2006-04-231-2/+2
|
* - (djm) [auth.h dispatch.h kex.h] sprinkle in signal.h to getDamien Miller2006-04-234-1/+9
| | | | sig_atomic_t
* - dtucker@cvs.openbsd.org 2006/04/18 10:44:28Damien Miller2006-04-231-2/+2
| | | | | | | | [bufaux.c bufbn.c Makefile.in] Move Buffer bignum functions into their own file, bufbn.c. This means that sftp and sftp-server (which use the Buffer functions in bufaux.c but not the bignum ones) no longer need to be linked with libcrypto. ok markus@
* - stevesk@cvs.openbsd.org 2006/04/22 18:29:33Damien Miller2006-04-232-3/+6
| | | | | [crc32.c] remove extra spaces
* - djm@cvs.openbsd.org 2006/04/22 04:06:51Damien Miller2006-04-232-2/+6
| | | | | | [uidswap.c] use setres[ug]id() to permanently revoke privileges; ok deraadt@ (ID Sync only - portable already uses setres[ug]id() whenever possible)
* - djm@cvs.openbsd.org 2006/04/20 21:53:44Damien Miller2006-04-234-4/+11
| | | | | | | | | [includes.h session.c sftp.c] Switch from using pipes to socketpairs for communication between sftp/scp and ssh, and between sshd and its subprocesses. This saves a file descriptor per session and apparently makes userland ppp over ssh work; ok markus@ deraadt@ (ID Sync only - portable makes this decision on a per-platform basis)
* - markus@cvs.openbsd.org 2006/04/20 09:47:59Damien Miller2006-04-232-21/+13
| | | | | [sshconnect.c] simplify; ok djm@
* - djm@cvs.openbsd.org 2006/04/20 09:27:09Damien Miller2006-04-236-11/+16
| | | | | | | [auth.h clientloop.c dispatch.c dispatch.h kex.h] replace the last non-sig_atomic_t flag used in a signal handler with a sig_atomic_t, unfortunately with some knock-on effects in other (non- signal) contexts in which it is used; ok markus@
* - dtucker@cvs.openbsd.org 2006/04/18 10:44:28Damien Miller2006-04-233-165/+217
| | | | | | | | [bufaux.c bufbn.c] Move Buffer bignum functions into their own file, bufbn.c. This means that sftp and sftp-server (which use the Buffer functions in bufaux.c but not the bignum ones) no longer need to be linked with libcrypto. ok markus@
* - djm@cvs.openbsd.org 2006/04/16 07:59:00Damien Miller2006-04-232-3/+7
| | | | | | [atomicio.c] reorder sanity test so that it cannot dereference past the end of the iov array; well spotted canacar@!
* - djm@cvs.openbsd.org 2006/04/16 00:54:10Damien Miller2006-04-232-6/+15
| | | | | | | | [sftp-client.c] avoid making a tiny 4-byte write to send the packet length of sftp commands, which would result in a separate tiny packet on the wire by using atomiciov(writev, ...) to write the length and the command in one pass; ok deraadt@
* - djm@cvs.openbsd.org 2006/04/16 00:52:55Damien Miller2006-04-233-3/+77
| | | | | | | [atomicio.c atomicio.h] introduce atomiciov() function that wraps readv/writev to retry interrupted transfers like atomicio() does for read/write; feedback deraadt@ dtucker@ stevesk@ ok deraadt@
* - djm@cvs.openbsd.org 2006/04/16 00:48:52Damien Miller2006-04-234-23/+64
| | | | | | | | | | | [buffer.c buffer.h channels.c] Fix condition where we could exit with a fatal error when an input buffer became too large and the remote end had advertised a big window. The problem was a mismatch in the backoff math between the channels code and the buffer code, so make a buffer_check_alloc() function that the channels code can use to propsectivly check whether an incremental allocation will succeed. bz #1131, debugged with the assistance of cove AT wildpackets.com; ok dtucker@ deraadt@
* - djm@cvs.openbsd.org 2006/04/03 07:10:38Damien Miller2006-04-232-5/+11
| | | | | | | [gss-genr.c] GSSAPI buffers shouldn't be nul-terminated, spotted in bugzilla #1066 by dleonard AT vintela.com. use xasprintf() to simplify code while in there; "looks right" deraadt@
* - dtucker@cvs.openbsd.org 2006/04/02 08:34:52Damien Miller2006-04-232-4/+10
| | | | | [ssh-keysign.c] sessionid can be 32 bytes now too when sha256 kex is used; ok djm@
* - djm@cvs.openbsd.org 2006/04/01 05:51:34Damien Miller2006-04-231-6/+2
| | | | | [atomicio.c] ANSIfy; requested deraadt@
* - djm@cvs.openbsd.org 2006/04/01 05:50:29Damien Miller2006-04-232-10/+7
| | | | | [scp.c] xasprintification; ok deraadt@
* - (djm) OpenBSD CVS SyncDamien Miller2006-04-232-9/+19
| | | | | | - deraadt@cvs.openbsd.org 2006/04/01 05:42:20 [scp.c] minimal lint cleanup (unused crud, and some size_t); ok djm
* - (djm) [Makefile.in configure.ac session.c sshpty.c]Damien Miller2006-04-2210-10/+247
| | | | | | | | [contrib/redhat/sshd.init openbsd-compat/Makefile.in] [openbsd-compat/openbsd-compat.h openbsd-compat/port-linux.c] [openbsd-compat/port-linux.h] Add support for SELinux, setting the execution and TTY contexts. based on patch from Daniel Walsh, bz #880; ok dtucker@
* - (djm) Reorder IP options check so that it isn't broken byDamien Miller2006-04-182-4/+9
| | | | | mapped addresses; bz #1179 reported by markw wtech-llc.com; ok dtucker@
* - djm@cvs.openbsd.org 2006/03/31 09:13:56Damien Miller2006-03-312-3/+6
| | | | | [ssh_config.5] remote user escape is %r not %h; spotted by jmc@
* - jmc@cvs.openbsd.org 2006/03/31 09:09:30Damien Miller2006-03-312-3/+6
| | | | | [ssh_config.5] kill trailing whitespace;
* - dtucker@cvs.openbsd.org 2006/03/30 11:40:21Damien Miller2006-03-313-6/+23
| | | | | [auth.c monitor.c] Prevent duplicate log messages when privsep=yes; ok djm@
* - dtucker@cvs.openbsd.org 2006/03/30 11:05:17Damien Miller2006-03-312-2/+7
| | | | | [ssh-keygen.c] Correctly handle truncated files while converting keys; ok djm@
* - djm@cvs.openbsd.org 2006/03/30 10:41:25Damien Miller2006-03-313-9/+36
| | | | | | [ssh.c ssh_config.5] add percent escape chars to the IdentityFile option, bz #1159 based on a patch by imaging AT math.ualberta.ca; feedback and ok dtucker@
* - djm@cvs.openbsd.org 2006/03/30 09:58:16Damien Miller2006-03-3114-59/+166
| | | | | | | | | [authfd.c bufaux.c deattack.c gss-serv.c mac.c misc.c misc.h] [monitor_wrap.c msg.c packet.c sftp-client.c sftp-server.c ssh-agent.c] replace {GET,PUT}_XXBIT macros with functionally similar functions, silencing a heap of lint warnings. also allows them to use __bounded__ checking which can't be applied to macros; requested by and feedback from deraadt@
* - djm@cvs.openbsd.org 2006/03/30 09:41:25Damien Miller2006-03-312-2/+16
| | | | | [channels.c] ARGSUSED for dispatch table-driven functions
* - deraadt@cvs.openbsd.org 2006/03/28 01:53:43Damien Miller2006-03-312-7/+15
| | | | | | [ssh-agent.c] use strtonum() to parse the pid from the file, and range check it better; ok djm
* - deraadt@cvs.openbsd.org 2006/03/28 01:52:28Damien Miller2006-03-312-9/+12
| | | | | [channels.c] do not accept unreasonable X ports numbers; ok djm
* - deraadt@cvs.openbsd.org 2006/03/28 00:12:31Damien Miller2006-03-313-7/+10
| | | | | [README.tun ssh.c] spacing
* - djm@cvs.openbsd.org 2006/03/27 23:15:46Damien Miller2006-03-312-3/+6
| | | | | [sftp.c] always use a format string for addargs; spotted by mouring@
* - deraadt@cvs.openbsd.org 2006/03/27 13:03:54Damien Miller2006-03-312-3/+8
| | | | | [dh.c] use strtonum() instead of atoi(), limit dhg size to 64k; ok djm
* - OpenBSD CVS SyncDamien Miller2006-03-312-6/+13
| | | | | | | - deraadt@cvs.openbsd.org 2006/03/27 01:21:18 [xmalloc.c] we can do the size & nmemb check before the integer overflow check; evol
* - deraadt@cvs.openbsd.org 2006/03/26 01:31:48Damien Miller2006-03-262-3/+6
| | | | | [uuencode.c] typo
* - djm@cvs.openbsd.org 2006/03/25 22:22:43Damien Miller2006-03-2663-63/+75
| | | | | | | | | | | | | | [atomicio.h auth-options.h auth.h auth2-gss.c authfd.h authfile.h] [bufaux.h buffer.h canohost.h channels.h cipher.h clientloop.h] [compat.h compress.h crc32.c crc32.h deattack.h dh.h dispatch.h] [dns.c dns.h getput.h groupaccess.h gss-genr.c gss-serv-krb5.c] [gss-serv.c hostfile.h includes.h kex.h key.h log.h mac.h match.h] [misc.h monitor.h monitor_fdpass.h monitor_mm.h monitor_wrap.h msg.h] [myproposal.h packet.h pathnames.h progressmeter.h readconf.h rsa.h] [scard.h servconf.h serverloop.h session.h sftp-common.h sftp.h] [ssh-gss.h ssh.h ssh1.h ssh2.h sshconnect.h sshlogin.h sshpty.h] [ttymodes.h uidswap.h uuencode.h xmalloc.h] standardise spacing in $OpenBSD$ tags; requested by deraadt@
* - deraadt@cvs.openbsd.org 2006/03/25 18:58:10Damien Miller2006-03-262-3/+6
| | | | | [channels.c] delete cast not required
* - deraadt@cvs.openbsd.org 2006/03/25 18:56:55Damien Miller2006-03-264-10/+13
| | | | | [bufaux.c channels.c packet.c] remove (char *) casts to a function that accepts void * for the arg
* - deraadt@cvs.openbsd.org 2006/03/25 18:43:30Damien Miller2006-03-262-3/+6
| | | | | [channels.c] use strtonum() instead of atoi() [limit X screens to 400, sorry]
* - deraadt@cvs.openbsd.org 2006/03/25 18:41:45Damien Miller2006-03-262-2/+7
| | | | | [ssh-agent.c] mark two more signal handlers ARGSUSED
* - deraadt@cvs.openbsd.org 2006/03/25 18:40:14Damien Miller2006-03-262-6/+10
| | | | | [ssh-keygen.c] cast strtonum() result to right type
* - deraadt@cvs.openbsd.org 2006/03/25 18:36:15Damien Miller2006-03-263-9/+11
| | | | | [sshlogin.c sshlogin.h] nicer size_t and time_t types
* - deraadt@cvs.openbsd.org 2006/03/25 18:30:55Damien Miller2006-03-263-9/+12
| | | | | [clientloop.c serverloop.c] spacing
* - deraadt@cvs.openbsd.org 2006/03/25 18:29:35Damien Miller2006-03-264-7/+10
| | | | | [auth-rsa.c authfd.c packet.c] needed casts (always will be needed)
* oops, rewrapDamien Miller2006-03-261-2/+17
|