Astaro User Bulletin Board
Go Back   Astaro User Bulletin Board > Closed Forums (read only) > ASG V7.000 BETA (closed)

Welcome to the Astaro User Bulletin Board.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-11-2006, 12:04 AM
Junior Member
 
Join Date: Nov 2006
Posts: 11
Default SIP proxy

I might also be missing something, but the SIP proxy is very different. Where do I enable transparent proxy and setup a SIP routing table for different domains? I tried a simple non-transparent configuration, but that also doesnt appear to function.
  #2 (permalink)  
Old 11-11-2006, 12:33 AM
Gert Hansen's Avatar
Wizard
 
Join Date: Nov 2000
Location: Karlsruhe, Germany
Posts: 1,185
Default

Hi there all,

as mentioned in another thread,
the SIP proxy has been replaced by a true statefull SIP connection tracking helper.

In V6, the SIP Proxy had limitations, as it was only possible to do outbound calls, which means that a Sip client behind the firewall could connect to a SIP server on the internet.

But there were three limitations:
1) no inbound support for SIP calls to your own sip server
2) all SIP RTP packets where proxied by the applications, which created a higher latency and we were forced to open a big udp range for incoming packets.
3) QoS was not abler to properly determain the RTP connections, therefor VoIP prioritization was poor.

This has all been addressed by a helper similar to FTP, which parses the SIP traffic and detects when a calls takes place and opens the matching ports to only allow this specific flow and only for the duration of the call.

Also it is now possible to simply mark the SIP TCP connection (tcp/5060) with a specific number, which gets automatically inheritet to the RTP call packets. This we can easily prioritize the VoIP traffic.

On top of that, the whole handling is now handled in the kernel and not in userspace anymore, which reduces the latency dramatically.

In order to use the new SIP functions, just add:
Internal Network to 'SIP Client'
and
Any to 'SIP Server'.

Than configure your phone to not use a SIP proxy of the firewall, but to directly connect the SIP Servers, as there were no firewall.

Than the ASG will do the magic and handle everything.

On top of that, you can create a DNAT rule to FORWARD port tcp/5060 to you own SIP server, to handle incoming SIP calls.

I hope that was understandable and helps.

best regards
Gert
  #3 (permalink)  
Old 11-11-2006, 03:52 PM
Junior Member
 
Join Date: Nov 2006
Posts: 11
Default SIP Connection Helper ... still an issue

So my setup is fairly straight forward as this was a test for the AS7 firewall. As I mentioned the configuration we are used to from the v6 series is that the phones are configured to go to the address of the SIP server, the proxy was set to transparent. Allowed hosts was the Internal side, and the interface was Internet.

Before reading your note, I had the v7 configuration with the server being the IP that of the foreign SIP server, and Internet network as the client.
The firewall has one rule for MASQ of all clients on the Internal network. There are three phones at this location, but only one is enabled during the testing period. Since I do not have an inbound server and I dont have extra IPs I dont have a DNAT rule.

My packet filter rulebase is an any any allow outbound rule, with a new rule added that allows all inbound from the IP network of the SIP server.

My Internet connection type is Cable Modem (DHCP).

Still no joy on this. I am going to have pull sniffer traces to see what the firewall is producing in terms of packets.
  #4 (permalink)  
Old 11-11-2006, 10:22 PM
Member
 
Join Date: Nov 2005
Posts: 36
Unhappy Still issues

As I wrote in an other SIP thread I still have issues after following Gert's "guide". I can make and receive calls but can't hear anything since the RTP ports is blocked på the firewall. According to Gert's the firewall should do some magic, but that's not the case for me.

Am I doing something wrong or is this setup only ment for SIP servers behind the firewall and not a VoIP adapter (i.e. Sipura 2100)?

Eirik
  #5 (permalink)  
Old 11-12-2006, 09:23 PM
KoC KoC is offline
Member
 
Join Date: May 2002
Posts: 40
Default

Hi,

disable the usage of STUN and if applicatable of NAT ind the configuration of your phone. After sisabling these options in your phone, power off the phone and reboot the firewall. Startup your phone again and everything should be fine.

Regards KoC
  #6 (permalink)  
Old 11-12-2006, 10:57 PM
Junior Member
 
Join Date: Nov 2006
Posts: 11
Default No Nat or STUN here

I still havent made much progress with the new SIP connection helper. I started to do an more detailed analysis by setting all rules to log all and then look at the results to see where the traffic was breaking down. No SIP traffic is appearing in the packet filter logs, and the SIP log remains empty. I will post as I find more information, but generally speaking if I switch to the v6 firewall in transparent mode - all is good. TFTP of the configuration is successful to the device, but no SIP traffic is moving. Disabling the SIP connection helper yields a registration with the wrong (internal IP), enabling yields a null result.
  #7 (permalink)  
Old 01-19-2007, 02:53 PM
mdallagi's Avatar
Senior Member
 
Join Date: Jan 2005
Location: Italy
Posts: 204
Default SIP test

Hi Gert,

I'm trying to use a fresh ASG 6.993 for SIP VoIP test.
To do that, I configured my ASG with a NAT masquerading rule and I enabled the "VoIP Security" -> "SIP":

SIP server networks: Any
SIP client networks: <SIP phone IP>

I'm not using a SIP server behind my ASG so I believe there is not necessary to define a DNAT rule...

However, when I call from my SIP-phone, I can establish a connection but there is no voice traffic.
Here a packet filter log line:

2007:01:19-16:29:36 (none) ulogd[2493]: id="2016" severity="info" sys="SecureNet" sub="packetfilter" name="SIP call RTP" action="SIP call RTP" fwrule="60018" initf="eth1" outitf="eth0" dstmac="00:02:b3:3a:5c:08" srcmac="00:17:c2:ef:c4:2d" srcip="192.168.60.5" dstip="x.y.z.w" proto="17" length="60" tos="0x00" prec="0xe0" ttl="126" srcport="20000" dstport="58786"

Here, 192.168.60.5 is the SIP-phone IP address and x.y.z.w is the public IP of the SIP proxy.
The RTP port on the phone is 20000.

Why doesn't it work?
  #8 (permalink)  
Old 02-06-2007, 05:33 PM
Junior Member
 
Join Date: Jan 2007
Posts: 5
Default

i have the same problem. I have an astrisk server on a different subnet that i can't talk to.. Our phones use ports 10000 and up.. but i can't figure out how to get it working yet...and it looks like astaro isn't helping much on this issue either..
  #9 (permalink)  
Old 02-24-2007, 02:02 PM
fobe's Avatar
Senior Member
 
Join Date: Dec 2001
Posts: 470
Unhappy

I have the same problem with V7.001! When I disable VoIP Security I can receive calls and dial but I have voice traffic!!! But when I configure VoIP Security the phone is ringing but NO voice traffic is possible! Also when I use my voip-phone I can dial but still NO voice traffic! I configured at the server option my sip-provider and the client is my voip-phone. Is this a known bug????
  #10 (permalink)  
Old 09-12-2007, 01:26 AM
Junior Member
 
Join Date: Sep 2007
Posts: 1
Default same issue

Same issue here, running the latest version - have sip proxy configured with any for internal and any for external - we have a trixbox server and multiple voip hardphones internally that function fine iwth calls to an external sip wholesaler externally - calls from remote phones to external numbers (dials the server which connects the external provider and remote phone) function fine - calls to internal extensions have no audio.
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 10:36 PM.

 

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.


These pages are specifically maintained for the discussion of firewall issues within the Open Source community, and might already reflect new alpha/beta releases under development. Please refer to our product specifications for the functionality of the actual release. Discussions of new/enhanced functionality does not constitute a commitment of Astaro, to integrate this functionality into future releases. issues within the Open Source community, and might already reflect new alpha/beta releases under development. Please refer to our product specifications for the functionality of the actual release. Discussions of new/enhanced functionality does not constitute a commitment of Astaro, to integrate this functionality into future releases.