[ 
https://issues.apache.org/jira/browse/TS-2530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13881324#comment-13881324
 ] 

Ron Barber commented on TS-2530:
--------------------------------

Specific error message and config (note that the ip_hex_string used in the Via 
is 27.123.201.216 [1B7BC9D8] for both servers).
{code}

[Jan 21 08:23:04.579] Server {0x2ac02a2a03a0} DEBUG: (http_transact) 
[will_this_request_self_loop] Incoming via: http/1.1 
sb-ecid2.ec.tw1.yahoo.com[1B7BC9D8] (YahooTrafficServer) has 
(sb-ecid3.ec.tw1.yahoo.com[1B7BC9D8] (YahooTrafficServer))

Ifconfig –a
eth0      Link encap:Ethernet  HWaddr 00:50:56:09:32:BA
          inet addr:10.236.40.156  Bcast:10.236.41.255  Mask:255.255.254.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:16300220 errors:0 dropped:2719 overruns:0 frame:0
          TX packets:12985718 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2521492828 (2.3 GiB)  TX bytes:1126967933 (1.0 GiB)
          Interrupt:10 Base address:0x8000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:4352451 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4352451 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:541739497 (516.6 MiB)  TX bytes:541739497 (516.6 MiB)

lo:0      Link encap:Local Loopback
          inet addr:27.123.201.216  Mask:255.255.255.255
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
{code}



> False positive detected for Multi-Hop cycle when using private IP
> -----------------------------------------------------------------
>
>                 Key: TS-2530
>                 URL: https://issues.apache.org/jira/browse/TS-2530
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core
>            Reporter: Ron Barber
>         Attachments: TS-2530.patch
>
>
> With hosts A and B running ATS where both hosts have private IPs (10.0.0.1 & 
> 10.0.0.2) AND have a local loopback which have a public IP 27.1.1.1 we are 
> getting HTTP/1.1 400 Multi-Hop Cycle Detected when host A forwards a request 
> to host B.
> ATS searches the incoming Via header for its own ip address 
> (Machine::instance()->ip_hex_string) to determine if the request has been 
> forwarded back to itself.
> Cause: ATS is selecting the public IP address of the server to insert in the 
> Via header (even if it's not on a routable interface).



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to