2 way-sms can run in endless loop

2 way-sms can run in endless loop SearchSearch
Author Message
lars mservice
Posted on Wednesday, May 28, 2003 - 12:47 pm:   

Lets say that the modem i have attached on nowsms has the number 88888888.

in nowsms under 2 way sms i have a bat file that responds by returning a sms to the number that just sent something to 88888888.

Now if that number was the same as mine 88888888, then nowsms will run into loop because it will send it to itself.

The reason for pointing this out is that some people is still able to define their sendernumber themselves.
So if someone want to down my system, thats all it takes. And it will cost money too.

Maybe i could do some checking in a script, but for newbies it would be a good idea that nowsms did not respond if the sendernumber was the same as the number attached to nowsms.

Also i'd really like to see some examplefiles that would be useable in the 2 way setup (command to execute).

Anybody got any ?
Bryce ?


;)Lars mService|dk
Bryce Norwood - NowSMS Support (Bryce)
Posted on Wednesday, May 28, 2003 - 04:34 pm:   

Lars,

That's a good idea. At least we could stop the most obvious type of loop pretty easily. I'll put that on my list.

I've had this one bite me myself during testing. (Then I realised that it was also a useful scenario to test GSM modem speed under load, and it became a feature. :-))

I tend to recommend to people that they use HTTP based commands instead of executable commands. It's a lot easier to do things in HTTP scripts.

Unfortunately, I don't have any good samples. It would be easy enough to do an ASP script that performed an echo, like the command line example ... but I don't have one already put together.

Try searching the discussion board here on ASP, and I believe you'll find some links to some sites that have some helpful information.

I don't think we've had as many inquiries about PHP. There's someone out here by the name of "Tony" that pops in from time to time, he's done some PHP scripts. If you search the board on PHP, you might find a link to him with some contact info.

If anyone has some good simple samples worth uploading, e-mail them to me (nowsms@now.co.uk), and I'll upload them here and post a reference to them.

-bn