[sr-dev] RTPengine iptables chain case sensitive?

Peter Villeneuve petervnv1 at gmail.com
Mon Sep 8 15:14:38 CEST 2014


Hi,

I compiled and installed deb packages as per the sipwise guide here
https://github.com/sipwise/rtpengine. After running modprobe xt_MEDIAPROXY
and iptables -I INPUT -p udp -j MEDIAPROXY --id 0 the new chain created is
mediaproxy (lower case). Isn't iptables case sensitive?
I'm not sure that it is working properly since it seems the mediaproxy
chain (lowercase) sends all UDP packets through the MEDIAPROXY (uppercase)
chain, which apparently didn't get created.

How can I check to make sure that indeed RTPengine is relaying the streams
properly?

Thanks


Here's what my iptables looks like after running modprobe
xt_MEDIAPROXY and iptables
-I INPUT -p udp -j MEDIAPROXY --id 0

*ncoming packets (INPUT) - Only applies to packets addressed to this host*
Select all. <https://securvoice.eu:9998/firewall/index.cgi?table=0#> | Invert
selection. <https://securvoice.eu:9998/firewall/index.cgi?table=0#>
*    <https://securvoice.eu:9998/firewall/index.cgi?table=0#>**Action
<https://securvoice.eu:9998/firewall/index.cgi?table=0#>**Condition
<https://securvoice.eu:9998/firewall/index.cgi?table=0#>**Move
<https://securvoice.eu:9998/firewall/index.cgi?table=0#>**Add
<https://securvoice.eu:9998/firewall/index.cgi?table=0#>*Jump to chain
MEDIAPROXY <https://securvoice.eu:9998/firewall/edit_rule.cgi?table=0&idx=0>If
protocol is *UDP*
<https://securvoice.eu:9998/firewall/edit_rule.cgi?table=0&chain=INPUT&new=1&after=0>
<https://securvoice.eu:9998/firewall/edit_rule.cgi?table=0&chain=INPUT&new=1&before=0>Select
all. <https://securvoice.eu:9998/firewall/index.cgi?table=0#> | Invert
selection. <https://securvoice.eu:9998/firewall/index.cgi?table=0#>
  Accept Drop Userspace Exit chain
------------------------------
*Forwarded packets (FORWARD) - Only applies to packets passed through this
host*
*There are no rules defined for this chain.*
  Accept Drop Userspace Exit chain
------------------------------
*Outgoing packets (OUTPUT) - Only applies to packets originated by this
host*
*There are no rules defined for this chain.*
  Accept Drop Userspace Exit chain
------------------------------
*Chain mediaproxy*
Select all. <https://securvoice.eu:9998/firewall/index.cgi?table=0#> | Invert
selection. <https://securvoice.eu:9998/firewall/index.cgi?table=0#>
*    <https://securvoice.eu:9998/firewall/index.cgi?table=0#>**Action
<https://securvoice.eu:9998/firewall/index.cgi?table=0#>**Condition
<https://securvoice.eu:9998/firewall/index.cgi?table=0#>**Move
<https://securvoice.eu:9998/firewall/index.cgi?table=0#>**Add
<https://securvoice.eu:9998/firewall/index.cgi?table=0#>*Jump to chain
MEDIAPROXY <https://securvoice.eu:9998/firewall/edit_rule.cgi?table=0&idx=1>If
protocol is *UDP*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20140908/70577058/attachment-0001.html>


More information about the sr-dev mailing list