Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: [NETFILTER]: PPTP helper: fix sstate/cstate typo [NETFILTER]: mark H.323 helper experimental [NETFILTER]: Fix small information leak in SO_ORIGINAL_DST (CVE-2006-1343)
This commit is contained in:
@@ -170,8 +170,8 @@ config IP_NF_PPTP
|
|||||||
Documentation/modules.txt. If unsure, say `N'.
|
Documentation/modules.txt. If unsure, say `N'.
|
||||||
|
|
||||||
config IP_NF_H323
|
config IP_NF_H323
|
||||||
tristate 'H.323 protocol support'
|
tristate 'H.323 protocol support (EXPERIMENTAL)'
|
||||||
depends on IP_NF_CONNTRACK
|
depends on IP_NF_CONNTRACK && EXPERIMENTAL
|
||||||
help
|
help
|
||||||
H.323 is a VoIP signalling protocol from ITU-T. As one of the most
|
H.323 is a VoIP signalling protocol from ITU-T. As one of the most
|
||||||
important VoIP protocols, it is widely used by voice hardware and
|
important VoIP protocols, it is widely used by voice hardware and
|
||||||
|
@@ -1318,6 +1318,7 @@ getorigdst(struct sock *sk, int optval, void __user *user, int *len)
|
|||||||
.tuple.dst.u.tcp.port;
|
.tuple.dst.u.tcp.port;
|
||||||
sin.sin_addr.s_addr = ct->tuplehash[IP_CT_DIR_ORIGINAL]
|
sin.sin_addr.s_addr = ct->tuplehash[IP_CT_DIR_ORIGINAL]
|
||||||
.tuple.dst.ip;
|
.tuple.dst.ip;
|
||||||
|
memset(sin.sin_zero, 0, sizeof(sin.sin_zero));
|
||||||
|
|
||||||
DEBUGP("SO_ORIGINAL_DST: %u.%u.%u.%u %u\n",
|
DEBUGP("SO_ORIGINAL_DST: %u.%u.%u.%u %u\n",
|
||||||
NIPQUAD(sin.sin_addr.s_addr), ntohs(sin.sin_port));
|
NIPQUAD(sin.sin_addr.s_addr), ntohs(sin.sin_port));
|
||||||
|
@@ -469,8 +469,8 @@ pptp_inbound_pkt(struct sk_buff **pskb,
|
|||||||
DEBUGP("%s but no session\n", pptp_msg_name[msg]);
|
DEBUGP("%s but no session\n", pptp_msg_name[msg]);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (info->sstate != PPTP_CALL_IN_REP
|
if (info->cstate != PPTP_CALL_IN_REP
|
||||||
&& info->sstate != PPTP_CALL_IN_CONF) {
|
&& info->cstate != PPTP_CALL_IN_CONF) {
|
||||||
DEBUGP("%s but never sent IN_CALL_REPLY\n",
|
DEBUGP("%s but never sent IN_CALL_REPLY\n",
|
||||||
pptp_msg_name[msg]);
|
pptp_msg_name[msg]);
|
||||||
break;
|
break;
|
||||||
|
@@ -348,6 +348,7 @@ getorigdst(struct sock *sk, int optval, void __user *user, int *len)
|
|||||||
.tuple.dst.u.tcp.port;
|
.tuple.dst.u.tcp.port;
|
||||||
sin.sin_addr.s_addr = ct->tuplehash[IP_CT_DIR_ORIGINAL]
|
sin.sin_addr.s_addr = ct->tuplehash[IP_CT_DIR_ORIGINAL]
|
||||||
.tuple.dst.u3.ip;
|
.tuple.dst.u3.ip;
|
||||||
|
memset(sin.sin_zero, 0, sizeof(sin.sin_zero));
|
||||||
|
|
||||||
DEBUGP("SO_ORIGINAL_DST: %u.%u.%u.%u %u\n",
|
DEBUGP("SO_ORIGINAL_DST: %u.%u.%u.%u %u\n",
|
||||||
NIPQUAD(sin.sin_addr.s_addr), ntohs(sin.sin_port));
|
NIPQUAD(sin.sin_addr.s_addr), ntohs(sin.sin_port));
|
||||||
|
Reference in New Issue
Block a user