-
Notifications
You must be signed in to change notification settings - Fork 583
Commit
…ess, replicate to HEP using the advertised address
- Loading branch information
There are no files selected for viewing
2 comments
on commit a13e034
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what about the global advertising (core param) or per msg advertising ? shouldn't we take this into consideration too, for consistency reasons ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
advertised address core param or per message advertising only affect the contents of the SIP message itself, but they don't affect any IP layer behavior.
the per send socket advertised is the one that actually translated to real-life IP address mapping ( ie. running in AWS with socket=wss:AWS_PRIVATE_IP:443 as AWS_PUBLIC_IP ) - the patch only changes the IP addresses ( incoming & outgoing ) when they're replicated to homer, the content of the SIP message remains the same.
Hey, @vladpaiu! Are we sure this is correct? Not only do the semantics change from
src_ip
todst_ip
without being hinted in the patch notes, but look 2 lines below and thedst_ip
anddst_port
are both being recorded again! So this has to be some kind of copy/paste error, right?Context: see the replicate to HEP using the advertised address thread on Users