From owner-freebsd-net Tue Aug 18 02:34:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA24782 for freebsd-net-outgoing; Tue, 18 Aug 1998 02:34:20 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from huiching.singaren.net.sg (dhcp-18.ar.singaren.net.sg [137.132.50.18]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA24777; Tue, 18 Aug 1998 02:34:05 -0700 (PDT) (envelope-from roland@cir.nus.edu.sg) Received: from localhost (roland@localhost) by huiching.singaren.net.sg (8.8.8/8.8.8) with SMTP id RAA09117; Tue, 18 Aug 1998 17:33:01 +0800 (SGT) (envelope-from roland@cir.nus.edu.sg) Date: Tue, 18 Aug 1998 17:33:01 +0800 (SGT) From: Roland Yeo X-Sender: roland@huiching.singaren.net.sg To: Kevin Kyeong-il CHOI cc: FreeBSD Question , FreeBSD Net Subject: Re: Questions on TCPDUMP, TCP Window Size In-Reply-To: <000501bdca86$55eac6c0$52099584@pc-kichoi.cst.cnes.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 18 Aug 1998, Kevin Kyeong-il CHOI wrote: > (1) First question. > I want to make the RFC1323 works on FreeBSD 2.2.6. > Is there any special procedure I need to do ? > by default this is enabled I think. /etc/rc.conf: tcp_extensions="YES" # Allow RFC1323 & RFC1644 extensions (or NO). /etc/rc.network: if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then echo -n ' tcp extensions=NO' sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1 sysctl -w net.inet.tcp.rfc1644=0 >/dev/null 2>&1 fi > (2) Second. > Once the (1) question resolved, > How can I make TCP's option "Window Scale" work on > any connection such as FTP ? > you might require to set the socket buffer sizes in the sources: http://www.ncsa.uiuc.edu/People/vwelch/net_perf/tcp_windows.html#how > (3) Third > TCPDUMP, as a real good utility to observe the traffic > on TCP connection, I really want to use this. BUT, But, > whenever I launch this "tcpdump [enter]", it tells me, > > tcpdump: /dev/bpf0: Device not configured. > > I tried to change chmod 666 /dev/bpf0, but no succeed. > > What is the problem here ? > perhaps you did not configure your kernel to support the packet filter. check that your kernel config file has the following: pseudo-device bpfilter 4 regards, roland -- Roland Yeo SingAREN, Centre for Internet Research, National University of Singapore To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message