From nobody@FreeBSD.org  Sat Oct 23 08:44:19 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7FF8516A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 23 Oct 2004 08:44:19 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 74B8E43D39
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 23 Oct 2004 08:44:19 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i9N8iI4d017201
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 23 Oct 2004 08:44:18 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i9N8iItq017200;
	Sat, 23 Oct 2004 08:44:18 GMT
	(envelope-from nobody)
Message-Id: <200410230844.i9N8iItq017200@www.freebsd.org>
Date: Sat, 23 Oct 2004 08:44:18 GMT
From: Thomas Wolf <tw@wsf.at>
To: freebsd-gnats-submit@FreeBSD.org
Subject: libalias does not handle lowercase port/eprt commands
X-Send-Pr-Version: www-2.3

>Number:         73034
>Category:       kern
>Synopsis:       [libalias] libalias does not handle lowercase port/eprt commands
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 23 08:50:24 GMT 2004
>Closed-Date:    Sat Jun 21 16:28:09 UTC 2008
>Last-Modified:  Mon Jul  7 18:50:03 UTC 2008
>Originator:     Thomas Wolf
>Release:        5.2.1, same on 4.x
>Organization:
WSF
>Environment:
FreeBSD bsd52.wsf.local 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #0: Tue Jul 13 19:52:57 CEST 2004     tw@bsd52.wsf.local:/usr/obj/usr/src/sys/wsf01  i386
>Description:
src/lib/libalias/alias_ftp.c checks only for uppercase P,O,R,T and E,P,R,T when modifying commands during active ftp sessions.

>How-To-Repeat:
Use a ftp client that sends lowercase commands (e.g. konqueror) in active mode.
>Fix:
if changing 'if (ch == 'P')...' to 'if (ch | 0x20 == 'p')...' is considered ok I can supply patches.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mav 
State-Changed-When: Sat Jun 21 16:27:15 UTC 2008 
State-Changed-Why:  
Fix committed to the HEAD. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=73034 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/73034: commit references a PR
Date: Sat, 21 Jun 2008 16:23:08 +0000 (UTC)

 mav         2008-06-21 16:22:56 UTC
 
   FreeBSD src repository
 
   Modified files:
     sys/netinet/libalias alias_ftp.c 
   Log:
   SVN rev 179912 on 2008-06-21 16:22:56Z by mav
   
   Add support for PORT/EPRT FTP commands in lowercase.
   Use strncasecmp() instead of huge local implementation to reduce code size.
   Check space presence after command/code.
   
   PR:             kern/73034
   
   Revision  Changes    Path
   1.31      +21 -96    src/sys/netinet/libalias/alias_ftp.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/73034: commit references a PR
Date: Mon,  7 Jul 2008 18:40:11 +0000 (UTC)

 mav         2008-07-07 18:39:47 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_7)
     sys/netinet/libalias alias_ftp.c 
   Log:
   SVN rev 180355 on 2008-07-07 18:39:47Z by mav
   
   MFC rev 179912:
   Add support for PORT/EPRT FTP commands in lowercase.
   Use strncasecmp() instead of huge local implementation to reduce code size.
   Check space presence after command/code.
   
   PR:             kern/73034
   
   Revision  Changes    Path
   1.29.2.1  +21 -96    src/sys/netinet/libalias/alias_ftp.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
