The following reply was made to PR misc/132553; it has been noted by GNATS.
From: Maxim Konovalov <firstname.lastname@example.org>
To: Chistoph Weber-Fahr <email@example.com>
Subject: Re: misc/132553: ipfw doesnt understand ftp-data port
Date: Wed, 11 Mar 2009 21:04:09 +0300 (MSK)
> this ipfw clause should work and did work on older systems:
> # ipfw add 1770 allow tcp from any to any ftp-data keep-state
> but now it produces
> ipfw: unrecognised option [-1] ftp-data
> this is regardless of the addresses used - you could also use any addresses or networks instead of "any".
> ftp-data is in /etc/services as always:
> # grep ftp-data /etc/services
> ftp-data 20/tcp #File Transfer [Default Data]
> ftp-data 20/udp #File Transfer [Default Data]
$ ipfw -n add 1770 allow tcp from any to any ftp\\-data keep-state
01770 allow tcp from any to any dst-port 20 keep-state
works for me.
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "email@example.com"