Re: icmp and raw sockets on linux

2020-11-27 Thread Bernd Eckenfels
Hello, Good find Jamie, The change for this is from 2010, so it should be in all recent Linux kernels (not sure if this means no fallback is needed - maybe keep the tcp fallback) https://lwn.net/Articles/420800/ BTW the article also,mentions there is a way to do this in MacOS also. Gruss Bern

icmp and raw sockets on linux

2020-11-27 Thread Jamie Le Tual
I'm new to the list and although I have skimmed through the archive and the open bugs to look at discussions about icmp echo for non root users in linux, I didn't see this solution. We are all aware that you need to have root privileges in order to use raw sockets. It recently came to my attention

Re: RFR: 8255477: Remove unused method URL.set(String protocol, String host, int port, String file, String ref)

2020-11-27 Thread Daniel Fuchs
On Thu, 26 Nov 2020 14:48:14 GMT, Daniel Fuchs wrote: >> @dfuch >> Recent run has some errors: >> java/net/MulticastSocket/SetOutgoingIf.java: Re-test IPv6 (and specifically >> MulticastSocket) with latest Linux & USAGI code >> java/net/MulticastSocket/Test.java: IPv4 and IPv6 multicasting brok

Re: RFR: 8255477: Remove unused method URL.set(String protocol, String host, int port, String file, String ref) [v2]

2020-11-27 Thread Daniel Fuchs
On Wed, 25 Nov 2020 08:53:18 GMT, Сергей Цыпанов wrote: >> Hello, while working with `java.net.URL` I've found unused package-private >> method `URL.set(String protocol, String host, int port, String file, String >> ref)` which can be safely removed from JDK. Testing: tier1, tier2 >> >> Could