Coder Social home page Coder Social logo

palantir's Issues

دقیقا چکار میکند؟

سلام دوست گرامی .بفرمایید دقیقا کار این پکیج چی است و ایا برای
php
هم قابل استفاده است؟

خیلی سریع رفتم سر اصل مطلب ببخشید که فارسی ارسال کردم

Reformat config file

In roadmap to release version 1.0.0, It is required to have a config file like:

[backends]

  [[backends.webapp1]]
  target = "http://127.0.0.1:9000"
  health = "/health"

  [[backends.webapp2]]
  target = "http://127.0.0.1:9000"
  health = "/health"

  [[backends.webapp3]]
  target = "https://127.0.0.1:9000"
  health = "/health"
  ssl_ca = "/path/to/ca.pem"

[[frontends]]

  [frontends.sample]

    [[frontends.sample.backends]]
    target = "webapp1"
    weight = 5.0

    [[frontends.sample.backends]]
    target = "webapp2"
    weight = 2.0

    [[frontends.sample.backends]]
    target = "webapp3"
    backup = true

Test Full HTTP Support.

Following check point must be checked.

          userinfo     host        port
          ┌─┴────┐ ┌────┴────────┐ ┌┴┐ 
  https://[email protected]:123/forum/questions/?tag=networking&order=newest#top
  └─┬─┘ └───────┬────────────────────┘└─┬─────────────┘└──┬───────────────────────┘└┬─┘  
  scheme     authority                 path              query                 fragment

Write TDD.

Protection senario check

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.