Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"ip neigh" command dosne't work #2998

Closed
ghost opened this issue Mar 5, 2018 · 1 comment
Closed

"ip neigh" command dosne't work #2998

ghost opened this issue Mar 5, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 5, 2018

"ip neight" command stall...

$ ip neigh
^C
$

But, "route" and "ip link" command is fine.

$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.1.11 255.255.255.255 U 256 0 0 eth0
$ ip link
12: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 group default qlen 1
link/ether bc:5f:f4:3a:74:86
1: lo: <LOOPBACK,UP> mtu 1500 group default qlen 1
link/loopback 00:00:00:00:00:00
$

My Windows build number:

C:\Users\andes>ver

Microsoft Windows [Version 10.0.16299.248]

@therealkenc
Copy link
Collaborator

Message isn't supported. There's no arp period per #2279. In a more perfect world it would be nice if it returned something so it doesn't hang on the read.

21    bind(3, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
21    getsockname(3, {sa_family=AF_NETLINK, pid=21, groups=00000000}, [12]) = 0
21    time(NULL)                        = 1520222571
21    sendto(3, "(\0\0\0\22\0\1\3l\301\234Z\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 40, 0, NULL, 0) = 40
21    recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"P\0\0\0\20\0\2\0l\301\234Z\25\0\0\0\0\0\1\0\6\0\0\0C\20\0\0\0\0\0\0"..., 32768}], msg_controllen=0, msg_flags=0}, 0) = 80
21    brk(NULL)                         = 0x1961000
21    brk(0x1982000)                    = 0x1982000
21    recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"L\0\0\0\20\0\2\0l\301\234Z\25\0\0\0\0\0\4\3\1\0\0\0I\0\0\0\0\0\0\0"..., 32768}], msg_controllen=0, msg_flags=0}, 0) = 76
21    recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0l\301\234Z\25\0\0\0\0\0\0\0", 32768}], msg_controllen=0, msg_flags=0}, 0) = 20
21    sendmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(2)=[{"\34\0\0\0\36\0\1\3m\301\234Z\0\0\0\0", 16}, {"\0\0\0\0\0\0\0\0\0\0\0\0", 12}], msg_controllen=0, msg_flags=0}, 0) = 28
21    recvmsg(3, 0x7ffff36e8830, 0)     = ? ERESTARTSYS (To be restarted if SA_RESTART is set)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant