Commit Graph

136 Commits

Author SHA1 Message Date
Tony Garnock-Jones 1c3ebd17bd Make stress.rkt use a more sensible question and get its port number from DNSPORT 2012-02-17 16:05:56 -05:00
Tony Garnock-Jones 3dd3370b4b Cosmetic 2012-02-17 16:05:31 -05:00
Tony Garnock-Jones 231e297975 Handle abnormal response codes properly 2012-02-17 16:05:18 -05:00
Tony Garnock-Jones 8571900d29 The timer-driver and timer-relay now need names to be given explicitly. 2012-02-17 15:34:24 -05:00
Tony Garnock-Jones b79ca309c4 Fix cache TTL poisoning; save and load zone data 2012-02-17 13:42:17 -05:00
Tony Garnock-Jones 4e7cc96d1b Proper datatype for domain-names -> case-insensitive comparison 2012-02-17 12:12:48 -05:00
Tony Garnock-Jones 517f0e604d Minor rearrangements 2012-02-17 11:38:39 -05:00
Tony Garnock-Jones b390b9bc6f Small program to send a debug-packet to the server. 2012-02-16 15:27:03 -05:00
Tony Garnock-Jones f95f8c9603 Correct comment. 2012-02-16 15:25:59 -05:00
Tony Garnock-Jones 8d715290ee Sending an empty packet to the proxy causes it to dump its current cache contents, for debugging 2012-02-16 15:25:43 -05:00
Tony Garnock-Jones 0c3ebff5f1 Avoid output buffering; also improve debug output 2012-02-16 15:24:59 -05:00
Tony Garnock-Jones 83cf8f53a8 Fix bug in loop-detection: the new TTL-updating was confusing the set 2012-02-16 15:24:21 -05:00
Tony Garnock-Jones 313677acf7 Move deps on racket-matrix 2012-02-15 10:41:15 -05:00
Tony Garnock-Jones b109465b00 Split out to racket-matrix 2012-02-15 10:34:17 -05:00
Tony Garnock-Jones 0bd5bb0935 Split TODO 2012-02-15 10:32:40 -05:00
Tony Garnock-Jones cf333f335c Prepare for split 2012-02-15 10:32:03 -05:00
Tony Garnock-Jones 720ca052be Remove unused dependency 2012-02-15 10:25:28 -05:00
Tony Garnock-Jones 969bc2646e Age and expire cached RRs properly 2012-02-09 16:31:31 -05:00
Tony Garnock-Jones 570f6fb915 Change hash-ref -> zone-ref etc. prior to improving TTL processing 2012-02-09 15:19:59 -05:00
Tony Garnock-Jones a891956867 Introduce subscribe/fresh and use it in some places. 2012-02-08 17:36:27 -05:00
Tony Garnock-Jones fe88c1cbb6 Update testing code 2012-02-08 17:36:27 -05:00
Tony Garnock-Jones 3b98769e8d Fix stupid test-direction-problem in cname expansion 2012-02-08 17:36:27 -05:00
Tony Garnock-Jones 40ef38963b Clear cache every N seconds (until I build a better mechanism) 2012-02-08 17:36:27 -05:00
Tony Garnock-Jones b871a60c64 Better contract 2012-02-08 17:36:27 -05:00
Tony Garnock-Jones 1203d9a18c Only look up nameserver names as far as necessary 2012-02-08 17:36:26 -05:00
Tony Garnock-Jones 4b7c931527 Rearrange resolver/network-query interaction, in particular making
network-query a separate os.rkt process.
2012-02-08 17:35:56 -05:00
Tony Garnock-Jones ed4fe93405 Indenting elisp utilities. 2012-02-08 17:35:54 -05:00
Tony Garnock-Jones 9c231ebe6c Rearrange timeout loop a little 2012-01-31 13:44:09 -05:00
Tony Garnock-Jones e6568d49b5 Make network-query no longer directly aware of CompiledZones. 2012-01-31 08:11:31 -05:00
Tony Garnock-Jones 6cde0922d9 Use latest knowledge in CNAME expansions 2012-01-25 17:57:14 -05:00
Tony Garnock-Jones c84ed33697 Measure RTT for network queries 2012-01-25 17:56:57 -05:00
Tony Garnock-Jones d1ad3d7086 Try the nameservers we have addresses for before looking up any more nameserver addresses. 2012-01-25 17:45:53 -05:00
Tony Garnock-Jones 7217768b9a Ignore duplicate requests while still processing an earlier repeat 2012-01-25 15:07:33 -05:00
Tony Garnock-Jones 1d110a1845 Timeouts 2012-01-25 15:06:49 -05:00
Tony Garnock-Jones 47a6607981 Silence the proxy's debug output a little 2012-01-25 14:20:20 -05:00
Tony Garnock-Jones 9770f0570b Move big-bang-driver.rkt to driver.rkt. 2012-01-25 13:56:47 -05:00
Tony Garnock-Jones de6ad4c065 Remove obsolete driver code. 2012-01-25 13:56:06 -05:00
Tony Garnock-Jones 26aa40053b Convert network-query to evented style and implement proxy.
Create os-dns.rkt from code in big-bang-driver.rkt.
2012-01-25 13:50:49 -05:00
Tony Garnock-Jones a447ddfd7d Remove unneeded signature file 2012-01-25 12:01:31 -05:00
Tony Garnock-Jones e7f3e79053 CPS-convert resolve-from-zone to expose network I/O actions. 2012-01-24 14:25:44 -05:00
Tony Garnock-Jones f07495520e Remove misleading and wrong (answer-available?) predicate 2012-01-24 14:18:42 -05:00
Tony Garnock-Jones 58b8d9c35b Switch "exn?" to "exn:fail?" in a few important spots, to avoid catching SIGINT 2012-01-23 11:27:51 -05:00
Tony Garnock-Jones 43a6f52cd8 Fix a type error: DNS packets need to stay in the DNS layer 2012-01-23 11:22:52 -05:00
Tony Garnock-Jones eebab5387b Switch from one ad-hoc ground language to another, but eliminate HIDs.
This removes a bug in the design: metamessages wouldn't have been
dispatched properly in more general types of metanetwork than the
Racket CMLish framework.
2012-01-20 18:32:59 -05:00
Tony Garnock-Jones 1dcf34bd56 Remove HID counter and HIDs; extract common searchHandlers function 2012-01-20 13:46:22 -05:00
Tony Garnock-Jones a4113f7608 Elucidating the types 2012-01-20 10:54:10 -05:00
Tony Garnock-Jones fd64c460a4 Remove dependency on functional-queue.rkt 2012-01-19 13:38:11 -05:00
Tony Garnock-Jones 9ef1165c9a Add compiled-zone?. 2012-01-17 16:17:42 -05:00
Tony Garnock-Jones 1f969de125 Use a nested-vm in big-bang-driver to split the UDP and DNS layers 2012-01-16 18:33:00 -05:00
Tony Garnock-Jones ad7b823e6e Make pattern-predicate an optional keyword argument to make-vm 2012-01-16 18:29:53 -05:00