recover(4) go rewrite

This is a partial go rewrite of the original C version.

Original C version authors:
Gorka Guardiola, [email protected]
Russ Cox, [email protected]
Eric Van Hensbergen, [email protected]

Original C version references:
/n/sources/contrib/paurea/recover4e.tgz
/n/sources/contrib/rsc/recover/recover.pdf

This go version currently:
- doesn't work on plan9,
- can't do authentication,
- works on windows and on unix where go works,
- works on android (in termux), though not very useful at the moment,
- works both with or without plan9port,
- uses go net.Dial() address format (host:port),
- when using without plan9port, it won't clean up socket file after terminating,
- needs NAMESPACE set on windows,
- it'll default stay in the foreground.

More details:
https://9fans.topicbox.com/groups/9fans/T1d7bf3c39e885267/recover4-go-rewrite
Similar Resources

Rewrite the httpie using Golang

go-http In the previous time, I wrote raw HTTP request in a text and sent it to server by nc tool to test my API. This hard-core style do help me to u

Nov 5, 2021

URL Rewrite middleware for gin

Url Rewrite middleware for gin Example In this exable these urls use the same route http://localhost:1234/test-me http://localhost:1234/index.php/test

Sep 15, 2022

A rewrite of DrPetter's sfxr in Go and GTK3

gosfxr This is a rewrite of DrPetter's sfxr in Go and GTK3 that only exists because I wanted to get my feet wet with UI development in Go. Please refe

Dec 27, 2021

Gost - An in-progress bot-rewrite of Squiddie, which will be written in Go

Gost Gost is an in-progress bot-rewrite of Squiddie, which will be written in Go

Jan 19, 2022

Keylimectl - a Go rewrite of (keylime-)tenant.py

Keylimectl, a Go rewrite of (keylime-)tenant.py Warning: under development Keyli

Feb 7, 2022

Golang rewrite of IppSec's forward-shell

go-forward-shell Golang rewrite of IppSec's forward-shell. This creates a shell that accepts commands via a named pipe and outputs to another file. Th

Feb 12, 2022

Rewrite of SerenityOS's LibLine in Golang

(Lib)Line A full reimplementation of SerenityOS's LibLine in Go. LibLine is a full-featured terminal line editor with support for: Flexible autocomple

Jun 2, 2022
Comments
  • new default: try connecting, even if initial connection fails

    new default: try connecting, even if initial connection fails

    In line with 'sensible defaults': without a flag, recover(4) should try connecting to host even if initial connection fails. With -f, if initial connection fails, exit recover(4).

recover(4) go rewrite

This is a partial go rewrite of the original C version. Original C version authors: Gorka Guardiola, [email protected] Russ Cox, [email protected] Eric Va

Dec 19, 2022
Fuzz Go defer/panic/recover

deferfuzz deferfuzz is a fuzzer for Go defer/panic/recover. Caveat: I wrote this in a couple hours, and I'm more of a compiler engineer than a fuzzer

Mar 3, 2022
Rem is a CLI trash which makes it ridiculously easy to recover files.
Rem is a CLI trash which makes it ridiculously easy to recover files.

Rem is a CLI trash which makes it ridiculously easy to recover files. We've all had that moment when we've deleted something we realised we shouldn't have. It sucks. Let's fix that!

Dec 21, 2022
Generic error handling with panic, recover, and defer.

Generic error handling with panic, recover, and defer.

Aug 25, 2022
Filecoin sector recover

扇区修复 Filecoin在封装或挖矿过程中,可能面临扇区数据丢失,那么就要被销毁PreCommit预质押的FIL,或者终止扇区最大损失扇区的90天的收益。扇区修复能修复丢失的文件,来减少或者避免损失。 扇区丢失的原因 1.存储盘坏盘 矿商为了降低封装成本,不得不使用裸盘做存储,来降低成本,提高自己

Nov 30, 2022
sealer-recover

扇区修复 Filecoin在封装或挖矿过程中,可能面临扇区数据丢失,那么就要被销毁PreCommit预质押的FIL,或者终止扇区最大损失扇区的90天的收益。扇区修复能修复丢失的文件,来减少或者避免损失。 扇区丢失的原因 1.存储盘坏盘 矿商为了降低封装成本,不得不使用裸盘做存储,来降低成本,提高自己

Nov 6, 2021
DORY is a tool who enables people to recover their access to an Active Directory service, by changing, resetting or unlocking their account.

DORY - Server Expose a simple API to manipulate AD. Password reinitialization Password changer Account Unlocking You must have LDAPS (port 636) active

Oct 3, 2022
Cli tool to relabel Prometheus TSDB block via Thanos rewrite

promrelabel Tool for easier relabeling prometheus TSDB block data. This cli tool does the same thing as thanos tools bucket rewrite --rewrite.to-relab

Sep 29, 2022
rewrite of logarthmic brightness adjustment tool

bright(ness) rewrite of this gist from this blog article (credit to @konradstrack) in go. Functionality, except the program won't fail if the display

Oct 15, 2021
Go rewrite of anim_encoder

cpcast Overview/Rationale I needed to record screencasts for CodePerfect and found that Sublime Text's website does screencasts in a cool way. The pro

Dec 2, 2021