io.netty.channel.epoll.EpollChannelOption#IP_RECVORIGDSTADDR not working
See original GitHub issueExpected behavior
Remote address as recipient in DatagramPacket
java[9671]: [epollEventLoopGroup-19-1] DEBUG [id: 0xc15eca1c, L:/0.0.0.0:8484] READ: DatagramPacket(/10.40.32.1:57334 => /176.103.130.136:53, PooledUnsafeDirectByteBuf(ridx: 0, widx: 41, cap: 2048)), 41B
Actual behavior
Udp server local address as recipient in DatagramPacket
java[9563]: [epollEventLoopGroup-19-1] DEBUG [id: 0xac9e540e, L:/0.0.0.0:8484] READ: DatagramPacket(/10.40.32.1:59030 => /0.0.0.0:8484, PooledUnsafeDirectByteBuf(ridx: 0, widx: 50, cap: 2048)), 50B
Netty version
Starting with 4.1.61.Final
JVM version (e.g. java -version
)
openjdk version “14.0.1” 2020-04-14 OpenJDK Runtime Environment (build 14.0.1+7-Debian-2buster1) OpenJDK 64-Bit Server VM (build 14.0.1+7-Debian-2buster1, mixed mode, sharing)
OS version (e.g. uname -a
)
Linux 4.19.0-8-cloud-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Netty 4.1.16.Final Could not initialize class io.netty.channel ...
I use brpc(a rpc framework) with netty 4.1.16.Final to create epoll event loop, but see following error: Exception in thread ...
Read more >java.lang.UnsupportedOperationException at io.netty.channel ...
In my system EPOLL is false. When I run the server it is working fine. When I run the client, I get the...
Read more >Native transports - Netty.docs
Because the native transport is not part of the Netty core, you need to pull the netty-transport-native-epoll as a dependency in your Maven...
Read more >Is this netty problem a show stopper? - Google Groups
Found Netty's native epoll transport in the classpath, but epoll is not available ... at io.netty.channel.epoll.Epoll.<clinit>(Epoll.java:30). at java.lang.
Read more >io.netty.channel.epoll.EpollEventLoop - Netty 4.1.72.Final 源码
15 */ 16 package io.netty.channel.epoll; 17 18 import io.netty.channel. ... 467 // See https://github.com/netty/netty/issues/3848 468 if ((ev & (Native.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@normanmaurer it works, thank you
@abezhovets https://drive.google.com/file/d/1wFKW52qPW89_2mshTbPvHY7EkrgSCIEo/view?usp=sharing please report back