Java's 'tnameserv' takes 3+ minutes to be “Ready”, why?

前端 未结 3 692
醉话见心
醉话见心 2021-01-06 14:21

I\'m trying to help a dev of an app I\'d like to use trouble shoot a problem utilizing Corba Server on Linux. I narrowed down the problem to tnameserv taking o

3条回答
  •  [愿得一人]
    2021-01-06 14:45

    Turns out the problem was a firewall issue. Wireshark didn't show anything useful because the firewall was dropping a certain packet. Although I looked at my firewall logs quite a few times to make sure this wasn't the case, turns out I wasn't looking in the right place. I overlooked the fact that this 'tnameserv' was IPv6 aware (as it was binding to :::23423) and a cursory glance of my firewall script showed that I was logging IPv6 related packets to a different location than my IPv4 packets. This was not an oversight but had to be done because ip6tables does not currently support the -j ULOG target.

    Long story short, allowing loopback for IPv6 fixed the issue and 'tnameserv' returns "Ready" almost instantly.

提交回复
热议问题