Commit Graph

660 Commits

Author SHA1 Message Date
Joe Bryan
03150a4bff removes u3_sist declarations 2018-11-13 18:54:54 -05:00
Joe Bryan
9cb3c797af removes u3_raft declarations 2018-11-13 18:54:54 -05:00
Joe Bryan
218ccbcefe removes old event-log declarations 2018-11-13 18:54:54 -05:00
Joe Bryan
f6943036bd removes telnet declarations 2018-11-13 18:47:39 -05:00
BernardoDeLaPlaz
7a496ea629 2. builds with meson 2018-11-10 22:05:28 -05:00
Joe Bryan
c072605792 restores -H for overriding contract/snapshot ames domains 2018-11-08 23:13:19 -05:00
Fang
32bbb02140 Unpack blake jet arguments earlier, make sure to flip endianness 2018-11-06 15:32:56 -08:00
Fang
91bef8d863 Merge branch 'release-candidate' into crypto-additions 2018-11-06 10:32:02 -08:00
Fang
1978fc9b05 Fix ripe jet, treat input as byts rather than bits
Unpack input in u3we version, assume byts, don't check for multiple
of eight bits.
2018-11-04 12:23:24 -08:00
Fang
a74ea050fa Clean up style in argon2 jet 2018-11-04 11:42:17 -08:00
Joe Bryan
35bfb49086 Merge branch 'release-candidate' into ames-eth-keys
* release-candidate: (21 commits)
  zinc gate casting bug
  Bug fix for metal-wrapping runes
  converting iron and zinc cores to lead bug
  8. updates nock 4K spec
  7. updates %5 to require two subformulas (nock 4K)
  6. implements edit at %10 (nock 4K)
  5. removes %13 and %14 (nock 4K)
  4. emits %11 and %12 (nock 4K)
  3. implements hint at %11 and wish at %12 (nock 4K)
  2. removes %10 and %11 (nock 4K)
  1. duplicates hint (%10) and wish (%11) at %13 and %14 (nock 4K)
  Disable terminal echo on passcode entry
  increased inbound request and ward timeouts to 5 min
  mutating edit
  bail in _n_edit on invalid path
  avoid allocating an atom for _cj_bash
  bypass mat and chop directly in jam
  small memory leak for large edits
  disable hike jet, kill errant and unneccessary mutate-context-sample opcodes
  bugfixes
  ...
2018-11-01 00:16:20 -04:00
Philip Monk
345459e931
allow booting from ethereum snapshot 2018-10-31 15:43:55 -07:00
Joe Bryan
f939b63cca simplifies dawn status noun, improves error messages 2018-10-16 23:46:31 -04:00
Joe Bryan
178c2212cf adds -e to specify ethereum node url 2018-10-16 22:56:27 -04:00
Joe Bryan
4bcfcf0b3a completely removes -I 2018-10-16 22:55:19 -04:00
Joe Bryan
5207c8321f use +clan:title to detect galaxy 2018-10-16 22:41:38 -04:00
Joe Bryan
6e77aa110a starts ames on %turf card, removes -H
uses ames domain for tcp proxy, and
moves czar arvo sync after ames initialization
2018-10-16 20:51:51 -04:00
Joe Bryan
b21b1c6fe1 WIP Merge remote-tracking branch 'fodwyt/edit' into nock-4k
* fodwyt/edit:
  mutating edit
  bail in _n_edit on invalid path
  avoid allocating an atom for _cj_bash
  bypass mat and chop directly in jam
  small memory leak for large edits
  disable hike jet, kill errant and unneccessary mutate-context-sample opcodes
  bugfixes
  first pass at nock 12 impl
2018-10-10 19:50:13 -04:00
Joe Bryan
0b13837bfa single-home's arvo, refines fake keys 2018-10-05 20:29:53 -04:00
Joe Bryan
bcc1261009 removes first-boot ticket 2018-10-05 20:29:53 -04:00
Joe Bryan
8fc65462b8 minimal fake-key boot - galaxies only for now 2018-10-05 20:29:53 -04:00
Joe Bryan
c058bae81c implements initial version of eth-integrated %dawn boot 2018-10-05 00:38:53 -04:00
Joe Bryan
e61a041f61 Merge branch 'release-candidate' into crypto-additions
* release-candidate: (153 commits)
  uses u3x_at in reel and roll jets
  adds comments for known-valid u3r_at calls in jets.c
  remove orphaned declarations for mux and shux jets
  bail %exit in _cj_site_lock if axis is not in core
  Fix issue with trimming >4 character jet names
  adds -S to skip battery hashes
  fixes u3n_prog pointers in u3n_ream()
  adds meson option (-Dprof=true) to set U3_CPU_DEBUG
  adds meson option (-Dgc=true) to set U3_MEMORY_DEBUG
  refactors http card validation
  fixes leak in proxy when networking is disabled
  fixes leak in _http_serv_start_all
  avoid allocating an atom for _cj_bash
  bypass mat and chop directly in jam
  use nul prefix for regular (no loc) nock formulas, fix memory leak in _cj_mile, delete unused code
  kill mux and shux jets, whose services are no longer required
  for posterity
  all hashes
  more hashes
  update pill/arvo hashes
  ...
2018-10-03 19:29:56 -04:00
Joe Bryan
67968ac514 remove orphaned declarations for mux and shux jets 2018-10-02 22:39:36 -04:00
Joe Bryan
f0524c23f0 Merge branch 'release-candidate' into hashboard
* release-candidate: (138 commits)
  adds meson option (-Dprof=true) to set U3_CPU_DEBUG
  adds meson option (-Dgc=true) to set U3_MEMORY_DEBUG
  refactors http card validation
  fixes leak in proxy when networking is disabled
  fixes leak in _http_serv_start_all
  bypassed profiling bug
  Eliminate cons optimization.
  Remove broken assert.
  Clean up some printfs.
  increases tcp proxy listener timeout to 2 minutes
  fixes dumb bug in tcp reverse proxy remote address resolution
  Fix issue with trimming >4 character jet names
  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
  ...
2018-10-02 18:25:41 -04:00
Joe Bryan
b1f8b79992 adds -S to skip battery hashes 2018-10-02 15:23:35 -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
Fang
e414767957
Merge branch 'crypto-additions' into blake_ripe 2018-09-30 11:41:49 -07:00
Fang
97bc5ba400
Merge branch 'release-candidate' into crypto-additions 2018-09-28 12:02:05 -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
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
BernardoDeLaPlaz
fd78579e24 secp256 jetted 2018-08-07 15:16:48 -04:00
Fang
ea3aa7d2bd Implement jet for ++argon2:argon2:crypto 2018-07-20 01:48:07 +02: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
11e76024f1 adds u3_wcon (ward candidate conn), refactors ward connection accept and auth 2018-07-14 19:01:52 -04:00
Joe Bryan
e6b9dbda8d moves u3_pact to vere.h, replacing the unused u3_apac 2018-07-12 22:43:32 -04:00
Fang
9498336f2a Implement jet for ++hmac:hmac:crypto. 2018-07-13 02:03:08 +02:00
Fang
d969775d8f Implement jet for ++sha-1:sha. 2018-07-13 02:01:31 +02:00
Fang
919780c570 Implement jet for ++rev. 2018-07-13 01:59:56 +02:00
Fang
b8712677ea Implement jet for ++swp. 2018-07-13 01:58:32 +02:00
Fang
5189295d02 Add k versions for the mix, rep and rip jets.
This makes upcoming work a bit easier.
2018-07-13 01:56:56 +02:00
Joe Bryan
8b5b5903e6 updates %wise and %that to give and receive the proxy auth nonce 2018-07-10 23:42:49 -04:00
Joe Bryan
fc0c1165b4 implements nonce-baced authentication for u3_ward proxies
with constant nonces, not yet wired to into arvo
2018-07-10 23:42:49 -04:00
Joe Bryan
3499456261 rewrites graceful restart, re-architects u3_hcon and u3_hreq lifecycle 2018-07-10 23:42:40 -04:00
Joe Bryan
60b0c90122 refactors http config (%form) application 2018-07-10 13:13:44 -04:00
Joe Bryan
e665912fcf doubly-links http connections and requests 2018-07-10 13:13:44 -04:00
Joe Bryan
107c417a82 implements link/unlink for proxy structs, improves resource cleanup 2018-07-10 13:13:44 -04:00
Joe Bryan
5a444d8849 wires up http config event (%form)
only starts servers on recv config
2018-07-10 13:13:44 -04:00
Curtis Yarvin
7a48d012f6 Initial draft of modern fishing. 2018-07-09 15:37:27 -07:00
Paul Driver
7dcc2303d1 mutating edit 2018-07-02 07:47:48 -07:00
Joe Bryan
28d9c769cd terrible horrible graceful http restarts 2018-06-20 23:39:20 -04:00
Joe Bryan
f4c90aa7bc adds proxy structs to vere.h, backlinks to u3_http 2018-06-20 23:39:20 -04:00
Joe Bryan
318b1e8d3e WIP start servers/proxies from config effect 2018-06-20 23:39:20 -04:00
Joe Bryan
eeb0536ab9 wires up reverse proxy notification effect %that
works!
2018-06-15 14:16:17 -04:00
Paul Driver
da051310df Merge branch 'master' into hashboard 2018-06-04 14:15:53 -07:00
Paul Driver
a8d7d79b0c use nul prefix for regular (no loc) nock formulas, fix memory leak in _cj_mile, delete unused code 2018-06-04 13:53:41 -07:00
Curtis Yarvin
f01bce3582 More renaming. 2018-05-27 13:00:55 -07:00
Paul Driver
1486aec835 better bash conveyance 2018-05-26 12:03:09 -07:00
Paul Driver
7fe3eee82a program splitting for located cores 2018-05-25 18:17:19 -07:00
Paul Driver
8c4fd067de general battery hash caching 2018-05-25 17:53:36 -07:00
Curtis Yarvin
7a9a9047c3 Old help totally cleaned out. 2018-05-24 15:40:28 -07:00
Paul Driver
46747b9ce3 shux jet 2018-05-23 15:39:22 -07:00
Paul Driver
83f698ab44 mux jet 2018-05-23 15:13:00 -07:00
Curtis Yarvin
5e55e48f3b Adjusted %brcn to support core name. 2018-05-20 12:34:38 -07:00
Paul Driver
21637cdca9 fix bug in u3j_gate_prep and move hot_p to home road 2018-05-16 13:45:40 -07:00
Paul Driver
33195a22ec more hashes, u3j_hood expands to express ut hooks 2018-05-12 14:30:59 -07:00
Curtis Yarvin
847c627003 Merge remote-tracking branch 'origin/master' into research-unhelp 2018-05-09 11:01:44 -07:00
Paul Driver
109ad54c53 booting and verifying - pasting in hashes now 2018-05-08 18:30:19 -07:00
Paul Driver
10c775961f stash - building and booting 2018-05-08 13:34:35 -07:00
Curtis Yarvin
747831dc26 Platform for coordinated type system adjustment. 2018-05-05 15:10:34 -07:00
Joe Bryan
ad4f76a431 adds state enum to u3_hreq, ignores attempts to send duplicate http responses 2018-05-04 15:49:44 -04:00
Curtis Yarvin
5afbf59cae Merge branch 'master' into research-merge 2018-05-02 16:55:29 -07:00
Paul Driver
30af289c34 document u3n_prog and u3n_memo 2018-04-30 13:32:39 -07:00
Paul Driver
b7e0dc4651 merge conflict 2018-04-30 11:42:24 -07:00
Paul Driver
8bc64b09ac comments, rename some functions 2018-04-30 11:39:33 -07:00
Paul Driver
b43f069441 u3n_find returns post 2018-04-30 11:02:48 -07:00
Paul Driver
68f98124e5 more comments, u3n_burn takes a post 2018-04-30 10:56:19 -07:00
Paul Driver
dc470f76d4 deleting unused public functions, cleaning up internal apis 2018-04-30 10:33:04 -07:00
Paul Driver
825b7eb604 posts in sites 2018-04-30 10:16:47 -07:00
Paul Driver
d306975af8 gate_prep transfers, rites to posts 2018-04-30 09:57:09 -07:00
Paul Driver
67c1035d57 fix profiling 2018-04-27 12:22:39 -07:00
Paul Driver
62b8b655ee locally cached gates for things like turn 2018-04-26 17:42:38 -07:00
Paul Driver
be8c56376d hook caching in, kink weirdness fixed 2018-04-26 16:36:29 -07:00
Paul Driver
a15c248e3d move _n_fink_free and everything that calls it 2018-04-26 12:06:57 -07:00
Paul Driver
462c6d7bd5 move rite and site mark 2018-04-26 11:23:03 -07:00
Paul Driver
bf2d240ed0 move cast 2018-04-26 11:15:46 -07:00
Paul Driver
4da79539ec move internal _n data structures to headers 2018-04-26 11:08:34 -07:00
Curtis Yarvin
63ea041ecf Renamed %form to %hint. 2018-04-24 22:29:31 -07:00
Curtis Yarvin
a2e2dee3db Finish integrating %form in +type. 2018-04-24 21:57:54 -07:00
Paul Driver
a5e79c2820 ream callsites at boot 2018-04-18 12:19:56 -07:00
Paul Driver
50f3c9ef63 holding onto locations and finks at call sites without leaks 2018-04-17 13:47:52 -07:00
Paul Driver
3c7317a1a4 registration site caching 2018-04-14 14:57:12 -07:00
Joe Bryan
6c36594f6f Merge branch 'master' into libh2o
* master: (124 commits)
  use compile-time assertion to check for unsigned char
  Don't build libuv in travis if it is now submoduled.
  Rebuild the scripts without PKG_CONFIG_PATH hacks.
  Remove manual PKG_CONFIG_PATH configuration.
  Enable fallback libuv bundle
  Bundle libuv.
  adds a cell check for the sample of the +roll gate
  Add missing flags fixing the markdown parser bug #951
  Revert "Merge pull request #952 from eglaysher/revert-meson"
  Revert "Merge pull request #949 from eglaysher/meson-build-clean"
  Revert "The -C flag was added for exactly this case."
  The -C flag was added for exactly this case.
  Take ownership of the submodule repositories.
  Revert "Revert "Merge pull request #941 from frodwith/runtime-overflows""
  Add legacy meson instructions to README
  Fix new meson version check
  Fix legacy meson version detection.
  Universal meson build.
  change overflow check to short
  do the don trick for jam
  ...
2018-04-09 19:49:40 -07:00
Keaton Dunsford
87e28fb787
Merge pull request #953 from eglaysher/reapply-meson
Reapply meson
2018-04-09 19:14:55 -07:00
Joseph Bryan
2caa2bc6bd use compile-time assertion to check for unsigned char 2018-04-09 18:22:48 -07:00
Paul Driver
3b7e9eca0b Merge branch 'bytecode-mint' into spot-check 2018-04-02 14:08:51 -07:00
Paul Driver
03763e4817 fix profiling leaks 2018-04-02 14:08:28 -07:00
Paul Driver
a61ed7df17 fix compile errors 2018-03-30 11:49:18 -07:00
Paul Driver
a5e55372e9 stash before changing dashboard yet again 2018-03-29 11:56:09 -07:00
C. Guy Yarvin
b59aa59951 Support %form. 2018-03-26 16:58:51 -07:00
Elliot Glaysher
0f09810dd7 Revert "Merge pull request #952 from eglaysher/revert-meson"
This reverts commit 9978ad8b72, reversing
changes made to a85369fa1f.
2018-03-20 10:16:16 -07:00
C. Guy Yarvin
c0d108d745 Add !@. 2018-03-20 09:41:54 -07:00
Elliot Glaysher
e6f6315691 Revert "Merge pull request #949 from eglaysher/meson-build-clean"
This reverts commit 9f795b535f, reversing
changes made to d5c7b3b932.
2018-03-19 15:13:19 -07:00
Elliot Glaysher
a85369fa1f
Merge pull request #948 from frodwith/charm
Charm
2018-03-19 14:57:50 -07:00
Elliot Glaysher
b9432b4d57
Merge pull request #930 from joemfb/sav-mkdirp
recursively mkdir in u3_walk_save
2018-03-19 14:36:57 -07:00
Elliot Glaysher
9f795b535f
Merge pull request #949 from eglaysher/meson-build-clean
Meson build clean
2018-03-19 11:14:53 -07:00
Paul Driver
087b674a37 Revert "Revert "Merge pull request #941 from frodwith/runtime-overflows""
This reverts commit 074a293257.
2018-03-19 09:12:39 -07:00
Joseph Bryan
f4e60f604a cleans up server SSL_CTX, saves pointer on u3_Host 2018-03-15 22:55:51 -04:00
Joseph Bryan
419a634ad9 cleans up client SSL_CTX initialization 2018-03-14 17:02:06 -04:00
Joseph Bryan
63081c94e5 updates cancellation to properly handle async address resolution 2018-03-14 13:21:20 -04:00
Joseph Bryan
828c73c7e9 adds nam_w and val_w to u3_hhed, updates cttp appropriately 2018-03-14 13:21:10 -04:00
Joseph Bryan
221207053d resolves ip addresses explicitly, enables https requests 2018-03-14 11:33:58 -04:00
Joseph Bryan
a0bf822036 attaches response headers 2018-03-14 11:33:58 -04:00
Joseph Bryan
09585f73a9 switches cttp to be request-oriented, removes u3_ccon and jhttp
still buggy
2018-03-14 11:33:53 -04:00
C. Guy Yarvin
d90d0327e2 Change %bunt to %bcdt. 2018-03-13 19:57:53 -07:00
Keaton Dunsford
074a293257 Revert "Merge pull request #941 from frodwith/runtime-overflows"
This reverts commit 67d3460a91, reversing
changes made to 8d0f6cf3a6.
2018-03-12 16:42:39 -07:00
Paul Driver
1871595b57 add bytecode free functions 2018-03-12 10:58:41 -07:00
Paul Driver
a2a0f3ae6a code cleanup 2018-03-12 10:45:04 -07:00
C. Guy Yarvin
55e895036c Eliminate old-fashioned burn. 2018-03-10 20:57:02 -08:00
Paul Driver
42c460ed3b midway through adding making for bytecode 2018-03-09 16:04:47 -08:00
Joseph Bryan
a0b19f125f cleanup 2018-03-05 10:36:35 -05:00
Joseph Bryan
75b027bdd7 makes h2o_globalconf_t per server in u3_http 2018-03-05 10:36:34 -05:00
Joseph Bryan
f74c20473d updates vere.h with new server/connection/request structs 2018-03-05 10:36:33 -05:00
Joseph Bryan
e65fa24fca adds trivial libh2o integration 2018-03-05 10:36:32 -05:00
Joseph Bryan
ebbbf6cf0c recursively mkdir in u3_walk_save 2018-03-02 17:39:08 -05:00
mikolajp
29d792bd64 Switch to generated config header. New allocator 2018-02-25 14:14:25 +08:00
Paul Driver
fad4db8b66 commenting out and moving around some debugging code, boot is working 2018-02-20 12:57:59 -08:00
C. Guy Yarvin
4ae78dafb0 Fully adapted to seminouns in ++coil. 2018-02-19 17:24:16 -08:00
Paul Driver
389261be10 try compiling away all fragment axes 2018-02-05 10:27:39 -08:00
Paul Driver
17a166fa83 bytecode interpreter can run nock decrement 2018-02-02 15:28:07 -08:00
Paul Driver
232d2cccf8 fixing compile errors and warnings 2018-02-01 09:21:10 -08:00
C. Guy Yarvin
dfe9265576 Support experimental bit in ++ap and ++al. 2018-01-29 18:58:36 -08:00
Paul Driver
714d7e7608 use explicit stack in unifying equals 2018-01-23 17:22:27 -08:00
Ted Blackman
49a3bc4ffa added -H ames bootstrap domain 2017-12-13 15:13:44 -08:00
C. Guy Yarvin
70487ba362 Disable ++ap shims. 2017-12-10 21:04:31 -08:00
Anton Dyudin
cc9d8e3ebf Merge remote-tracking branch 'curt/retrofit-release' 2017-12-07 12:47:21 -08:00
C. Guy Yarvin
3e77ed0b8d Preadapt for sm->mc and fs->sk rune changes. 2017-12-07 09:53:43 -08:00
C. Guy Yarvin
2b8c046b13 Cache ++blow. 2017-12-07 08:49:55 -08:00
Anton Dyudin
d829a27b4f bumped version 2017-12-06 21:24:25 -08:00
C. Guy Yarvin
cb46432b9b Support ^% switch to ++aq instead of ++ap. 2017-12-06 16:33:49 -08:00
C. Guy Yarvin
a220669cb0 Initial commit. 2017-11-27 14:32:42 -08:00
C. Guy Yarvin
8c20c3dcdf Larger slab allocations make profiling work. 2017-11-16 11:44:52 -08:00
C. Guy Yarvin
8d5ac23ab2 Minor debugging cleanups. 2017-11-14 15:24:42 -08:00
C. Guy Yarvin
fc53b339a4 Working with some debug stuff. 2017-11-13 20:35:34 -08:00
C. Guy Yarvin
3d2ed11bb7 Merge branch 'retrofit-cash' into retrofit 2017-11-13 09:49:37 -08:00
C. Guy Yarvin
0b31bad54e Correct and disable memory tracking. 2017-11-13 09:06:10 -08:00
C. Guy Yarvin
25564c3f5f Merge remote-tracking branch 'belisarius222/hash-cash-rebase' into retrofit-cash 2017-11-12 17:51:27 -08:00