Hi,
I want SER to accept request only from 2 given IP. So I wrote my configuration file like this:
if (source IP is the first IP) then {...} else if (source IP is the second IP) then {...}
but when I'm launching SER he tells me "more than one listen address found (will use only the the first one)".
any ideas?
Cyprien
Hello, I guess you start ser in non-forking mode (fork=no in config file) and therefore only one process is created which will listen on the first interface found -- that is usually loopback (127.0.0.1). If you want to set explicitly the IP address to listen to, use listen=ip_address in config file. You can have ser listening to all IP addresses setting fork=yes and number of children greater than number op IPs (in config file: children=N).
Daniel
On 7/13/2004 11:42 AM, Cyprien Simons wrote:
Hi,
I want SER to accept request only from 2 given IP. So I wrote my configuration file like this:
if (source IP is the first IP) then {...} else if (source IP is the second IP) then {...}
but when I'm launching SER he tells me "more than one listen address found (will use only the the first one)".
any ideas?
Cyprien
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Hello,
thanx for the help. Now I have forking on, 4 children and two adresses listened to, but I got the following message:
ERROR: udp_init: bind(5, 0x80c5de0, 16) on 123.175.33.19: Cannot assign requested address
and SER is quitting after that (or doesn't even start)... I don't really understand the message. To who is SER trying to assign this address? It is supposed to be just an address to listen to, isn't it?
Cyprien
On Tuesday 13 July 2004 11:54, Daniel-Constantin Mierla wrote:
Hello, I guess you start ser in non-forking mode (fork=no in config file) and therefore only one process is created which will listen on the first interface found -- that is usually loopback (127.0.0.1). If you want to set explicitly the IP address to listen to, use listen=ip_address in config file. You can have ser listening to all IP addresses setting fork=yes and number of children greater than number op IPs (in config file: children=N).
Daniel
On 7/13/2004 11:42 AM, Cyprien Simons wrote:
Hi,
I want SER to accept request only from 2 given IP. So I wrote my configuration file like this:
if (source IP is the first IP) then {...} else if (source IP is the second IP) then {...}
but when I'm launching SER he tells me "more than one listen address found (will use only the the first one)".
any ideas?
Cyprien
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Do you have this IP 123.175.33.19 assigned to a network interface? If yes, then either other instance of ser is still running when you start it or another application in your system is using the ip and port to which ser tries to bind (do you have KPhone running, started when ser was not running?!?!).
Daniel
On 7/13/2004 1:44 PM, Cyprien Simons wrote:
Hello,
thanx for the help. Now I have forking on, 4 children and two adresses listened to, but I got the following message:
ERROR: udp_init: bind(5, 0x80c5de0, 16) on 123.175.33.19: Cannot assign requested address
and SER is quitting after that (or doesn't even start)... I don't really understand the message. To who is SER trying to assign this address? It is supposed to be just an address to listen to, isn't it?
Cyprien
On Tuesday 13 July 2004 11:54, Daniel-Constantin Mierla wrote:
Hello, I guess you start ser in non-forking mode (fork=no in config file) and therefore only one process is created which will listen on the first interface found -- that is usually loopback (127.0.0.1). If you want to set explicitly the IP address to listen to, use listen=ip_address in config file. You can have ser listening to all IP addresses setting fork=yes and number of children greater than number op IPs (in config file: children=N).
Daniel
On 7/13/2004 11:42 AM, Cyprien Simons wrote:
Hi,
I want SER to accept request only from 2 given IP. So I wrote my configuration file like this:
if (source IP is the first IP) then {...} else if (source IP is the second IP) then {...}
but when I'm launching SER he tells me "more than one listen address found (will use only the the first one)".
any ideas?
Cyprien
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
On 7/13/2004 11:54 AM, Daniel-Constantin Mierla wrote:
Hello, I guess you start ser in non-forking mode (fork=no in config file) and therefore only one process is created which will listen on the first interface found -- that is usually loopback (127.0.0.1). If you want to set explicitly the IP address to listen to, use listen=ip_address in config file. You can have ser listening to all IP addresses setting fork=yes and number of children greater than number op IPs (in config file: children=N).
errata: the number of children is set per interface, no need to be greater than number of IPs, just set fork=yes (thx to Andrei for attention).
Daniel
On 7/13/2004 11:42 AM, Cyprien Simons wrote:
Hi,
I want SER to accept request only from 2 given IP. So I wrote my configuration file like this:
if (source IP is the first IP) then {...} else if (source IP is the second IP) then {...}
but when I'm launching SER he tells me "more than one listen address found (will use only the the first one)".
any ideas?
Cyprien
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers