Skip to content

ATS request cycle in multiple network interface #3654

Closed

Description

@zhang15535135608

settings and oper:
proxy.config.url_remap.remap_required INT 0
not set outbound_ip4/ip6 or inbound_ip4/ip6
request a url without remap case http proxy cycle.

I have eht(172.17.200.101) and br0(172.18.200.101). The ATS Machine::Machine use 172.17.200.101 init. In HttpTransact::will_this_request_self_loop check requesut cycle use Machine::instance()->ip.sa. case from 172.18.200.101 request cycle (no remap rule).

Activity

  1. SolidWallOfCode commented on Jul 3, 2018

    @SolidWallOfCode
    Member

    This should be detected by embedding a UUID in the Via header. Is that getting stripped?

  2. zwoop commented on May 23, 2019

    @zwoop
    Contributor

    Didn't we recently add the UUID into something here too for cycle detection ?

  3. added this to the 9.0.0 milestone on May 23, 2019
  4. added a commit that references this issue on Aug 5, 2019
    0fc085d
  5. SolidWallOfCode commented on Aug 5, 2019

    @SolidWallOfCode
    Member

    Yes, but that depends on having VIA set in the header. If not, it does IP address detection.

    I have been able to replicate this by requesting one of the host IP addresses as the destination. One of the host IP addresses won't loop, all of the others will. I see that some work has already been done here, I think if I clean it up and extend it a bit I can fix this problem as well.

  6. SolidWallOfCode commented on Aug 5, 2019

    @SolidWallOfCode
    Member

    I ended up finding two bugs on this subject. The basic IP address based loop detection is broken, as far as I can tell it doesn't work even with a single homed machine. The other bug is this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions