Commit Graph

674 Commits (6c979231c7fff9c2078b1015a74d417c588889c7)

Author SHA1 Message Date
John Safranek f8f3d125b6 punctuation correction in configure.ac 2018-09-13 14:16:08 -07:00
John Safranek 3c7c6db8a8 update README with port forwarding info 2018-09-13 12:24:11 -07:00
John Safranek dbd59aea4a TCP/IP Forwarding
1. Removed the "direction" flag from the wolffwd example. Only works in one direction at this point.
2. Added the GPL header to the wolffwd example source.
3. Removed the stray prints from the wolffwd example.
4. wolfFwd example fails out if any of the sockets report failure.
2018-09-12 15:30:18 -07:00
John Safranek 172c5fd749
Merge pull request #102 from JacobBarthelmeh/sftp
break out of "put" loop if at end of file or error
2018-09-11 16:16:34 -07:00
Jacob Barthelmeh 49cd054534 exit "put" loop if at end of file 2018-09-11 16:37:22 -06:00
JacobBarthelmeh b889645008
Merge pull request #101 from ejohnstown/small-fixes
Small Fixes
2018-09-11 15:20:48 -06:00
Chris Conlon 9c9def769b
Merge pull request #100 from JacobBarthelmeh/testing
add default SCP state of no direction set
2018-09-11 15:10:14 -06:00
John Safranek 94626a5a2c Small Fixes
1. fixed bug in DoKexDhGexGroup() where ret was initialized to an error
2. The peer channel ID set during the connect needs to be saved for use later.
2018-09-11 14:01:59 -07:00
Jacob Barthelmeh 89a4c1015e add default SCP state of no direction set 2018-09-11 14:33:06 -06:00
JacobBarthelmeh 772a1ecd57
Merge pull request #99 from ejohnstown/match-fix
Match Fix
2018-09-07 17:36:00 -06:00
John Safranek cf8b597250 Match Fix
When matching ID lists during the KEX Init, the client needs to swap lists.
2018-09-07 15:10:03 -07:00
John Safranek de5b1fbab3
Merge pull request #96 from JacobBarthelmeh/fuzz
sanity checks on arguments
2018-09-07 15:09:22 -07:00
John Safranek cbeb2cf566 TCP/IP Forwarding
1. Fixed an issue with the FD_SET copy.
2. Fixed some memory issues discovered with Valgrind.
2018-09-04 15:17:14 -07:00
Jacob Barthelmeh 634de0dc89 sanity checks on arguments 2018-08-31 16:56:55 -06:00
John Safranek dfbfe8d93f TCP/IP Forwarding
1. Removed an unused data type and unused functions.
2. Do a couple fixes for scan-build.
2018-08-31 14:26:56 -07:00
John Safranek a42075d823 TCP/IP Forwarding
1. Removed some unused macros in the configure.ac script.
2. Added option for enabling TCP/IP Forwarding.
3. Coalesced the option enable checks to one location in the configure script.
4. Removed redundant compile flags from the wolfSSH automake include.
5. Added a check of the BUILD_SCP option to leave out the wolfcsp file as needed.
6. Removed the redundant debug flags from the ax_harden macro since we add them at the configure level.
7. Modified the ax_harden macro to add the flags to AM_CFLAGS rather than CFLAGS.
8. Removed redundant AM_CFLAGS from the include.am that are adding them to their build's CFLAGS.
9. Replaced the have-wolfssl macro with AC_CHECK_LIB.
10. When adding per-target CPPFLAGS, add the AM_CPPFLAGS back in.
11. remove redundant call to wolfSSH_Init() from echoserver
12. Add runtime configuration of the session window size and max packet size.
13. Parse the TCP/IP direct connect flavor of the Channel Open message.
14. Save and release the host and origin addresses.
15. Added an example forwarding tool.
16. Move and rename the FIND_SELF and FIND_PEER constants.
17. Add planned functions ChannelSend, ChannelRead, ChannelExit, worker.
18. Add new function ChannelNext, which returns the next channel in the list.
19. Changed SendBuffered() from static to local so it could be used by the worker.
20. Separated creating a channel and sending an channel open request.
21. Added status code for pending open channel and for received data.
2018-08-31 11:21:42 -07:00
Eric Blankenhorn d7cd20bdb9
Merge pull request #93 from JacobBarthelmeh/sftp
add sftp support for file time attribute
2018-08-21 11:58:02 -05:00
Jacob Barthelmeh bd816106f6 add sftp support for file time attribute 2018-08-20 16:38:17 -06:00
JacobBarthelmeh 20dcc22c01
Merge pull request #92 from ejohnstown/release-fixes
Scan Build Fixes
2018-08-15 13:53:41 -06:00
John Safranek f08628af2b Scan Build Fixes
1. In the echoserver, free the thread context before exiting app on error.
2. In the unit test, when checking the KDF, initialize the sizes to zero
and the pointers to NULL after freeing them.
2018-08-15 12:38:20 -07:00
JacobBarthelmeh ae7531959f
Merge pull request #91 from ejohnstown/next-release
Next Release
2018-08-15 09:39:42 -06:00
John Safranek 226264a5ef Next Release
1. Removed the change log from README.md to ChangeLog.md.
2. Touched the configure and version for next release.
2018-08-14 13:20:08 -07:00
John Safranek 1a0be6492f
Merge pull request #90 from JacobBarthelmeh/fuzz
fix for possible overflow with sanity check
2018-08-14 10:38:37 -07:00
Chris Conlon 7e62b48c66
Merge pull request #88 from JacobBarthelmeh/testing
fix for uninitialized value and for base directory on nucleus port
2018-08-14 09:48:06 -06:00
Jacob Barthelmeh 962ee5a06b fix for possible overflow with sanity check 2018-08-13 10:39:15 -06:00
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