Kannel can accept SMPP connection - smpp

I have kannel and I can connect to others SMPP servers and send SMS, but can I make my Kannel accept incoming SMPP Conncetion?
Is there anything I must add it to the /etc/kannel/kannel.conf or there is a package must be installed?
Regards

You can use OpenSMPPBox. OpenSMPPBox is a special Kannel box that listens for smpp connections and accepts and sends sms messages from and to smpp clients.
OpenSMPPBox behaves similar to other Kannel boxes and share a compatible
configuration file format and command line options.
There is a github repo.
You can find its whole documentation here

Related

Send a message on Graylog GELF UDP Input through a JAVA class

I've this Graylog GELF UDP Input (image) and I need to send a message through a JAVA class.
The message isn't Log info, but is JSON.
Can you help me find a simple solution?
I already use Graylog with AMQP Input, but I would like to create an emergency solution in case RabbitMQ is not available.
Thanks

Apache NiFi TCP Client/Server

Can I simulate a TCP client/server interaction using Apache NiFi processors alone or do I have to write code for this? The processors to be considered here are ListenTCP, PutTCP, and GetTCP. In particular, I want to simulate and show a POC for sending HL7 messages from a TCP client to a TCP server. Anyone done this before using NiFi? Any help would be appreciated. Thanks.
ListenTCP starts a server socket waiting for incoming TCP connections. Your client can make connections to the hostname where NiFi is running and the port specified in ListenTCP. If your client needs to send multiple pieces of data over a single connection, then it must send new-lines in between each message. You can simulate a client in NiFi by using PutTCP and pointing it at the same host/port where ListenTCP is running.
UPDATE - Here is an example of the flow:

Send sms throw smpp protocol error

I need to send SMS via smpp protocol.
I’m sending an MT message from an emse server to an esme client
My question is about the SMPP traffic and this error "vendor specific error" ... if it's due to a malformed packet smpp or I must refer to my SMPP provider? any explanation please ?
I attached a dump traffic on Wireshark for more details.link to pcap file
The packet is well formed and has no issue. Usually in these types of errors i would go and ask the provider for the exact meaning of the error since the error codes differ from a vendor to another.
However i did notice something odd in the trace, the IP: 10.10.32.66 did not send any enquire link through out the whole wireshark session.

How to determine and verify which RabbitMQ Queues are using SSL

I am trying to demonstrate to others that my queue is using SSL, however from the RabbitMQ web management tools there seems to be no distinction over which queues are using SSL and which are not.
Using RabbitMQ management on localhost, I am able to see all my queues. I have set up SSL on port 5671 successfully using the troubleshooting from RabbitMQ website.
Using MassTransit I have configured my incoming bus to use localhost:5671/my_queue_name with a client certificate and all is working successfully - I just can't confirm to others that the queue is secure. If I get a message from the queue using the web management tools, I can read the (JSON) message in plain text. Any ideas how I can prove my messages are secure?
I've attempted using BusDriver to peek the queues but get nothing back (independent of whether is SSL or not).
SSL is used to secure connections, not to encrypt queue contents.
What SSL gives you is that communication from clients to RabbitMQ will be encrypted, so you could theoretically be sure that nobody tampered with your messages.
Also if you need to validate that the sender of the message is a particular user, you could use this RabbitMQ extension: http://www.rabbitmq.com/validated-user-id.html

SMPP Simulator: How to check connection reset?

Im using the smpp simulator tht comes with the Logica smpp api as a virtual smsc. The simulator is not able to detect any connection resets, whn a smpp client disconnects abrupty without sending an unbind PDU. The SMSCSession class in the simulator does not handle/catch any exceptions, while sending a PDU such as DeliverSM. So, how do you identify if there is socket error.
On the smpp client side, u have enquirelink pdu to check for the connection. Similarly, is there any option to check for the connection from the simulator side..
Thanks,
Vishnupriya
I've been using this SMPP simulator:
SMPP sim
It works very well, and detects a lot of ill-formed PDU's. Also connection resets are detected.