I resolved a memory alloc problem into hmac_init (same kind that the one of md5_init).
It's still saying there is a memory corruption. Since the memory corruption happens before it is found (in malloc()), I'll have to run valgrind to locate it.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@46 7dcaeef0-15fb-0310-b436-a5af3365683c
removed the configure file from the svn (just do autoconf next time).
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@43 7dcaeef0-15fb-0310-b436-a5af3365683c
It still doesn't compile because of the O1 thing passed to ld.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@41 7dcaeef0-15fb-0310-b436-a5af3365683c
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
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
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
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
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
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
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
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
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
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
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
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
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