Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jan 1999 16:26:53 -0800 (PST)
From:      mtaylor@cybernet.com
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   bin/9379: pppd does not go through all interfaces looking for interface to ARP
Message-ID:  <199901080026.QAA01895@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         9379
>Category:       bin
>Synopsis:       pppd does not go through all interfaces looking for interface to ARP
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan  7 16:30:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Mark J. Taylor
>Release:        2.2.7
>Organization:
Cybernet Systems
>Environment:
>Description:
/src/usr.sbin/pppd/sys-bsd.c has "#define MAX_IFS 32".
I have a machine with 16 slip, 16 ppp, and 16 tun devices, plus
"normal" devices like Ethernets.
pppd will only look at the first 32 ports to determine which interface
to proxy ARP on, so my Ethernet interface may (will) be missed unless
MAX_IFS is higher.
My Digiboard has 16 ports, and I want to use then for either SLIP or
PPP.  This means that I need at least 16 slip and 16 ppp devices.
If I have two, then there will be even more trouble!

>How-To-Repeat:
Re-write sys-bsd.c to NOT use a large static buffer: go through
each interface using IOCTLs for every interface, not one huge
SIOCGIFCONF call.

"/sbin/ifconfig -l" can do it...

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901080026.QAA01895>