[CentOS] What about port 2048 for GRE(47) packaged in ip protocol

2013-04-10 Thread yihect
      Hi, all:          I'm playing with Gre Tunnel programming in centos 6.                  I wrote my program in these steps:          a, open /dev/net/tun  device and ioctl with TUNSETIFF, get fd to tun device, say tun0;         b, create one socket and use it to set tun0's  ip address,

Re: [CentOS] What about port 2048 for GRE(47) packaged in ip protocol

2013-04-10 Thread Banyan He
I remember I saw this behavior before. Mostly important thing is to find out if the enc/dec goes well. I was having this problem that triggers kernel to send out the icmp. Banyan He Blog: http://www.rootong.com Email: ban...@rootong.com On 4/10/2013 5:27 PM, yihect wrote:

Re: [CentOS] What about port 2048 for GRE(47) packaged in ip protocol

2013-04-10 Thread yihect
At 2013-04-10 18:35:12,Banyan He ban...@rootong.com wrote: I remember I saw this behavior before. Mostly important thing is to find  out if the enc/dec goes well. I was having this problem that triggers  kernel to send out the icmp. enc/dec ??  You mean the content of ip header,  which has

Re: [CentOS] What about port 2048 for GRE(47) packaged in ip protocol

2013-04-10 Thread Banyan He
encryption/decryption I mean. The kernel can't decrypt the packet eventually, kernel sends out the icmp. Just remember this part last time I track it down to the kernel side. You may have to take a look at your application why the gre doesn't setup correctly. Banyan He Blog: