Date: Thu, 18 May 2006 17:57:45 GMT From: Kurt Lidl <kurt.lidl@cello.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/97467: ftpd has no way to specify socket buffer sizes on the command line Message-ID: <200605181757.k4IHvjBA019806@www.freebsd.org> Resent-Message-ID: <200605181800.k4II0VLv003392@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 97467 >Category: misc >Synopsis: ftpd has no way to specify socket buffer sizes on the command line >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu May 18 18:00:31 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Kurt Lidl >Release: FreeBSD 5.3 on x86 hardware >Organization: Cello Software >Environment: FreeBSD smdr.cello.com 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: The stock ftpd will set the SO_SNDBUF to 64K by default, but has no setting of the SO_RCVBUF socket option. Neither of these buffer sizes can be changed on the command line. You can use the 'tcpdump' command to examine the TCP handshaking and see that the window sizes negotiation is offered at 64K. >How-To-Repeat: >Fix: Apply the following patch: begin 644 ftpd.patch.bz2 M0EIH.3%!629366F-)Q```:9_@$`P0`![___?_^_?RK_OW_A0!;B\JF:YM;C< MU``D$H@E/2>$GM4>HTQ&1D`!IIIH`#0&C0`2DJ>>*3:*:>4:`:```>H````- M`!*:(DU/)DU/2(P8U)IHT/4R`T:&FAZ0`&C0XT9,C",0#":#`)H-`R9-&3(8 M0&$D1,@`AHT%-3U'ZIZ:ADS4>B>D:`-/4`'J9$!:39"$!F"!H('9"!UKIXAW M=G^ZD$]S<Z#.44#"/R.5)0Y4\29X4F!8<-8_72MK;W>/$$\U1TJN)M*-2IT/ MTGUZ,OBK*'5>.Y#A47DB^;EUO%&A1KF,>0R>=^!\$U$65-,J_%I@<&AFET!) M!6":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%N% M9`%IPH,IJ$D3FB(4JMBD31!Q.$=#E,+0>(Y0HIS(JT</D8'02^DXPH)=E1'< M8A8;5L`WJ\(5DN-3U#X9>(X1J\Y)7:-0K8EK3/=LR,YZ<AT&(95ZT)O(AF`U M;#;QX;F&,'IOUG?@%)+DU3]MGN"\^J[4,M97,<WN-$Q#**D[P&%!W&9;QR8V M!B(=$E@Q-<%,*R`\0)6%;"N.S"^X%@J2T8:@+U4=5+FA+$O>:O'/&0\T)R)= M05,'22.)D'7RG`+2'$UTYH'UX0(U!4&D!@GM'00T"/D(C).B?E.[.&J;#,,- M@%:S*-+5R87,H@;:KU895M<<:#=`MT1"@HID2#!%J812%,(*;6`V`Q_014A( M0H"P";LDS4"K=H8UF,=5H3/6TRN"5L8I;R\9H*:J2;:QB3#]\D$-EM:X5PQ, MXIT9I04"^,@%<-@.]#H(E3\2SXEQ0EG,8Z:/78L*)X5>M,XBY3SA;#ABYC'< 3&IQ\I!6@F'_B[DBG"A(-,:3B```` ` end >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605181757.k4IHvjBA019806>