Hi!

This is FreeBSD 4.7, stock IPFilter (3.4.29).

I just found out why my antivirus patterns did not get updated anymore.
It was because my ipfilter NAT was screwed:

(ipnat -l)
map fxp0 from 192.168.0.0/18 to any port = 5376 -> 1.2.3.4/32
proxy port ftp ftp/tcp

This is from this statement in ipnat.conf:
map fxp0 from 192.168.0.0/18 to 0.0.0.0/0 port = 21 -> 1.2.3.4/32
proxy port 21 ftp/tcp 

Notice the "port = 21". This is generated by fwbuilder 1.0.8. I have
already filed a bug against it.

The bad thing is that ipnat does not complain about this. It just
happily inserts a bad mapping as above. This is not a bug in the "-l"
function. The rule does not catch FTP traffic.

Assuming the port would be entered correctly, does this have any useful
function at all?

If not, I would like to ask to let ipnat reject this syntax.

BTW, there is no text for the proxy clause in the "man 5 ipnat" on
FreeBSD. Is this am omission in FreeBSD, or is the manpage incomplete in
IPFilter?

Lupe Christoph
-- 
| [EMAIL PROTECTED]       |           http://www.lupe-christoph.de/ |
| Big Misunderstandings #6398: The Titanic was not supposed to be        |
| unsinkable. The designer had a speech impediment. He said: "I have     |
| thith great unthinkable conthept ..."                                  |

Reply via email to