Assertion failed in PPG

Vjacheslav Chekushin <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization LMT
Message-ID <[email protected]>
Hi, all.
I don't know is it problem in PPG or something else but if I try to send
push from not allowed ip, I get assertion failed and wapbox restarted.

Wapbox log file:
2003-05-20 13:14:02 [11] DEBUG: HTTP: Creating HTTPClient for `10.20.8.13'.
2003-05-20 13:14:02 [14] WARNING: did not found ip from any of core lists, deny it
2003-05-20 13:14:02 [14] ERROR: Request </cgi-bin/wap-push.cgi> from 
<10.20.8.13>: ip forbidden, closing the client
2003-05-20 13:14:02 [14] DEBUG: HTTP: Destroying HTTPClient area 0x8154308.
2003-05-20 13:14:02 [14] DEBUG: HTTP: Destroying HTTPClient for `10.20.8.13'.
2003-05-20 13:14:02 [14] PANIC: gwlib/octstr.c:2138: seems_valid_real: Assertion 
`ostr->len + 1 <= ostr->size' failed. (Called from 
gwlib/octstr.c:247:octstr_destroy.)


 From configuration file:

group = ppg
ppg-url = /cgi-bin/wap-push.cgi
ppg-port = 8091
concurrent-pushes = 100
# ignore all security restrictions; only for test!!!
trusted-pi = false
users = 1024
global-sender = xxxxxxx
ppg-allow-ip = 127.0.0.1;10.30.40.6;10.10.253.4
#ssl-server-cert-file = "/home/aarno/kannelcvs/gateway/gw/cert.pem"
#ssl-server-key-file = "/home/aarno/kannelcvs/gateway/gw/key.pem"
#ppg-port-ssl = no
default-smsc = cimd2

# PPG USER SETUP, for authorizing a specific push user

group = wap-push-user
wap-push-user = xxxxxx
ppg-username = xxxxxx
ppg-password = xxxxxx
#allowed-prefix = 40;60;70
#denied-prefix = 50
#white-list = http://localhost:8082/whitelist
#black-list =  http://localhost:8082/blacklist
allow-ip = 127.0.0.1;10.30.40.6;10.10.253.4
deny-ip = 194.100.32.82
default-smsc = cimd2


-- 
Vjacheslav Chekushin                                mailto:[email protected]
Latvian Mobile Phone Company                        http://www.lmt.lv
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.