On Sun, Nov 14, 2010 at 11:57 AM, Eric Dumazet <eric.dumazet@xxxxxxxxx> wrote: > Via: SIP/2.0/UDP 192.168.2.28:5060;branch=xxxxxxxx > > > Maybe a fix would be to use this "5060" port, instead of hardcoding it > like you did ? Just posted v2... appreciate the advice so far. My new code in process_sip_request() looks for an address match + port mismatch between the IP source and the Via: header. This is how it tries to detect whether we are talking directly to an afflicted Cisco phone. If the address doesn't match, I assume the request is passing through a non-SIP-aware NAT router so there is no special handling. Assuming we can reliably detect the "quirky phone" condition, is there any way to just trick Netfilter into thinking the source port was 5060 instead of 49xxx? 3/4ths of the patch could probably be eliminated if we could overwrite the port number inside tuplehash. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html