Source-Changes-HG archive

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

[src/trunk]: src/share/man/man4 suggest setting netmask to 32 for security re...



details:   https://anonhg.NetBSD.org/src/rev/23835bd6a94f
branches:  trunk
changeset: 552745:23835bd6a94f
user:      itojun <itojun%NetBSD.org@localhost>
date:      Thu Oct 02 01:21:16 2003 +0000

description:
suggest setting netmask to 32 for security reasons; see tech-userlevel

diffstat:

 share/man/man4/pppoe.4 |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 8124d6da083e -r 23835bd6a94f share/man/man4/pppoe.4
--- a/share/man/man4/pppoe.4    Thu Oct 02 00:09:06 2003 +0000
+++ b/share/man/man4/pppoe.4    Thu Oct 02 01:21:16 2003 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: pppoe.4,v 1.24 2003/07/04 12:54:14 wiz Exp $
+.\"    $NetBSD: pppoe.4,v 1.25 2003/10/02 01:21:16 itojun Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -199,7 +199,7 @@
 ! /sbin/ifconfig ne0 up
 ! /sbin/pppoectl -e ne0 $int
 ! /sbin/pppoectl $int myauthproto=pap myauthname=testcaller myauthsecret=donttell
-inet 0.0.0.0 0.0.0.1
+inet 0.0.0.0 0.0.0.1 netmask 0xffffffff
 #! /sbin/route add default -iface 0.0.0.1
 up
 .Ed
@@ -304,3 +304,10 @@
 .Nx 1.6 .
 .Sh BUGS
 This implementation is client side only.
+.Pp
+It is important to specify
+.Dq Li netmask 0xffffffff
+to
+.Xr ifconfig 8 .
+If netmask is unspecified, netmask of 8 will be set when 0.0.0.0 is configured
+to the interface, and it will persist after negotiation.



Home | Main Index | Thread Index | Old Index