-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Smb hashmap/v9 #12036
Open
victorjulien
wants to merge
11
commits into
OISF:master
Choose a base branch
from
victorjulien:smb-hashmap/v9
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Smb hashmap/v9 #12036
+551
−410
Commits on Oct 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 927e1b3 - Browse repository at this point
Copy the full SHA 927e1b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f4726f - Browse repository at this point
Copy the full SHA 4f4726fView commit details -
Don't tag the session as gap'd when the GAP is in a precise location: 1. in "skip" data, where the GAP just fits the skip data 2. in file data, where we pass the GAP on to the file This reduces load of GAP post-processing that is unnecessary in these case.
Configuration menu - View commit details
-
Copy full SHA for f901bd9 - Browse repository at this point
Copy the full SHA f901bd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8331313 - Browse repository at this point
Copy the full SHA 8331313View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77b38d6 - Browse repository at this point
Copy the full SHA 77b38d6View commit details -
smb: use lru for guid2name map; rename
Use `lru` crate. Rename to reflect this. Add `app-layer.protocols.smb.max-guid-cache-size` to control the max size of the LRU cache. Ticket: OISF#5672.
Configuration menu - View commit details
-
Copy full SHA for 770e59b - Browse repository at this point
Copy the full SHA 770e59bView commit details -
smb: use lru for ssn2vecoffset_map; rename
Rename to read_offset_cache. Add `app-layer.protocols.smb.max-read-offset-cache-size` option to control the limit. Ticket: OISF#5672.
Configuration menu - View commit details
-
Copy full SHA for 64e314d - Browse repository at this point
Copy the full SHA 64e314dView commit details -
smb: use lru for ssn2tree; rename
Turn the map mapping the smb session key to smb tree into a lru cache, limited to 1024 by default. Add `app-layer.protocols.smb.max-tree-cache-size` option to control the limit. Ticket: OISF#5672.
Configuration menu - View commit details
-
Copy full SHA for fe9a98f - Browse repository at this point
Copy the full SHA fe9a98fView commit details -
smb: use lru for ssnguid2vec_map; rename
Reimplement the ssnguid2vec_map HashMap as a LruCache. Since this is a DCERPC record cache, name it as such. Default size is 128. Can be controlled by `app-layer.protocols.smb.max-dcerpc-frag-cache-size`. Ticket: OISF#5672.
Configuration menu - View commit details
-
Copy full SHA for 2bcb393 - Browse repository at this point
Copy the full SHA 2bcb393View commit details -
Generic ssn2vec_map was a HashMap used for mapping session key to different types of vector data: - GUID - filename - share name Turn this into a bounded LruCache. Rename to ssn2vec_cache. Size of the cache is 512 by default, and can be configured using: `app-layer.protocols.smb.max-session-cache-size` Ticket: OISF#5672.
Configuration menu - View commit details
-
Copy full SHA for e79c820 - Browse repository at this point
Copy the full SHA e79c820View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2684860 - Browse repository at this point
Copy the full SHA 2684860View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.