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

Protection senario check #14

Open
mhf-ir opened this issue Jul 1, 2019 · 0 comments
Open

Protection senario check #14

mhf-ir opened this issue Jul 1, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mhf-ir
Copy link
Member

mhf-ir commented Jul 1, 2019

Add cookie parser for check request and system status.

Consider HTTP request always carry the cookie of client unique identifier.
For example Cookie: cuid=blahblahblah;

  • Add Cookie parser for parse multiple cookie parse what' you need

  • Know status of protection: Consider statuses N, P{N}
    Which means Normal N every thing is good so let all request go.
    By P**{N}**
    Depend on config file we follow these:
    Define cookie name for example asm_prt=xxxxx*

  SampleConfig: P1: Protection Level 1
  cookie ttl: **604800**
  cookie parameters: 
     - CUID
  SampleConfig: P2: Protection Level 2
  cookie ttl: **86400**
  cookie parameters: 
     - CUID
     - IP Address
  SampleConfig: P3: Protection Level 3
  cookie ttl: **7200**
  cookie parameters: 
     - CUID
     - IP Address
     - User Agent
  • JWT decode for parse general Auth base on Authorization and Cookie for status of user is guest or logged in user.
  • If user not logged in : For guest members follow cookie mechanism (Not logged in and not authorized servers) Encryption and Decryption by special cookie for status of request (https://en.wikipedia.org/wiki/Advanced_Encryption_Standard)
    This method will use for captcha application to generate same cookie algorithm for Palantir proxy.
  • For mobile application they are same but using special header X-Cuid: blahblahblah same follow for cookie.
  1. Document workflow
  2. Accpet workflow
  3. Implementation
@mhf-ir mhf-ir added the enhancement New feature or request label Jul 1, 2019
@mhf-ir mhf-ir added this to the Enable DDOS prevention milestone Jul 1, 2019
@MaaniBeigy MaaniBeigy self-assigned this Jul 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants