Alphanumberic Sender

2002-10-16 Thread Eddie

Hi,

We have been facing this issues since the first time we uses Kannel latest
CVS version using SMPP v3.4 connection:

1. Our source-address-ton and npi is not tallying with the one that we
configured:

source-addr-npi = 1001 in kannel.conf and return value in SMSC is 513
source-addr-ton = 0101 in kannel.conf and return value in SMSC is 65

2. Can we send alphanumeric originator number instead of numeric using SMPP
connection?

I really need help, can anyone advice?

Thanks
Eddie Ng






problems making with wtls

2002-10-16 Thread Pate Mark-marpate1

Hi all,

I am having trouble with the make of kannel 1.2.0 with the following
configuration :

./configure --with-wtls=openssl --disable-docs

when I type make, everything is OK until I get the following :

gcc -D_REENTRANT=1 -I. -g -O2 -DBROKEN_PTHREADS=1 -I/usr/include/libxml2
-I/usr/local/ssl/include  -o gw/wapbox gw/wapbox.o libgw.a libwmlscript.a
libwap.a libgwlib.a -lssl -lpthread -lresolv -lnsl -lm  -L/usr/lib -lxml2
-lz -lm -L/usr/local/ssl/lib -lcrypto -lssl -L/usr/local/ssl/lib -lcrypto
libwap.a(wtls_statesupport.o): In function `wtls_decrypt_rc5':
/home/marpate1/gateway-1.2.0/wap/wtls_statesupport.c:291: undefined
reference to `RC5_32_set_key'
/home/marpate1/gateway-1.2.0/wap/wtls_statesupport.c:299: undefined
reference to `RC5_32_cbc_encrypt'
/home/marpate1/gateway-1.2.0/wap/wtls_statesupport.c:317: undefined
reference to `RC5_32_cbc_encrypt'
libwap.a(wtls_statesupport.o): In function `wtls_encrypt_rc5':
/home/marpate1/gateway-1.2.0/wap/wtls_statesupport.c:354: undefined
reference to `RC5_32_set_key'
/home/marpate1/gateway-1.2.0/wap/wtls_statesupport.c:360: undefined
reference to `RC5_32_cbc_encrypt'
/home/marpate1/gateway-1.2.0/wap/wtls_statesupport.c:376: undefined
reference to `RC5_32_cbc_encrypt'
collect2: ld returned 1 exit status
make: *** [gw/wapbox] Error 1

Any ideas?

Thanks,
Mark
--
The box said Windows XP or better. So I installed linux.






RE: problems making with wtls

2002-10-16 Thread Paul Keogh

> ./configure --with-wtls=openssl --disable-docs
>
> when I type make, everything is OK until I get the following :
>
> gcc -D_REENTRANT=1 -I. -g -O2 -DBROKEN_PTHREADS=1
> -I/usr/include/libxml2
> -I/usr/local/ssl/include  -o gw/wapbox gw/wapbox.o libgw.a
> libwmlscript.a
> libwap.a libgwlib.a -lssl -lpthread -lresolv -lnsl -lm
> -L/usr/lib -lxml2
> -lz -lm -L/usr/local/ssl/lib -lcrypto -lssl
> -L/usr/local/ssl/lib -lcrypto
> libwap.a(wtls_statesupport.o): In function `wtls_decrypt_rc5':
> /home/marpate1/gateway-1.2.0/wap/wtls_statesupport.c:291: undefined
> reference to `RC5_32_set_key'
> /home/marpate1/gateway-1.2.0/wap/wtls_statesupport.c:299: undefined
> reference to `RC5_32_cbc_encrypt'
> /home/marpate1/gateway-1.2.0/wap/wtls_statesupport.c:317: undefined
> reference to `RC5_32_cbc_encrypt'
> libwap.a(wtls_statesupport.o): In function `wtls_encrypt_rc5':
> /home/marpate1/gateway-1.2.0/wap/wtls_statesupport.c:354: undefined
> reference to `RC5_32_set_key'
> /home/marpate1/gateway-1.2.0/wap/wtls_statesupport.c:360: undefined
> reference to `RC5_32_cbc_encrypt'
> /home/marpate1/gateway-1.2.0/wap/wtls_statesupport.c:376: undefined
> reference to `RC5_32_cbc_encrypt'
> collect2: ld returned 1 exit status
> make: *** [gw/wapbox] Error 1
>
> Any ideas?

One possibility is that because RC5 is not a 'free' algorithm (RSA hold
some IP rights in the US and maybe elsewhere), your OpenSSL build did not
have RC5 support enabled by default. You should at least check that OpenSSL
is built with RC5 support at this stage. And as you can see from above, WTLS
needs RC5...






RE: problems making with wtls

2002-10-16 Thread Pate Mark-marpate1

Hi Paul,

Thanks for the feedback. I previously downloaded the openssl source and
re-compliled. This seems to have rc5 enabled as I can see the rc5.h file and
the rc5 functions are present in libopenssl.a.

Cheers,
Mark


-Original Message-
From: Paul Keogh [mailto:[EMAIL PROTECTED]]
Sent: 16 October 2002 10:53
To: [EMAIL PROTECTED]
Subject: RE: problems making with wtls

One possibility is that because RC5 is not a 'free' algorithm (RSA hold
some IP rights in the US and maybe elsewhere), your OpenSSL build did not
have RC5 support enabled by default. You should at least check that OpenSSL
is built with RC5 support at this stage. And as you can see from above, WTLS
needs RC5...






Rolling log capability...

2002-10-16 Thread jerome

hi all, i was just wondering if there's a way on how to roll-out logs... it 
seems that logs grow in an exponentially... (for high traffic.. hehehe) if 
ill be setting the verbosity of the logs.. it would give me less 
information... so i was thinking if syslogd can do the job.. but im having 
second thoughts if this can do the job...

TIA,




RE: Rolling log capability...

2002-10-16 Thread Oded Arbel


With modern unix systems you can use the logrotate facility which rotates log files. 
at m-Wise we set it to rotate the logs every day (at 4 AM), compress old logs and keep 
14 days of logs. we also configured it to send a HUP signal to the boxes which causes 
them to re-open the new log files, otherwise Kannel wouldn't know that the log files 
have been rotated and will keep trying to write to non-existant files.

--
Oded Arbel
m-Wise mobile solutions
[EMAIL PROTECTED]

+972-9-9581711 (116)
+972-67-340014

::..
You never forget people that were kind
to you when you were young.
 --Mark Burley



> -Original Message-
> From: jerome [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 16, 2002 9:52 PM
> To: Kannel Users
> Subject: Rolling log capability...
> 
> 
> hi all, i was just wondering if there's a way on how to 
> roll-out logs... it 
> seems that logs grow in an exponentially... (for high 
> traffic.. hehehe) if 
> ill be setting the verbosity of the logs.. it would give me less 
> information... so i was thinking if syslogd can do the job.. 
> but im having 
> second thoughts if this can do the job...
> 
> TIA,
> 
> 




Re: Rolling log capability...

2002-10-16 Thread jerome

thanks  

On Wednesday 16 October 2002 19:49, Oded Arbel wrote:
> With modern unix systems you can use the logrotate facility which rotates
> log files. at m-Wise we set it to rotate the logs every day (at 4 AM),
> compress old logs and keep 14 days of logs. we also configured it to send a
> HUP signal to the boxes which causes them to re-open the new log files,
> otherwise Kannel wouldn't know that the log files have been rotated and
> will keep trying to write to non-existant files.





RE: Rolling log capability...

2002-10-16 Thread Alan McNatty

Hi Oded,

You simply restart kannel am I right. ie: there's no signal handling in
kannel yet.

On Thu, 2002-10-17 at 00:49, Oded Arbel wrote:
> 
With modern unix systems you can use the logrotate facility which rotates log files. 
at m-Wise we set it to rotate the logs every day (at 4 AM), compress old
logs and keep 14 days of logs. we also configured it to send a HUP
signal to the boxes which causes them to re-open the new log files,
otherwise Kannel wouldn't know that the log files have been rotated and
will keep trying to write to non-existant files.





Re: Rolling log capability...

2002-10-16 Thread Nisan Bloch

At 03:52 AM 10/17/02 +0800, jerome wrote:
>hi all, i was just wondering if there's a way on how to roll-out logs... it


just use the apache log rotate stuff.

nisan

>seems that logs grow in an exponentially... (for high traffic.. hehehe) if
>ill be setting the verbosity of the logs.. it would give me less
>information... so i was thinking if syslogd can do the job.. but im having
>second thoughts if this can do the job...
>
>TIA,





Urgent - How to set ssl-client-certkey-file ?? (Please Help )

2002-10-16 Thread tuckseng kong



To Kannel User:
System status:-Kennel version : Kannel 1.2.0-Running on Linux 
I have successfully run Kannel as a WAP gateway and able to connect toHTTP server ,on requesting and receiving CONTENT.(on a simulated phone) 
Below is My WAP Gateway Configuration File:
## Kannel version 1.2.0# Kannel as  WAP Gateway# Data    : 2002/9/25# filename: WAPKannel.conf#group = coreadmin-port = 13000admin-password = barwapbox-port = 13002wdp-interface-name = "*"log-file = "/var/log/kannel/bearerbox.log"access-log = "/var/log/kannel/access.log"http-proxy-host = proxyhttp-proxy-port = 8085
group = wapboxbearerbox-host = gsm-brws1log-file = "/var/log/kannel/wapbox.log"force-sar = yes
< QUESTION ???  >
1.The above setting able me to request & received all "http://"  CONTENT.  if I want do request & received "https://" ,then I should add like this ?
  group = core  ..  ..  ssl-client-certkey-file = "filename.pem"
  A :   where can I get this ssl client certkey file ?   B :   Or do I have to make one up(how)?
2.Is the below setting valid ?
  wdp-interface-name : 9201;9203   (value 9200 to 9208)

TS.KongE-mail:  [EMAIL PROTECTED] (personal)  
 Internet access plans that fit your lifestyle -- join MSN. Click Here