Re: [PATCH] Llimit smsbox listener to specific interface
Roman Shterenzon <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Here you go. I'm not very familiar with this file's structure, so I just copied other item and changed it. --Roman ________________________________ From: Alexander Malysh <[email protected]> To: Roman Shterenzon <[email protected]> Cc: Devel Kannel <[email protected]> Sent: Thursday, April 7, 2011 4:28 PM Subject: Re: [PATCH] Llimit smsbox listener to specific interface could you please add both to userguide and I will commit both patches? Thanks, Alex Am 07.04.2011 um 14:04 schrieb Roman Shterenzon: I had a typo, I was referring to 'sendsms-interface' directive (which is missing from the manual). > > > >________________________________ >From: Roman Shterenzon <[email protected]> >To: Devel Kannel <[email protected]> >Sent: Thursday, April 7, 2011 2:37 AM >Subject: [PATCH] Llimit smsbox listener to specific interface > > >Hi, > > >Attached is a patch which provides support for limiting listening for smsbox connections to specific interface, e.g. > > >group = core >smsbox-interface = "127.0.0.1" > > >If it's omitted, then the original behavior is exhibited. > > >Your feedback is appreciated! > > >--Roman >P.S. I noticed that smsbox-interface parameter is missing from the manual. > >
doc.diff
(application/octet-stream, 1.2 KB)
diff --git a/doc/userguide/userguide.xml b/doc/userguide/userguide.xml
index 38bce15..3553823 100644
--- a/doc/userguide/userguide.xml
+++ b/doc/userguide/userguide.xml
@@ -1218,6 +1218,12 @@ admin-password = f00bar
</entry></row>
<row><entry><literal>admin-allow-ip</literal></entry></row>
+ <row><entry><literal>smsbox-interface (o)</literal></entry>
+ <entry>string</entry>
+ <entry valign="bottom">
+ If this is set, the smsbox listener will only bind
+ to a specified address. For example: "127.0.0.1".
+ </entry></row>
<row><entry><literal>smsbox-port (c)</literal></entry>
<entry>port-number</entry>
@@ -5727,6 +5733,13 @@ ssl-certkey-file
specific smsbox instance, i.e. SMPP or EMI proxying boxes.
</entry></row>
+ <row><entry><literal>sendsms-interface (o)</literal></entry>
+ <entry>string</entry>
+ <entry valign="bottom">
+ If this is set, the sendsms HTTP interface will only bind
+ to a specified address. For example: "127.0.0.1".
+ </entry></row>
+
<row><entry><literal>sendsms-port (c)</literal></entry>
<entry>port-number</entry>
<entry valign="bottom">