uweseimet
9898cb1a13
SCSI command dispatcher update, reduction of circular dependencies ( #117 )
...
* Unified command handling of SCSI command dispatcher
* Added missing cast
* Updated casts
* Comment update
* Moved enums to base class to reduce circular dependencies
* Added EXTRA_FLAGS to Makefile and fixed typo (#118 )
* scsidev_ctrl inherited from sasidev without any need
* Reverted last change ...
* Removed unused include
* Added missing field initialization in constructor
* Formatting update
* Fixed command names used for logging
* Replaced SCSI command dispatch switch
* Source code formatting update
* Renaming
* Renaming
* Renaming
* Renaming
* For SCSI (scsidev_ctrl) the scsi_command enum is not relevant anymore
* Always log status code in status phase
* Log additional sense code (ASC)
2021-07-04 19:50:24 -05:00
uweseimet
e2409098dd
Added EXTRA_FLAGS to Makefile and fixed typo ( #118 )
2021-06-26 22:26:04 -05:00
uweseimet
b7011efd95
Removed unused code, added some translations ( #114 )
...
* Removed unused code, added some translations
* Fixed typo
* Added translation
2021-06-23 12:26:12 -05:00
uweseimet
86aeeb0a31
Segmentation fault fix for missing unit 0 ( #115 )
...
* Removed unused code, added some translations
* Fixed segmentation fault when there is no unit 0
* Removed unrelated changes
2021-06-23 12:16:27 -05:00
akuker
9e0ce1eacc
update version of pillow
2021-06-22 19:37:52 -05:00
uweseimet
51210a7002
Use exception for unsupported LUN handling, reduces duplicate code ( #111 )
...
* Use exception for unsupported LUN handling in order to reduce duplicate code
* Code improvements based on review
* Added header
2021-06-22 19:05:47 -05:00
uweseimet
7e45d11215
Fixes for gcc 10.3.0 ( #112 )
...
* Fixes for gcc 10.3.0
* Fixes for gcc 10.3.0
* Removed obsolete declaration
* Changes based on review
2021-06-22 19:03:53 -05:00
PhrAx
ae07648551
fixing typo
2021-05-29 23:50:00 -07:00
PhrAx
e42adab4f9
improving stdout for logging by disabling buffering
2021-05-29 23:46:08 -07:00
akuker
dbf78b772b
Merge pull request #96 from akuker/daynaport3
...
Add DaynaPort Functionality into the Development branch
2021-05-26 10:50:13 -05:00
Tony Kuker
fa80c7fb9a
Updates for pull request comments
2021-05-23 14:44:47 -05:00
Tony Kuker
4a72d2ecea
Updates for pull request comments
2021-05-23 14:44:34 -05:00
akuker
a580562d03
Merge pull request #103 from akuker/eric/devupdates
...
Web and easy install updates.
2021-05-23 11:35:19 -05:00
Eric Helgeson
b5d82c1037
Update readme for dev setup of web
2021-05-23 10:55:24 -05:00
Tony Kuker
f779a1cbc2
Added comments
2021-05-21 22:13:33 -05:00
Tony Kuker
a28512e179
First draft of python test using loopback adapter from saybur
2021-05-21 22:05:00 -05:00
Eric Helgeson
968d34bb14
Increase nginx timeouts
2021-05-13 12:48:11 -05:00
Eric Helgeson
ffc9c36456
unlimited upload in nginx
2021-05-13 12:41:30 -05:00
Eric Helgeson
c2c0d5cbf7
Use truncate instead of dd
2021-05-13 12:22:28 -05:00
Eric Helgeson
a2a323cdb8
Update to flask 2.0
2021-05-13 12:17:50 -05:00
akuker
642deb8b84
updated version number
2021-05-02 14:35:42 -05:00
Tony Kuker
61c7644250
Merge branch 'develop' into daynaport3
2021-04-05 16:11:54 -05:00
Tony Kuker
a05c7f34d4
Added short delay after the DaynaPort reports its metadeta during a READ operation
2021-04-05 14:17:05 -05:00
Tony Kuker
e68f6f09e2
Fix compiler warnings for release builds
2021-04-05 12:14:51 -05:00
Quentin Smith
da8880576a
Remove no-longer-used os.cpp
2021-04-04 23:13:52 +01:00
Quentin Smith
2579437b57
Allow generating pcap files of Daynaport traffic
...
If rasctl is given a file to "attach" to a daynaport interface, rascsi
will generate a pcap file at that path containing all sent/received
packets.
2021-04-04 23:13:51 +01:00
Quentin Smith
5ef97b99db
Use native ioctls to create/join bridge interface
2021-04-04 23:13:36 +01:00
akuker
6333d3aad5
Merge pull request #85 from akuker/phrax0-patch-1
...
Update controllers
2021-03-21 19:57:31 -05:00
Quentin Smith
5f7a0a0d86
Fix CD support on DaynaPort branch
...
The CD device relies on SASIDEV.buf being at least 0x800 long.
2021-03-18 03:36:08 +00:00
Quentin Smith
cdf2b6b39f
Initialize selevreq
...
selevreq was previously being passed to ioctl without being fully initialized.
2021-03-18 03:35:13 +00:00
PhrAx
6d79023a5c
FIxing code and comment alignment
...
going through the various files and putting comments on one line for easier reading.
2021-03-07 17:29:30 -08:00
PhrAx
1fb0269645
Update controllers
...
Includes comment alignment, and added RESERVE(6), RESERVE(10), RELEASE(6) and RELEASE(10) for SCSI, along with RESERVE(16) and RELEASE(17) for SASI.
2021-03-07 17:11:17 -08:00
Eric Helgeson
f4513ca87e
Add start script to simplify oled install
2021-03-07 09:28:40 -06:00
Adrian Merwood
8b3cfed98c
Updated oled script for Python3
2021-03-07 09:28:24 -06:00
Tony Kuker
d794f046dc
#27 Files to configure the network bridge
2021-02-26 17:36:59 -06:00
Tony Kuker
9070903772
Temporarily remove MAC address filtering. It seems to cause issues
2021-02-26 17:26:24 -06:00
Tony Kuker
994e90abac
Added error message if there is an error while reading the tap #27
2021-02-26 11:40:16 -06:00
Tony Kuker
33f09490be
Remove magic number that was left over from debugging #27
2021-02-26 11:39:37 -06:00
Tony Kuker
0d25785f03
moved bridge setup into ctapdriver
2021-02-07 16:46:59 -06:00
Tony Kuker
99538d8225
Merged latest develop branch with the daynaport functionality
2021-02-07 13:00:48 -06:00
akuker
0ef9ff72de
merge in latest develop
2021-02-06 19:48:11 -06:00
akuker
852f4f11fd
Revert "Add Daynaport SCSI/Link Functionality" ( #78 )
2021-02-02 19:55:38 -06:00
Eric Helgeson
0b78f09f8d
Add DaynaPORT config to web
...
Add bridge-utils
Minor fixes to easyinstall
Can now save config, detach all devices
Bridge script error out if any command fails
2021-02-01 19:48:56 -06:00
Eric Helgeson
943a9ab537
Black code formatting
2021-02-01 11:39:50 -06:00
Tony Kuker
3bf6c3ecd0
Updated to use a multi-thread safe logger
2021-01-31 20:11:33 -06:00
akuker
50bb0664dd
Update scsi_daynaport.cpp
...
Missing semicolon when building non-debug build.
2021-01-30 16:02:21 -06:00
Tony Kuker
3a7674d47c
Cleanup extraneous debug printouts
2021-01-30 14:12:29 -06:00
Tony Kuker
144abd4524
Cleanup extraneous debug printouts
2021-01-30 14:08:09 -06:00
Tony Kuker
f1f60f281f
Updated ctapdriver to use the forked system call
2021-01-30 14:07:40 -06:00
Tony Kuker
04a2f46f51
added additional event loggin
2021-01-30 14:07:05 -06:00