From owner-freebsd-current@FreeBSD.ORG Mon May 23 16:01:10 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 637CC16A41C for ; Mon, 23 May 2005 16:01:10 +0000 (GMT) (envelope-from nb_root@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E2EB43D4C for ; Mon, 23 May 2005 16:01:10 +0000 (GMT) (envelope-from nb_root@videotron.ca) Received: from clk01a ([66.130.198.54]) by VL-MO-MR011.ip.videotron.ca (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0IGY007379TS8Y@VL-MO-MR011.ip.videotron.ca> for freebsd-current@freebsd.org; Mon, 23 May 2005 12:01:04 -0400 (EDT) Date: Mon, 23 May 2005 12:00:43 -0400 From: Nicolas Blais To: freebsd-current@freebsd.org Message-id: <200505231201.04102.nb_root@videotron.ca> MIME-version: 1.0 Content-type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary=nextPart1980935.A7Z10THgfx Content-transfer-encoding: 7bit User-Agent: KMail/1.8 Subject: Enabling blackhole causes problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2005 16:01:10 -0000 --nextPart1980935.A7Z10THgfx Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline When I add the following lines to /etc/sysctl.conf: net.inet.tcp.blackhole=3D2 net.inet.udp.blackhole=3D1 And I reboot, it will hang right before the login manager. At that point, I= =20 need to press Ctrl-C (closes /etc/rc.d/localpkg) and I can boot normaly=20 except that kmail will freeze when I try to read a message. I can't find th= e=20 logic in that, but when I reboot without the 2 lines, it will boot and work= =20 fine. I don't really need blackhole but I was curious to see if I could benefit f= rom=20 it. Here's rc.conf: ifconfig_sk0=3D"inet 192.168.1.100 media 100baseTX mediaopt full-duplex net= mask=20 255.255.255.0" hostname=3D"clk01a" defaultrouter=3D"192.168.1.1" linux_enable=3D"YES" ntpdate_flags=3D"ntp1.cmc.ec.gc.ca" ntpdate_enable=3D"YES" sendmail_enable=3D"NONE" samba_enable=3D"YES" lisa_enable=3D"YES" sshd_enable=3D"YES" usbd_enable=3D"YES" apache2_enable=3D"YES" and the ending of my bootlog: Additional routing options:. Starting devd. Mounting NFS file systems:. Creating and/or trimming log files:. Starting syslogd. Setting date via ntp. 23 May 11:50:50 ntpdate[282]: adjust time server 199.212.17.15 offset=20 =2D0.066166 sec ELF ldconfig=20 path: /lib /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib / usr/local/lib/compat/pkg a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout /usr/X11R6/lib/aout Starting usbd. Starting local daemons:. Updating motd. Configuring syscons: blanktime. Starting sshd. Initial i386 initialization:. Additional ABI support: linux. Starting cron. Local package initialization:Starting apache2. Starting lisa. rtcStarting SAMBA: removing stale tdbs : /var/db/samba/messages.tdb Starting nmbd. Starting smbd. Is blackhole dependant of an option in the kernel? Do I have to have ipfw=20 running? Thanks, Nicolas =2D-=20 =46reeBSD 6.0-CURRENT #2: Sun May 22 11:29:47 EDT 2005 =20 nicblais@clk01a:/usr/obj/usr/src/sys/CLK01A=20 PGP? : http://66.130.198.54:8081/security/nb_root.asc --nextPart1980935.A7Z10THgfx Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBCkf5Az38ton5LGeIRAq83AKCH7xuYybnrrF4L6uTpGvnG/wziYwCdFceB TLn5qRVlL6ND+fFo+t4KQic= =wGMt -----END PGP SIGNATURE----- --nextPart1980935.A7Z10THgfx--