Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vanish ip-space colum. #78

Open
brbzull0 opened this issue Mar 16, 2022 · 0 comments
Open

Vanish ip-space colum. #78

brbzull0 opened this issue Mar 16, 2022 · 0 comments
Assignees

Comments

@brbzull0
Copy link
Collaborator

Not directly related with the crash, probably this should be a different issue, but as it's around a similar area.

    - when: proxy-rsp
      do:
      - with: ua-req-field<addr>
        select:
        - is-null:
        - otherwise:
          do:
          - var<a>: [ ua-req-field<addr>, { as-ip-addr: }, { ip-space<acl>: ip-col<access> } ]
          - debug: "Var: {var<a>}"

The ip-space is loaded at post-load

Now, if you start TS and start sending requests then you will see:

[Mar 16 15:33:07.369] [ET_NET 1] DIAG: (txn_box) Var: secure
...

if you touch the remap.config and reload ats (traffic_ctl config reload) nothing happens, or at least it's not visible. Then you reload the txn_box global configuration (taffic_ctl plugin msg txn_box.reload x) and at this moment you see that the value for the var is gone.

[ET_NET 1] DIAG: (txn_box) Var: 
[ET_NET 1] DIAG: (txn_box) Var: 
...

Then if you touch and reload the remap.config you will start seeing again the var value again.

 [ET_NET 1] DIAG: (txn_box) Var: secure
 [ET_NET 1] DIAG: (txn_box) Var: secure
...

It looks like we are missing the update of some of the shared structures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant