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

2276 Коммитов

Автор SHA1 Сообщение Дата
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