Actaully, at the end I changed it in the source code nathelper.c and
recompiled it and it works fine for me.
I will look at your solution too..
Thank you,
Lada
Michal Matyska wrote:
I have done a little test and have found, that we have
to update the doc;
the description of the tests is in opposite way...
- nat_uac_test("1") tests for private IP in contact header
- nat_uac_test("2") tests for mismatch of via IP/port and real IP/port
Sorry for confusing. If you are getting true for the nated clients even for
nat_uac_test("2"), try to put force_rport() into your script before the
nat_uac_test...
Michal
On Sun, Dec 04, 2005 at 10:15:01AM +0100, Ladislav Andel wrote:
Thank you for your reply but
nat_uac_test("1") will test src_ip
against RFC1918 addresses anyway.
I have tried and even seen it in nathelper.c .
Ladislav