Giter Site home page Giter Site logo

UDP不能绑定服务端口 about natmap HOT 8 CLOSED

heiher avatar heiher commented on July 22, 2024
UDP不能绑定服务端口

from natmap.

Comments (8)

heiher avatar heiher commented on July 22, 2024

内核版本是多少?绑定服务端口报什么错?natmap也支持应用内转发。

from natmap.

xbins7210 avatar xbins7210 commented on July 22, 2024

内核版本是多少?绑定服务端口报什么错?natmap也支持应用内转发。

Alma Linux 9.2 内核版本:5.14.0-284.25.1.el9_2.x86_64
绑定的时候提示如下:
[root@localhost ~]# natmap-linux-x86_64 -u -s stun.qq.com -b 52800
[E] hev_sock_client_udp src/hev-sock.c:216 Address in use
[E] unsk_run src/hev-unsk.c:71 Start UDP keep-alive service failed.
[E] hev_sock_client_udp src/hev-sock.c:216 Address in use
[E] unsk_run src/hev-unsk.c:71 Start UDP keep-alive service failed.
[E] hev_sock_client_udp src/hev-sock.c:216 Address in use
[E] unsk_run src/hev-unsk.c:71 Start UDP keep-alive service failed.

应用内转发 到内网其它设备是正常的

from natmap.

heiher avatar heiher commented on July 22, 2024

UDP 52800端口是内核持有的,还是用户空间某个进程的?(内核持有的暂不支持跨进程使能reuse

from natmap.

xbins7210 avatar xbins7210 commented on July 22, 2024

52800端口是WireGuard端口

from natmap.

heiher avatar heiher commented on July 22, 2024

那就是内核持有的,这的确不支持。

from natmap.

xbins7210 avatar xbins7210 commented on July 22, 2024

WG算是内核持有的端口吧,那是不是如果是openvpn之类的就不存在此类问题了?

from natmap.

heiher avatar heiher commented on July 22, 2024

内核版本大于等于5.6,用户空间进程持有的端口,并且natmap有权限的情况下应该可以。

from natmap.

xbins7210 avatar xbins7210 commented on July 22, 2024

感谢大佬的耐心解答,干杯~~~

from natmap.

Related Issues (20)

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.