Giter Club home page Giter Club logo

bfe's People

Contributors

arlingtonroad avatar cb0518 avatar ccqy66 avatar clarinette9 avatar coopersong avatar corey-wang avatar daimg avatar dblate avatar deancn avatar ilujiez avatar iyangsj avatar kwanhur avatar lancoliu avatar lcmmhcc avatar liu-song avatar liuqing6767 avatar liuxiaoli007 avatar liuximu avatar lxiaozhic avatar mileszhang2016 avatar qichengzx avatar shanhuhai5739 avatar tianxinheihei avatar tovi163 avatar wrayzheng avatar xiaofei0800 avatar yangqingxin1993 avatar yangshuothtf avatar yoo-o avatar yuqixiao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bfe's Issues

mod_mirror

Description:

  • mirror of an original request by creating background request. Responses to mirror subrequests are ignored.

mod_static

Serve static content by customize rules

这也没有一个可用的文档或者daemon学习?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

好歹给点使用文档和范例呀

mod_logid: random logid

changes to logid:

  1. change logid to a string value in length of 32
  2. generated from 16 random bytes and encoded in hex format

not support tcp proxy?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

mod_compress

compress response depending on the defined rules

Hash related condition primitive

  • req_cip_hash_in(patterns)
  • req_header_value_hash_in(header_name, patterns, case_insensitive)
  • req_cookie_value_hash_in(key, patterns, case_insensitive)
  • req_query_value_hash_in(key, patterns, case_insensitive)

mod_secure_link

Protect resources from unauthorized access by adding encoded data like the hash of a specific part of the URL.

Default value for cluster config

Set default value of cluster configuration items to Reduce configuration costs:

BackendConf

  • TimeoutConnSrv: 2000 // 2 sec
  • TimeoutResponseHeader: 60000 // 60 sec
  • MaxIdleConnsPerHost: 0
  • RetryLevel: 0

CheckConf

  • Schem: "http",
  • Uri: "/health_check",
  • Host: "",
  • StatusCode: 0,
  • FailNum: 5,
  • CheckInterval: 1000

GslbBasic

  • CrossRetry: 0
  • RetryMax: 2
  • HashStrategy: 0
  • SessionSticky: false

ClusterBasic

  • TimeoutReadClient: 30000 // 30s
  • TimeoutWriteClient: 60000 // 60s
  • TimeoutReadClientAgain: 60000 // 60s
  • ReqWriteBufferSize: 512 // 512B
  • ReqFlushInterval: 0
  • ResFlushInterval: -1
  • CancelOnClientClose: false

mod_access: update log fields

Remove following fields:

  • req_content_len
  • res_content_len
  • http
  • client_read_time
  • cluster_time

Rename following fields:

  • body_len_in -> req_body_len
  • body_len_out -> res_body_len
  • uri -> url

mod_userid

Description:

  • Sets cookies suitable for client identification.

Format of data config:

{
    Version: "version_num",
    Config: {
        "product1": [
             {
                 "Cond": "cond_expression",
                 "Params": {
                     "Name": "UID",
                     "Domain": "example.org",
                     "Path": "/",
                     "Expire": 31536000
                 }
             }
         ]
    }
}

mod_prison

Limit the amount of connections/requests a user can make in a given period of time.

mod_http_code

Maintain basic status about request/response forwarded

mod_access

Writes information about client sessions/requests in the access log

http/3

Support HTTP/3 protocol

Rename the bfe_ prefix

Because the project name is BFE, and start with the bfe string, then the custom go modules are also named bfe_xxx, it is a redundant naming rule.

Default value for bfe core config

Set default value of core config items to Reduce configuration costs:

[server]
httpPort = 8080
httpsPort = 8443
monitorPort = 8299
maxCpus = 0
layer4LoadBalancer = ""
tlsHandshakeTimeout = 30
clientReadTimeout = 60
clientWriteTimeout = 60
keepAliveEnabled = true
gracefulShutdownTimeout = 10
maxHeaderBytes = 1048576
maxHeaderUriBytes = 8192

hostRuleConf = server_data_conf/host_rule.data
vipRuleConf = server_data_conf/vip_rule.data
routeRuleConf = server_data_conf/route_rule.data
clusterConf = server_data_conf/cluster_conf.data
nameConf = server_data_conf/name_conf.data

clusterTableConf = cluster_conf/cluster_table.data
gslbConf = cluster_conf/gslb.data

monitorInterval = 20
debugServHttp = false
debugBfeRoute = false
debugBal = false
debugHealthCheck = false

[httpsBasic]
serverCertConf = tls_conf/server_cert_conf.data
tlsRuleConf = tls_conf/tls_rule_conf.data

cipherSuites=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256|TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
cipherSuites=TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256|TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
cipherSuites=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256|TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
cipherSuites=TLS_ECDHE_RSA_WITH_RC4_128_SHA
cipherSuites=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
cipherSuites=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
cipherSuites=TLS_RSA_WITH_RC4_128_SHA
cipherSuites=TLS_RSA_WITH_AES_128_CBC_SHA
cipherSuites=TLS_RSA_WITH_AES_256_CBC_SHA

curvePreferences=CurveP256
enableSslv2ClientHello = true
clientCABaseDir = tls_conf/client_ca

[sessionCache]
sessionCacheDisabled = true
servers = ""
keyPrefix = "bfe"
connectTimeout = 50
readTimeout = 50
writeTimeout = 50
maxIdle = 20
sessionExpire = 3600

[sessionTicket]
sessionTicketsDisabled = true
sessionTicketKeyFile = tls_conf/session_ticket_key.data

scgi

Proxy http requests to a SCGI server.

fastcgi

Proxy http requests to a FastCGI server.

example

can you help me for give us some examples, such as some comme configure and request urls

mod_errors

return customized response(error page/redirect) for specified error

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.