* Change ip_conntrack_sip default port
@ 2007-08-23 15:30 Sebastien VECTEN
2007-08-23 16:29 ` michel banguerski
2007-08-23 18:30 ` Pascal Hambourg
0 siblings, 2 replies; 5+ messages in thread
From: Sebastien VECTEN @ 2007-08-23 15:30 UTC (permalink / raw)
To: netfilter
Hi,
I tried to change the default port of sip_contrack and h323_conntrack in iptables. The problem is those conntrack are "hard compiled" in the kernel (not as module if not the command "modprobe ip_conntrack_sip port=xxxx" is the solution).
I would like to know if its possible to change this port (without change kernel) when the conntrack is "hard compiled" and especially where? (file or sysctl.conf etc... I didn't find)
By advance thank you for your assistance.
.VECTEN Sébastien
To: netfilter@lists.netfilter.org
netfilter-failover@lists.netfilter.org
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Change ip_conntrack_sip default port
2007-08-23 15:30 Change ip_conntrack_sip default port Sebastien VECTEN
@ 2007-08-23 16:29 ` michel banguerski
2007-08-23 18:30 ` Pascal Hambourg
1 sibling, 0 replies; 5+ messages in thread
From: michel banguerski @ 2007-08-23 16:29 UTC (permalink / raw)
To: Sebastien VECTEN; +Cc: Mail List - Netfilter
Hi Sébastien
There is a match module that may do what you want:
"-m helper" with --helper argument that in wour case sould be
"sip-xxxx" I believe
I came across this in the iptables manual but never tested. Please let
me know if it works for You.
Best regards
Michel
2007/8/23, Sebastien VECTEN <svecten@aressi.fr>:
> Hi,
>
> I tried to change the default port of sip_contrack and h323_conntrack in iptables. The problem is those conntrack are "hard compiled" in the kernel (not as module if not the command "modprobe ip_conntrack_sip port=xxxx" is the solution).
>
> I would like to know if its possible to change this port (without change kernel) when the conntrack is "hard compiled" and especially where? (file or sysctl.conf etc... I didn't find)
>
> By advance thank you for your assistance.
>
>
> .VECTEN Sébastien
>
>
> To: netfilter@lists.netfilter.org
> netfilter-failover@lists.netfilter.org
>
>
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Change ip_conntrack_sip default port
2007-08-23 15:30 Change ip_conntrack_sip default port Sebastien VECTEN
2007-08-23 16:29 ` michel banguerski
@ 2007-08-23 18:30 ` Pascal Hambourg
1 sibling, 0 replies; 5+ messages in thread
From: Pascal Hambourg @ 2007-08-23 18:30 UTC (permalink / raw)
To: netfilter
Hello,
Sebastien VECTEN a écrit :
>
> I tried to change the default port of sip_contrack and h323_conntrack
> in iptables. The problem is those conntrack are "hard compiled" in the
> kernel (not as module if not the command "modprobe ip_conntrack_sip
> port=xxxx" is the solution).
>
> I would like to know if its possible to change this port (without
> change kernel) when the conntrack is "hard compiled" and especially
> where?
In the bootloader (lilo, grub...) configuration file.
From linux-2.6.x/Documentation/kernel-parameters.txt :
Module parameters for loadable modules are specified only as the
parameter name with optional '=' and value as appropriate, such as:
modprobe usbcore blinkenlights=1
Module parameters for modules that are built into the kernel image
are specified on the kernel command line with the module name plus
'.' plus parameter name, with '=' and value if appropriate, such as:
usbcore.blinkenlights=1
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Change ip_conntrack_sip default port
@ 2007-08-27 6:51 Sebastien VECTEN
2007-08-27 7:52 ` Jozsef Kadlecsik
0 siblings, 1 reply; 5+ messages in thread
From: Sebastien VECTEN @ 2007-08-27 6:51 UTC (permalink / raw)
To: netfilter
Hi,
Thank you for your response, the good solution is the helper module to change the defaut port.
-m helper --helper sip-5068 in a rule.
Thanks.
VECTEN Sébastien
To: netfilter@lists.netfilter.org
Cc: netfilter-failover@lists.netfilter.org
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Change ip_conntrack_sip default port
2007-08-27 6:51 Sebastien VECTEN
@ 2007-08-27 7:52 ` Jozsef Kadlecsik
0 siblings, 0 replies; 5+ messages in thread
From: Jozsef Kadlecsik @ 2007-08-27 7:52 UTC (permalink / raw)
To: Sebastien VECTEN; +Cc: netfilter
On Mon, 27 Aug 2007, Sebastien VECTEN wrote:
> Thank you for your response, the good solution is the helper module to
> change the defaut port.
>
> -m helper --helper sip-5068 in a rule.
That is absolutely false: that is a *match*, which cannot do whatsoever
with the ports of the helpers.
The SIP helper supports to specify the ports to listen to:
# modprobe ip_conntrack_sip ports=5060[,up to 8 ports]
Best regards,
Jozsef
-
E-mail : kadlec@blackhole.kfki.hu, kadlec@sunserv.kfki.hu
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics
H-1525 Budapest 114, POB. 49, Hungary
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-08-27 7:52 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-23 15:30 Change ip_conntrack_sip default port Sebastien VECTEN
2007-08-23 16:29 ` michel banguerski
2007-08-23 18:30 ` Pascal Hambourg
-- strict thread matches above, loose matches on Subject: below --
2007-08-27 6:51 Sebastien VECTEN
2007-08-27 7:52 ` Jozsef Kadlecsik
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.