Skip to content
This repository has been archived by the owner on Jan 2, 2022. It is now read-only.

jtomschroeder/ether

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ether

crates.io License

ether is a crate that provides a library parsing and manipulating network data, packet captures.

NOTE: ether is currently in the alpha phase (API is likely to change).

Documentation

Usage

Here's a simple example that prints all packets received on interface en0:

extern crate ether;

use ether::tap;
use ether::tap::Stream;

fn main() {
    let mut tap = tap::Tap::new("en0").unwrap();
    for packet in tap.stream().wait().filter_map(|p| p.ok()) {
        println!("{:?}", packet);
    }
}

Framework

  • interconnect
  • pcap
  • tap

Tools

  • ethdump
  • Eventually...
    • ping
    • trace-route

About

Library for parsing and manipulating network data, packet captures.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published