From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: David Presotto To: 9fans@cse.psu.edu MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Subject: [9fans] cat /net/iproute Date: Thu, 3 Apr 2003 21:39:16 -0500 Topicbox-Message-UUID: 89b9e328-eacb-11e9-9e20-41e7f4b1d025 geoff found that cat #I/iproute could give bad doodoo, for example: ; cat /net.alt/iproute 0.0.0.0 /96 63.192.14.225 4 none 0 €>%[$€€JX€p€€QMs€p€DE€Ԟ€€€ €j-€wKf€€-€€ս€[2€€€€j€€mmï€P€f€€€fx#€€€T€v€n€€Yqz)-,g€€63.0.0.0 /128 63.0.0.0 4b ifc - €O€.:€€W^€€6.T€t€€uT€€€€€_"€gt€€€x€€€€€€AiH€rН€q€;€W€€0€€€q€€q€a€[;€32€€j€W$€€€#€€63.192.14.224 /124 63.192.14.224 4i ifc 0 €€h€€€€€P [€€9k€€€€€$€5€€€Qx[#<€ӍǀI€€iՕ€€€€Ԛ€l€1(%x;m€€€!V€€D[€(€j€€G€63.192.14.224 /128 63.192.14.224 4b ifc - €ɐB€€q€f'1+€ E€G€y€€€'€N€|€€d€p{1€€./@¹€€€6L€C3€voPS€€€€Jõ€€p€ /€ܫݯ<6 /128 6363.192.14.226 /128 63.192.14.226 4u ifc 0 man /sys/man bind -c63.192.14.224 /124 63.192.14.224 4i ifc 0 63.192.14.239 /128 6363.192.14.239 /128 63.192.14.239 4b ifc - n/other/mail/box /ma63.192.14.224 /128 63.192.14.224 4b ifc - 63.255.255.255 /128 663.255.255.255 /128 63.255.255.255 4b ifc - s bind -c /usr/inf63.192.14.226 /128 63.192.14.226 4u ifc 0 255.255.255.255 /128 255.255.255.255 /128 255.255.255.255 4b ifc - /kfs /n/kfs moun63.192.14.239 /128 63.192.14.239 4b ifc - It was a problem with the eipfmt in the kernel. I fixed it by copying in the libip one. Also, I fixed the formating to not have to be fixed length strings. For IPv6 the required length was way too long for screens. Rigorously tested, i.e., I tried it once and the kernel didn't crash.