From owner-svn-src-all@FreeBSD.ORG Fri Oct 2 21:11:35 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 997D9106575E; Fri, 2 Oct 2009 21:11:35 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by mx1.freebsd.org (Postfix) with ESMTP id AA5BC8FC23; Fri, 2 Oct 2009 21:11:34 +0000 (UTC) Received: by ewy5 with SMTP id 5so529469ewy.36 for ; Fri, 02 Oct 2009 14:11:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=y8zf+QM0AMtBpxKDT1llDpw31IWaIq7aZPq+ePMXzOQ=; b=DuaQ5RNy7xRVqHsClttFrGiEKZ3Stmi6uZ/ptgqD+gZJFJgvSmDj2PIPJtRLva7XMR 0ZgMY60zdprHpi8ND7B9pEhASVaJ1vug4BGvEdU0L0j0X+GcfHTY3rpL2MA1p0LPdM1n gc+K4B76hTizqZEpjs9PS8Z95dvip0qFvMQns= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=YzUbw2jg8VVPRkwStf1oAj4+78cIvHduOoV3PGZkTuuHzpb8SU+h12F/3UNWhEM4Za KyYmphLLCusDNwgDESMMCW0OwU3rNcSZqGgWpXQaWzPf0lf9/QqavskIeRNRDO9PWTD5 z3yBqKKGKWssMoiU8ICx131l+8QlODXOAoQKg= Received: by 10.210.96.12 with SMTP id t12mr35072ebb.71.1254517893801; Fri, 02 Oct 2009 14:11:33 -0700 (PDT) Received: from localhost (95-24-81-83.broadband.corbina.ru [95.24.81.83]) by mx.google.com with ESMTPS id 5sm439788eyh.24.2009.10.02.14.11.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 02 Oct 2009 14:11:33 -0700 (PDT) From: Anonymous To: Hiroki Sato References: <200910020227.n922RnBd086217__26713.9191426852$1254450512$gmane$org@svn.freebsd.org> Date: Sat, 03 Oct 2009 01:10:15 +0400 In-Reply-To: <200910020227.n922RnBd086217__26713.9191426852$1254450512$gmane$org@svn.freebsd.org> (Hiroki Sato's message of "Fri, 2 Oct 2009 02:27:49 +0000 (UTC)") Message-ID: <86tyyh4i4o.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r197698 - head/etc/rc.d X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 21:11:35 -0000 Hiroki Sato writes: > Modified: head/etc/rc.d/netoptions [...] > > if checkyesno tcp_extensions; then > + ${SYSCTL_W} net.inet.tcp.rfc1323=1 >/dev/null > + else > netoptions_init > - echo -n ' rfc1323 extensions=NO' > + echo -n ' rfc1323 extensions=${tcp_extensions}' ^^^^^^^^^^^^^^^^^ Here. > ${SYSCTL_W} net.inet.tcp.rfc1323=0 >/dev/null > fi > > - if ! checkyesno tcp_keepalive; then > + if checkyesno tcp_keepalive; then > + ${SYSCTL_W} net.inet.tcp.always_keepalive=1 >/dev/null > + else > netoptions_init > - echo -n ' TCP keepalive=NO' > + echo -n ' TCP keepalive=${tcp_keepalive}' ^^^^^^^^^^^^^^^^ Here. > ${SYSCTL_W} net.inet.tcp.always_keepalive=0 >/dev/null > fi > > if checkyesno tcp_drop_synfin; then > netoptions_init > - echo -n ' drop SYN+FIN packets=YES' > + echo -n ' drop SYN+FIN packets=${tcp_drop_synfin}' ^^^^^^^^^^^^^^^^^^ And here. These are *single* quotes, no parameter expansion can occur. I keep getting following in `dmesg -a' Additional TCP/IP options: drop SYN+FIN packets=${tcp_drop_synfin} .