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

feat(router): enable net.src.* and net.dst.* in http expression #11950

Merged
merged 10 commits into from
Jan 12, 2024

Commits on Jan 11, 2024

  1. use net.dst.port

    convert net.port
    
    basic hash
    
    match src_ip/port
    
    cache key
    
    remove net.port
    
    verify_expression
    
    verify expression more
    
    verify_expression
    
    verify_expression
    
    change basic fields
    
    stream exec()
    
    http select()
    
    test net.dst.port
    
    expression work with net.port
    
    deprecate_net_port_and_rework_cache_algo.yml
    
    tune tests
    
    fix stream tests
    
    lint fix
    
    net.src.ip & net.dst.ip
    
    schema validation tests
    
    more tests
    
    spy.on for log warning
    
    finally restore spy.on
    
    gsub net.port ==
    
    fix lint error
    
    verify_expression
    
    ngx.re.gsub
    
    NET_PORT_REPLACE
    
    changelog
    
    regex optimization
    
    changelog
    
    revert some code
    chronolaw authored and dndx committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    6c99db2 View commit details
    Browse the repository at this point in the history
  2. remove net.port in fields.lua

    chronolaw authored and dndx committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    ef3fb40 View commit details
    Browse the repository at this point in the history
  3. fix test

    chronolaw authored and dndx committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    f297023 View commit details
    Browse the repository at this point in the history
  4. cache hit tests

    chronolaw authored and dndx committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    2a6a854 View commit details
    Browse the repository at this point in the history
  5. rename to transform_expression()

    chronolaw authored and dndx committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    c417ffa View commit details
    Browse the repository at this point in the history
  6. change warning msg

    chronolaw authored and dndx committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    24dd374 View commit details
    Browse the repository at this point in the history
  7. tonumber

    chronolaw authored and dndx committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    3d9d5d3 View commit details
    Browse the repository at this point in the history
  8. rename yaml

    chronolaw authored and dndx committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    6daabb5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    63c6fc7 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    609c59c View commit details
    Browse the repository at this point in the history