NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/53974: arp(8): Attempting to set many ARP entries with -f option, it can cause "socket: Too many open files" error.



>Number:         53974
>Category:       bin
>Synopsis:       arp(8): Attempting to set many ARP entries with -f option, it can cause "socket: Too many open files" error.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 14 04:40:00 +0000 2019
>Originator:     Kimihiro Nonaka
>Release:        NetBSD/amd64 8.0_STABLE (20190212)
>Organization:
>Environment:
NetBSD netbsd 8.0_STABLE NetBSD 8.0_STABLE (NBSERVER) #54: Tue Feb 12 11:21:06 JST 2019  nonaka@netbsd:/exports/snap
shot/NetBSD/8-STABLE/obj.NetBSD-amd64/amd64/sys/arch/amd64/compile/NBSERVER amd64
>Description:

>How-To-Repeat:
$ ulimit -n 16
$ for i in $(seq 1 17); do printf "192.168.0.%d 00:00:00:00:00:%02x temp\n" $i $i; done > /tmp/a
$ arp -f /tmp/a
arp: set: can only proxy for 192.168.0.1
arp: set: can only proxy for 192.168.0.2
arp: set: can only proxy for 192.168.0.3
arp: set: can only proxy for 192.168.0.4
arp: set: can only proxy for 192.168.0.5
arp: set: can only proxy for 192.168.0.6
arp: set: can only proxy for 192.168.0.7
arp: set: can only proxy for 192.168.0.8
arp: set: can only proxy for 192.168.0.9
arp: set: can only proxy for 192.168.0.10
arp: set: can only proxy for 192.168.0.11
arp: set: can only proxy for 192.168.0.12
arp: socket: Too many open files
>Fix:



Home | Main Index | Thread Index | Old Index