Bug 170244 - ping(8): useless/uninformative error message
Summary: ping(8): useless/uninformative error message
Status: Closed Works As Intended
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 9.1-PRERELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-net (Nobody)
URL:
Keywords:
: 170243 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-07-29 06:40 UTC by kes-kes
Modified: 2020-02-11 02:41 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kes-kes 2012-07-29 06:40:01 UTC
'ping: sendto: Invalid argument' says nothing about what is wrong and how to repair this problem.

As you can see GW is pining, but IP behind GW is not pinging from this server.
that IP (10.11.6.1) is UP and pinging from other servers except this one.


# ping 10.11.6.1
PING 10.11.6.1 (10.11.6.1): 56 data bytes
ping: sendto: Invalid argument
ping: sendto: Invalid argument
ping: sendto: Invalid argument
ping: sendto: Invalid argument
^C
--- 10.11.6.1 ping statistics ---
4 packets transmitted, 0 packets received, 100.0% packet loss
# ping 10.11.19.54
PING 10.11.19.54 (10.11.19.54): 56 data bytes
64 bytes from 10.11.19.54: icmp_seq=0 ttl=64 time=0.107 ms
^C
--- 10.11.19.54 ping statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.107/0.107/0.107/0.000 ms
# ping ya.ru
PING ya.ru (213.180.204.3): 56 data bytes
64 bytes from 213.180.204.3: icmp_seq=0 ttl=56 time=29.896 ms
64 bytes from 213.180.204.3: icmp_seq=1 ttl=56 time=29.689 ms
64 bytes from 213.180.204.3: icmp_seq=2 ttl=56 time=29.530 ms
^C
--- ya.ru ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 29.530/29.705/29.896/0.150 ms
# ping ya.ru
PING ya.ru (213.180.193.3): 56 data bytes
64 bytes from 213.180.193.3: icmp_seq=0 ttl=55 time=31.971 ms
64 bytes from 213.180.193.3: icmp_seq=1 ttl=55 time=32.150 ms
^C
--- ya.ru ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 31.971/32.060/32.150/0.090 ms
root@newflux:/etc # ping 10.11.6.1
PING 10.11.6.1 (10.11.6.1): 56 data bytes
ping: sendto: Invalid argument
^C
--- 10.11.6.1 ping statistics ---
1 packets transmitted, 0 packets received, 100.0% packet loss
 # ping 10.11.19.52
PING 10.11.19.52 (10.11.19.52): 56 data bytes
64 bytes from 10.11.19.52: icmp_seq=0 ttl=63 time=0.562 ms
64 bytes from 10.11.19.52: icmp_seq=1 ttl=63 time=42.119 ms
^C
--- 10.11.19.52 ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.562/21.340/42.119/20.779 ms

# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: icmp_seq=0 ttl=49 time=41.073 ms
64 bytes from 8.8.8.8: icmp_seq=1 ttl=49 time=41.024 ms
^C
--- 8.8.8.8 ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 41.024/41.049/41.073/0.024 ms
# ping 10.5.0.33
PING 10.5.0.33 (10.5.0.33): 56 data bytes
64 bytes from 10.5.0.33: icmp_seq=0 ttl=64 time=0.152 ms
64 bytes from 10.5.0.33: icmp_seq=1 ttl=64 time=0.114 ms
^C
--- 10.5.0.33 ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.114/0.133/0.152/0.019 ms
# ping 10.10.1.40
PING 10.10.1.40 (10.10.1.40): 56 data bytes
ping: sendto: Invalid argument
ping: sendto: Invalid argument
^C
--- 10.10.1.40 ping statistics ---
2 packets transmitted, 0 packets received, 100.0% packet loss
#

# netstat -nr
default            X.X.X.X            UG1         0       93 vlan40
10.0.0.0/8         10.5.0.33          UGS         0       13 vlan40
10.5.0.0/24        10.7.26.2          UGS         0        0 vlan74
10.5.0.17          link#10            UH          0        6    lo0
10.5.0.18          link#10            UH          0        0    lo0 =>
10.5.0.18/32       10.11.19.54        UGS         0        0 vlan40
10.5.0.32/27       link#54            U           0     4608 vlan40
10.5.0.37          link#54            UHS         1       89    lo0
10.10.0.0/16       10.11.19.50        UGS         0       16 vlan40
10.10.15.0/24      10.11.19.52        UGS         0        0 vlan40
10.11.6.0/23       10.11.19.52        UGS         0        5 vlan40
10.11.16.0/24      10.11.19.50        UGS         0        0 vlan40
10.11.19.248/29    10.11.19.52        UGS         0        0 vlan40
10.11.21.0/24      10.11.19.52        UGS         0        0 vlan40

what infomation additionally I need to "dump" that it will sufficient to rosolve this problem?
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:27 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 2 Andriy Voskoboinyk freebsd_committer 2019-02-20 09:57:57 UTC
*** Bug 170243 has been marked as a duplicate of this bug. ***
Comment 3 Rodney W. Grimes freebsd_committer 2019-02-20 16:49:48 UTC
Could you run the failing ping with truss so we can see what syscall is returning the error and perhaps figure out why this is.

truss ping -c 1 10.11.6.1
Comment 4 Evan Hillman 2020-02-10 01:15:19 UTC
I believe I am seeing the same thing.

root@FreeNas[~]# ping google.com
PING google.com (216.58.195.78): 56 data bytes
ping: sendto: Invalid argument
ping: sendto: Invalid argument
ping: sendto: Invalid argument
^C


root@FreeNas[~]# netstat -nr
Routing tables

Internet:
Destination        Gateway            Flags     Netif Expire
default            192.168.0.1        UGS        igb0
127.0.0.1          link#3             UH          lo0
192.168.0.0/24     link#1             U          igb0
192.168.0.1/32     192.168.0.1        UGS        igb0
192.168.0.10       link#1             UHS         lo0

Internet6:
Destination                       Gateway                       Flags     NetifExpire
::/96                             ::1                           UGRS        lo0
::1                               link#3                        UH          lo0
::ffff:0.0.0.0/96                 ::1                           UGRS        lo0
fe80::/10                         ::1                           UGRS        lo0
fe80::%lo0/64                     link#3                        U           lo0
fe80::1%lo0                       link#3                        UHS         lo0
ff02::/16                         ::1                           UGRS        lo0



root@FreeNas[~]# truss ping -c google.com
mmap(0x0,32768,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34366193664 (0x800628000)
issetugid()                                      = 0 (0x0)
openat(AT_FDCWD,"/etc/libmap.conf",O_RDONLY|O_CLOEXEC,00) = 3 (0x3)
fstat(3,{ mode=-rw-r--r-- ,inode=166,size=47,blksize=4096 }) = 0 (0x0)
mmap(0x0,47,PROT_READ,MAP_PRIVATE,3,0x0)         = 34366226432 (0x800630000)
close(3)                                         = 0 (0x0)
open("/usr/local/etc/libmap.d",O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,0165) ERR#2 'No such file or directory'
munmap(0x800630000,47)                           = 0 (0x0)
openat(AT_FDCWD,"/var/run/ld-elf.so.hints",O_RDONLY|O_CLOEXEC,00) = 3 (0x3)
read(3,"Ehnt\^A\0\0\0\M^@\0\0\0\M^T\0\0"...,128) = 128 (0x80)
fstat(3,{ mode=-r--r--r-- ,inode=288,size=276,blksize=4096 }) = 0 (0x0)
pread(3,"/lib:/usr/lib:/usr/lib/compat:/u"...,148,0x80) = 148 (0x94)
close(3)                                         = 0 (0x0)
openat(AT_FDCWD,"/lib/libm.so.5",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=4610,size=196896,blksize=131072 }) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 34366226432 (0x800630000)
mmap(0x0,2293760,PROT_NONE,MAP_GUARD,-1,0x0)     = 34368299008 (0x80082a000)
mmap(0x80082a000,192512,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 34368299008 (0x80082a000)
mmap(0x800a59000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x2f000) = 34370588672 (0x800a59000)
munmap(0x800630000,4096)                         = 0 (0x0)
close(3)                                         = 0 (0x0)
openat(AT_FDCWD,"/lib/libcasper.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=4578,size=22008,blksize=22016 }) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 34366226432 (0x800630000)
mmap(0x0,2117632,PROT_NONE,MAP_GUARD,-1,0x0)     = 34370592768 (0x800a5a000)
mmap(0x800a5a000,20480,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 34370592768 (0x800a5a000)
mmap(0x800c5e000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x4000) = 34372706304 (0x800c5e000)
munmap(0x800630000,4096)                         = 0 (0x0)
close(3)                                         = 0 (0x0)
openat(AT_FDCWD,"/lib/libcap_dns.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory'
openat(AT_FDCWD,"/usr/lib/libcap_dns.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory'
openat(AT_FDCWD,"/usr/lib/compat/libcap_dns.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory'
openat(AT_FDCWD,"/usr/local/lib/libcap_dns.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory'
openat(AT_FDCWD,"/usr/local/lib/e2fsprogs/libcap_dns.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory'
openat(AT_FDCWD,"/usr/local/lib/gcc9/libcap_dns.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory'
openat(AT_FDCWD,"/usr/local/lib/perl5/5.30/mach/CORE/libcap_dns.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory'
openat(AT_FDCWD,"/usr/local/lib/samba4/libcap_dns.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory'
openat(AT_FDCWD,"/lib/casper/libcap_dns.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) =3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=4501,size=16680,blksize=16896 }) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 34366226432 (0x800630000)
mmap(0x0,2113536,PROT_NONE,MAP_GUARD,-1,0x0)     = 34372710400 (0x800c5f000)
mmap(0x800c5f000,16384,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 34372710400 (0x800c5f000)
mmap(0x800e62000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x3000) = 34374819840 (0x800e62000)
munmap(0x800630000,4096)                         = 0 (0x0)
close(3)                                         = 0 (0x0)
openat(AT_FDCWD,"/lib/libipsec.so.4",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=4602,size=32296,blksize=32768 }) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 34366226432 (0x800630000)
mmap(0x0,2129920,PROT_NONE,MAP_GUARD,-1,0x0)     = 34374823936 (0x800e63000)
mmap(0x800e63000,32768,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 34374823936 (0x800e63000)
mmap(0x80106a000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x7000) = 34376949760 (0x80106a000)
munmap(0x800630000,4096)                         = 0 (0x0)
close(3)                                         = 0 (0x0)
openat(AT_FDCWD,"/lib/libc.so.7",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=4574,size=1675872,blksize=131072 }) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 34366226432 (0x800630000)
mmap(0x0,3870720,PROT_NONE,MAP_GUARD,-1,0x0)     = 34376953856 (0x80106b000)
mmap(0x80106b000,1626112,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 34376953856 (0x80106b000)
mmap(0x8013f7000,49152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x18c000) = 34380673024 (0x8013f7000)
mmap(0x801403000,102400,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) = 34380722176 (0x801403000)
munmap(0x800630000,4096)                         = 0 (0x0)
close(3)                                         = 0 (0x0)
openat(AT_FDCWD,"/lib/libnv.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=4622,size=91296,blksize=91648 }) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 34366226432 (0x800630000)
mmap(0x0,2187264,PROT_NONE,MAP_GUARD,-1,0x0)     = 34380824576 (0x80141c000)
mmap(0x80141c000,90112,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 34380824576 (0x80141c000)
mmap(0x801631000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x15000) = 34383007744 (0x801631000)
munmap(0x800630000,4096)                         = 0 (0x0)
close(3)                                         = 0 (0x0)
mmap(0x0,36864,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34366226432 (0x800630000)
munmap(0x800634000,20480)                        = 0 (0x0)
mmap(0x0,102400,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34366242816(0x800634000)
sysarch(AMD64_SET_FSBASE,0x7fffffffe140)         = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
readlink("/etc/malloc.conf",0x7fffffffd830,1024) ERR#2 'No such file or directory'
issetugid()                                      = 0 (0x0)
__sysctl(0x7fffffffd6d0,0x2,0x7fffffffd720,0x7fffffffd718,0x8011c392b,0xd) = 0 (0x0)
__sysctl(0x7fffffffd720,0x2,0x7fffffffd7e4,0x7fffffffd7d8,0x0,0x0) = 0 (0x0)
mmap(0x0,2097152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34383011840 (0x801632000)
munmap(0x801632000,2097152)                      = 0 (0x0)
mmap(0x0,4190208,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34383011840 (0x801632000)
munmap(0x801632000,1892352)                      = 0 (0x0)
munmap(0x801a00000,200704)                       = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
mmap(0x0,2097152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34387001344 (0x801a00000)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
socket(PF_INET,SOCK_RAW,IPPROTO_ICMP)            = 3 (0x3)
socket(PF_INET,SOCK_RAW,IPPROTO_ICMP)            = 4 (0x4)
getuid()                                         = 0 (0x0)
setuid(0x0)                                      = 0 (0x0)
getuid()                                         = 0 (0x0)
ping: write(2,"ping: ",6)                                = 6 (0x6)
invalid count of packets to transmit: `google.com'write(2,"invalid count of packets to tran"...,50) = 50 (0x32)

write(2,"\n",1)                                  = 1 (0x1)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
exit(0x40)
process exit, rval = 64



Hope this helps!  I'm running FreeNas 11.3 on a SuperMicro server. My original problem was being unable to send email alerts to my google email account.  It used to work.  I'm not aware of any changes I have made that would impact this.

-Evan
Comment 5 Eugene Grosbein freebsd_committer 2020-02-10 06:50:28 UTC
(In reply to Evan Hillman from comment #4)

"ping -c" requires numeric argument, please correct and re-test.
Comment 6 Evan Hillman 2020-02-10 15:58:37 UTC
(In reply to Eugene Grosbein from comment #5)

I'm confused. I have never used ping -c in my life.  It is a nice thing to know, though.  So I'll assume that you are asking me to start over with "ping -c google.com" instead of "ping google.com". I'll also try 216.58.194.174 in addition to the words.
Comment 7 Eugene Grosbein freebsd_committer 2020-02-10 16:22:30 UTC
(In reply to Evan Hillman from comment #6)

The comment #6 shows (unsuccessfull) result of "ping -c":

> root@FreeNas[~]# truss ping -c google.com

Note that FreeBSD's option processing is strict and you must place programm's options before non-optional agruments, not after. So "truss -c ping ... " gives flag -c to truss but "truss ping -c" gives flag -c to ping.
Comment 8 Eugene Grosbein freebsd_committer 2020-02-10 16:23:20 UTC
> The comment #6 shows (unsuccessfull) result of "ping -c":

Sorry, the comment #4.
Comment 9 Evan Hillman 2020-02-10 21:02:14 UTC
root@FreeNas[~]#
root@FreeNas[~]#
root@FreeNas[~]#
root@FreeNas[~]#
root@FreeNas[~]#
root@FreeNas[~]# truss  ping -c 1 10.11.6.1
mmap(0x0,32768,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34366193664 (0x800628000)
issetugid()                                      = 0 (0x0)
openat(AT_FDCWD,"/etc/libmap.conf",O_RDONLY|O_CLOEXEC,00) = 3 (0x3)
fstat(3,{ mode=-rw-r--r-- ,inode=166,size=47,blksize=4096 }) = 0 (0x0)
mmap(0x0,47,PROT_READ,MAP_PRIVATE,3,0x0)         = 34366226432 (0x800630000)
close(3)                                         = 0 (0x0)
open("/usr/local/etc/libmap.d",O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,0165) ERR#2 'No such file or directory'
munmap(0x800630000,47)                           = 0 (0x0)
openat(AT_FDCWD,"/var/run/ld-elf.so.hints",O_RDONLY|O_CLOEXEC,00) = 3 (0x3)
read(3,"Ehnt\^A\0\0\0\M^@\0\0\0\M^T\0\0"...,128) = 128 (0x80)
fstat(3,{ mode=-r--r--r-- ,inode=288,size=276,blksize=4096 }) = 0 (0x0)
pread(3,"/lib:/usr/lib:/usr/lib/compat:/u"...,148,0x80) = 148 (0x94)
close(3)                                         = 0 (0x0)
openat(AT_FDCWD,"/lib/libm.so.5",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=4610,size=196896,blksize=131072 }) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 34366226432 (0x800630000)
mmap(0x0,2293760,PROT_NONE,MAP_GUARD,-1,0x0)     = 34368299008 (0x80082a000)
mmap(0x80082a000,192512,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 34368299008 (0x80082a000)
mmap(0x800a59000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x2f000) = 34370588672 (0x800a59000)
munmap(0x800630000,4096)                         = 0 (0x0)
close(3)                                         = 0 (0x0)
openat(AT_FDCWD,"/lib/libcasper.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=4578,size=22008,blksize=22016 }) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 34366226432 (0x800630000)
mmap(0x0,2117632,PROT_NONE,MAP_GUARD,-1,0x0)     = 34370592768 (0x800a5a000)
mmap(0x800a5a000,20480,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 34370592768 (0x800a5a000)
mmap(0x800c5e000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x4000) = 34372706304 (0x800c5e000)
munmap(0x800630000,4096)                         = 0 (0x0)
close(3)                                         = 0 (0x0)
openat(AT_FDCWD,"/lib/libcap_dns.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory'
openat(AT_FDCWD,"/usr/lib/libcap_dns.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory'
openat(AT_FDCWD,"/usr/lib/compat/libcap_dns.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory'
openat(AT_FDCWD,"/usr/local/lib/libcap_dns.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory'
openat(AT_FDCWD,"/usr/local/lib/e2fsprogs/libcap_dns.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory'
openat(AT_FDCWD,"/usr/local/lib/gcc9/libcap_dns.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory'
openat(AT_FDCWD,"/usr/local/lib/perl5/5.30/mach/CORE/libcap_dns.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory'
openat(AT_FDCWD,"/usr/local/lib/samba4/libcap_dns.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory'
openat(AT_FDCWD,"/lib/casper/libcap_dns.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) =3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=4501,size=16680,blksize=16896 }) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 34366226432 (0x800630000)
mmap(0x0,2113536,PROT_NONE,MAP_GUARD,-1,0x0)     = 34372710400 (0x800c5f000)
mmap(0x800c5f000,16384,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 34372710400 (0x800c5f000)
mmap(0x800e62000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x3000) = 34374819840 (0x800e62000)
munmap(0x800630000,4096)                         = 0 (0x0)
close(3)                                         = 0 (0x0)
openat(AT_FDCWD,"/lib/libipsec.so.4",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=4602,size=32296,blksize=32768 }) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 34366226432 (0x800630000)
mmap(0x0,2129920,PROT_NONE,MAP_GUARD,-1,0x0)     = 34374823936 (0x800e63000)
mmap(0x800e63000,32768,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 34374823936 (0x800e63000)
mmap(0x80106a000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x7000) = 34376949760 (0x80106a000)
munmap(0x800630000,4096)                         = 0 (0x0)
close(3)                                         = 0 (0x0)
openat(AT_FDCWD,"/lib/libc.so.7",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=4574,size=1675872,blksize=131072 }) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 34366226432 (0x800630000)
mmap(0x0,3870720,PROT_NONE,MAP_GUARD,-1,0x0)     = 34376953856 (0x80106b000)
mmap(0x80106b000,1626112,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 34376953856 (0x80106b000)
mmap(0x8013f7000,49152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x18c000) = 34380673024 (0x8013f7000)
mmap(0x801403000,102400,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) = 34380722176 (0x801403000)
munmap(0x800630000,4096)                         = 0 (0x0)
close(3)                                         = 0 (0x0)
openat(AT_FDCWD,"/lib/libnv.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=4622,size=91296,blksize=91648 }) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 34366226432 (0x800630000)
mmap(0x0,2187264,PROT_NONE,MAP_GUARD,-1,0x0)     = 34380824576 (0x80141c000)
mmap(0x80141c000,90112,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 34380824576 (0x80141c000)
mmap(0x801631000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x15000) = 34383007744 (0x801631000)
munmap(0x800630000,4096)                         = 0 (0x0)
close(3)                                         = 0 (0x0)
mmap(0x0,36864,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34366226432 (0x800630000)
munmap(0x800634000,20480)                        = 0 (0x0)
mmap(0x0,102400,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34366242816(0x800634000)
sysarch(AMD64_SET_FSBASE,0x7fffffffe140)         = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
readlink("/etc/malloc.conf",0x7fffffffd830,1024) ERR#2 'No such file or directory'
issetugid()                                      = 0 (0x0)
__sysctl(0x7fffffffd6d0,0x2,0x7fffffffd720,0x7fffffffd718,0x8011c392b,0xd) = 0 (0x0)
__sysctl(0x7fffffffd720,0x2,0x7fffffffd7e4,0x7fffffffd7d8,0x0,0x0) = 0 (0x0)
mmap(0x0,2097152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34383011840 (0x801632000)
munmap(0x801632000,2097152)                      = 0 (0x0)
mmap(0x0,4190208,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34383011840 (0x801632000)
munmap(0x801632000,1892352)                      = 0 (0x0)
munmap(0x801a00000,200704)                       = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
mmap(0x0,2097152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34387001344 (0x801a00000)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
socket(PF_INET,SOCK_RAW,IPPROTO_ICMP)            = 3 (0x3)
socket(PF_INET,SOCK_RAW,IPPROTO_ICMP)            = 4 (0x4)
getuid()                                         = 0 (0x0)
setuid(0x0)                                      = 0 (0x0)
getuid()                                         = 0 (0x0)
socketpair(0x1,0x20000001,0x0,0x7ffffffee6f8)    = 0 (0x0)
pdfork(0x7ffffffee6f4,0x0)                       = 25180 (0x625c)
close(6)                                         = 0 (0x0)
fcntl(5,F_GETFL,)                                = 6 (0x6)
fcntl(7,F_GETFL,)                                = 2 (0x2)
select(6,0x0,{ 5 },0x0,0x0)                      = 1 (0x1)
sendto(5,"l\0\0\0\0\0\0\0\0\0\0B\0\0\0\0\0"...,85,0,NULL,0) = 85 (0x55)
select(6,{ 5 },0x0,0x0,0x0)                      = 1 (0x1)
recvfrom(5,"l\0\0\^A\0\0\0\0\0\0\0C\0\0\0\0"...,19,0,NULL,0x0) = 19 (0x13)
select(6,{ 5 },0x0,0x0,0x0)                      = 1 (0x1)
recvfrom(5,"\^F\a\0\b\0\0\0\0\0\0\0\0\0\0\0"...,67,0,NULL,0x0) = 67 (0x43)
select(6,{ 5 },0x0,0x0,0x0)                      = 1 (0x1)
recvmsg(5,{NULL,0,[{"\0",1}],1,{{level=SOL_SOCKET,type=SCM_RIGHTS,data={0x06,0x00,0x00,0x00}}},24,0x40000},0x40000) = 1 (0x1)
fcntl(6,F_GETFL,)                                = 6 (0x6)
close(7)                                         = 0 (0x0)
close(5)                                         = 0 (0x0)
select(7,0x0,{ 6 },0x0,0x0)                      = 1 (0x1)
sendto(6,"l\0\0\0\0\0\0\0\0\0\0!\0\0\0\0\0"...,52,0,NULL,0) = 52 (0x34)
select(7,{ 6 },0x0,0x0,0x0)                      = 1 (0x1)
recvfrom(6,"l\0\0\0\0\0\0\0\0\0\0;\0\0\0\0\0"...,19,0,NULL,0x0) = 19 (0x13)
select(7,{ 6 },0x0,0x0,0x0)                      = 1 (0x1)
recvfrom(6,"\^A\a\0\0\0\0\0\0\0\0\0\0\0\0\0"...,59,0,NULL,0x0) = 59 (0x3b)
select(7,0x0,{ 6 },0x0,0x0)                      = 1 (0x1)
sendto(6,"l\0\0\0\0\0\0\0\0\0\0\M^^\0\0\0"...,177,0,NULL,0) = 177 (0xb1)
select(7,{ 6 },0x0,0x0,0x0)                      = 1 (0x1)
recvfrom(6,"l\0\0\0\0\0\0\0\0\0\0!\0\0\0\0\0"...,19,0,NULL,0x0) = 19 (0x13)
select(7,{ 6 },0x0,0x0,0x0)                      = 1 (0x1)
recvfrom(6,"\^C\^F\0\b\0\0\0\0\0\0\0\0\0\0\0"...,33,0,NULL,0x0) = 33 (0x21)
select(7,0x0,{ 6 },0x0,0x0)                      = 1 (0x1)
sendto(6,"l\0\0\0\0\0\0\0\0\0\0!\0\0\0\0\0"...,52,0,NULL,0) = 52 (0x34)
select(7,{ 6 },0x0,0x0,0x0)                      = 1 (0x1)
recvfrom(6,"l\0\0\0\0\0\0\0\0\0\0\M^^\0\0\0"...,19,0,NULL,0x0) = 19 (0x13)
select(7,{ 6 },0x0,0x0,0x0)                      = 1 (0x1)
recvfrom(6,"\^E\a\0p\0\0\0\0\0\0\0\0\0\0\0\0"...,158,0,NULL,0x0) = 158 (0x9e)
select(7,0x0,{ 6 },0x0,0x0)                      = 1 (0x1)
sendto(6,"l\0\0\0\0\0\0\0\0\0\0\M-A\0\0\0"...,212,0,NULL,0) = 212 (0xd4)
select(7,{ 6 },0x0,0x0,0x0)                      = 1 (0x1)
recvfrom(6,"l\0\0\0\0\0\0\0\0\0\0!\0\0\0\0\0"...,19,0,NULL,0x0) = 19 (0x13)
select(7,{ 6 },0x0,0x0,0x0)                      = 1 (0x1)
recvfrom(6,"\^C\^F\0\b\0\0\0\0\0\0\0\0\0\0\0"...,33,0,NULL,0x0) = 33 (0x21)
select(7,0x0,{ 6 },0x0,0x0)                      = 1 (0x1)
sendto(6,"l\0\0\0\0\0\0\0\0\0\0!\0\0\0\0\0"...,52,0,NULL,0) = 52 (0x34)
select(7,{ 6 },0x0,0x0,0x0)                      = 1 (0x1)
recvfrom(6,"l\0\0\0\0\0\0\0\0\0\0\M-A\0\0\0"...,19,0,NULL,0x0) = 19 (0x13)
select(7,{ 6 },0x0,0x0,0x0)                      = 1 (0x1)
recvfrom(6,"\^E\a\0\M^S\0\0\0\0\0\0\0\0\0\0"...,193,0,NULL,0x0) = 193 (0xc1)
select(7,0x0,{ 6 },0x0,0x0)                      = 1 (0x1)
sendto(6,"l\0\0\0\0\0\0\0\0\0\0\M-#\0\0\0"...,182,0,NULL,0) = 182 (0xb6)
select(7,{ 6 },0x0,0x0,0x0)                      = 1 (0x1)
recvfrom(6,"l\0\0\0\0\0\0\0\0\0\0!\0\0\0\0\0"...,19,0,NULL,0x0) = 19 (0x13)
select(7,{ 6 },0x0,0x0,0x0)                      = 1 (0x1)
recvfrom(6,"\^C\^F\0\b\0\0\0\0\0\0\0\0\0\0\0"...,33,0,NULL,0x0) = 33 (0x21)
connect(3,{ AF_INET 10.11.6.1:0 },16)            = 0 (0x0)
getpid()                                         = 25179 (0x625b)
cap_enter()                                      = 0 (0x0)
cap_rights_limit(4,{ CAP_READ,CAP_SETSOCKOPT,CAP_EVENT }) = 0 (0x0)
cap_rights_limit(3,{ CAP_WRITE,CAP_SETSOCKOPT }) = 0 (0x0)
setsockopt(4,SOL_SOCKET,SO_TIMESTAMP,0x7ffffffee730,4) = 0 (0x0)
setsockopt(4,SOL_SOCKET,SO_RCVBUF,0x7fffffffeb80,4) = 0 (0x0)
cap_rights_limit(4,{ CAP_READ,CAP_EVENT })       = 0 (0x0)
setsockopt(3,SOL_SOCKET,SO_SNDBUF,0x7fffffffeb80,4) = 0 (0x0)
cap_rights_limit(3,{ CAP_WRITE })                = 0 (0x0)
fstat(1,{ mode=crw--w---- ,inode=299,size=0,blksize=4096 }) = 0 (0x0)
ioctl(1,TIOCGETA,0x7ffffffee120)                 = 0 (0x0)
PING 10.11.6.1 (10.11.6.1): 56 data bytes
write(1,"PING 10.11.6.1 (10.11.6.1): 56 d"...,42) = 42 (0x2a)
sigaction(SIGINT,{ 0x404b50 0x0 ss_t },0x0)      = 0 (0x0)
sigaction(SIGINFO,{ 0x404b90 0x0 ss_t },0x0)     = 0 (0x0)
sendto(3,"\b\0\\\M^N[b\0\0^A\M-C\M-u\0\^A2"...,64,0,NULL,0) ERR#22 'Invalid argument'
ping: write(2,"ping: ",6)                                = 6 (0x6)
sendtowrite(2,"sendto",6)                                = 6 (0x6)
: write(2,": ",2)                                        = 2 (0x2)
Invalid argument
write(2,"Invalid argument\n",17)                 = 17 (0x11)
select(5,{ 4 },0x0,0x0,{ 1.000000 })             = 0 (0x0)
select(5,{ 4 },0x0,0x0,{ 10.000000 })            = 0 (0x0)
sigaction(SIGINT,{ SIG_IGN SA_RESTART ss_t },{ 0x404b50 0x0 ss_t }) = 0 (0x0)
sigaction(SIGALRM,{ SIG_IGN SA_RESTART ss_t },{ SIG_DFL 0x0 ss_t }) = 0 (0x0)

write(1,"\n",1)                                  = 1 (0x1)
--- 10.11.6.1 ping statistics ---
write(1,"--- 10.11.6.1 ping statistics --"...,34) = 34 (0x22)
1 packets transmitted, 0 packets received, 100.0% packet loss
write(1,"1 packets transmitted, 0 packets"...,62) = 62 (0x3e)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{
Comment 10 Evan Hillman 2020-02-10 21:14:53 UTC
Ok, I noticed the last part of the ping results are truncated.  I can't get it cut and pasted no matter how many times I try.  Working on it....


-Evan
Comment 11 Evan Hillman 2020-02-10 22:49:39 UTC
Ok! Apparently, in FreeNas the shell windows doesn't line up well with text highlighted by the mouse. I was looking for something complicated to be the problem.
 
Here is the ending of the output:

--- 10.11.6.1 ping statistics ---
write(1,"--- 10.11.6.1 ping statistics --"...,34) = 34 (0x22)
1 packets transmitted, 0 packets received, 100.0% packet loss
write(1,"1 packets transmitted, 0 packets"...,62) = 62 (0x3e)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
exit(0x2)
process exit, rval = 2
root@FreeNas[~]#
root@FreeNas[~]#
Comment 12 Evan Hillman 2020-02-10 22:55:13 UTC
And here is the google.com version.

root@FreeNas[~]# truss  ping -c 1 google.com
mmap(0x0,32768,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34366193664 (0x800628000)
issetugid()                                      = 0 (0x0)
openat(AT_FDCWD,"/etc/libmap.conf",O_RDONLY|O_CLOEXEC,00) = 3 (0x3)
fstat(3,{ mode=-rw-r--r-- ,inode=166,size=47,blksize=4096 }) = 0 (0x0)
mmap(0x0,47,PROT_READ,MAP_PRIVATE,3,0x0)         = 34366226432 (0x800630000)
close(3)                                         = 0 (0x0)
open("/usr/local/etc/libmap.d",O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,0165) ERR#2 'No such file or directory'
munmap(0x800630000,47)                           = 0 (0x0)
openat(AT_FDCWD,"/var/run/ld-elf.so.hints",O_RDONLY|O_CLOEXEC,00) = 3 (0x3)
read(3,"Ehnt\^A\0\0\0\M^@\0\0\0\M^T\0\0"...,128) = 128 (0x80)
fstat(3,{ mode=-r--r--r-- ,inode=288,size=276,blksize=4096 }) = 0 (0x0)
pread(3,"/lib:/usr/lib:/usr/lib/compat:/u"...,148,0x80) = 148 (0x94)
close(3)                                         = 0 (0x0)
openat(AT_FDCWD,"/lib/libm.so.5",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=4610,size=196896,blksize=131072 }) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 34366226432 (0x800630000)
mmap(0x0,2293760,PROT_NONE,MAP_GUARD,-1,0x0)     = 34368299008 (0x80082a000)
mmap(0x80082a000,192512,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 34368299008 (0x80082a000)
mmap(0x800a59000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x2f000) = 34370588672 (0x800a59000)
munmap(0x800630000,4096)                         = 0 (0x0)
close(3)                                         = 0 (0x0)
openat(AT_FDCWD,"/lib/libcasper.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=4578,size=22008,blksize=22016 }) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 34366226432 (0x800630000)
mmap(0x0,2117632,PROT_NONE,MAP_GUARD,-1,0x0)     = 34370592768 (0x800a5a000)
mmap(0x800a5a000,20480,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 34370592768 (0x800a5a000)
mmap(0x800c5e000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x4000) = 34372706304 (0x800c5e000)
munmap(0x800630000,4096)                         = 0 (0x0)
close(3)                                         = 0 (0x0)
openat(AT_FDCWD,"/lib/libcap_dns.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory'
openat(AT_FDCWD,"/usr/lib/libcap_dns.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory'
openat(AT_FDCWD,"/usr/lib/compat/libcap_dns.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory'
openat(AT_FDCWD,"/usr/local/lib/libcap_dns.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory'
openat(AT_FDCWD,"/usr/local/lib/e2fsprogs/libcap_dns.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory'
openat(AT_FDCWD,"/usr/local/lib/gcc9/libcap_dns.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory'
openat(AT_FDCWD,"/usr/local/lib/perl5/5.30/mach/CORE/libcap_dns.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory'
openat(AT_FDCWD,"/usr/local/lib/samba4/libcap_dns.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory'
openat(AT_FDCWD,"/lib/casper/libcap_dns.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) =3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=4501,size=16680,blksize=16896 }) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 34366226432 (0x800630000)
mmap(0x0,2113536,PROT_NONE,MAP_GUARD,-1,0x0)     = 34372710400 (0x800c5f000)
mmap(0x800c5f000,16384,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 34372710400 (0x800c5f000)
mmap(0x800e62000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x3000) = 34374819840 (0x800e62000)
munmap(0x800630000,4096)                         = 0 (0x0)
close(3)                                         = 0 (0x0)
openat(AT_FDCWD,"/lib/libipsec.so.4",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=4602,size=32296,blksize=32768 }) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 34366226432 (0x800630000)
mmap(0x0,2129920,PROT_NONE,MAP_GUARD,-1,0x0)     = 34374823936 (0x800e63000)
mmap(0x800e63000,32768,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 34374823936 (0x800e63000)
mmap(0x80106a000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x7000) = 34376949760 (0x80106a000)
munmap(0x800630000,4096)                         = 0 (0x0)
close(3)                                         = 0 (0x0)
openat(AT_FDCWD,"/lib/libc.so.7",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=4574,size=1675872,blksize=131072 }) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 34366226432 (0x800630000)
mmap(0x0,3870720,PROT_NONE,MAP_GUARD,-1,0x0)     = 34376953856 (0x80106b000)
mmap(0x80106b000,1626112,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 34376953856 (0x80106b000)
mmap(0x8013f7000,49152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x18c000) = 34380673024 (0x8013f7000)
mmap(0x801403000,102400,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) = 34380722176 (0x801403000)
munmap(0x800630000,4096)                         = 0 (0x0)
close(3)                                         = 0 (0x0)
openat(AT_FDCWD,"/lib/libnv.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=4622,size=91296,blksize=91648 }) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 34366226432 (0x800630000)
mmap(0x0,2187264,PROT_NONE,MAP_GUARD,-1,0x0)     = 34380824576 (0x80141c000)
mmap(0x80141c000,90112,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 34380824576 (0x80141c000)
mmap(0x801631000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x15000) = 34383007744 (0x801631000)
munmap(0x800630000,4096)                         = 0 (0x0)
close(3)                                         = 0 (0x0)
mmap(0x0,36864,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34366226432 (0x800630000)
munmap(0x800634000,20480)                        = 0 (0x0)
mmap(0x0,102400,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34366242816(0x800634000)
sysarch(AMD64_SET_FSBASE,0x7fffffffe130)         = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
readlink("/etc/malloc.conf",0x7fffffffd820,1024) ERR#2 'No such file or directory'
issetugid()                                      = 0 (0x0)
__sysctl(0x7fffffffd6c0,0x2,0x7fffffffd710,0x7fffffffd708,0x8011c392b,0xd) = 0 (0x0)
__sysctl(0x7fffffffd710,0x2,0x7fffffffd7d4,0x7fffffffd7c8,0x0,0x0) = 0 (0x0)
mmap(0x0,2097152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34383011840 (0x801632000)
munmap(0x801632000,2097152)                      = 0 (0x0)
mmap(0x0,4190208,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34383011840 (0x801632000)
munmap(0x801632000,1892352)                      = 0 (0x0)
munmap(0x801a00000,200704)                       = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
mmap(0x0,2097152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34387001344 (0x801a00000)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
socket(PF_INET,SOCK_RAW,IPPROTO_ICMP)            = 3 (0x3)
socket(PF_INET,SOCK_RAW,IPPROTO_ICMP)            = 4 (0x4)
getuid()                                         = 0 (0x0)
setuid(0x0)                                      = 0 (0x0)
getuid()                                         = 0 (0x0)
socketpair(0x1,0x20000001,0x0,0x7ffffffee6e8)    = 0 (0x0)
pdfork(0x7ffffffee6e4,0x0)                       = 26889 (0x6909)
close(6)                                         = 0 (0x0)
fcntl(5,F_GETFL,)                                = 6 (0x6)
fcntl(7,F_GETFL,)                                = 2 (0x2)
select(6,0x0,{ 5 },0x0,0x0)                      = 1 (0x1)
sendto(5,"l\0\0\0\0\0\0\0\0\0\0B\0\0\0\0\0"...,85,0,NULL,0) = 85 (0x55)
select(6,{ 5 },0x0,0x0,0x0)                      = 1 (0x1)
recvfrom(5,"l\0\0\^A\0\0\0\0\0\0\0C\0\0\0\0"...,19,0,NULL,0x0) = 19 (0x13)
select(6,{ 5 },0x0,0x0,0x0)                      = 1 (0x1)
recvfrom(5,"\^F\a\0\b\0\0\0\0\0\0\0\0\0\0\0"...,67,0,NULL,0x0) = 67 (0x43)
select(6,{ 5 },0x0,0x0,0x0)                      = 1 (0x1)
recvmsg(5,{NULL,0,[{"\0",1}],1,{{level=SOL_SOCKET,type=SCM_RIGHTS,data={0x06,0x00,0x00,0x00}}},24,0x40000},0x40000) = 1 (0x1)
fcntl(6,F_GETFL,)                                = 6 (0x6)
close(7)                                         = 0 (0x0)
close(5)                                         = 0 (0x0)
select(7,0x0,{ 6 },0x0,0x0)                      = 1 (0x1)
sendto(6,"l\0\0\0\0\0\0\0\0\0\0!\0\0\0\0\0"...,52,0,NULL,0) = 52 (0x34)
select(7,{ 6 },0x0,0x0,0x0)                      = 1 (0x1)
recvfrom(6,"l\0\0\0\0\0\0\0\0\0\0;\0\0\0\0\0"...,19,0,NULL,0x0) = 19 (0x13)
select(7,{ 6 },0x0,0x0,0x0)                      = 1 (0x1)
recvfrom(6,"\^A\a\0\0\0\0\0\0\0\0\0\0\0\0\0"...,59,0,NULL,0x0) = 59 (0x3b)
select(7,0x0,{ 6 },0x0,0x0)                      = 1 (0x1)
sendto(6,"l\0\0\0\0\0\0\0\0\0\0\M^^\0\0\0"...,177,0,NULL,0) = 177 (0xb1)
select(7,{ 6 },0x0,0x0,0x0)                      = 1 (0x1)
recvfrom(6,"l\0\0\0\0\0\0\0\0\0\0!\0\0\0\0\0"...,19,0,NULL,0x0) = 19 (0x13)
select(7,{ 6 },0x0,0x0,0x0)                      = 1 (0x1)
recvfrom(6,"\^C\^F\0\b\0\0\0\0\0\0\0\0\0\0\0"...,33,0,NULL,0x0) = 33 (0x21)
select(7,0x0,{ 6 },0x0,0x0)                      = 1 (0x1)
sendto(6,"l\0\0\0\0\0\0\0\0\0\0!\0\0\0\0\0"...,52,0,NULL,0) = 52 (0x34)
select(7,{ 6 },0x0,0x0,0x0)                      = 1 (0x1)
recvfrom(6,"l\0\0\0\0\0\0\0\0\0\0\M^^\0\0\0"...,19,0,NULL,0x0) = 19 (0x13)
select(7,{ 6 },0x0,0x0,0x0)                      = 1 (0x1)
recvfrom(6,"\^E\a\0p\0\0\0\0\0\0\0\0\0\0\0\0"...,158,0,NULL,0x0) = 158 (0x9e)
select(7,0x0,{ 6 },0x0,0x0)                      = 1 (0x1)
sendto(6,"l\0\0\0\0\0\0\0\0\0\0\M-A\0\0\0"...,212,0,NULL,0) = 212 (0xd4)
select(7,{ 6 },0x0,0x0,0x0)                      = 1 (0x1)
recvfrom(6,"l\0\0\0\0\0\0\0\0\0\0!\0\0\0\0\0"...,19,0,NULL,0x0) = 19 (0x13)
select(7,{ 6 },0x0,0x0,0x0)                      = 1 (0x1)
recvfrom(6,"\^C\^F\0\b\0\0\0\0\0\0\0\0\0\0\0"...,33,0,NULL,0x0) = 33 (0x21)
select(7,0x0,{ 6 },0x0,0x0)                      = 1 (0x1)
sendto(6,"l\0\0\0\0\0\0\0\0\0\0j\0\0\0\0\0"...,125,0,NULL,0) = 125 (0x7d)
select(7,{ 6 },0x0,0x0,0x0)                      = 1 (0x1)
recvfrom(6,"l\0\0\0\0\0\0\0\0\0\0\M-m\0\0\0"...,19,0,NULL,0x0) = 19 (0x13)
select(7,{ 6 },0x0,0x0,0x0)                      = 1 (0x1)
recvfrom(6,"\^D\^E\0\v\0\0\0\0\0\0\0\0\0\0\0"...,237,0,NULL,0x0) = 237 (0xed)
select(7,0x0,{ 6 },0x0,0x0)                      = 1 (0x1)
sendto(6,"l\0\0\0\0\0\0\0\0\0\0!\0\0\0\0\0"...,52,0,NULL,0) = 52 (0x34)
select(7,{ 6 },0x0,0x0,0x0)                      = 1 (0x1)
recvfrom(6,"l\0\0\0\0\0\0\0\0\0\0\M-A\0\0\0"...,19,0,NULL,0x0) = 19 (0x13)
select(7,{ 6 },0x0,0x0,0x0)                      = 1 (0x1)
recvfrom(6,"\^E\a\0\M^S\0\0\0\0\0\0\0\0\0\0"...,193,0,NULL,0x0) = 193 (0xc1)
select(7,0x0,{ 6 },0x0,0x0)                      = 1 (0x1)
sendto(6,"l\0\0\0\0\0\0\0\0\0\0\M-#\0\0\0"...,182,0,NULL,0) = 182 (0xb6)
select(7,{ 6 },0x0,0x0,0x0)                      = 1 (0x1)
recvfrom(6,"l\0\0\0\0\0\0\0\0\0\0!\0\0\0\0\0"...,19,0,NULL,0x0) = 19 (0x13)
select(7,{ 6 },0x0,0x0,0x0)                      = 1 (0x1)
recvfrom(6,"\^C\^F\0\b\0\0\0\0\0\0\0\0\0\0\0"...,33,0,NULL,0x0) = 33 (0x21)
connect(3,{ AF_INET 172.217.1.206:0 },16)        = 0 (0x0)
getpid()                                         = 26888 (0x6908)
cap_enter()                                      = 0 (0x0)
cap_rights_limit(4,{ CAP_READ,CAP_SETSOCKOPT,CAP_EVENT }) = 0 (0x0)
cap_rights_limit(3,{ CAP_WRITE,CAP_SETSOCKOPT }) = 0 (0x0)
setsockopt(4,SOL_SOCKET,SO_TIMESTAMP,0x7ffffffee720,4) = 0 (0x0)
setsockopt(4,SOL_SOCKET,SO_RCVBUF,0x7fffffffeb70,4) = 0 (0x0)
cap_rights_limit(4,{ CAP_READ,CAP_EVENT })       = 0 (0x0)
setsockopt(3,SOL_SOCKET,SO_SNDBUF,0x7fffffffeb70,4) = 0 (0x0)
cap_rights_limit(3,{ CAP_WRITE })                = 0 (0x0)
fstat(1,{ mode=crw--w---- ,inode=299,size=0,blksize=4096 }) = 0 (0x0)
ioctl(1,TIOCGETA,0x7ffffffee110)                 = 0 (0x0)
PING google.com (172.217.1.206): 56 data bytes
write(1,"PING google.com (172.217.1.206):"...,47) = 47 (0x2f)
sigaction(SIGINT,{ 0x404b50 0x0 ss_t },0x0)      = 0 (0x0)
sigaction(SIGINFO,{ 0x404b90 0x0 ss_t },0x0)     = 0 (0x0)
sendto(3,"\b\0A\M-q\bi\0\0^A\M-^\M-Q\0\^B"...,64,0,NULL,0) ERR#22 'Invalid argument'
ping: write(2,"ping: ",6)                                = 6 (0x6)
sendtowrite(2,"sendto",6)                                = 6 (0x6)
: write(2,": ",2)                                        = 2 (0x2)
Invalid argument
write(2,"Invalid argument\n",17)                 = 17 (0x11)
select(5,{ 4 },0x0,0x0,{ 1.000000 })             = 0 (0x0)
select(5,{ 4 },0x0,0x0,{ 10.000000 })            = 0 (0x0)
sigaction(SIGINT,{ SIG_IGN SA_RESTART ss_t },{ 0x404b50 0x0 ss_t }) = 0 (0x0)
sigaction(SIGALRM,{ SIG_IGN SA_RESTART ss_t },{ SIG_DFL 0x0 ss_t }) = 0 (0x0)

write(1,"\n",1)                                  = 1 (0x1)
--- google.com ping statistics ---
write(1,"--- google.com ping statistics -"...,35) = 35 (0x23)
1 packets transmitted, 0 packets received, 100.0% packet loss
write(1,"1 packets transmitted, 0 packets"...,62) = 62 (0x3e)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
exit(0x2)
process exit, rval = 2
root@FreeNas[~]#
root@FreeNas[~]#
root@FreeNas[~]#
Comment 13 Eugene Grosbein freebsd_committer 2020-02-11 02:15:06 UTC
You have exactly same errors for both cases. The reason is wrong static route for 192.168.0.1/32 you created without a reason. You should remove it and leave default route only.

As for original request about "uninformative" error message, I'm afraid it cannot be improved at ping programm side. The error "Invalid argument" (code 22) is returned by the kernel to the ping and it describes some invalid system configuration.

One example is yours, but there are numerous ways to misconfigure the system. Another example would be static ARP table for an interface (ifconfig vlan40 staticarp) without static ARP entry for the gateway IP address. And so on.

There is no way for kernel or ping to perform in-depth debugging for the administrator and give detailed report.
Comment 14 Evan Hillman 2020-02-11 02:34:38 UTC
Thank you! Deleting the static route did fix my problem.