summaryrefslogtreecommitdiffstats
path: root/libssh/server.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* fixed bug in sample that made the client running in infinite loop.Aris Adamantiadis2005-08-311-0/+1
| | | | | | | hunted a bug in channel_poll that returned 0 when EOF. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@35 7dcaeef0-15fb-0310-b436-a5af3365683c
* removed obsolete debugging info, split main.c in 3, and now mercurius links ↵Aris Adamantiadis2005-08-291-1/+1
| | | | | | with a statical libssh git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@26 7dcaeef0-15fb-0310-b436-a5af3365683c
* pam samples files to put into /etc/pam.dAris Adamantiadis2005-08-291-0/+8
| | | | | | | | ssh_silent_disconnect() and server forking. I still have to add a -D command line to avoid the forking. password auth works, but there is no uid change yet. I'll have to make the configuration stuff really being respected by the server. (like keys, ports, users, ...) git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@23 7dcaeef0-15fb-0310-b436-a5af3365683c
* fixed server segfaults on exit (double frees)Aris Adamantiadis2005-08-251-9/+12
| | | | | | | sftp_server_init() git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@15 7dcaeef0-15fb-0310-b436-a5af3365683c
* More work on the server side and sftp.Aris Adamantiadis2005-08-181-0/+2
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@9 7dcaeef0-15fb-0310-b436-a5af3365683c
* The kex works, the client authentifies (with password) then it's possible to ↵Aris Adamantiadis2005-08-101-5/+1
| | | | | | choose a subsystem. The channels don't completely work. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@7 7dcaeef0-15fb-0310-b436-a5af3365683c
* server kex done :)Aris Adamantiadis2005-08-071-24/+117
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@6 7dcaeef0-15fb-0310-b436-a5af3365683c
* ssh_accept() implementation begining in server.cAris Adamantiadis2005-07-081-0/+1
| | | | | | | it just accepts a socket and send a banner right now. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@5 7dcaeef0-15fb-0310-b436-a5af3365683c
* sample sshd server accepts a client and sends a banner.Aris Adamantiadis2005-07-061-26/+20
| | | | git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@4 7dcaeef0-15fb-0310-b436-a5af3365683c
* Beginning of the SSH_BIND implementationAris Adamantiadis2005-07-051-24/+75
| | | | | | | | hack for errors handling so it supports an Object-oriented kind of errors (generic for ssh_bind and ssh_session data types) git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@3 7dcaeef0-15fb-0310-b436-a5af3365683c
* first importAris Adamantiadis2005-07-051-0/+128
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@1 7dcaeef0-15fb-0310-b436-a5af3365683c