Skip to content

Commit 7681489

Browse files
committed
Debian packaging
1 parent bfe4883 commit 7681489

4 files changed

Lines changed: 3 additions & 62 deletions

File tree

admin/index.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ files:
1515
variables:
1616
- name: ISOLATED_INTERFACE
1717
actions:
18-
- systemctl restart mongoose
18+
- systemctl restart pirogue-mongoose
1919

debian/mongoose.yaml

Lines changed: 0 additions & 57 deletions
This file was deleted.

mongoose/collect/nfstream_collector.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ def __init__(self, configuration: NFStreamConfiguration):
3535
3636
Args:
3737
configuration: An `NFStreamConfiguration` instance
38-
containing `interface`, `active_timeout`, and
39-
`max_nflows` values.
38+
containing `interface`, `active_timeout`.
4039
"""
4140
super().__init__()
4241
self.daemon = True
@@ -91,7 +90,7 @@ def collect(self) -> None:
9190
9291
This method:
9392
- Creates an `NFStreamer` configured with `interface`,
94-
`active_timeout`, and `max_nflows` from `configuration`.
93+
`active_timeout`.
9594
- Iterates flows emitted by `NFStreamer`, converts them
9695
to `NetworkDPI` objects (excluding the `id` field),
9796
resolves the protocol keyword, and publishes each flow
@@ -104,7 +103,6 @@ def collect(self) -> None:
104103
source=self.configuration.interface,
105104
active_timeout=self.configuration.active_timeout,
106105
idle_timeout=30,
107-
max_nflows=self.configuration.max_nflows,
108106
)
109107
except (Exception,):
110108
logger.exception("Failed to create NFStreamer, stopping here")

0 commit comments

Comments
 (0)