veto-blocked

Crates.ioveto-blocked
lib.rsveto-blocked
version0.1.0
created_at2025-10-16 15:32:54.551847+00
updated_at2025-10-16 15:32:54.551847+00
descriptionPreconfigured blocklists for the Veto proxy
homepagehttps://github.com/refcell/veto
repositoryhttps://github.com/refcell/veto
max_upload_size
id1886303
size11,387
refcell (refcell)

documentation

README

veto-blocked

Ready-to-use blocklists for the Veto JSON-RPC proxy.

Presets

  • Anvil – [AnvilBlocked] wires Veto in front of an Anvil node and blocks every anvil_* method the node exposes.

Usage

# use http::Uri;
# use std::net::SocketAddr;
# use veto_blocked::AnvilBlocked;
let bind = SocketAddr::from(([127, 0, 0, 1], 9000));
let upstream: Uri = "http://127.0.0.1:8545".parse()?;
let config = AnvilBlocked::new(bind, upstream).into_config();
# Ok::<_, http::uri::InvalidUriParts>(())

Contributing

See something missing from a preset? Open an issue so we can keep the proxy secure by default.

Commit count: 0

cargo fmt