Summary: | ASTERISK-20202: IP_MTU_DISCOVER incorrect work | ||
Reporter: | ddkprog (ddkprog) | Labels: | |
Date Opened: | 2012-08-07 20:46:45 | Date Closed: | 2012-08-10 11:16:13 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | Channels/chan_iax2 |
Versions: | SVN | Frequency of Occurrence | |
Related Issues: | |||
Environment: | linux | Attachments: | ( 0) utils.c.diff |
Description: | IP_MTU_DISCOVER should used with SOL_IP not with IPPROTO_IP ! see at iputils/ping sources and test you can replace in iputils/ping SOL_IP -> IPPROTO_IP, and try to ping -M options to see than IPPROTO_IP not work. | ||
Comments: | By: Rusty Newton (rnewton) 2012-08-09 21:03:55.604-0500 Thank you for taking the time to report this bug and helping to make Asterisk better. Unfortunately, we cannot work on this bug because your description did not include enough information. You may find it helpful to read the Asterisk Issue Guidelines http://www.asterisk.org/developers/bug-guidelines. We would be grateful if you would then provide a more complete description of the problem. At a minimum, we need: 1. the specific steps or actions you took that caused you to encounter the problem, 2. the behavior you expected, and 3. the behavior you actually encountered (in as much detail as possible). This likely includes output from the console with debug level logging, a SIP trace (if this is SIP related), and configuration information such as dialplan (e.g. extensions.conf) and channel configuration (e.g. sip.conf). Thanks! Can you include a packet trace that demonstrates the issue? Your description is not clear, we'll need additional explanation. By: ddkprog (ddkprog) 2012-08-10 03:39:15.842-0500 the patch is loaded, it is applicable to Linux as a miniumum version #uname -sr Linux 3.0.0-23-generic-pae By: ddkprog (ddkprog) 2012-08-10 09:48:16.694-0500 this code from linux kernel seems should be enough to understand that IPPROTO_IP socket param not affective for socket. should be SOL_IP. plz forward my issue to developers. thx! http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=blob_plain;f=net/ipv4/ip_sockglue.c;hb=HEAD int ip_setsockopt(struct sock *sk, int level, int optname, char __user *optval, unsigned int optlen) { int err; if (level != SOL_IP) return -ENOPROTOOPT; err = do_ip_setsockopt(sk, level, optname, optval, optlen); By: ddkprog (ddkprog) 2012-08-10 11:15:14.431-0500 sorry! looked through the Linux kernel, the constants have the same value! #define IPPROTO_IP 0 .... #define SOL_IP 0 |