1
1
Граф коммитов

2090 Коммитов

Автор SHA1 Сообщение Дата
Aris Adamantiadis
9a2683f183 added Jean-Philippe's patch for libtools. it doesn't compile on my computer.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@40 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-10-25 23:11:41 +00:00
Aris Adamantiadis
d86f001754 channel_select(). this function rocks !
I adapted the sample.c file. the select_loop function is bloated and fails to demonstrate how libssh is simple to handle...

it looks to run at first try.


git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@39 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-10-25 23:02:25 +00:00
Aris Adamantiadis
5f7c84f900 added the gcrypt patch (without gcrypt as default library).
still needs tests.


git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@38 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-10-04 22:11:19 +00:00
Aris Adamantiadis
c0525750fd ssh-1 small modulus server keys patch
acl bases in mercurius


git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@37 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-09-20 14:26:04 +00:00
Aris Adamantiadis
0c1ca983ed 2 macosx patches
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@36 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-31 10:40:52 +00:00
Aris Adamantiadis
1b20b8df85 fixed bug in sample that made the client running in infinite loop.
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
2005-08-31 02:20:36 +00:00
Aris Adamantiadis
c7a059f0d3 pam include path patch.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@34 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-31 01:54:02 +00:00
Aris Adamantiadis
c83b993af9 PATH_MAX patch
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@33 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-31 01:39:30 +00:00
Aris Adamantiadis
9a4a7da811 cfmakeraw patch for configure.in
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@32 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-31 01:29:22 +00:00
Aris Adamantiadis
8963144850 server goes into backgroup
server accepts command line arguments
server write
comments into the configuration file.


git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@31 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-31 00:00:36 +00:00
Aris Adamantiadis
a8b5d63e14 write support
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@30 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-29 23:34:32 +00:00
Aris Adamantiadis
ed62d1fb53 Readme of course
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@29 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-29 16:41:02 +00:00
Aris Adamantiadis
f0008adac6 changed config file name, take rsa,dsa and port into account
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@28 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-29 16:14:39 +00:00
Aris Adamantiadis
c767514dae some compilation fix
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@27 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-29 15:28:14 +00:00
Aris Adamantiadis
f31e7a3bec removed obsolete debugging info, split main.c in 3, and now mercurius links with a statical libssh
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@26 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-29 14:53:44 +00:00
Aris Adamantiadis
bcb6bf25fa the server now does the chroot and change uid.
There is also an option "nopassword" for ftp users.


git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@25 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-29 14:29:07 +00:00
Aris Adamantiadis
ddd650b3bd now the libconfig will be staticaly linked and will be autoconfigurated during make.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@24 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-29 11:53:20 +00:00
Aris Adamantiadis
b81c66ee8f pam samples files to put into /etc/pam.d
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
2005-08-29 00:55:27 +00:00
Aris Adamantiadis
0de0dca16d more ACL on directories. Not already enabled.
First Pam code. looks like it works more or less.
it needs a file in /etc/pam.d to be activated


git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@22 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-28 23:56:01 +00:00
Aris Adamantiadis
8510d2abe4 youhou it works :)
to compile libconfig, configure it, then the makefile will work.
to run, either make install make config or add its path to LD_LIBRARY_PATH.



git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@21 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-28 17:24:04 +00:00
Aris Adamantiadis
dc0c5c4cfe the whole libconfig + my development tree for ACL/ config
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@20 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-28 16:22:42 +00:00
Aris Adamantiadis
c76e6e496d file opening/reading works :).
I fixed the "longname" part of a stat (which makes the output for ls into openssh's sftp)
it's possible to browse and open abritrary files. but no ACL yet


git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@19 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-26 16:04:49 +00:00
Aris Adamantiadis
6fd3760797 compile the sftp_server by default
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@18 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-26 00:27:26 +00:00
Aris Adamantiadis
7812915daa I've forgot about sftp_server/ :)
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@17 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-26 00:26:18 +00:00
Aris Adamantiadis
e2bdc2f66c sftp server implementation :)
at this time, basic support of opendir, readdir, lstat, etc.
just enough to "sftp" in and type ls.


git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@16 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-26 00:25:01 +00:00
Aris Adamantiadis
35221f967e fixed server segfaults on exit (double frees)
sftp_server_init()


git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@15 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-25 13:44:26 +00:00
Aris Adamantiadis
6c0503f6c6 some debugging things in ssh1 key exchange
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@14 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-20 23:53:42 +00:00
Aris Adamantiadis
bddce3a5da yet other patches from Norbert
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@13 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-20 23:40:23 +00:00
Aris Adamantiadis
f23685f92b stdint.patch, debug_output.patch, ssh_12_select.patch,
solaris_7.patch and args_in_decl.patch from Norbert.


git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@12 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-19 11:12:29 +00:00
Aris Adamantiadis
d95242d2cd oops, forgot to patch the Makefile.in for the ssh1 files. configure.in patch from Norbert kiesel to have a compile time ssh1 support.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@11 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-18 21:22:22 +00:00
Aris Adamantiadis
bb50d8f464 ssh-1 experimental support
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@10 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-18 10:08:56 +00:00
Aris Adamantiadis
56602ca031 More work on the server side and sftp.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@9 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-18 10:08:20 +00:00
Aris Adamantiadis
f730d3b361 some adds, now it's possible to test it correctly.
channels still need some hack so they know the message system exists.


git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@8 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-13 12:58:41 +00:00
Aris Adamantiadis
96a99bab78 The kex works, the client authentifies (with password) then it's possible to 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
2005-08-10 13:22:52 +00:00
Aris Adamantiadis
5c26ae7354 server kex done :)
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@6 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-08-07 10:48:08 +00:00
Aris Adamantiadis
3113d87566 ssh_accept() implementation begining in server.c
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
2005-07-08 21:52:00 +00:00
Aris Adamantiadis
636432e475 sample sshd server accepts a client and sends a banner.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@4 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-07-06 14:35:03 +00:00
Aris Adamantiadis
55846a4c7b Beginning of the SSH_BIND implementation
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
2005-07-05 21:10:50 +00:00
Aris Adamantiadis
d40f16d48e git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@2 7dcaeef0-15fb-0310-b436-a5af3365683c 2005-07-05 01:24:22 +00:00
Aris Adamantiadis
c65f56aefa first import
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@1 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-07-05 01:21:44 +00:00