AF_PACKET terminology cleanup
All checks were successful
Build and Deploy MITM Webserver / traffic_target (push) Successful in 0s
Build and Deploy MITM Webserver / build (push) Successful in 10s

This commit is contained in:
2026-04-12 17:41:22 +02:00
parent cb4c6ff564
commit 9ee47284e0
11 changed files with 69 additions and 45 deletions

View File

@@ -135,11 +135,11 @@ export default function SnifferManager(props: SnifferManagerProps): ReactElement
return (
<div className="sniffing-manager">
<Card
title="Sniffer sessions"
title="Capture sessions"
style={{ marginBottom: 16 }}
extra={
<Space>
<Tooltip title="Start a new sniffer session">
<Tooltip title="Start a new capture session">
<Button icon={<PlusOutlined />} onClick={onOpenStartModal} />
</Tooltip>
<Tooltip title="Refresh status">
@@ -243,7 +243,7 @@ export default function SnifferManager(props: SnifferManagerProps): ReactElement
</Card>
<Modal
title="Start sniffer session"
title="Start capture session"
open={isModalOpen}
onCancel={onCloseModal}
onOk={() => form.submit()}

View File

@@ -55,9 +55,9 @@ export default function Sniffing(): ReactElement {
<Row justify="space-between" align="middle" style={{ marginBottom: 12 }}>
<Col>
<Title level={2} style={{ margin: 0 }}>
Sniffing
Packet Capture
</Title>
<Text type="secondary">Start, stop and view AF_PACKET sniffer sessions.</Text>
<Text type="secondary">Start, stop and view live capture sessions across interfaces and bridges.</Text>
</Col>
</Row>

View File

@@ -1,5 +1,5 @@
/**
* Request to start a sniffer session.
* Request to start a packet capture session.
* Exactly one of `bridge` or `interface` should be provided.
*/
export interface SnifferStartRequest {
@@ -8,7 +8,7 @@ export interface SnifferStartRequest {
}
/**
* Response returned when starting a sniffer session.
* Response returned when starting a packet capture session.
*/
export interface SnifferStartResponse {
started: boolean;
@@ -18,7 +18,7 @@ export interface SnifferStartResponse {
}
/**
* Optional body when stopping a sniffer session.
* Optional body when stopping a packet capture session.
* Prefer providing session_id to stop a specific session.
*/
export interface SnifferStopRequest {