1 unstable release

0.1.0 Feb 22, 2019

#4 in #honeypot

AGPL-3.0-or-later

15KB
119 lines

hpfeeds

Honeynet Project generic authenticated datafeed protocol, Rust implementation

WIP

Only authenticate and publish are implemented.

Example

use std::error::Error;
use hpfeeds::Hpfeeds;

fn main() -> Result<(), Box<Error>> {
    let hpf = Hpfeeds::new("host.com", 10000, "hpname", "elongated_muskrat")?;
    hpf.publish_to("chan1", b"hp hit")?;
    Ok(())
}

Dependencies

~625KB
~13K SLoC