Commit Graph

349 Commits (53e14bd3c9c81aafe0a413216d4d186ee5dbe091)

Author SHA1 Message Date
Jacob Barthelmeh 53e14bd3c9 fix for uninitialized value and for base directory on nucleus port 2018-08-07 18:42:15 -06:00
Chris Conlon cea5d5664e
Merge pull request #87 from JacobBarthelmeh/testing
fix for recursive scp case
2018-08-07 16:49:39 -06:00
Jacob Barthelmeh 9d6d975700 fix for recursive scp case 2018-08-07 13:18:48 -06:00
Chris Conlon 4208100bc0
Merge pull request #86 from ejohnstown/cflags
CFLAGS
2018-08-07 09:44:56 -06:00
Chris Conlon f1678767ac
Merge pull request #85 from JacobBarthelmeh/testing
account for emptying directory stack
2018-08-07 09:39:24 -06:00
Jacob Barthelmeh ed68e57f64 account for emptying directory stack 2018-08-06 15:53:12 -06:00
Chris Conlon 4b84b10f8c
Merge pull request #84 from JacobBarthelmeh/testing
update scp to handle file rename
2018-08-06 14:49:14 -06:00
Jacob Barthelmeh 8807fa0f2c fix warning and update comments 2018-08-06 14:40:15 -06:00
Jacob Barthelmeh b86c8befd1 update scp to handle file rename 2018-08-06 14:20:44 -06:00
John Safranek 80429b5b89
Merge pull request #83 from JacobBarthelmeh/sftp-nuc
rename from different drives and list drives
2018-08-06 11:08:42 -07:00
John Safranek 559f8252fb CFLAGS
1. In harden_cc_flags, put all the flags into AM_CFLAGS.
2. Move the autoconf set -D flags to AM_CPPFLAGS.
2018-08-06 11:02:00 -07:00
Jacob Barthelmeh 5cbfa5e43f rename from different drives and list drives 2018-07-31 14:39:46 -06:00
John Safranek 8a010c168e
Merge pull request #81 from JacobBarthelmeh/testing
additional sftp and scp tests
2018-07-16 10:49:42 -07:00
John Safranek 419efeb59c
Merge pull request #80 from JacobBarthelmeh/sftp-nuc
fix when reading directory
2018-07-16 10:28:25 -07:00
Chris Conlon 6a5df9089a
Merge pull request #82 from JacobBarthelmeh/fuzz
sanity check that handshake information can be used
2018-07-03 10:19:06 -06:00
Jacob Barthelmeh a1e2cde485 fix spelling mistake and change check for sftp client 2018-07-02 17:19:43 -06:00
Jacob Barthelmeh 73bcd5c95a external test script 2018-07-02 17:07:51 -06:00
Jacob Barthelmeh 8601a73026 sanity check that handshake information can be used 2018-07-02 15:23:14 -06:00
Jacob Barthelmeh a631cf5794 add SCP functions to api tests 2018-07-02 12:04:00 -06:00
Jacob Barthelmeh 2c4bca35e0 sftp test script added 2018-07-02 12:03:48 -06:00
Jacob Barthelmeh f348629f06 better thread saftey with handle list 2018-06-29 16:24:02 -06:00
Jacob Barthelmeh b0b659a8e5 remove print statement 2018-06-29 15:40:32 -06:00
Jacob Barthelmeh 8baf943527 try and clean up any open handles on cleanup 2018-06-29 15:35:42 -06:00
Jacob Barthelmeh 2f826aadeb clang warnings and static analysis 2018-06-29 09:31:58 -06:00
Jacob Barthelmeh e47427c484 fix when reading directory
change from NO_WOLFSSL_DIR to NO_WOLFSSH_DIR

add chmod feature

changes for sftp port

file attributes and SFTP version

no exit on echoserver and revert scp
2018-06-29 09:19:40 -06:00
John Safranek 1342f25ce6
Merge pull request #79 from JacobBarthelmeh/fuzz
sanity check on arguments with debug
2018-06-19 09:13:25 -07:00
Jacob Barthelmeh c7b2dfbf1d sanity check on arguments with debug 2018-06-14 17:17:07 -06:00
JacobBarthelmeh cdc153bc42
Merge pull request #78 from ejohnstown/tabs
a few whitespace fixes
2018-06-14 17:07:08 -06:00
John Safranek fbdff7f186 a few whitespace fixes 2018-06-14 14:30:40 -07:00
John Safranek 0cdb57b92e
Merge pull request #73 from JacobBarthelmeh/sftp-nuc
SFTP/SCP on Nucleus
2018-06-14 14:18:20 -07:00
Jacob Barthelmeh 522d93add3 scp nucleus port
fix for uninitialised value

fix compile time warnings

scp only build and handle file size of 0

macro guard on sftp build

adjust directory pointer on desktop build

close connection still on fail and update derefrence of dir with nucleus

ssh only build for nucleus
2018-06-13 16:23:08 -06:00
Jacob Barthelmeh 6d434d0030 initial port to Nucleus
update example on Nucleus

add code sourcery IDE project

fix naming of IDE project files

clean up opendir for fail case

fix for build warnings

add fstat and fixes for nucleus port

update FALL_THROUGH case

add null terminator and more memory free's

fix for scan build warnings

fix warning of no return value

better bounds checking

better path cleaning

fix return values in header file

clean path before access

remove trailing delimiter from clean path
2018-06-13 09:44:54 -06:00
JacobBarthelmeh 6261bb7d98
Merge pull request #77 from cconlon/certstest
fix spacing on certs_test.h license header
2018-06-13 09:44:02 -06:00
Chris Conlon fb85d175df fix spacing on certs_test.h license header 2018-06-12 15:58:07 -06:00
JacobBarthelmeh 59392a9330
Merge pull request #76 from cconlon/devbranch
bump dev version to 1.2.2
2018-06-12 14:48:06 -06:00
Chris Conlon 0745013d67 bump dev version to 1.2.2 2018-06-12 14:29:00 -06:00
Chris Conlon c9f35a3ce9
Merge pull request #75 from JacobBarthelmeh/testing
additional free's and memory management
2018-06-12 14:18:45 -06:00
Jacob Barthelmeh 0fb9a76e54 alter error value for rename failure 2018-06-12 13:30:56 -06:00
Jacob Barthelmeh f80617f43c return value with write to file error 2018-06-12 13:29:58 -06:00
Jacob Barthelmeh 44585908f1 additional free's and memory management 2018-06-12 13:27:38 -06:00
JacobBarthelmeh d3acd4839b
Merge pull request #74 from cconlon/scanbuild
fix scanbuild warning in SendChannelRequest()
2018-06-12 13:18:33 -06:00
Chris Conlon 37e3250164 fix scanbuild warning in SendChannelRequest() 2018-06-12 10:51:17 -06:00
JacobBarthelmeh 4415d2e52f
Merge pull request #71 from cconlon/scp
scp: update error propogation, add WOLFSSH_SCP_NEW_REQUEST state to send callback
2018-06-07 09:46:11 -06:00
JacobBarthelmeh 0fc6f343b0
Merge pull request #72 from ejohnstown/static-fixes
fix a handful of clang static analysis warnings
2018-06-07 09:38:46 -06:00
John Safranek 3ab6f4fbd1 reroll the error string test to check for unknown string and to count the inner loop correctly 2018-06-06 16:02:39 -07:00
John Safranek 56f471ffc9
Merge pull request #61 from JacobBarthelmeh/sftp-squash
SFTP implementation
2018-06-06 15:33:30 -07:00
Jacob Barthelmeh bebc660309 fix for static analysis warning 2018-06-06 16:26:58 -06:00
John Safranek 8477c4acd6 fix a handful of clang static analysis warnings 2018-06-06 15:04:59 -07:00
Chris Conlon a38fae858a add WOLFSSH_SCP_NEW_REQUEST state to scp to allow for application to abort transfer 2018-06-05 10:52:46 -06:00
Chris Conlon 7cd616cb8c propogate scp errors to application for wolfSSH_get_error 2018-06-05 09:51:25 -06:00