This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Neels Hofmeyr gerrit-no-reply at lists.osmocom.orgReview at https://gerrit.osmocom.org/2595 pcap recorder: filter out SSH The dump so far includes SSH to sysmoBTS, with binaries sent and log output read, making the dump like 20 Mb in size for no reason; filter this out by tcpdump expression. Compose the expression in gen_filter() by joining a list of expressions with 'and'. Change-Id: Icbb0f8d2058fa7ebb7f0f731645f9266cacdb120 Related: OS#2255 --- M src/osmo_gsm_tester/pcaprecorder.py 1 file changed, 4 insertions(+), 3 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/95/2595/1 diff --git a/src/osmo_gsm_tester/pcaprecorder.py b/src/osmo_gsm_tester/pcaprecorder.py index 8a63b30..8020f40 100644 --- a/src/osmo_gsm_tester/pcaprecorder.py +++ b/src/osmo_gsm_tester/pcaprecorder.py @@ -50,10 +50,11 @@ self.process.launch() def gen_filter(self): - filter = "" + filters = [] if self.addr: - filter += 'host ' + self.addr - return filter + filters.append('host ' + self.addr) + filters.append('not port 22') + return ' and '.join(['(%s)' % f for f in filters]) def running(self): return not self.process.terminated() -- To view, visit https://gerrit.osmocom.org/2595 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Icbb0f8d2058fa7ebb7f0f731645f9266cacdb120 Gerrit-PatchSet: 1 Gerrit-Project: osmo-gsm-tester Gerrit-Branch: master Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>