pub struct HuginnNetHttp<'a> {
pub matcher: Option<SignatureMatcher<'a>>,
/* private fields */
}
Expand description
An HTTP-focused passive fingerprinting analyzer.
The HuginnNetHttp
struct handles HTTP packet analysis for browser fingerprinting,
web server detection, and HTTP protocol analysis using p0f-style methodologies.
Fields§
§matcher: Option<SignatureMatcher<'a>>
Implementations§
Source§impl<'a> HuginnNetHttp<'a>
impl<'a> HuginnNetHttp<'a>
Sourcepub fn new(
database: Option<&'a Database>,
max_connections: usize,
) -> Result<Self, HuginnNetHttpError>
pub fn new( database: Option<&'a Database>, max_connections: usize, ) -> Result<Self, HuginnNetHttpError>
Sourcepub fn analyze_network(
&mut self,
interface_name: &str,
sender: Sender<HttpAnalysisResult>,
cancel_signal: Option<Arc<AtomicBool>>,
) -> Result<(), HuginnNetHttpError>
pub fn analyze_network( &mut self, interface_name: &str, sender: Sender<HttpAnalysisResult>, cancel_signal: Option<Arc<AtomicBool>>, ) -> Result<(), HuginnNetHttpError>
Analyzes network traffic from a live network interface for HTTP packets.
§Parameters
interface_name
: The name of the network interface to capture from.sender
: A channel sender to send analysis results.cancel_signal
: Optional atomic boolean to signal cancellation.
§Returns
A Result
indicating success or failure.
Auto Trait Implementations§
impl<'a> Freeze for HuginnNetHttp<'a>
impl<'a> !RefUnwindSafe for HuginnNetHttp<'a>
impl<'a> !Send for HuginnNetHttp<'a>
impl<'a> !Sync for HuginnNetHttp<'a>
impl<'a> Unpin for HuginnNetHttp<'a>
impl<'a> !UnwindSafe for HuginnNetHttp<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more