"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/cfg_parser.y" between
hitch-1.6.1.tar.gz and hitch-1.7.0.tar.gz

About: Hitch is a libev-based high performance SSL/TLS proxy that terminates TLS/SSL connections and forwards the unencrypted traffic to some backend.

cfg_parser.y  (hitch-1.6.1):cfg_parser.y  (hitch-1.7.0)
skipping to change at line 63 skipping to change at line 63
%token TOK_PIDFILE TOK_SNI_NOMATCH_ABORT TOK_SSL TOK_TLS TOK_HOST TOK_PORT %token TOK_PIDFILE TOK_SNI_NOMATCH_ABORT TOK_SSL TOK_TLS TOK_HOST TOK_PORT
%token TOK_MATCH_GLOBAL TOK_PB_CERT TOK_PB_OCSP_FILE TOK_OCSP_VERIFY %token TOK_MATCH_GLOBAL TOK_PB_CERT TOK_PB_OCSP_FILE TOK_OCSP_VERIFY
%token TOK_OCSP_DIR TOK_OCSP_RESP_TMO TOK_OCSP_CONN_TMO TOK_ALPN_PROTOS %token TOK_OCSP_DIR TOK_OCSP_RESP_TMO TOK_OCSP_CONN_TMO TOK_ALPN_PROTOS
%token TOK_TLS_PROTOS TOK_SSLv3 TOK_TLSv1_0 TOK_TLSv1_1 TOK_TLSv1_2 %token TOK_TLS_PROTOS TOK_SSLv3 TOK_TLSv1_0 TOK_TLSv1_1 TOK_TLSv1_2
%token TOK_TLSv1_3 TOK_CIPHERSUITES TOK_ECDH_CURVE %token TOK_TLSv1_3 TOK_CIPHERSUITES TOK_ECDH_CURVE
%token TOK_SESSION_CACHE TOK_SHARED_CACHE_LISTEN TOK_SHARED_CACHE_PEER %token TOK_SESSION_CACHE TOK_SHARED_CACHE_LISTEN TOK_SHARED_CACHE_PEER
%token TOK_SHARED_CACHE_IF TOK_PRIVATE_KEY TOK_BACKEND_REFRESH %token TOK_SHARED_CACHE_IF TOK_PRIVATE_KEY TOK_BACKEND_REFRESH
%token TOK_OCSP_REFRESH_INTERVAL TOK_PEM_DIR TOK_PEM_DIR_GLOB %token TOK_OCSP_REFRESH_INTERVAL TOK_PEM_DIR TOK_PEM_DIR_GLOB
%token TOK_LOG_LEVEL TOK_PROXY_TLV TOK_PROXY_AUTHORITY TOK_TFO %token TOK_LOG_LEVEL TOK_PROXY_TLV TOK_PROXY_AUTHORITY TOK_TFO
%token TOK_CLIENT_VERIFY TOK_VERIFY_NONE TOK_VERIFY_OPT TOK_VERIFY_REQ %token TOK_CLIENT_VERIFY TOK_VERIFY_NONE TOK_VERIFY_OPT TOK_VERIFY_REQ
%token TOK_CLIENT_VERIFY_CA %token TOK_CLIENT_VERIFY_CA TOK_PROXY_CCERT
%parse-param { hitch_config *cfg } %parse-param { hitch_config *cfg }
%% %%
CFG CFG
: CFG_RECORDS : CFG_RECORDS
; ;
CFG_RECORDS CFG_RECORDS
: CFG_RECORD : CFG_RECORD
skipping to change at line 105 skipping to change at line 105
| SYSLOG_REC | SYSLOG_REC
| SYSLOG_FACILITY_REC | SYSLOG_FACILITY_REC
| DAEMON_REC | DAEMON_REC
| WRITE_IP_REC | WRITE_IP_REC
| WRITE_PROXY_REC | WRITE_PROXY_REC
| WRITE_PROXY_V1_REC | WRITE_PROXY_V1_REC
| WRITE_PROXY_V2_REC | WRITE_PROXY_V2_REC
| PROXY_PROXY_REC | PROXY_PROXY_REC
| ALPN_PROTOS_REC | ALPN_PROTOS_REC
| PROXY_TLV_REC | PROXY_TLV_REC
| PROXY_CCRT_REC
| SNI_NOMATCH_ABORT_REC | SNI_NOMATCH_ABORT_REC
| OCSP_VERIFY | OCSP_VERIFY
| OCSP_RESP_TMO | OCSP_RESP_TMO
| OCSP_CONN_TMO | OCSP_CONN_TMO
| OCSP_REFRESH_INTERVAL | OCSP_REFRESH_INTERVAL
| OCSP_DIR | OCSP_DIR
| PEM_DIR | PEM_DIR
| PEM_DIR_GLOB | PEM_DIR_GLOB
| SESSION_CACHE_REC | SESSION_CACHE_REC
| SHARED_CACHE_LISTEN_REC | SHARED_CACHE_LISTEN_REC
skipping to change at line 518 skipping to change at line 519
}; };
WRITE_PROXY_V2_REC: TOK_WRITE_PROXY_V2 '=' BOOL { WRITE_PROXY_V2_REC: TOK_WRITE_PROXY_V2 '=' BOOL {
cfg->WRITE_PROXY_LINE_V2 = $3; cfg->WRITE_PROXY_LINE_V2 = $3;
}; };
PROXY_TLV_REC: TOK_PROXY_TLV '=' BOOL { cfg->PROXY_TLV = $3; }; PROXY_TLV_REC: TOK_PROXY_TLV '=' BOOL { cfg->PROXY_TLV = $3; };
PROXY_TLV_REC: TOK_PROXY_AUTHORITY '=' BOOL { cfg->PROXY_AUTHORITY = $3; }; PROXY_TLV_REC: TOK_PROXY_AUTHORITY '=' BOOL { cfg->PROXY_AUTHORITY = $3; };
PROXY_CCRT_REC: TOK_PROXY_CCERT '=' BOOL { cfg->PROXY_CLIENT_CERT = $3; };
PROXY_PROXY_REC: TOK_PROXY_PROXY '=' BOOL { cfg->PROXY_PROXY_LINE = $3; }; PROXY_PROXY_REC: TOK_PROXY_PROXY '=' BOOL { cfg->PROXY_PROXY_LINE = $3; };
ALPN_PROTOS_REC: TOK_ALPN_PROTOS '=' STRING { ALPN_PROTOS_REC: TOK_ALPN_PROTOS '=' STRING {
/* XXX: passing an empty string for file */ /* XXX: passing an empty string for file */
if ($3 && config_param_validate("alpn-protos", $3, cfg, "", if ($3 && config_param_validate("alpn-protos", $3, cfg, "",
yyget_lineno()) != 0) yyget_lineno()) != 0)
YYABORT; YYABORT;
}; };
SYSLOG_FACILITY_REC: TOK_SYSLOG_FACILITY '=' STRING { SYSLOG_FACILITY_REC: TOK_SYSLOG_FACILITY '=' STRING {
 End of changes. 3 change blocks. 
1 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)