Coder Social home page Coder Social logo

kaminari's Introduction

Hi there ๐ŸŒฝ๐ŸŒฝ๐ŸŒฝ

  • ๐Ÿ˜ I'm a programming enthusiast
  • โญ Iโ€™m interested in network programming
  • ๐Ÿ“š Iโ€™m currently learning pure functional languages
  • ๐ŸŸ I'm good at touching fish
  • ๐Ÿ”‘ keyserver.ubuntu.com: 809594e3

Top Langs

kaminari's People

Contributors

zephyrchien avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

kaminari's Issues

error[E0432]: unresolved import `std::io::ReadBuf`

alpine linux v3.15
kernel 4.19.176-0-vanilla
rustc 1.56.1
cargo 1.56.0

localhost:~/kaminari# cargo b
   Compiling lightws v0.6.2
error[E0432]: unresolved import `std::io::ReadBuf`
  --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/lightws-0.6.2/src/stream/read.rs:61:13
   |
61 |         use std::io::ReadBuf;
   |             ^^^^^^^^^^^^^^^^ no `ReadBuf` in `io`

error[E0554]: `#![feature]` may not be used on the stable release channel
 --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/lightws-0.6.2/src/lib.rs:2:1
  |
2 | #![feature(const_slice_from_raw_parts)]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0554]: `#![feature]` may not be used on the stable release channel
 --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/lightws-0.6.2/src/lib.rs:3:1
  |
3 | #![feature(const_mut_refs)]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0554]: `#![feature]` may not be used on the stable release channel
 --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/lightws-0.6.2/src/lib.rs:4:1
  |
4 | #![feature(const_slice_index)]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0554]: `#![feature]` may not be used on the stable release channel
 --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/lightws-0.6.2/src/lib.rs:5:1
  |
5 | #![feature(read_buf)]
  | ^^^^^^^^^^^^^^^^^^^^^

error[E0554]: `#![feature]` may not be used on the stable release channel
 --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/lightws-0.6.2/src/lib.rs:6:1
  |
6 | #![feature(ready_macro)]
  | ^^^^^^^^^^^^^^^^^^^^^^^^

error[E0554]: `#![feature]` may not be used on the stable release channel
 --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/lightws-0.6.2/src/lib.rs:7:1
  |
7 | #![feature(future_poll_fn)]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0554]: `#![feature]` may not be used on the stable release channel
 --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/lightws-0.6.2/src/lib.rs:8:1
  |
8 | #![feature(specialization)]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0658]: default values for const generic parameters are experimental
  --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/lightws-0.6.2/src/handshake/request.rs:37:47
   |
37 | pub struct Request<'h, 'b: 'h, const N: usize = MAX_ALLOW_HEADERS> {
   |                                               ^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information

error[E0658]: default values for const generic parameters are experimental
  --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/lightws-0.6.2/src/handshake/response.rs:34:48
   |
34 | pub struct Response<'h, 'b: 'h, const N: usize = MAX_ALLOW_HEADERS> {
   |                                                ^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information

error[E0658]: use of unstable library feature 'vec_spare_capacity'
  --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/lightws-0.6.2/src/stream/read.rs:73:52
   |
73 |             let mut read_buf = ReadBuf::uninit(buf.spare_capacity_mut());
   |                                                    ^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #75017 <https://github.com/rust-lang/rust/issues/75017> for more information

error[E0599]: no method named `read_buf` found for mutable reference `&mut stream::Stream<IO, Role, Guarded>` in the current scope
  --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/lightws-0.6.2/src/stream/read.rs:80:24
   |
80 |             match self.read_buf(&mut read_buf) {
   |                        ^^^^^^^^ method not found in `&mut stream::Stream<IO, Role, Guarded>`
   |
   = help: items from traits can only be used if the trait is implemented and in scope
   = note: the following trait defines an item `read_buf`, perhaps you need to implement it:
           candidate #1: `AsyncReadExt`

Some errors have detailed explanations: E0432, E0554, E0599, E0658.
For more information about an error, try `rustc --explain E0432`.
error: could not compile `lightws` due to 12 previous errors

Bug

In centos6


bash: ./kaminaris: /system/bin/linker64: bad ELF interpreter: No such file or directory

Plugin service exit unexpectedly as SIP003 plugin

Server:
Debian 10 x64, shadowsocks-libev 3.3.5 with kaminaris linux gcc x64 0.5.6 as plugin, plugin_opts ws;host=example.com;path=/ws

Client:
Openwrt 21.02.0 x64, shadowsocks-libev 3.3.5 with kaminaric linux musl x64 0.5.6 as plugin, plugin_opts ws;host=example.com;path=/ws

I noticed when the connection to server is unstable, kaminaric will sometimes cause shadowsocks instance to terminate, with log
daemon.err ss-redir[19787]: plugin service exit unexpectedly

UDP Over Websocket

Hello,

Uot feature doesn't work over websocket tunnel and I actually couldn't figure it out why it faces buf.len() < 14 issue from lightws's connector/accecptor even if you give it a large enough buffer.

Related: #7

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.