[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

Kannel 1.4.1 fails to log some messages, logs ALERT - ASCII-NUL chars not allowed.

Asked by pastorchris in PHP Scripting Language, Linux Administration, Unix Network Security

Tags: Kannel, Kannel 1.4.1, ASCII-NUL, smsing, kannel gateway, SUSE linux, kannel SMS gateway, kannel with MySQL, Kannel and PHP

I run Kannel 1.4.1 stable release.
I have observed it over time and I have realised that its like 90% of messages that get logged in the database.
Some messages however are not logged in the database.

I have looked at the logs over time and realised that Kannel commonly logs the following two errors:

First Error:
2009-10-12 17:13:12 [5] WARNING: SMPP: PDU NUL terminated string has no NUL.
2009-10-12 17:13:12 [5] ERROR: SMPP[SMPP:x.x.x.x.:1000/1000:user:]: SMSC returned error code 0x0000000b in response to submit_sm.

Second Error:
Oct 12 09:19:59 MY_HOST suhosin[7281]: ALERT - ASCII-NUL chars not allowed within request variables - dropped variable 'text' (attacker '10.0.0.20', file '/srv/www/htdocs/receive.php')

The second error is got when the PHP script (above) is invoked.
The usage and access log files sometimes have the message logged but no always.

I run PHP 5, MySQL 5 database on a Suse box and I need to get 100 percent SMSs logged into the database.

Could it be that there's a security configuration I am missing or I need to take care of some special characters sent together with the variable 'text' to the PHP script?

How do I get this fixed?
[+][-]10/20/09 03:42 AM, ID: 25612655Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/20/09 04:53 AM, ID: 25613062Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/20/09 04:57 AM, ID: 25613088Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/20/09 05:31 AM, ID: 25613306Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/20/09 06:10 AM, ID: 25613657Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/20/09 11:59 PM, ID: 25621278Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/24/09 04:45 AM, ID: 25651740Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/26/09 01:42 AM, ID: 25660497Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/26/09 07:09 AM, ID: 25662351Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/09/09 02:05 AM, ID: 25774596Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-89 - Hierarchy / EE_QW_EXPERT_20070906