Skip to content

Conversation

@biathlon3
Copy link
Contributor

No description provided.

@biathlon3 biathlon3 linked an issue Jun 7, 2024 that may be closed by this pull request
@biathlon3 biathlon3 force-pushed the ag_2104-implement-ability-to-send-js-challenge-according-custom-rules branch from 30ffc30 to 14766c3 Compare June 7, 2024 11:13
Copy link
Contributor

@enuribekov-tempesta enuribekov-tempesta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@biathlon3 biathlon3 force-pushed the ag_2104-implement-ability-to-send-js-challenge-according-custom-rules branch from acbebd6 to f920564 Compare July 23, 2024 07:03
@EvgeniiMekhanik EvgeniiMekhanik requested a review from const-t July 29, 2024 12:11
Copy link
Contributor

@EvgeniiMekhanik EvgeniiMekhanik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to rework. We also need changes in etc/tempesta_fw.conf - descriptions and examples

@const-t const-t force-pushed the ag_2104-implement-ability-to-send-js-challenge-according-custom-rules branch from f920564 to 81e8d73 Compare April 9, 2025 10:02
const-t added 2 commits April 9, 2025 13:05
Add new HTTPtables action - `jsch` it allows to mark
a request as challengeable by JS challenge. If
js challengeable is not configured for virtual host
where request was routed, challenge will not be sent.

Example:
Make requests with "accept: text/html" are challengeable.
```
http_chain {
    hdr "accept" == 'text/html' -> jsch;
}
```
Remove flag TFW_HTTP_B_ACCEPT_HTML, it being used only
by js challenge code. Remove hpack state of accept
header used only for setting TFW_HTTP_B_ACCEPT_HTML
when header is in dynamic table.
@const-t const-t force-pushed the ag_2104-implement-ability-to-send-js-challenge-according-custom-rules branch from 81e8d73 to 8c4d76c Compare April 9, 2025 10:05
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

Successfully merging this pull request may close these issues.

Implement ability to send js challenge according custom rules

5 participants