Hi everyone!

I have a question about the configuration of the file /etc/smppbox_clients

Currently I have it provisioned this way:

     user password SMPP 192.168.241.129
     user password SMPP 192.168.241.130
     username_1 password_1 SMPP 192.168.241.131
     username_2  password_2 SMPP 192.168.241.132

The reason why I have set it up with duplicated user name and password is 
because the 192.168.241.129 and 130 its a cluster and connections from it can 
came from either one or the other IP address.

My question is basically, what are the gold rules when setting up users? Can I 
have multiple users with the same credentials but comming from different IP's ?

The reason why I asking this is because some connections from 192.168.241.130 
are being denied from opensmppbox, I am getting this log messages in 
opensmppbox debug log:

[6] DEBUG: opensmppbox[SMPP]: Multiple login: disconnect
[8] INFO: Box connection tried from denied host <192.168.241.130>, disconnected



Just in case is needed here a full log dump (sorry if is too long):

2013-11-05 18:01:39 [42167] [0] DEBUG: Started thread 5 (opensmppbox.c:function)
2013-11-05 18:01:39 [42167] [5] DEBUG: Thread 5 (opensmppbox.c:function) maps 
to pid 42167.
2013-11-05 18:01:39 [42167] [5] INFO: Client connected from <192.168.241.131>
2013-11-05 18:01:39 [42167] [5] DEBUG: Connecting to <127.0.0.1>
2013-11-05 18:01:39 [42167] [5] INFO: Connected to bearerbox at localhost port 
13005.
2013-11-05 18:01:39 [42167] [5] DEBUG: Started thread 6 
(opensmppbox.c:smpp_to_bearerbox)
2013-11-05 18:01:39 [42167] [5] ERROR: opensmppbox: bearerbox_to_smpp: thread 
starts
2013-11-05 18:01:39 [42167] [6] DEBUG: Thread 6 
(opensmppbox.c:smpp_to_bearerbox) maps to pid 42167.
2013-11-05 18:01:39 [42167] [6] ERROR: opensmppbox: smpp_to_bearerbox: thread 
starts
2013-11-05 18:01:39 [42167] [6] DEBUG: SMPP[(null)]: Got PDU:
2013-11-05 18:01:39 [42167] [6] DEBUG: SMPP PDU 0x28b013c0 dump:
2013-11-05 18:01:39 [42167] [6] DEBUG:   type_name: bind_transmitter
2013-11-05 18:01:39 [42167] [6] DEBUG:   command_id: 2 = 0x00000002
2013-11-05 18:01:39 [42167] [6] DEBUG:   command_status: 0 = 0x00000000
2013-11-05 18:01:39 [42167] [6] DEBUG:   sequence_number: 137 = 0x00000089
2013-11-05 18:01:39 [42167] [6] DEBUG:   system_id: "username_1"
2013-11-05 18:01:39 [42167] [6] DEBUG:   password: "password_1"
2013-11-05 18:01:39 [42167] [6] DEBUG:   system_type: "SMPP"
2013-11-05 18:01:39 [42167] [6] DEBUG:   interface_version: 52 = 0x00000034
2013-11-05 18:01:39 [42167] [6] DEBUG:   addr_ton: 0 = 0x00000000
2013-11-05 18:01:39 [42167] [6] DEBUG:   addr_npi: 0 = 0x00000000
2013-11-05 18:01:39 [42167] [6] DEBUG:   address_range: NULL
2013-11-05 18:01:39 [42167] [6] DEBUG: SMPP PDU dump ends.
2013-11-05 18:01:39 [42167] [6] DEBUG: opensmppbox[SMPP]: Multiple login: 
disconnect


2013-11-05 18:01:39 [42167] [6] DEBUG: Client connected with id SMPP
2013-11-05 18:01:39 [42167] [6] DEBUG: SMPP[SMPP]: Sending PDU:
2013-11-05 18:01:39 [42167] [6] DEBUG: SMPP PDU 0x28b01280 dump:
2013-11-05 18:01:39 [42167] [6] DEBUG:   type_name: bind_transmitter_resp
2013-11-05 18:01:39 [42167] [6] DEBUG:   command_id: 2147483650 = 0x80000002
2013-11-05 18:01:39 [42167] [6] DEBUG:   command_status: 0 = 0x00000000
2013-11-05 18:01:39 [42167] [6] DEBUG:   sequence_number: 137 = 0x00000089
2013-11-05 18:01:39 [42167] [6] DEBUG:   system_id: "primal-gj"
2013-11-05 18:01:39 [42167] [6] DEBUG: SMPP PDU dump ends.
2013-11-05 18:01:39 [42167] [3] ERROR: opensmppbox: bearerbox_to_smpp: thread 
terminates
2013-11-05 18:01:39 [42167] [4] ERROR: opensmppbox: smpp_to_bearerbox: thread 
terminates
2013-11-05 18:01:39 [42167] [4] DEBUG: Thread 4 
(opensmppbox.c:smpp_to_bearerbox) terminates.
2013-11-05 18:01:39 [42167] [3] DEBUG: Thread 3 (opensmppbox.c:function) 
terminates.


2013-11-05 18:01:40 [42167] [6] DEBUG: SMPP[SMPP]: Got PDU:
2013-11-05 18:01:40 [42167] [6] DEBUG: SMPP PDU 0x28b01280 dump:
2013-11-05 18:01:40 [42167] [6] DEBUG:   type_name: submit_sm
2013-11-05 18:01:40 [42167] [6] DEBUG:   command_id: 4 = 0x00000004
2013-11-05 18:01:40 [42167] [6] DEBUG:   command_status: 0 = 0x00000000
2013-11-05 18:01:40 [42167] [6] DEBUG:   sequence_number: 138 = 0x0000008a
2013-11-05 18:01:40 [42167] [6] DEBUG:   service_type: NULL
2013-11-05 18:01:40 [42167] [6] DEBUG:   source_addr_ton: 0 = 0x00000000
2013-11-05 18:01:40 [42167] [6] DEBUG:   source_addr_npi: 0 = 0x00000000
2013-11-05 18:01:40 [42167] [6] DEBUG:   source_addr: "*********"
2013-11-05 18:01:40 [42167] [6] DEBUG:   dest_addr_ton: 0 = 0x00000000
2013-11-05 18:01:40 [42167] [6] DEBUG:   dest_addr_npi: 0 = 0x00000000
2013-11-05 18:01:40 [42167] [6] DEBUG:   destination_addr: "**********"
2013-11-05 18:01:40 [42167] [6] DEBUG:   esm_class: 0 = 0x00000000
2013-11-05 18:01:40 [42167] [6] DEBUG:   protocol_id: 0 = 0x00000000
2013-11-05 18:01:40 [42167] [6] DEBUG:   priority_flag: 0 = 0x00000000
2013-11-05 18:01:40 [42167] [6] DEBUG:   schedule_delivery_time: NULL
2013-11-05 18:01:40 [42167] [6] DEBUG:   validity_period: NULL
2013-11-05 18:01:40 [42167] [6] DEBUG:   registered_delivery: 0 = 0x00000000
2013-11-05 18:01:40 [42167] [6] DEBUG:   replace_if_present_flag: 0 = 0x00000000
2013-11-05 18:01:40 [42167] [6] DEBUG:   data_coding: 0 = 0x00000000
2013-11-05 18:01:40 [42167] [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2013-11-05 18:01:40 [42167] [6] DEBUG:   sm_length: 118 = 0x00000076
2013-11-05 18:01:40 [42167] [6] DEBUG:   short_message:
2013-11-05 18:01:40 [42167] [6] DEBUG:    Octet string at 0x289f6da0:
2013-11-05 18:01:40 [42167] [6] DEBUG:      len:  118
2013-11-05 18:01:40 [42167] [6] DEBUG:      size: 119
2013-11-05 18:01:40 [42167] [6] DEBUG:      immutable: 0
2013-11-05 18:01:40 [42167] [6] DEBUG:      data: blah blah blah
2013-11-05 18:01:40 [42167] [6] DEBUG:      data: blah blah blah
2013-11-05 18:01:40 [42167] [6] DEBUG:      data: blah blah blah
2013-11-05 18:01:40 [42167] [6] DEBUG:      data: blah blah blah
2013-11-05 18:01:40 [42167] [6] DEBUG:    Octet string dump ends.
2013-11-05 18:01:40 [42167] [6] DEBUG: SMPP PDU dump ends.

2013-11-05 18:01:40 [42167] [5] DEBUG: SMPP[SMPP]: Sending PDU:
2013-11-05 18:01:40 [42167] [5] DEBUG: SMPP PDU 0x28b013c0 dump:
2013-11-05 18:01:40 [42167] [5] DEBUG:   type_name: submit_sm_resp
2013-11-05 18:01:40 [42167] [5] DEBUG:   command_id: 2147483652 = 0x80000004
2013-11-05 18:01:40 [42167] [5] DEBUG:   command_status: 0 = 0x00000000
2013-11-05 18:01:40 [42167] [5] DEBUG:   sequence_number: 138 = 0x0000008a
2013-11-05 18:01:40 [42167] [5] DEBUG:   message_id: "0a2ee91c"
2013-11-05 18:01:40 [42167] [5] DEBUG: SMPP PDU dump ends.


Aldo Zavala


Reply via email to