summaryrefslogtreecommitdiffstats
path: root/libssh/server.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix possible memory corruption (#14)milo2009-08-071-2/+2
| | | | Signed-off-by: Andreas Schneider <mail@cynapses.org>
* ssh_init()Aris Adamantiadis2009-07-291-5/+1
| | | | | | fixes in client.c and server.c for this git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@778 7dcaeef0-15fb-0310-b436-a5af3365683c
* Fix the vim modeline and place it at the end of the file.Andreas Schneider2009-05-121-2/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@763 7dcaeef0-15fb-0310-b436-a5af3365683c
* Added a ssh_bind_set_fd() function.Andreas Schneider2009-05-111-1/+5
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@754 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve ssh_accept().Andreas Schneider2009-04-301-21/+40
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@656 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve dh_handshake_server().Andreas Schneider2009-04-301-83/+148
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@655 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve server_set_kex().Andreas Schneider2009-04-291-39/+47
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@654 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve ssh_bind_free().Andreas Schneider2009-04-291-6/+12
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@653 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve ssh_bind_accept().Andreas Schneider2009-04-291-60/+69
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@652 7dcaeef0-15fb-0310-b436-a5af3365683c
* Format ssh_bind options.Andreas Schneider2009-04-291-6/+6
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@651 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve ssh_bind_listen().Andreas Schneider2009-04-291-22/+32
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@650 7dcaeef0-15fb-0310-b436-a5af3365683c
* Format ssh_bind_set_options().Andreas Schneider2009-04-291-2/+2
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@649 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve ssh_bind_new().Andreas Schneider2009-04-291-8/+11
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@648 7dcaeef0-15fb-0310-b436-a5af3365683c
* Add more error checks to bind_socket().Andreas Schneider2009-04-291-23/+42
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@647 7dcaeef0-15fb-0310-b436-a5af3365683c
* Reorder the includes.Andreas Schneider2009-04-291-14/+21
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@646 7dcaeef0-15fb-0310-b436-a5af3365683c
* Rename privatekey_free() to be consistent with publickey_free().Andreas Schneider2009-04-201-9/+9
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@563 7dcaeef0-15fb-0310-b436-a5af3365683c
* Add return values to generate_session_keys() and generate_one_key().Andreas Schneider2009-04-161-1/+3
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@508 7dcaeef0-15fb-0310-b436-a5af3365683c
* Add return value to dh_build_k().Andreas Schneider2009-04-161-1/+3
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@506 7dcaeef0-15fb-0310-b436-a5af3365683c
* Improve dh_import() functions.Andreas Schneider2009-04-161-1/+4
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@505 7dcaeef0-15fb-0310-b436-a5af3365683c
* Add return value to dh_generate_f().Andreas Schneider2009-04-161-1/+4
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@501 7dcaeef0-15fb-0310-b436-a5af3365683c
* Add return value to dh_generate_y().Andreas Schneider2009-04-161-1/+4
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@499 7dcaeef0-15fb-0310-b436-a5af3365683c
* Check return value of ssh_crypto_init().Andreas Schneider2009-04-161-1/+3
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@495 7dcaeef0-15fb-0310-b436-a5af3365683c
* Add a return value to ssh_socket_init().Andreas Schneider2009-04-161-1/+3
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@494 7dcaeef0-15fb-0310-b436-a5af3365683c
* Revert commit 491.Andreas Schneider2009-04-161-3/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@492 7dcaeef0-15fb-0310-b436-a5af3365683c
* Make dh crypto functions thread safe.Andreas Schneider2009-04-161-1/+3
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@491 7dcaeef0-15fb-0310-b436-a5af3365683c
* Use consistend return values for packet_wait() functions.Andreas Schneider2009-04-141-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@462 7dcaeef0-15fb-0310-b436-a5af3365683c
* Add more error checks to ssh_get_kex().Andreas Schneider2009-04-071-1/+2
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@421 7dcaeef0-15fb-0310-b436-a5af3365683c
* Add return value and error checks to make_sessionid().Andreas Schneider2009-04-071-1/+3
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@418 7dcaeef0-15fb-0310-b436-a5af3365683c
* Fix build warnings.Andreas Schneider2009-04-051-2/+3
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@401 7dcaeef0-15fb-0310-b436-a5af3365683c
* Check return values of option setter.Andreas Schneider2009-04-031-8/+16
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@377 7dcaeef0-15fb-0310-b436-a5af3365683c
* Add memory error checks.Andreas Schneider2009-04-031-1/+8
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@375 7dcaeef0-15fb-0310-b436-a5af3365683c
* Add memory error checks for crypto wrapper functions.Andreas Schneider2009-04-011-1/+4
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@330 7dcaeef0-15fb-0310-b436-a5af3365683c
* More memory error checks for ssh_socket_new().Andreas Schneider2009-04-011-0/+8
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@329 7dcaeef0-15fb-0310-b436-a5af3365683c
* Add memory error checks for server functions.Andreas Schneider2009-04-011-1/+7
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@324 7dcaeef0-15fb-0310-b436-a5af3365683c
* Added memory error checks for option functions.Andreas Schneider2009-04-011-1/+11
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@322 7dcaeef0-15fb-0310-b436-a5af3365683c
* Normalize the license in all files and add vim tab instructions.Andreas Schneider2009-03-291-19/+23
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@305 7dcaeef0-15fb-0310-b436-a5af3365683c
* Use ssh_log instead of ssh_say in ssh_list_kex().Andreas Schneider2009-03-121-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@269 7dcaeef0-15fb-0310-b436-a5af3365683c
* Replace ssh_say with ssh_log.Andreas Schneider2009-03-111-4/+2
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@261 7dcaeef0-15fb-0310-b436-a5af3365683c
* Fix build warings in the server code.Andreas Schneider2009-02-021-3/+5
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@215 7dcaeef0-15fb-0310-b436-a5af3365683c
* doxygen fixes. Mostly typos and some comments.Aris Adamantiadis2008-11-041-4/+8
| | | | | | | sftp must be fully documented ! git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@187 7dcaeef0-15fb-0310-b436-a5af3365683c
* fix bug 0000015 about memory leak in server pathAris Adamantiadis2008-06-301-0/+4
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@180 7dcaeef0-15fb-0310-b436-a5af3365683c
* Big changes :Aris Adamantiadis2008-06-161-2/+1
| | | | | | | | | | | | refactoring of the socket class. Now the buffering happens in the socket class. enhanced the logging system. Cleaned up some debugging messages. Verified the working with ssh-1. If this cleanup introduced bugs (it did but corrected the found ones) at least, they will be easier to find also added the (c) and fixed dates for updated files git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@169 7dcaeef0-15fb-0310-b436-a5af3365683c
* some changes so it compiles better under windowsAris Adamantiadis2008-05-221-1/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@159 7dcaeef0-15fb-0310-b436-a5af3365683c
* second part of win32 changesAris Adamantiadis2008-03-071-0/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@143 7dcaeef0-15fb-0310-b436-a5af3365683c
* first part of win32 patchesAris Adamantiadis2008-03-071-3/+17
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@141 7dcaeef0-15fb-0310-b436-a5af3365683c
* added the socket class and created wrappersAris Adamantiadis2008-03-041-1/+2
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@137 7dcaeef0-15fb-0310-b436-a5af3365683c
* found the nasty server bug ("ssh_accept: ")Aris Adamantiadis2007-03-171-0/+1
| | | | | | | | it was the session->alive which was null. I wonder how this bug survived my initial development ... git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@115 7dcaeef0-15fb-0310-b436-a5af3365683c
* include/libssh/server.h: Remove struct definitionsJean-Philippe Garcia Ballester2007-02-071-0/+1
| | | | | | | | | include/libssh/priv.h: Add struct definitions that previously were in include/libssh/server.h libssh/server.c: Include libssh/priv.h git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@109 7dcaeef0-15fb-0310-b436-a5af3365683c
* libssh/server.c: Include netinet/in.h in order to compile under OpenBSD.Jean-Philippe Garcia Ballester2007-01-041-0/+1
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@108 7dcaeef0-15fb-0310-b436-a5af3365683c
* added the gcrypt patch (without gcrypt as default library).Aris Adamantiadis2005-10-041-1/+1
| | | | | | | still needs tests. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@38 7dcaeef0-15fb-0310-b436-a5af3365683c