Commit Graph

628 Commits (3b2ea810c037e1dd6f3a002ea5aae8a2870a484f)

Author SHA1 Message Date
John Safranek 2c3d78b4a6 Change misc.c error to warning and exclude the misc.c code from being compiled. Most people include all .c files and by default inlining is allowed, which in turn causes an #error in misc.c and it must be excluded. Since we know its already been properly included there is no reason to throw error here. Instead, show warning and exclude code in .c file.
Copied from wolfSSL pull request #521.
2016-08-09 10:44:33 -07:00
JacobBarthelmeh 1039cb9d43 Merge pull request #13 from ejohnstown/more-cleanup
More Cleanup
2016-07-22 10:31:34 -06:00
John Safranek c8da16cbe8 use the proper memcpy alias for wolfSSH 2016-07-22 09:30:02 -07:00
John Safranek 2e1744265b more return code checking 2016-07-21 20:07:29 -07:00
Chris Conlon bc368d01d8 Merge pull request #12 from ejohnstown/missing-files
added a couple more missing files to the makefile
2016-07-21 10:06:37 -06:00
John Safranek f865ad2487 move the primitive data decoders, use them more 2016-07-20 19:57:54 -07:00
John Safranek 45f489d1f3 added a couple more missing files to the makefile 2016-07-20 16:22:22 -07:00
JacobBarthelmeh f794e43f69 Merge pull request #11 from ejohnstown/gpl-change
GPL Update
2016-07-19 15:06:34 -06:00
John Safranek de31a95dbc update copyright date on configure.ac 2016-07-19 14:02:50 -07:00
John Safranek 1a278fe713 update copyright dates and licensing to GPLv3 2016-07-19 13:44:02 -07:00
John Safranek bebe452d12 removed goto from processing the public key authentication 2016-07-19 11:03:37 -07:00
dgarske e62b09520b Merge pull request #10 from ejohnstown/multistream
Multistream Start
2016-07-19 08:10:37 -07:00
John Safranek 6655f1cdea bump version 2016-07-18 21:23:39 -07:00
John Safranek 4041ecf408 Updated many functions with better error checking. 2016-07-18 21:21:42 -07:00
John Safranek 1e77d1595b 1. Sending data to a channel needs to use the peer channel ID.
2. Added a default peer channel ID for transmits.
3. Refactor the SendChannelData and SendChannelOpenConf functions.
2016-07-18 14:19:20 -07:00
John Safranek 79c8a503c4 1. Added some more return code checking and returning.
2. Look up channels in the channel list when processing
channel based messages rather than assuming the first
channel in the list.
2016-07-15 14:51:09 -07:00
John Safranek 1389df80bc initial multi-channel support 2016-07-14 22:46:06 -07:00
JacobBarthelmeh 20d97b299e Merge pull request #9 from ejohnstown/fix-userauth
Fix User Auth
2016-07-14 20:00:55 -06:00
John Safranek 9ebcd5c44a fix trying to decrypt messages where the body fits in with the length block 2016-07-14 15:42:23 -07:00
John Safranek 525a8858c5 Add return code when the peer window is too small on a send. Echoserver wasn't properly checking the return code on the stream receive. 2016-07-14 14:47:30 -07:00
John Safranek a2c5e8e793 React to invalid username with a regular auth failure, nothing fancy. Fancy was causing a crash. 2016-07-14 13:53:23 -07:00
John Safranek d101f1d537 fix a few stray memory leaks 2016-07-14 12:58:37 -07:00
John Safranek 0994a1816d fix a couple initialization issues found in scan-build 2016-07-13 23:53:13 -07:00
John Safranek cf2cb5f67b deleted extra print statements 2016-07-13 15:11:33 -07:00
John Safranek 4dc3c56a88 fixing RSA public key user auth, failover to password 2016-07-13 15:11:33 -07:00
John Safranek a1e07e3161 1. Added extra debugging logs to the user authentication.
2. Reject invalid user names.
3. Fix the readme with regards to the public key log in testing.
2016-07-13 15:11:33 -07:00
John Safranek 995cf111e8 Merge pull request #8 from ejohnstown/include-fix
Update the automake include files to add missing items
2016-07-13 15:07:59 -07:00
John Safranek 8b4bae6461 Merge pull request #7 from ejohnstown/readme1
Update Readme
2016-07-06 13:51:43 -07:00
John Safranek ba8c512a77 1. Some files were missing from make dist.
2. Reorg examples/include.am.
3. Stop building example server for now, but keep the source.
2016-07-06 13:49:08 -07:00
John Safranek bb402fcc38 touch up layout 2016-07-06 11:19:38 -07:00
John Safranek 0ad4bf111c update readme with a short coding standard 2016-07-06 11:12:07 -07:00
dgarske 776682ceca Merge pull request #6 from ejohnstown/fixes2
Minor Fixes
2016-06-24 13:19:07 -07:00
John Safranek d3bfc61d44 remove unused assignment in echoserver 2016-06-22 15:41:33 -06:00
John Safranek de477fcc14 remove stray peerMacSz printf 2016-06-22 14:48:26 -06:00
dgarske 7001224697 Merge pull request #5 from ejohnstown/hmac-sha-256
Added HMAC-SHA2-256
2016-06-22 10:49:01 -07:00
John Safranek 84b1fd3d0e added HMAC-SHA2-256 2016-06-22 11:26:18 -06:00
dgarske ef920ea047 Merge pull request #4 from ejohnstown/userauth-update
User Authentication Update
2016-06-20 10:57:23 -07:00
John Safranek 15023f54b6 verify the correct public key type and signature type during auth 2016-06-17 15:54:24 -07:00
John Safranek 89d92bb886 refactor userauth 2016-06-17 14:23:20 -07:00
John Safranek a275ac59f0 1. Flushed out the authentication callback.
2. Added public key authentication.
2016-06-17 14:23:20 -07:00
John Safranek a744dcc540 refactor DoPacket to pass the correct data pointer and data index update 2016-06-17 14:23:20 -07:00
John Safranek 911ac8c433 1. Adding parsing of publickey authentication data.
2. Changed logging of authentication requests.
3. Reply to "none" authentication types with a failure that
   has the supported auth type list.
4. Fixed bug where passing payload to the DoUserAuthRequest wasn't
   getting the correct payload length.
5. Reordered a couple utility functions.
2016-06-17 14:20:59 -07:00
dgarske 8e3e5a1bf5 Merge pull request #3 from ejohnstown/fixes1
Fixes1
2016-06-17 11:29:01 -07:00
John Safranek 49be153c61 verify the mac even if the decrypt fails 2016-04-15 10:25:04 -07:00
John Safranek 24c606527a echoserver detects CTRL-C and closes the connection 2016-04-11 08:39:55 -07:00
John Safranek bda5870fc5 more checking of return codes 2016-04-06 15:48:37 -07:00
John Safranek 597eb9e1ca when freeing ctx resources, use the correct heap 2016-04-06 10:46:14 -07:00
John Safranek 9125396bda initialize KDF test pointers to NULL 2016-04-06 10:40:02 -07:00
John Safranek fc192b53be bump version 2016-04-06 10:26:18 -07:00
John Safranek 5eb8b8111a Use wolfssl/wolfcrypt instead of cyassl/ctaocrypt, add wc_ prefix to wolfcrypt function calls. 2016-04-05 15:42:38 -07:00