Commit Graph

3354 Commits

Author SHA1 Message Date
Joe Bryan
89d4db1dce
Merge pull request #1029 from urbit/release-candidate-plug-leaks
fix memory leaks, add gc and profile build options
2018-10-02 18:09:11 -04:00
Fang
7569f8d8ad Fix issue with trimming >4 character jet names 2018-10-02 15:24:29 -04:00
Joe Bryan
b1f8b79992 adds -S to skip battery hashes 2018-10-02 15:23:35 -04:00
Joe Bryan
8d9f2fac89 fixes u3n_prog pointers in u3n_ream() 2018-10-02 15:15:37 -04:00
Joe Bryan
7a2705bb6d adds meson option (-Dprof=true) to set U3_CPU_DEBUG 2018-10-01 19:04:58 -04:00
Joe Bryan
9302d4708c adds meson option (-Dgc=true) to set U3_MEMORY_DEBUG 2018-10-01 19:04:58 -04:00
Joe Bryan
8affdf44ea refactors http card validation
in u3_http_ef_that and u3_http_ef_form
2018-10-01 19:04:51 -04:00
Fang
48c8e6cf43
Merge pull request #1020 from BernardoDeLaPlaz/blake_ripe
crypto (blake, ripe) jetted
2018-09-30 12:12:41 -07:00
Fang
e414767957
Merge branch 'crypto-additions' into blake_ripe 2018-09-30 11:41:49 -07:00
Joe Bryan
34570e428e fixes leak in proxy when networking is disabled 2018-09-28 22:58:39 -04:00
Joe Bryan
8de9a059ce fixes leak in _http_serv_start_all
by removing calls to u3_lo_open and u3_lo_shut
2018-09-28 22:58:39 -04:00
Fang
97bc5ba400
Merge branch 'release-candidate' into crypto-additions 2018-09-28 12:02:05 -07:00
ixv
689aecf115
Merge pull request #1025 from urbit/release-candidate-profiling-fix
bypassed profiling bug
2018-09-27 18:59:43 -07:00
Isaac Visintainer
359388a63f bypassed profiling bug 2018-09-27 16:42:43 -07:00
Joe Bryan
89479463e5
Merge pull request #1017 from urbit/fix-jet-name-trim
Fix issue with trimming >4 character jet names
2018-09-07 18:02:50 -04:00
BernardoDeLaPlaz
3d6e41e88a Merge branch 'blake_ripe' of https://github.com/BernardoDeLaPlaz/urbit into blake_ripe 2018-09-07 14:27:32 -04:00
BernardoDeLaPlaz
cce78f57d4 code review 2018-09-07 14:27:14 -04:00
TJamesCorcoran
ebba09ac15 code review 2018-09-07 14:24:56 -04:00
Fang
78c6477c8a
Merge pull request #1019 from BernardoDeLaPlaz/crypto-additions
secp256k1 jetted
2018-09-07 19:22:15 +02:00
Fang
9396f7cc22
Remove nonstandard 27 minimum value from ecdsa signature v
As per urbit/arvo/b2365db.
2018-09-04 18:17:52 +02:00
Joe Bryan
ab4b327e82 Merge branch 'research-final' into release-candidate
* research-final:
  Eliminate cons optimization.
2018-08-27 14:50:29 -07:00
Joe Bryan
ba5e228d78 Merge branch 'https-proxy-config' into ford-turbo-proxy
* https-proxy-config: (92 commits)
  increases tcp proxy listener timeout to 2 minutes
  fixes dumb bug in tcp reverse proxy remote address resolution
  upgrades libh2o to v0.13.5 (h2o v2.2.5)
  sets the http client request timeout to 2 minutes
  adds an http request timer to ensure connections are always closed
  adds an http request timer to ensure connections are always closed
  adds (disabled) h2o access log
  don't leak ship-name in _proxy_ward_connect()
  refactors .http.ports write/release (avoid the loom, etc.)
  updates SSL_CTX init to support any PEM private key, simplifies error handling
  adds u3_wcon (ward candidate conn), refactors ward connection accept and auth
  enables ALPN and HTTP2 over TLS
  increases timeout before server struct, adds explanatory comment
  closes u3_ward stream and timer sequentially, fixing use-after-free per ASan
  moves u3_pact to vere.h, replacing the unused u3_apac
  fixes memory leak in failed cttp.c address resolution
  suppresses AddressSanitizer in vararg functions u3i_molt and u3r_mean
  ignores AddressSanitizer errors in jets.c
  updates %wise and %that to give and receive the proxy auth nonce
  implements nonce-baced authentication for u3_ward proxies
  ...
2018-08-20 22:24:13 -04:00
Curtis Yarvin
68fc04e619 Eliminate cons optimization. 2018-08-20 15:31:43 -07:00
Curtis Yarvin
e530f02111 Remove broken assert. 2018-08-19 16:05:28 -07:00
BernardoDeLaPlaz
10bdf51640 crypto (blake, ripe) jetted 2018-08-10 17:09:55 -04:00
Joe Bryan
dacb80eef0 Merge branch 'master' into https-proxy-config
* master:
  adds an http request timer to ensure connections are always closed
  moves u3_pact to vere.h, replacing the unused u3_apac
  fixes memory leak in failed cttp.c address resolution
  Remove deprecated paths from gitignore
  print error on failed syscall in _ce_patch_create()
  removes tabs from http.c
  removes orphaned telnet constants and forward declarations
2018-08-09 18:22:53 -04:00
Curtis Yarvin
c910827cd7 Clean up some printfs. 2018-08-07 13:34:46 -07:00
BernardoDeLaPlaz
fd78579e24 secp256 jetted 2018-08-07 15:16:48 -04:00
Keaton Dunsford
d7a9744ce6
Merge pull request #1015 from urbit/fix-http-sockets-leak
adds an http request timer to ensure connections are always closed
2018-07-23 14:09:02 -07:00
Joe Bryan
f0c581160e increases tcp proxy listener timeout to 2 minutes 2018-07-22 00:18:03 -04:00
Joe Bryan
47557a5380 fixes dumb bug in tcp reverse proxy remote address resolution 2018-07-22 00:17:33 -04:00
Fang
34629b9d87 Disable testing for argon2 jet 2018-07-20 02:12:27 +02:00
Fang
3ddcf1290a Remove unnecessary u3k's in ++rev jet 2018-07-20 01:48:44 +02:00
Fang
ea3aa7d2bd Implement jet for ++argon2:argon2:crypto 2018-07-20 01:48:07 +02:00
Fang
ad628cbf64
Fix issue with trimming >4 character jet names 2018-07-20 01:31:28 +02:00
Joe Bryan
a28bad58a7 upgrades libh2o to v0.13.5 (h2o v2.2.5) 2018-07-19 16:29:01 -04:00
Joe Bryan
36ae7a5f07 sets the http client request timeout to 2 minutes 2018-07-18 13:52:49 -04:00
Joe Bryan
123a9c7289 adds an http request timer to ensure connections are always closed 2018-07-17 13:25:19 -04:00
Joe Bryan
a08dcf8a19 adds an http request timer to ensure connections are always closed 2018-07-17 12:55:16 -04:00
Joe Bryan
9abf5bfa50 adds (disabled) h2o access log 2018-07-16 16:42:50 -04:00
Joe Bryan
9cf861990f don't leak ship-name in _proxy_ward_connect() 2018-07-16 14:24:29 -04:00
Joe Bryan
0ca3561794 refactors .http.ports write/release (avoid the loom, etc.) 2018-07-15 16:37:15 -04:00
Joe Bryan
2574b865c9 updates SSL_CTX init to support any PEM private key, simplifies error handling 2018-07-14 23:26:42 -04:00
Joe Bryan
11e76024f1 adds u3_wcon (ward candidate conn), refactors ward connection accept and auth 2018-07-14 19:01:52 -04:00
Joe Bryan
7260138567
Merge pull request #1013 from urbit/io-driver-cleanup
minor i/o driver cleanup
2018-07-13 13:14:37 -04:00
Joe Bryan
68ce42f68c enables ALPN and HTTP2 over TLS 2018-07-13 12:49:06 -04:00
Joe Bryan
92ae8c09c1 increases timeout before server struct, adds explanatory comment 2018-07-13 12:48:43 -04:00
Fang
e8103edb06 Fix compile-time issue with OpenSSL version of SHA-1 jet. 2018-07-13 15:55:37 +02:00
Joe Bryan
a557a11dff closes u3_ward stream and timer sequentially, fixing use-after-free per ASan 2018-07-12 23:43:37 -04:00
Joe Bryan
d11ca1b4bd
Merge pull request #962 from joemfb/asan-jets
ignores AddressSanitizer errors in jets.c
2018-07-12 23:38:44 -04:00