Hello, everyone

I post this message some days ago but no reply.

I'm reading ip_h323_pxy.c of ipfilter 3.4.20, there is a question confusing
me:

In func ippr_h245_out(), I foudn nat_new() to create a nat entry for data
connection from outer to inner box. But I think an ipf state should also
be created to ensure connection can pass through firewall.

In func ippr_ftp_port() in ip_ftp_pxy.c, I found both fr_addstate() and
nat_new() functions.  Why h323 proxy doesn't call fr_addstate()?

For example,

I have a box with 2 NICs, fxp0: 202.94.15.99  fxp1: 192.168.0.254/24,
my ipf and nat rules are like following:

pass in quick on fxp1 proto tcp/udp from any to any keep state
block in quick on fxp0 from any to any

map fxp0 192.168.0.0/24 -> 0/32 proxy port 1720 h323/tcp
map fxp0 192.168.0.0/24 -> 202.94.15.99/32

Can it work well? Need I remove the "block" rule?

I post a message in ipf discuss group but there's not reply.

Thanks.
Forge





--http://www.eyou.com
--�ȶ��ɿ��ĵ�������  �����ʼ�  �ƶ���ǩ  ��������  ����洢...����δ��


Reply via email to