[Openswan Users] sysctl problem

Simon Deziel simon at xelerance.com
Mon Aug 20 12:18:10 EDT 2012


On 12-08-20 11:39 AM, alireza sadeh seighalan wrote:
> hi again
> 
> i dont know why but sometime run sysctl -p it shows me that teher isnt
> error.!!!

Again, you won't get the error when the bridge module is loaded.

> [root at Hi-ali ~]# sysctl -p
> net.ipv4.ip_forward = 1
> net.ipv4.conf.default.rp_filter = 0
> net.ipv4.conf.default.accept_source_route = 0
> kernel.sysrq = 0
> kernel.core_uses_pid = 1
> net.ipv4.tcp_syncookies = 1
> *net.bridge.bridge-nf-call-ip6tables = 0
> net.bridge.bridge-nf-call-iptables = 0
> net.bridge.bridge-nf-call-arptables = 0*
> kernel.msgmnb = 65536
> kernel.msgmax = 65536
> kernel.shmmax = 4294967295
> kernel.shmall = 268435456
> net.ipv4.conf.default.accept_redirects = 0
> net.ipv4.conf.default.send_redirects = 0
> net.ipv4.icmp_ignore_bogus_error_responses = 1
> net.ipv4.conf.default.log_martians = 0
> 
> 
> 
> 
> 
> 
> 
> On Mon, Aug 20, 2012 at 7:01 PM, Simon Deziel <simon at xelerance.com
> <mailto:simon at xelerance.com>> wrote:
> 
>     On 12-08-20 10:18 AM, alireza sadeh seighalan wrote:
>     > hi everyone
>     >
>     > i am configuring openswan on centos6.2. i have a problem with
>     sysctl. as
>     > you can see my sysctl file after run  sysctl -p  i recieve  errors
>     about
>     > unknow key. is it normal or not?thanks in advance
> 
>     You got those unknown keys because the bridge module was not loaded when
>     you called sysctl. Loading the bridge module before should make the
>     warning to go away.
> 
>     > root at Hi-ali ~]#*sysctl -p*
>     > net.ipv4.ip_forward = 1
>     > net.ipv4.conf.default.rp_filter = 0
>     > net.ipv4.conf.default.accept_source_route = 0
>     > kernel.sysrq = 0
>     > kernel.core_uses_pid = 1
>     > net.ipv4.tcp_syncookies = 1
>     > *error: "net.bridge.bridge-nf-call-ip6tables" is an unknown key
>     > error: "net.bridge.bridge-nf-call-iptables" is an unknown key
>     > error: "net.bridge.bridge-nf-call-arptables" is an unknown key*
>     > kernel.msgmnb = 65536
>     > kernel.msgmax = 65536
>     > kernel.shmmax = 4294967295
>     > kernel.shmall = 268435456
>     > net.ipv4.conf.default.accept_redirects = 0
>     > net.ipv4.conf.default.send_redirects = 0
>     > net.ipv4.icmp_ignore_bogus_error_responses = 1
>     > net.ipv4.conf.default.log_martians = 0
> 
>     Simon
> 
>     _______________________________________________
>     Users at lists.openswan.org <mailto:Users at lists.openswan.org>
>     https://lists.openswan.org/mailman/listinfo/users
>     Micropayments: https://flattr.com/thing/38387/IPsec-for-Linux-made-easy
>     Building and Integrating Virtual Private Networks with Openswan:
>     http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155
> 
> 



More information about the Users mailing list