My firewall:

Debian kernel 2.6.18-5-686
shorewall version: 4.0.7
iptables v1.3.6

I have shorewall with this config:



DMZ----FW----Router

DMZ is a proxyarped network.

All udp is accepted from net to the interested host.

This is my problem: when i capture the sip trace from the firewall, I 
get this


#EZ@:SQOyEINVITE sip:[EMAIL PROTECTED] SIP/2.0
Max-Forwards: 69
Session-Expires: 3600;Refresher=uac
Supported: timer
To: <sip:[EMAIL PROTECTED]:5060>
From: "anonymous" <sip:[EMAIL PROTECTED]>;tag=3418971446-91877
Contact: <sip:[EMAIL PROTECTED]:5060>
Remote-Party-Id: 
<sip:[EMAIL PROTECTED]>;party=calling;screen=yes;privacy=full
Call-ID: [EMAIL PROTECTED]
CSeq: 1 INVITE
Via: SIP/2.0/UDP 
83.245.6.81:5060;branch=z9hG4bK3642dc75d81f0fdea5c2172f98e2a7e2
Allow-Events: telephone-event
Content-Type: application/sdp
Content-Length: 305

v=0
o=msw 5063 8671 IN IP4 83.245.6.81
s=sip call
*c=IN IP4 83.245.6.82*
t=0 0
m=audio 28548 RTP/AVP 8 0 18 100 101
a=fmtp:101 0-16
a=rtpmap:101 telephone-event/8000
a=fmtp:100 192-194
a=rtpmap:100 X-NSE/8000
a=fmtp:18 annexb=no
a=rtpmap:18 G729/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000




After the firewall (on my asterisk box) the SAME packet looks identical 
at ip level except from the bold line which becomes 83.245.6.81



0H"[EMAIL PROTECTED] sip:[EMAIL PROTECTED] SIP/2.0
Max-Forwards: 69
Session-Expires: 3600;Refresher=uac
Supported: timer
To: <sip:[EMAIL PROTECTED]:5060>
From: "anonymous" <sip:[EMAIL PROTECTED]>;tag=3418971446-91877
Contact: <sip:[EMAIL PROTECTED]:5060>
Remote-Party-Id: 
<sip:[EMAIL PROTECTED]>;party=calling;screen=yes;privacy=full
Call-ID: [EMAIL PROTECTED]
CSeq: 1 INVITE
Via: SIP/2.0/UDP 
83.245.6.81:5060;branch=z9hG4bK3642dc75d81f0fdea5c2172f98e2a7e2
Allow-Events: telephone-event
Content-Type: application/sdp
Content-Length: 305

v=0
o=msw 5063 8671 IN IP4 83.245.6.81
s=sip call
*c=IN IP4 83.245.6.81*
t=0 0
m=audio 28548 RTP/AVP 8 0 18 100 101
a=fmtp:101 0-16
a=rtpmap:101 telephone-event/8000
a=fmtp:100 192-194
a=rtpmap:100 X-NSE/8000
a=fmtp:18 annexb=no
a=rtpmap:18 G729/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000

Of course there's nothing between the firewall and the server.


So it looks like shorewall is forging this udp packet. How can it be 
possible? Can it be caused by proxyarp? How can I sort this out?  This 
is getting me mad, please help!


Tommaso Calosi


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to