summaryrefslogtreecommitdiffstats
path: root/libssh/server.c
Commit message (Collapse)AuthorAgeFilesLines
* 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