Joseph Henry
a4bad8fd4b
Update README.md
5 years ago
Joseph Henry
e9a4cf45ea
Update README.md
5 years ago
Joseph Henry
613c7e8f91
Minor update to C examples
5 years ago
Joseph Henry
2c666894b6
Merge branch 'dev' of https://github.com/zerotier/libzt into dev
5 years ago
Joseph Henry
175cb67cf3
Remove unnecessary include to fix #115
5 years ago
github-actions
8d554e88c5
Code style fixes
5 years ago
Joseph Henry
0890e2608f
Commented out pthread_setname_np to address portability concern #116
5 years ago
github-actions
c4b9518361
Code style fixes
5 years ago
Joseph Henry
fa34fb62e6
Minor Windows build fixes
5 years ago
Joseph Henry
5a668ceeba
Move some out-dated examples to attic, update README.md
5 years ago
Joseph Henry
90c4744a3b
Update C API selftest
5 years ago
Joseph Henry
9151f4471c
Slight re-org of C API naming convention
5 years ago
Joseph Henry
85b861da2f
Minor adjustment to build script
5 years ago
Joseph Henry
47b1facdd4
Fix misc build issues
5 years ago
Joseph Henry
3093a643d9
Add submodule check to build script
5 years ago
github-actions
2d2afce4f7
Code style fixes
5 years ago
Joseph Henry
6a77f0092f
Update Python bindings to 1.4.0 API (WIP)
5 years ago
Joseph Henry
6f42338f6e
Update C# bindings to 1.4.0 API
5 years ago
Joseph Henry
3e304cb25a
Reduce number of compile-time warnings (continued)
5 years ago
Joseph Henry
6763ced6f5
Reduce number of compile-time warnings
5 years ago
Joseph Henry
c6a51d3188
Update C API selftest
5 years ago
Joseph Henry
782d221eb9
Add WIP Java language bindings
5 years ago
Joseph Henry
904e50e8e9
Fix bug in network transport readiness check function
5 years ago
Joseph Henry
016b0ffc0e
Adjust nomenclature. Add more C API extension functions
5 years ago
Joseph Henry
9ed0ee68ab
Improve build parallelism in build.sh
5 years ago
Joseph Henry
a247552df1
Format according to new ZeroTier standard
5 years ago
Joseph Henry
07b2a33447
Update .clang-format to reflect new ZeroTier standard
5 years ago
Joseph Henry
c456a87f97
Add zts_core_query_ and world sub-APIs. Adjust event subsystem
5 years ago
github-actions
ac7e01f328
Code style fixes
5 years ago
Joseph Henry
43350691b5
Expand C API and simplify NodeService
5 years ago
Joseph Henry
565b56d290
Adjust test targets and code style enforcement in build script
5 years ago
Joseph Henry
4f3120ad5b
Update workflows
5 years ago
Joseph Henry
6eaa03c04b
Update .clang-format code style
5 years ago
Joseph Henry
90f9e7c72a
Update .clang-format code style
5 years ago
Joseph Henry
7e05f13295
Remove C++ examples (To be replaced with C examples)
5 years ago
Joseph Henry
00880628fd
Add code style enforcement to github workflow
5 years ago
Joseph Henry
a5121b1e3c
Applied styling rules from .clang-format
5 years ago
Joseph Henry
8e7bcdb16a
Add .clang-format file
5 years ago
Joseph Henry
944796a083
Merge branch 'GermanAizek-master'
5 years ago
Joseph Henry
94053522cf
Merge branch 'master' of https://github.com/GermanAizek/libzt into GermanAizek-master
5 years ago
Joseph Henry
e288787f74
Merge branch 'linsomniac-py_send_binary3'
5 years ago
Joseph Henry
46eb8be174
Merge branch 'py_send_binary3' of https://github.com/linsomniac/libzt into linsomniac-py_send_binary3
5 years ago
Joseph Henry
e69956a230
Merge branch 'linsomniac-linsomniac_review'
5 years ago
Joseph Henry
66d791f920
Merge branch 'linsomniac_review' of https://github.com/linsomniac/libzt into linsomniac-linsomniac_review
5 years ago
Joseph Henry
6638f20003
Add IPv6 to C# ZeroTier.Sockets, Add C# selftest, Misc C API improvements
5 years ago
GermanAizek
ac1a1b1d2b
Fixed memleak, optimize and refactor code
5 years ago
Joseph Henry
9cd5fdee7b
Update C API: Add functions that simplify wrapper generation
5 years ago
Sean Reifschneider
5f6faaa5e8
Python send() with binary data
...
zts_py_send() was using strlen() to determine the length of the
send(). This works fine with strings, but fails with binary
data.
To fix this, I have removed the string encoding code, and
converted to using the Buffer protocol as is done in the
Python socketmodule send() implementation. This does mean
that this send() implementation only takes byte-like objects.
The workaround for this could be at the python level rather
than the C++ level.
NOTE: This implementation has a bug in the exception handling
if a non-bytes-like object is passed. You get an exception,
but the exception is not accurate, it reports the TypeError,
but the actual raised exception is due to there being a return
value when the error indicator is set. I spent a few hours
trying to fix this but was unable to. I'm afraid I just couldn't
figure it out.
My SSH proxy was misbehaving because the second block
of data going from the client to the server had a NUL byte as
the first byte to send, so the send was returning 0 bytes
sent, but that was due to send() being told to send 0 bytes.
With this, my SSH proxy is now working, including able to run
an rsync of my boot initrd over SSH over ZeroTier entirely in
userspace.
5 years ago
Joseph Henry
4b190ee384
Replace manual csc.exe invokation with dotnet project (for NuGet build)
5 years ago
Joseph Henry
42f188cdd6
Add NuGet package workflow
5 years ago