Giter Site home page Giter Site logo

fubuki's People

Contributors

aluneed avatar wkgcass avatar xutianyi1999 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

fubuki's Issues

stream did not contain valid UTF-8

name = "fubuki"
operating_system = "Windows 10.0.17763 (Windows Server 2019 Standard) [64-bit]"
crate_version = "0.5.3"
explanation = '''
Panic occurred in file 'C:\Users\runneradmin\.cargo\git\checkouts\innernet-e473261454a9fbf4\376ab64\hostsfile\src\lib.rs' at line 206
'''
cause = "called `Result::unwrap()` on an `Err` value: Error { kind: InvalidData, message: \"stream did not contain valid UTF-8\" }"
method = "Panic"
backtrace = """

   0: 0x7ff7177a6874 - <unresolved>
   1: 0x7ff7176d6474 - <unresolved>
   2: 0x7ff7176d38de - <unresolved>
   3: 0x7ff71757927d - <unresolved>
   4: 0x7ff717761817 - <unresolved>
   5: 0x7ff71776131f - <unresolved>
   6: 0x7ff717745d1c - <unresolved>
   7: 0x7ffe65b77974 - BaseThreadInitThunk
   8: 0x7ffe67efa0b1 - RtlUserThreadStart"""

allowed_ips

there are some requirements for using allowed_ips on windows?

adding the option:

ERROR simple_wintun::adapter - Delete wintun driver error: OS Error -536870339 (FormatMessageW() returned error 317) (os error -536870339)
node xxx tcp handler error

Caused by:
add nat record failed

node name

please consider auto-generating a random node_name or using the hostname of the device.
the final goal is to use the same conf.file for all nodes.
but also being able to pass parameters from the command line is a good thing so we can get rid of the node-config file altogether depending on use cases

Great work, keep it up!
Congratulations for the milestone version 0.50!

tcp handler error: Timeout,但telnet 服务端端口正常,是什么原因呢

[2023-11-21 14:31:21] INFO fubuki::node::api - api listening on http://127.0.0.1:3030
[2023-11-21 14:31:21] ERROR fubuki::node - node node_sa tcp handler error: Timeout
[2023-11-21 14:31:24] ERROR fubuki::node - node node_sa tcp handler error: Timeout
[2023-11-21 14:31:27] ERROR fubuki::node - node node_sa tcp handler error: Timeout
[2023-11-21 14:31:30] ERROR fubuki::node - node node_sa tcp handler error: Timeout
[2023-11-21 14:31:33] ERROR fubuki::node - node node_sa tcp handler error: Timeout

thread 'tokio-runtime-worker' has overflowed its stack

fubuki.exe node daemon ./node-config.json
[2023-08-23 19:30:18] INFO fubuki::node::api - api listening on http://127.0.0.1:3030
[2023-08-23 19:30:18] ERROR
thread 'tokio-runtime-worker' has overflowed its stack

不知道是何原因

routed subnet

please consider to add support to route peer subnet network range
something like wireguard AllowedIPs:

"network_ranges": [
{
"server_addr": "102.129.255.0:12345",
"tun": {
"ip": "192.168.1.110",
"netmask": "255.255.255.0",
"AllowedIPs": "172.168.80.0/20"

打洞能力很弱,需要两端都是全锥型才能p2p

甲骨文服务器,如果不放开相关udp端口,是不能建立起p2p的。使用tailscale没问题。
经测试,需要两端都是全锥型才能p2p,还达不到n2n的打洞能力,虽然n2n不那么厉害,但是可以一端全锥即可p2p。

另外,建议可以指定源port,方便开放源udp端口

No such file or directory (os error 2)

sudo ./fubuki node daemon node-config.json 
No such file or directory (os error 2)

不知道为何报这个错误,没有更详细的日志。
系统信息: aarch64 GNU/Linux Linux version 4.4.18-g8bcbd8a-dirty,gcc version 4.9.4 (OpenWrt/Linaro GCC 4.9-2015.06 r48422)

address pool

please consider to add an ip address pool in the server.
when a fubuki client make a socket connection with a successful login to the fubuki server, the server pass a free ip address from the pool to the client for configure the tun.

{
"channel_limit": 100,
"tcp_heartbeat_interval_secs": 5,
"ip_pool": 192.168.1.0/24,
"listeners": [
{
"listen_addr": "0.0.0.0:12345",
"key": "a123"
}
]
}

node中继功能?

服务器中转延迟比较大,能否让node A根据延迟选择其他nodeX来中继去往node B的数据?

能否搞上无中心模式

看到已经支持客户端中转了,很棒。
rt,能否搞上无中心模式,每台都可以作为服务器

Binaries

Please consider to release the windows binaries

proxy support

please consider adding
http proxy (connect) and socks5 proxy support
to be able to connect to server when you are behind one of these

great work keep it up!
kudos for the version 0.50 milestone!

使用了与请求的协议不兼容的地址。 (os error 10047)

[2023-09-16 16:16:22] INFO fubuki::node - node M1saka-Gaming-Laptop(10.100.0.11) has joined group misaka-network
[2023-09-16 16:16:22] INFO fubuki::node - group misaka-network address range 10.100.0.0/24
[2023-09-16 16:16:22] INFO fubuki::node - node M1saka-Gaming-Laptop update hosts
[2023-09-16 16:16:25] INFO fubuki::node - node M1saka-Gaming-Laptop update hosts
[2023-09-16 16:16:30] INFO fubuki::node - clear node M1saka-Gaming-Laptop host records
[2023-09-16 16:16:30] INFO fubuki::node - clear node M1saka-Gaming-Laptop nat list
node M1saka-Gaming-Laptop udp handler error

Caused by:
    使用了与请求的协议不兼容的地址。 (os error 10047)

一机多个实例

一机能不能跑多个实例 ,api地址能在配置文件中修改吗?

ERROR fubuki - Process error -> Failed to create UDP socket

fubuki client client-config.json
[2023-05-04 17:32:06] ERROR fubuki - Process error -> Failed to create UDP socket

Caused by:
在其上下文中,该请求的地址无效。 (os error 10049)

当前目录下有wintun.dll amd64 ,但是报这个是什么问题,试过两台电脑都一样

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.