NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/41276: ftp-proxy(8) man page screws up rdr syntax



>Number:         41276
>Category:       bin
>Synopsis:       ftp-proxy(8) man page screws up rdr syntax
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 24 16:25:00 +0000 2009
>Originator:     Hauke Fath <hf%spg.tu-darmstadt.de@localhost>
>Release:        NetBSD 5.0_RC3
>Organization:
-- 
     The ASCII Ribbon Campaign                    Hauke Fath
()     No HTML/RTF in email             Institut für Nachrichtentechnik
/\     No Word docs in email                     TU Darmstadt
     Respect for open standards              Ruf +49-6151-16-3281
>Environment:
        
        
System: NetBSD Gstoder 5.0_RC3 NetBSD 5.0_RC3 (GENERIC) #0: Mon Apr 6 15:07:01 
CEST 2009 
hf@Hochstuhl:/var/obj/netbsd-builds/5/i386/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:

        The man page for ftp-proxy(8) messes up the rdr rule syntax like

nat-anchor "ftp-proxy/*"
rdr-anchor "ftp-proxy/*"
rdr pass on $int_if proto tcp from $lan to any port 21 -*[Gt] \
    127.0.0.1 port 8021
                                                          ^ 
                                                          |
        In place of the "-*[Gt]" there should be a "->" which puzzled
me a while since ftp-proxy has been upgraded with netbsd-5. 

>How-To-Repeat:

        Try to re-configure the new ftp-proxy after updating to
        netbsd-5, wonder why the rdr line from the man page results in

/sbin/pfctl -nf pf.conf
pf.conf:286: syntax error
*** Error code 1

>Fix:

        Somebody with enough ?roff fu please fix line 192 of
        share/man/man8/ftp-proxy.8, and request a pull-up to netbsd-5.

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index