NAT reservations
Mensaje citado por: Patrick McHardy <[email protected]>:
Hi Patrick!
Quoted 3 lines
I\'m currently working on the H.323 connection tracking helper and need to NAT addresses that are later used in an expectation, but I don\'t want to create the expectation immediately.
This is just to fulfill my curiosity. Is there some special reason for this?. I�m very interested in this, but I think i don�t really get your point :(
Best regards,
Christian.
__________________________________
Registrate desde http://servicios.arnet.com.ar/registracion/registracion.asp?origenid=9 y particip� de todos los beneficios del Portal Arnet.
Quoted 8 lines · On Wed, 8 Jun 2005 [email protected] wrote:
Mensaje citado por: Patrick McHardy <[email protected]>:
Quoted 3 lines
I\'m currently working on the H.323 connection tracking helper and need to NAT addresses that are later used in an expectation, but I don\'t want to create the expectation immediately.
This is just to fulfill my curiosity. Is there some special reason for this?. I´m very interested in this, but I think i don´t really get your point :(
There are a couple of cases where it would be useful.
For example H.225 RAS RRQ (Registration Request) messages to Gatekeepers contain the call signaling address of the Endpoint that registers. I want to create an expectation that expects incoming calls when the Gatekeeper replies with an RCF (Registration Confirm), but if we do NAT, the call signaling address in the RRQ needs to be NATed before the final port is known. So the only solution is to create the expectation immediately and cancel it after some timeout or when an Registration Reject is seen.
Same problem with Registration Confirm. It contains the call signaling address of the Gatekeeper, but there is nothing to expect because every signaling connection is preceeded by admissionRequest/admissionConfirm, which contain the address again. But it should be NATed similar to the ones in the admission messages, which can't be done reliably at all.
Regards
Patrick
Quoted 6 lines
I want to create an expectation that expects incoming calls when the Gatekeeper replies with an RCF (Registration Confirm), but if we do NAT, the call signaling address in the RRQ needs to be NATed before the final port is known. So the only solution is to create the expectation immediately and cancel it after some timeout or when an Registration Reject is seen.
mm.. i see. But is it worth doing that?. I mean if u have a ptp call without RAS signalling u won't have this situation. Maybe registering the module to look for RAS and h225 signalling port would be ok. ie. udp 171{8,9} and tcp 1720.
I think RAS signalling separated from h225/Q931 signalling, cisco, ie, have ras fixup and h255 fixup, but this may be is not a happy example anyways =P
Quoted 5 lines
Same problem with Registration Confirm. It contains the call signaling address of the Gatekeeper, but there is nothing to expect because every signaling connection is preceeded by admissionRequest/admissionConfirm, which contain the address again. But it should be NATed similar to the ones in the admission messages, which can't be done reliably at all.
This would be the same i think. Letting through h225signalling port 1720 should be ok, and h245 and RTP stuff will be the dynamic data to expect/mangle.
I hope this helps and sorry for my english.. :)
Regards,
Signature · 1 line
Christian Hentschel <[email protected]>