Default Setting For "sysctl_ip_masq_udp_dloose"

From: Junji Kanemaru (jkanemar@liberate.com)
Date: Wed May 24 2000 - 12:21:08 EST


Hi,

I have a question about default setting for sysctl_ip_masq_udp_dloose
in ip_masq.c. In 2.2.15, someone added sysctl_ip_masq_udp_dloose
variable for some purpose (which I don't know though),
it's set to 0 (zero) by default. In earlier version, I only looked
2.2.14 though, it worked as when sysctl_ip_masq_udp_dloose=2 in 2.2.15.
So, I think for backward compatibility, it should be set to 2 by
default. Although we can set any value by doing

echo "1" > /proc/sys/net/ipv4/ip_masq_udp_dloose

in start up script but, for people who don't know this shouldn't it be
set to 2 or 1 by defaut for backward compatiblity?

The problem I had was when I played StarCraft on BattleNet through
my Linux router with 2.2.15 kernel, I dropped from BattleNet
during game every time. I dropped in middle of game every time.
I never had this problem until I updated kernel version to 2.2.15.
So I looked difference between 2.2.14 and 2.2.15 then found
sysctl_ip_masq_udp_dloose variable. I tried to set 2 to
sysctl_ip_masq_udp_dloose which is supposed to work as 2.2.14,
no problem at all.

I have home network like:

Linux(192.168.x.x)-----+
                       |
                       +-----+
                       | |
Win/98(192.168.x.x)----+ |
                             |
     Linux Router(20.x.x.x/eth0, 192.168.1.1/eth0:0)
                      IP Masq, IP Alias
                             |
                             +
                   (Cable Modem 20.x.x.x)----> To The Internet

For now I'm setting 1 to ip_masq_udp_dloose in startup script but
shouldn't it be set to 1 or 2 by default in kernel?
Or it there any problem with this?

Regards,

-- Junji

-- 
===================================================================
        Junji Kanemaru              http://www.liberate.com/
        Liberate Technologies       phone: (650)701-4600
        2 Circle Star Way           email: jkanemar@liberate.com 
        San Carlos, CA 94070-6200
===================================================================

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:11 EST