-
-
Notifications
You must be signed in to change notification settings - Fork 537
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #162 from zoufou/v0.6-beta
v0.6b17 doc update
- Loading branch information
Showing
5 changed files
with
70 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
|
||
MAJOR = 0 | ||
MINOR = 6 | ||
PATCH = 17 | ||
PATCH = 18 | ||
META = 'b' | ||
|
||
def get_version(): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
######## | ||
User FAQ | ||
######## | ||
|
||
.. _faq_1_Cnfavtstrj: | ||
|
||
Could not find a version that satisfies the requirement jasmin | ||
************************************************************** | ||
|
||
Installing Jasmin using **pip** will through this error:: | ||
|
||
$ sudo pip install jasmin | ||
[sudo] password for richard: | ||
Downloading/unpacking jasmin | ||
Could not find a version that satisfies the requirement jasmin (from versions: 0.6b1, 0.6b10, 0.6b11, 0.6b12, 0.6b13, 0.6b14, 0.6b2, 0.6b3, 0.6b4, 0.6b5, 0.6b6, 0.6b7, 0.6b8, 0.6b9) | ||
Cleaning up... | ||
No distributions matching the version for jasmin | ||
Storing debug log for failure in /home/richard/.pip/pip.log | ||
|
||
This is common question, since Jasmin is still tagged as a 'Beta' version, pip installation must be done with the **--pre** parameter:: | ||
|
||
$ sudo pip install --pre jasmin | ||
... | ||
|
||
.. hint:: | ||
This is clearly documented in :ref:`installation_linux_steps` installation steps. | ||
|
||
.. _faq_1_CcttcasJ: | ||
|
||
Cannot connect to telnet console after starting Jasmin | ||
****************************************************** | ||
|
||
According to the installation guide, Jasmin requires running RabbitMQ and Redis servers, when starting it will wait for these servers to go up. | ||
|
||
If you already have these requirements, please check jcli and redis-client logs: | ||
|
||
* /var/log/jasmin/redis-client.log | ||
* /var/log/jasmin/jcli.log | ||
|
||
.. hint:: | ||
Please check :ref:`installation_prerequisites` before installing. | ||
|
||
.. _faq_1_SiemSSHAttpifru: | ||
|
||
Should i expose my SMPP Server & HTTP API to the public internet for remote users ? | ||
*********************************************************************************** | ||
|
||
As a security best practice, place *Jasmin* instance(s) behind a firewall and apply whitelisting rules to only accept users you already know, a better solution is to get VPN tunnels with your users. | ||
|
||
If for some reasons you cannot consider these practices, here's a simple iptables configuration that can help to prevent Denial-of-service attacks:: | ||
|
||
iptables -I INPUT -p tcp --dport 2775 -m state --state NEW -m recent --set --name SMPP_CONNECT | ||
iptables -N RULE_SMPP | ||
iptables -I INPUT -p tcp --dport 2775 -m state --state NEW -m recent --update --seconds 60 --hitcount 3 --name SMPP_CONNECT -j RULE_SMPP | ||
iptables -A RULE_SMPP -j LOG --log-prefix 'DROPPED SMPP CONNECT ' --log-level 7 | ||
iptables -A RULE_SMPP -j DROP | ||
|
||
This will drop any SMPP Connection request coming from the same source IP with more than 3 times per minute ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters