From owner-freebsd-current@FreeBSD.ORG Fri Oct 23 09:21:36 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 998CB106566B; Fri, 23 Oct 2009 09:21:36 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id 03E928FC12; Fri, 23 Oct 2009 09:21:35 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 9so1937188eyd.9 for ; Fri, 23 Oct 2009 02:21:34 -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=hERzN3KtQji9NmN/bYYn8GOeoT/6oiZN8CiQE5jcKMc=; b=Pm93WSHqsDe0rexRop/mJsnVsj0puKFbUR+5GbpXVdHQ6eyu8QdpAf8lJ4GsuQodd+ hui0XrMfR1kONPDxb0xRCkCKal90aynJQjyWAg/LNHtUZYwPtLqw25iOLEAjEQMiAkJj 1/0o2OoCrlVMvzVi22w/UncujASN1CbVYZJXg= 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=fAcXkbr8ZMeb4n4jRE46AsY604+t67inXIf3PnXtCd9Ts5rMb6Mem86bNomOF/k942 VnULOI9wkBuAszR0pfaa9lAxqBvbUgcjFPS+yPtLhN7ePl0Pw9fk7h3pXqFDWFbPm5Ye q7Wh+EiF+IxNEKZ08STWdNSfi5qVXj3UKPWJ8= Received: by 10.211.161.5 with SMTP id n5mr267562ebo.89.1256289694223; Fri, 23 Oct 2009 02:21:34 -0700 (PDT) Received: from localhost (h81-88-124-10.rev.domonet.ru [81.88.124.10]) by mx.google.com with ESMTPS id 23sm5935963eya.20.2009.10.23.02.21.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 23 Oct 2009 02:21:32 -0700 (PDT) From: Anonymous To: Hiroki Sato References: <200910020227.n922RnBd086217__26713.9191426852$1254450512$gmane$org@svn.freebsd.org> <86tyyh4i4o.fsf@gmail.com> Date: Fri, 23 Oct 2009 13:21:28 +0400 In-Reply-To: <86tyyh4i4o.fsf@gmail.com> (Anonymous's message of "Sat, 03 Oct 2009 01:10:15 +0400") Message-ID: <86skdajwiv.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: freebsd-current@freebsd.org Subject: Re: svn commit: r197698 - head/etc/rc.d 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: Fri, 23 Oct 2009 09:21:36 -0000 Anonymous writes: > 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} > . Am I the only one who has above issue with tcp_drop_synfin=YES in rc.conf? I'm talking about unexpanded ${tcp_drop_synfin}.