Re: {Disarmed} Re: {Disarmed} Re: Problem with gw_gethostbyname in Stable version 1.4.3
Alejandro, Success!!! When I added the FQDN and the trailing forward slash, it seems to be working now with the Stable 1.4.3 version. I had tried the FQDN yesterday without success so I believe that the trailing forward slash may be the key (Just FYI for anyone else frantically googling like I was yesterday). One final semi related question: What is the format of the IP list for the connect-allow-ip parameter? I had 3.3.3.3,127.0.0.1 but it told me that 3.3.3.3 was denied. When I changed it to just 3.3.3.3 it works, but I would like to add multiple addresses into that list. Thanks to everyone who responded. I really appreciate all of your help. Brian Original Message Subject: {Disarmed} Re: {Disarmed} Re: Problem with gw_gethostbyname in Stable version 1.4.3 From: Alejandro Guerrieri alejandro.guerri...@gmail.com To: Brian Rathman br...@telrite.com Cc: users@kannel.org Date: Tuesday, August 10, 2010 10:29:38 AM Ah, or you could use: send-url = http://smstest.laborbridge.com http://smstest.laborbridge.com:9001/ Tthat should work (I think it gets confused with the IP + port, should work fine with a regular fqdn). Regards, Alex On Tue, Aug 10, 2010 at 4:20 PM, Brian Rathman br...@telrite.com mailto:br...@telrite.com wrote: Here is my /etc/hosts file: 127.0.0.1 localhost 10.20.10.6 Amstel.telrite.com http://Amstel.telrite.com Amstel 2.2.2.2smstest.laborbridge.com http://smstest.laborbridge.com I can ping and resolve all of these fine. 2.2.2.2 is not the actual IP address obviously, but I believe the problem is that function in protected.c is trying to resolve *MailScanner warning: numerical links are often malicious:* 2.2.2.2:9001 http://2.2.2.2:9001 instead of just 2.2.2.2 Original Message Subject: {Disarmed} Re: Problem with gw_gethostbyname in Stable version 1.4.3 From: Abdul Basit basit.e...@gmail.com mailto:basit.e...@gmail.com To: Nikos Balkanas nbalka...@gmail.com mailto:nbalka...@gmail.com Cc: Brian Rathman br...@telrite.com mailto:br...@telrite.com, users@kannel.org mailto:users@kannel.org Date: Tuesday, August 10, 2010 6:27:27 AM Nikos is right. I get this problem resolved by adding line in /etc/hosts 127.0.0.1 localhost.localdomain localhost yourhostnamehere or add line 2.2.2.2 yourhostname 2010/8/10 Nikos Balkanas nbalka...@gmail.com mailto:nbalka...@gmail.com mailto:nbalka...@gmail.com mailto:nbalka...@gmail.com Hi, Always use users list for such questions. Add your server to /etc/hosts. I don't know to which variable name you are referring to. Try: telnet 9201 from a shell to see if you have connectivity to HTTP smsc. That address 2.2.2.2 in your send-url looks mighty suspicious. BR, Nikos - Original Message - From: Brian Rathman br...@telrite.com mailto:br...@telrite.com mailto:br...@telrite.com mailto:br...@telrite.com To: de...@kannel.org mailto:de...@kannel.org mailto:de...@kannel.org mailto:de...@kannel.org Sent: Tuesday, August 10, 2010 12:49 AM Subject: Problem with gw_gethostbyname in Stable version 1.4.3 Hi, I am attempting to connect two Kannel servers at two different locations via the smsc group using smsc = http. I have tried this on three different server and I am getting the same bevahior on all three (system 1: debian 5.0.5, system 2: Ubuntu 9.04, system 3: Ubuntu 10.04). In all three cases, when I send a message via the sendsms-user group, I get the following error: 2010-08-09 10:13:47 [9636] [17] ERROR: Error while gw_gethostbyname occurs. 2010-08-09 10:13:47 [9636] [17] ERROR: System error 3: No such process 2010-08-09 10:13:47 [9636] [17] ERROR: gethostbyname failed 2010-08-09 10:13:47 [9636] [17] ERROR: error connecting to server `*MailScanner warning: numerical links are often malicious:* *MailScanner warning: numerical links are often malicious:* 2.2.2.2:9001 http://2.2.2.2:9001 *MailScanner warning: numerical links are often malicious:* http://2.2.2.2:9001' at port `9001' I googled several things before bothering you guys, and even tried adding some code to the protected.c file in the gw_gethostbyname function to try and figure out what was going on. What I found, was that the name variable is showing up as *MailScanner warning: numerical links are often malicious
RE: {Disarmed} Re: {Disarmed} Re: Problem with gw_gethostbyname in Stable version 1.4.3
Brian, Use 3.3.3.3;127.0.0.1 instead of a comma. == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Brian Rathman Sent: Tuesday, 10 August, 2010 16:45 To: users@kannel.org Subject: Re: {Disarmed} Re: {Disarmed} Re: Problem with gw_gethostbyname in Stable version 1.4.3 Alejandro, Success!!! When I added the FQDN and the trailing forward slash, it seems to be working now with the Stable 1.4.3 version. I had tried the FQDN yesterday without success so I believe that the trailing forward slash may be the key (Just FYI for anyone else frantically googling like I was yesterday). One final semi related question: What is the format of the IP list for the connect-allow-ip parameter? I had 3.3.3.3,127.0.0.1 but it told me that 3.3.3.3 was denied. When I changed it to just 3.3.3.3 it works, but I would like to add multiple addresses into that list. Thanks to everyone who responded. I really appreciate all of your help. Brian Original Message Subject: {Disarmed} Re: {Disarmed} Re: Problem with gw_gethostbyname in Stable version 1.4.3 From: Alejandro Guerrieri alejandro.guerri...@gmail.com To: Brian Rathman br...@telrite.com Cc: users@kannel.org Date: Tuesday, August 10, 2010 10:29:38 AM Ah, or you could use: send-url = http://smstest.laborbridge.com http://smstest.laborbridge.com:9001/ Tthat should work (I think it gets confused with the IP + port, should work fine with a regular fqdn). Regards, Alex On Tue, Aug 10, 2010 at 4:20 PM, Brian Rathman br...@telrite.com mailto:br...@telrite.com wrote: Here is my /etc/hosts file: 127.0.0.1 localhost 10.20.10.6 Amstel.telrite.com http://Amstel.telrite.com Amstel 2.2.2.2smstest.laborbridge.com http://smstest.laborbridge.com I can ping and resolve all of these fine. 2.2.2.2 is not the actual IP address obviously, but I believe the problem is that function in protected.c is trying to resolve *MailScanner warning: numerical links are often malicious:* 2.2.2.2:9001 http://2.2.2.2:9001 instead of just 2.2.2.2 Original Message Subject: {Disarmed} Re: Problem with gw_gethostbyname in Stable version 1.4.3 From: Abdul Basit basit.e...@gmail.com mailto:basit.e...@gmail.com To: Nikos Balkanas nbalka...@gmail.com mailto:nbalka...@gmail.com Cc: Brian Rathman br...@telrite.com mailto:br...@telrite.com, users@kannel.org mailto:users@kannel.org Date: Tuesday, August 10, 2010 6:27:27 AM Nikos is right. I get this problem resolved by adding line in /etc/hosts 127.0.0.1 localhost.localdomain localhost yourhostnamehere or add line 2.2.2.2 yourhostname 2010/8/10 Nikos Balkanas nbalka...@gmail.com mailto:nbalka...@gmail.com mailto:nbalka...@gmail.com mailto:nbalka...@gmail.com Hi, Always use users list for such questions. Add your server to /etc/hosts. I don't know to which variable name you are referring to. Try: telnet 9201 from a shell to see if you have connectivity to HTTP smsc. That address 2.2.2.2 in your send-url looks mighty suspicious. BR, Nikos - Original Message - From: Brian Rathman br...@telrite.com mailto:br...@telrite.com mailto:br...@telrite.com mailto:br...@telrite.com To: de...@kannel.org mailto:de...@kannel.org mailto:de...@kannel.org mailto:de...@kannel.org Sent: Tuesday, August 10, 2010 12:49 AM Subject: Problem with gw_gethostbyname in Stable version 1.4.3 Hi, I am attempting to connect two Kannel servers at two different locations via the smsc group using smsc = http. I have tried this on three different server and I am getting the same bevahior on all three (system 1: debian 5.0.5, system 2: Ubuntu 9.04, system 3: Ubuntu 10.04). In all three cases, when I send a message via the sendsms-user group, I get the following error: 2010-08-09 10:13:47 [9636] [17] ERROR: Error while gw_gethostbyname occurs. 2010-08-09 10:13:47 [9636] [17] ERROR: System error 3: No such process 2010-08-09 10:13:47 [9636] [17] ERROR: gethostbyname failed 2010-08-09 10:13:47 [9636] [17] ERROR: error connecting to server `*MailScanner warning: numerical links are often malicious:* *MailScanner warning: numerical links are often malicious:* 2.2.2.2:9001 http://2.2.2.2:9001 *MailScanner warning: numerical links are often malicious