handle port "ftp-data"

This commit is contained in:
christos 2013-03-11 00:09:07 +00:00
parent cd72feefe1
commit 58bc4d4e58
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: npf_parse.y,v 1.19 2013/03/10 23:11:26 christos Exp $ */
/* $NetBSD: npf_parse.y,v 1.20 2013/03/11 00:09:07 christos Exp $ */
/*-
* Copyright (c) 2011-2012 The NetBSD Foundation, Inc.
@ -677,6 +677,7 @@ port_range
port
: NUM { $$ = $1; }
| IDENTIFIER { $$ = npfctl_portno($1); }
| STRING { $$ = npfctl_portno($1); }
;
icmp_type_and_code

View File

@ -1,4 +1,3 @@
-- parse "port ftp-data" properly
-- how to convert other packet filters to npf
-- have a way to use npflog to log packets to syslog
-- have a way to match dropped packets to rules
@ -21,3 +20,4 @@ ok modules should move from /usr/lib to /lib
ok parse dynamic map rule properly inet4($ext_if) does not work
ok create npflog interface automatically
ok need to bring interface npflog up
ok parse 'port "ftp-data"' properly