John-Mark Gurney
02ef0d100e
make rescue work, fix stopping... make script work in /etc and /usr/local/etc
4 years ago
John-Mark Gurney
129cdb5ee6
add more info on how to use ggatessh...
talk about libssh2 modifications and sftp-firewall for sftp-server...
Also document how to enable debugging for libssh2 for tracking things
down...
4 years ago
John-Mark Gurney
3711c67c08
support hole punching when _DELETE commands are received... If the
server doesn't support it, EOPNOTSUPP is returned..
4 years ago
John-Mark Gurney
79171e6e22
add support to libssh2 for hole punching...
4 years ago
John-Mark Gurney
03d6dcfd33
disable building libssh2 shared, we link statically, so no need..
4 years ago
John-Mark Gurney
2beecd4be5
make sure man page is installed by PREFIX as well..
4 years ago
John-Mark Gurney
e8ac8c5818
use PREFIX if defined..
4 years ago
John-Mark Gurney
f84348aab7
add man page for the rc.d script...
4 years ago
John-Mark Gurney
e0356be662
add an rc.d script for ggatessh...
4 years ago
John-Mark Gurney
eb5536bdaa
fix launching when a pidfile is unspecified...
4 years ago
John-Mark Gurney
7969362509
add a dist target for building a dist w/ autoreconf run..
4 years ago
John-Mark Gurney
1a12d7a97c
install to PREFIX if defined, make tests dir before install..
This gets things working sanely for packaging...
4 years ago
John-Mark Gurney
349b114752
add support for ro/wo and tests to verify this funcionality..
Also did some line wrapping..
4 years ago
John-Mark Gurney
92a8ebf544
add info about testing..
4 years ago
John-Mark Gurney
fb496005f8
use the newly imported libssh2 so this makes it mostly self contained..
4 years ago
John-Mark Gurney
282d7ea8f8
fix compiling by moving the pid code to the correct location..
4 years ago
John-Mark Gurney
41d0940e45
add the changes to disable no-readahead..
Merge commit '1507d27be0bbb550ca53ca8215a997a1b31e9017' into ssh-main
4 years ago
John-Mark Gurney
1507d27be0
Squashed 'libssh2/' changes from 6c7769dc..f75f3488
f75f3488 add some debugging for understanding how these flags are set..
57635ddf disable read ahead algorithm so we don't waste bandwidth..
git-subtree-dir: libssh2
git-subtree-split: f75f3488824d7935d15d75a869783b37fe446927
4 years ago
John-Mark Gurney
c5e5828f0a
Merge commit 'd93d59807ef355920625505a3e1898c3d7f81e83' as 'libssh2'
4 years ago
John-Mark Gurney
d93d59807e
Squashed 'libssh2/' content from commit 6c7769d
git-subtree-dir: libssh2
git-subtree-split: 6c7769dcc4
4 years ago
John-Mark Gurney
1c8b4c849f
make ggatessh work.. it uses libssh2, but it is recommended to use
a patched version that does not do read ahead. It also supports
resizing when rescuing and the file has changed sizes..
4 years ago
John-Mark Gurney
ad55687781
add a tool to see what requests have not completed, useful for debugging..
4 years ago
John-Mark Gurney
dbf3c5c767
when debugging flush to get messages out timely...
4 years ago
John-Mark Gurney
8c7209fe1b
get things mostly working..
the performance is ok, but likely can be improved upon:
libcurl seems to not reuse connections, why not?
libcurl when using any auth, ALWAYS tries unauth'd for EVERY
request instead of caching that this url NEEDs auth
there are some error handling cases that could be improved
4 years ago
John-Mark Gurney
e1c3f9d200
guess this isn't useful, wsgidav doesn't function..
4 years ago
John-Mark Gurney
e0703efbd3
add discussion about issues w/ WebDAV/REST and this..
4 years ago
John-Mark Gurney
5afc427d47
only display the first few erros, and fail if everything didn't get
displayed..
4 years ago
John-Mark Gurney
b9ca728a15
update tests to new name and create the starting test...
This isn't the best as it depends upon a WebDAV server already running..
4 years ago
John-Mark Gurney
acb98a9b09
add docs about running up a simple WebDAV server..
4 years ago
John-Mark Gurney
7d19a61c4f
rename ggatec to ggatehttp so that it won't overwrite ggatec
4 years ago
John-Mark Gurney
a26a992b6e
forgot to cleanup Makefile
4 years ago
John-Mark Gurney
1cb4afd5fb
start on a variant for https instead...
4 years ago
John-Mark Gurney
d8947cd03c
Merge branch 'master' of ssh://192.168.0.44:22/home/freebsd/ggate
4 years ago
John-Mark Gurney
28fd413c26
put this test in the correct location, only need it for read...
4 years ago
John-Mark Gurney
59ddd35512
ignore _DELETE and _FLUSH for now... this makes ZFS work...
4 years ago
John-Mark Gurney
657de5dd05
use a larger buffer, allocate it, and prevent overflowing recv buf..
4 years ago
John-Mark Gurney
b881314655
add support for _DELETE and _FLUSH commands...
4 years ago
John-Mark Gurney
d580ef7d5c
use long instead of int for strtol, and don't allow queue size to be 0...
5 years ago
John-Mark Gurney
f194cdca85
integrate the IO queueing patch I did a number of years ago..
It uses additional threads to have more IOs inflight. This
should be useful for devices, but likely not for files.
5 years ago
John-Mark Gurney
1973d4d2e2
add socket support to ggate{d,c}. This will use a local unix socket
for communication instead of TCP. This allows you to forward the
connection over ssh in a secure maner. Though you can forward TCP
sessions over ssh, it doesn't implement authentication, so ANYONE
on the box could end up accessing the disks. With socks you can use
file system permissions to restrict them.
5 years ago
John-Mark Gurney
c32bdcb10b
dump the report out when it fails
5 years ago
John-Mark Gurney
f0f6a5a212
add additional build artifacts..
5 years ago
John-Mark Gurney
9b5e545805
add testing infrastructure..
5 years ago
John-Mark Gurney
5d81aa385d
add tests from tests/sys/geom/class/gate
5 years ago
John-Mark Gurney
3e4df4f7f1
ignore build artifacts..
5 years ago
John-Mark Gurney
f9cce3fb1b
use system default now that auto scaling is supported...
still let users set this if needed...
5 years ago
John-Mark Gurney
f935aa0282
add readme
5 years ago
John-Mark Gurney
e87facf5c1
Fix up to build stand alone..
5 years ago
emaste
11cb9bcea1
ggated: do not expose stack data in sendfail()
admbugs: 590
Submitted by: Fabian Keil <fk@fabiankeil.de>
Obtained from: ElectroBSD
6 years ago
pfg
f878ea8b9b
various: general adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.
The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
No functional change intended.
7 years ago