wml in wap push

2003-06-05 Thread amits



Hiii
 
We are trying to push a multipart wap 
push to the phone..we done SI and SL successfully..but in this case 
we are facing problemsnothing is delivered on the phone
 
we try same in two ways
 
First we create a multipart message through nokia 
internet mobile toolkit 3.1...in this file we add one .sic file and one wmlc 
file according to nokia docs.and it working fine on simulator.we 
tried to send this file using test_ppg with a working pap.
but nothing comes on the phone.
 
Second we created a file having a pap and wml code 
in a single filebut test_mime sows error while parsing
 
if u need the files code pls inform us...we shall 
send you
 
pls guide us to do same in right 
way...
 
Regards
 
Amit
 


Re: Access limitation on wap gateway side.

2003-06-05 Thread Andreas Fink

On Freitag, Juni 6, 2003, at 07:24  Uhr, Vjacheslav Chekushin wrote:

Hi, Angus.
Yes, it is simple solution, if I have one WAP gateway on host.
But once more: I talking about MANY gateways bound to different external
interfaces on ONE host. For routing to private network I use only one interface,
so all connection to private network from ALL wap gateways go through this
interface. And how do you plan allow connection from some WAP gateways,
denying it from others with iptables?


I think you can solve this problem easiest by forcing your HTTP request from your kannel to come from a specific IP. Then you can use IP tables and similar access methods. Currently the outgoing HTTP sessions probably take any port (0.0.0.0) for any outgoing http sessions.
Andreas Fink
Global Networks Switzerland AG

--
Tel: +41-61-333  Fax: +41-61-334   Mobile: +41-79-2457333
Global Networks, Inc. Clarastrasse 3, 4058 Basel, Switzerland
Web: http://www.global-networks.ch/  [EMAIL PROTECTED]
--



Re: Access limitation on wap gateway side.

2003-06-05 Thread Vjacheslav Chekushin
Hi, Angus.
Yes, it is simple solution, if I have one WAP gateway on host.
But once more: I talking about MANY gateways bound to different external
interfaces on ONE host. For routing to private network I use only one interface,
so all connection to private network from ALL wap gateways go through this
interface. And how do you plan allow connection from some WAP gateways,
denying it from others with iptables?
Angus M Wood wrote:
On Thu, 05 Jun 2003 13:55:03 +0300, Vjacheslav Chekushin <[EMAIL PROTECTED]> 
wrote:

Yes, it is possible. But in some cases it is not so easy.
I don't want to maintain several proxies for simple tasks.
And we loose pool of open connections functionality for example.
I think that to implement simple access&deny filtering not so tricky.


I don't know what OS you're running on, but a simple solution for Linux 
users would be "iptables", for example denying locally generated 
connections from the source port and IP on the local machine on the 
'OUTPUT/mangle'. Other OS/firewall combinations will vary, of course.

Cheers,
_Gus





--
Vjacheslav Chekushinmailto:[EMAIL PROTECTED]
Latvian Mobile Phone Companyhttp://www.lmt.lv
Network Support and Information Technology Group+371 7773436
+371 9248284 (mobile)



Re: Kannel SMPP interface !

2003-06-05 Thread Shridhar Raju



Hi Himalaya,
 
If you are talking about interface to connect to 
SMSCs, then Kannel has got both protocol support.
 
But if you are talking about sendsms HTTP interface 
of kannel, then why do you need SMPP interface for that purpose. Still you want 
your client to send SM using those protocol, then directly connect to 
SMSC.
 
Hope this helps you.

  Hi 
  list,
    
  Is there anyway i can use SMPP or UCP interface to send SMS instead of http 
  interface 
  It might seem 
  wierd but is it possible 
   
  Any 
  ideas
   
  Himalay


Re: Access limitation on wap gateway side.

2003-06-05 Thread Vjacheslav Chekushin
Hi, Andreas.

Andreas Fink wrote:


On Donnerstag, Juni 5, 2003, at 09:50 Uhr, Vjacheslav Chekushin wrote:

Hi, list.
I have several WAP gateways on one host (bound to different
interfaces).
One of WAP gateways is allowed to go into private network, but
others not.
Therefore I must limit access to private network somewhere in WAP
gateway
internally.
So we go to http connection limitation on WAP gateway side.
We must have following data flow (as I see it):
1. Resolving.
2. Check filters (must be configurable in config file?).
3. If OK, then connect.
Now both resolving and connecting going on socket.c

There are two ways to implement it.

1. Dramatic changes: separate resolving and connecting, so http.c
first resolve host, next analize, next (if needed) make connection.
2. Minor changes: write filter.[ch] with init and shutdown.
http.c inits and shutdowns filter part, but socket.c uses it to check
resolved hosts. (Of course one extra parameter will be needed for
tcpip_connect_nb_to_server function (check filters or not).
What people think about it?
I going to implement this functionality, and I want to choose right
way.
Is this functionality will be accepted?
How it must be configured? Any comments|advices?
How about using a PROXY and do the filtering that way?
Having this kind of filtering in Kannel can be pretty tricky.
Yes, it is possible. But in some cases it is not so easy.
I don't want to maintain several proxies for simple tasks.
And we loose pool of open connections functionality for example.
I think that to implement simple access&deny filtering not so tricky.
P.S. Proxy resolves hostnames for requests? Yes.
 But WAP gateway has own resolving nethertheless. ;).

Andreas Fink
Global Networks Switzerland AG


--
Vjacheslav Chekushinmailto:[EMAIL PROTECTED]
Latvian Mobile Phone Companyhttp://www.lmt.lv



Kannel SMPP interface !

2003-06-05 Thread Himalay Gopu



Hi 
list,
  
Is there anyway i can use SMPP or UCP interface to send SMS instead of http 
interface 
It might seem wierd 
but is it possible 
 
Any 
ideas
 
Himalay


Re: Access limitation on wap gateway side.

2003-06-05 Thread Andreas Fink

On Donnerstag, Juni 5, 2003, at 09:50  Uhr, Vjacheslav Chekushin wrote:

Hi, list.
I have several WAP gateways on one host (bound to different interfaces).
One of WAP gateways is allowed to go into private network, but others not.
Therefore I must limit access to private network somewhere in WAP gateway
internally.

So we go to http connection limitation on WAP gateway side.
We must have following data flow (as I see it):
1. Resolving.
2. Check filters (must be configurable in config file?).
3. If OK, then connect.

Now both resolving and connecting going on socket.c

There are two ways to implement it.

1. Dramatic changes: separate resolving and connecting, so http.c
first resolve host, next analize, next (if needed) make connection.
2. Minor changes: write filter.[ch] with init and shutdown.
http.c inits and shutdowns filter part, but socket.c uses it to check
resolved hosts. (Of course one extra parameter will be needed for
tcpip_connect_nb_to_server function (check filters or not).

What people think about it?
I going to implement this functionality, and I want to choose right way.
Is this functionality will be accepted?
How it must be configured? Any comments|advices?

How about using a PROXY and do the filtering that way?
Having this kind of filtering in Kannel can be pretty tricky.

Andreas Fink
Global Networks Switzerland AG

--
Tel: +41-61-333  Fax: +41-61-334   Mobile: +41-79-2457333
Global Networks, Inc. Clarastrasse 3, 4058 Basel, Switzerland
Web: http://www.global-networks.ch/  [EMAIL PROTECTED]
--



[FYI] ppg bug fixes

2003-06-05 Thread Aarno Syvänen
Hi,

yet another version. Previous one did not work without
concatenation & max-messages in *wapbox*.
Aarno



cvs.diff
Description: Binary data


Access limitation on wap gateway side.

2003-06-05 Thread Vjacheslav Chekushin
Hi, list.
I have several WAP gateways on one host (bound to different interfaces).
One of WAP gateways is allowed to go into private network, but others not.
Therefore I must limit access to private network somewhere in WAP gateway
internally.
So we go to http connection limitation on WAP gateway side.
We must have following data flow (as I see it):
1. Resolving.
2. Check filters (must be configurable in config file?).
3. If OK, then connect.
Now both resolving and connecting going on socket.c

There are two ways to implement it.

1. Dramatic changes: separate resolving and connecting, so http.c
   first resolve host, next analize, next (if needed) make connection.
2. Minor changes: write filter.[ch] with init and shutdown.
   http.c inits and shutdowns filter part, but socket.c uses it to check
   resolved hosts. (Of course one extra parameter will be needed for
   tcpip_connect_nb_to_server function (check filters or not).
What people think about it?
I going to implement this functionality, and I want to choose right way.
Is this functionality will be accepted?
How it must be configured? Any comments|advices?
--
Vjacheslav Chekushinmailto:[EMAIL PROTECTED]
Latvian Mobile Phone Companyhttp://www.lmt.lv



Bug in log.c

2003-06-05 Thread Michael Mulcahy
Hi All,

There is a bug in the logging functions debug, info, warning, error and
panic 
which cause a crash when called from a thread that has a thread id larger 
than 1024, i.e. gwthread_self returns value > 1024

In the log module there is an array for mapping threads to logfiles:

#define THREADTABLE_SIZE 1024
static unsigned int thread_to [ (long) THREADTABLE_SIZE ];

The log functions use this to identify which log file to write the data to, 
as in following:

void error(int e, const char *fmt, ...) 
{
if ((e = thread_to[gwthread_self()])) { / Relevent line ***/
FUNCTION_GUTS_EXCL(GW_ERROR, "");
} else {
FUNCTION_GUTS(GW_ERROR, "");
}
}

Unfortunately if gwthread_self returns a value greater than 1024 then
problems
occur.

Comments or suggestions appreciated!

Kindest Regards
Michael.






<>

RE: to all developers

2003-06-05 Thread Igor Ivoilov
I'm here, but I did not much development lately

> -Original Message-
> From: Aarno Syvanen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 04, 2003 10:44 AM
> To: Bruno Rodrigues
> Cc: [EMAIL PROTECTED]
> Subject: Re: to all developers
> 
> 
> Here I am ;) There are ppg bug patch and ppg dlr patch in the devel
> list, but dlr one requires documentation before committing
> 
> Aarno
> 
> On Wednesday, June 4, 2003, at 03:42 AM, Bruno Rodrigues wrote:
> 
> > A Ter, 2003-06-03 às 23:56, Stipe Tolj escreveu:
> >> Bruno Rodrigues wrote:
> >>>
> >>> If you are developing kannel, have an cvs account or have 
> submitted
> >>> patches recently, please subscribe yourself at 
> http://bugs.kannel.org
> >>> and tell me your name for me to promote your access level.
> >>>
> >>> If you have cvs access, please subscribe 
> [EMAIL PROTECTED] and
> >>> fix your warnings ;)
> >>
> >> agreed, +1.
> >
> > [EMAIL PROTECTED] /usr/src/kannel/gateway$ cat ChangeLog | perl -ne
> > '/^[0-9].{9}\s+(.+?)\s+ > Alexander Malysh
> > Bruno Rodrigues
> > David Holland
> > Stipe Tolj
> >
> > People are quiet now ?
> >
> >
> > [EMAIL PROTECTED] /usr/src/kannel/gateway/doc$ cat 
> ChangeLog-1.3.1 | perl 
> > -ne
> > '/^[0-9].{9}\s+(.+?)\s+ > Aarno Syvänen
> > Andreas Fink
> > Bruno Rodrigues
> > Stipe Tolj
> >
> > [EMAIL PROTECTED] /usr/src/kannel/gateway/doc$ cat 
> ChangeLog-1.3.0 | perl 
> > -ne
> > '/^[0-9].{9}\s+(.+?)\s+ > Aarno Syvänen
> > Andreas Fink
> > Igor Ivoilov
> > Igor Ivoiov
> > Oded Arbel
> > Stipe Tolj
> >
> > [EMAIL PROTECTED] /usr/src/kannel/gateway/doc$ cat 
> ChangeLog-1.2.1 | perl 
> > -ne
> > '/^[0-9].{9}\s+(.+?)\s+ > Aarno Syv\212nen
> > Aarno Syvnen
> > Andreas Fink
> > Bruno Rodrigues
> > Harrie Hazewinkel
> > Oded Arbel
> > Stipe Tolj
> >
> > Aarno, Igor, Oded, where are you ?
> >
> > And Harrie, what happen to the modularity project ?
> >
> >
> >
> > -- 
> > 
> >
> >
> 
> 
>