Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #39648
| From | Knute Johnson <knute2020@585ranch.com> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: InetAddress.isReachable() ? |
| Date | 2020-11-01 10:30 -0600 |
| Organization | A noiseless patient Spider |
| Message-ID | <rnmnrt$bo9$1@dont-email.me> (permalink) |
| References | (3 earlier) <rmvsjs$1h20$1@gioia.aioe.org> <rmvt2a$nt2$1@dont-email.me> <rn144s$bq6$1@dont-email.me> <rnf8co$5ph$1@dont-email.me> <rnfrau$1htm$1@gioia.aioe.org> |
On 10/29/20 8:47 PM, Arne Vajhøj wrote: > On 10/29/2020 4:23 PM, Knute Johnson wrote: >> I'm not sure why Java has the privilege issue with >> InetAddress.isReachable() but it does. > > Someone thought that use of ICMP in Linux should > require privs. > > The ping executable is rws while the java > executable is rwx. > > Arne > > OK, so that got me curious and I checked on my Xubuntu box that I was using when writing this program and found this: /usr/bin$ ls -al ping -rwxr-xr-x 1 root root 72776 Jan 30 2020 ping But then for fun I looked on my RaspberryPi and found: ~ $ ls -al /bin/ping -rwsr-xr-x 1 root root 55720 Jan 13 2020 /bin/ping The Buntus are usually fairly lax in some of their settings but I thought this was interesting. Useless but interesting.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
InetAddress.isReachable() ? Knute Johnson <knute2020@585ranch.com> - 2020-10-23 11:50 -0500
Re: InetAddress.isReachable() ? Arne Vajhøj <arne@vajhoej.dk> - 2020-10-23 13:14 -0400
Re: InetAddress.isReachable() ? Knute Johnson <knute2020@585ranch.com> - 2020-10-23 18:10 -0500
Re: InetAddress.isReachable() ? Arne Vajhøj <arne@vajhoej.dk> - 2020-10-23 20:30 -0400
Re: InetAddress.isReachable() ? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2020-10-23 19:38 -0500
Re: InetAddress.isReachable() ? Martin Gregorie <martin@mydomain.invalid> - 2020-10-24 11:45 +0000
Re: InetAddress.isReachable() ? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2020-10-29 15:23 -0500
Re: InetAddress.isReachable() ? Martin Gregorie <martin@mydomain.invalid> - 2020-10-29 21:36 +0000
Re: InetAddress.isReachable() ? Arne Vajhøj <arne@vajhoej.dk> - 2020-10-29 21:47 -0400
Re: InetAddress.isReachable() ? Knute Johnson <knute2020@585ranch.com> - 2020-11-01 10:30 -0600
csiph-web