Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 May 2005 12:00:43 -0400
From:      Nicolas Blais <nb_root@videotron.ca>
To:        freebsd-current@freebsd.org
Subject:   Enabling blackhole causes problems
Message-ID:  <200505231201.04102.nb_root@videotron.ca>

next in thread | raw e-mail | index | archive | help
--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.
<hang right here>

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--



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