1d0727d85f 
								
							
								 
							
						 
						
							
							
								
								stream-tcp: fix stream depth computation  
							
							... 
							
							
							
							The stream depth computation was partly done with the stream_config
depth instead of using the value in the TCP session. As a result,
some configuration were resulting in abnormal behavior.
In particular, when stream depth was 0 and the file store depth was
not 0, Suricata was stopping the streaming on the flow as soon as
the filestore was started.
Reported-by: Pascal Delalande <pdl35@free.fr> 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								1012fc4466 
								
							
								 
							
						 
						
							
							
								
								file: update logger API to log direction  
							
							... 
							
							
							
							By adding the flow direction to the logger we can have an accurate
logging of fileinfo events that has source and destination IP
correctly set. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								2515c8927b 
								
							
								 
							
						 
						
							
							
								
								app-layer-ftp: fill direction of transfer  
							
							... 
							
							
							
							This is required to return the file when asked with one direction. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								d2bf7a3ba9 
								
							
								 
							
						 
						
							
							
								
								detect: fix buffer length to uint32  
							
							... 
							
							
							
							There is a difference in the size of the buffer length as passed from
the content buffers (cfr HttpReassembledBody.buffer_len) and the buflen
variable passed to mpm primitives. This can cause a misdetection
whenever the bufferlen is multiple of 65536 (as uint16(X*65536) == 0).
Increasing the buflen variable type to uint32 solves the issue (this
does not cause any issue with primitives, they all accept uint32). 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								2e8fd612a6 
								
							
								 
							
						 
						
							
							
								
								files: properly close files on flow timeout  
							
							... 
							
							
							
							If a file transfer stops on flow timeout, it won't be closed or
truncated. This patch makes sure that in such cases the files
are indeed truncated. This fixes the filestore-v2 output module,
as that requires a sha256 for storing the partial file correctly. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								73d94fff73 
								
							
								 
							
						 
						
							
							
								
								nfs4: support records wrapped in GSSAPI integrity  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								53fa2af07c 
								
							
								 
							
						 
						
							
							
								
								nfs4: fix attr parsing corner case  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								39489bc5fd 
								
							
								 
							
						 
						
							
							
								
								nfs4: implement COMMIT parsing and handling  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								c7cb01b636 
								
							
								 
							
						 
						
							
							
								
								nfs4: parse GSSAPI init  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								bfa60753f9 
								
							
								 
							
						 
						
							
							
								
								nfs4: create link support  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								06f6c15954 
								
							
								 
							
						 
						
							
							
								
								nfs4: initial implementation  
							
							... 
							
							
							
							Implements record parsing and file extraction for READs and WRITEs.
Defines all types from RFC 7530. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								75c5722b7e 
								
							
								 
							
						 
						
							
							
								
								nfs/rpc: add parser for GSSAPI Integrity records  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								81c0b53d3f 
								
							
								 
							
						 
						
							
							
								
								flow: track flow for ip proto 41  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								8c75a022ea 
								
							
								 
							
						 
						
							
							
								
								eve/netflow: only log response record if we've seen response pkts  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								c662383b53 
								
							
								 
							
						 
						
							
							
								
								flow: track flow for ICMP  
							
							... 
							
							
							
							Change packet layout to allow for expected counterpart type. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								708aad3f4a 
								
							
								 
							
						 
						
							
							
								
								unified2: address strict aliasing issue  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								7ce77f9351 
								
							
								 
							
						 
						
							
							
								
								decode/ipv6: expose addr as 'struct in6_addr' as well  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								49b02f8f1b 
								
							
								 
							
						 
						
							
							
								
								mingw: minor compile warning fixes  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								28849509b2 
								
							
								 
							
						 
						
							
							
								
								tests/detect-engine-hsbd: deinit det_ctx threads  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								c620fc3dc4 
								
							
								 
							
						 
						
							
							
								
								detect-engine: free events  
							
							... 
							
							
							
							Events are stored in a detection engine but actually
they are not freed. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								f461be75c5 
								
							
								 
							
						 
						
							
							
								
								smb: use inspect API v2 for smb keywords  
							
							... 
							
							
							
							Simplies code and supports transforms. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								3854c304d8 
								
							
								 
							
						 
						
							
							
								
								mpm/hs: fix minor coverity warning  
							
							... 
							
							
							
							CID 1428797 (#1  of 1): Unchecked return value (CHECKED_RETURN)
    check_return: Calling HashTableAdd without checking return value
    (as is done elsewhere 5 out of 6 times). 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								7ea80b5c57 
								
							
								 
							
						 
						
							
							
								
								configure: fix small issue with libevent check  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								e249ce29bb 
								
							
								 
							
						 
						
							
							
								
								doc: add lua directory to Makefile  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								4a90dced8e 
								
							
								 
							
						 
						
							
							
								
								doc/lua: small update to the usage intro  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								2546e86a16 
								
							
								 
							
						 
						
							
							
								
								doc: document lua function about flow var  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								0c4bf2d332 
								
							
								 
							
						 
						
							
							
								
								doc: add a lua support top level section  
							
							... 
							
							
							
							Both output and signature are using lua. So lua functions should
be displayed in a single section. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								293b00798e 
								
							
								 
							
						 
						
							
							
								
								doc: document lua TLS functions  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								e3c5784dd5 
								
							
								 
							
						 
						
							
							
								
								doc: minor updates (tls custom, TODO removal, ftp/smb file rules)  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								e834d94fd2 
								
							
								 
							
						 
						
							
							
								
								detect/pktvar: clean up keyword parsing  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								83bf60d897 
								
							
								 
							
						 
						
							
							
								
								doc: add ntlmssp, kerberos and other setup fields  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								5de77e3102 
								
							
								 
							
						 
						
							
							
								
								lua output: Update example script to match style of user doc examples  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								dc07c1fe13 
								
							
								 
							
						 
						
							
							
								
								lua output doc: Use more descriptive variable names in the examples  
							
							... 
							
							
							
							This also removes the "args" parameter of the hooking functions in the examples,
since this parameter is unused in all functions.
It would not be very helpful anyways since 3 of the 4 functions don't get passed
any parameters. The only exception is init() which gets a table containing:
  script_api_ver = 1 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								3307f7a94e 
								
							
								 
							
						 
						
							
							
								
								lua output doc: Add explaining introduction text  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								e09027915a 
								
							
								 
							
						 
						
							
							
								
								doc: fix json formatting in smb doc  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								10a360280f 
								
							
								 
							
						 
						
							
							
								
								Print syslog format with SCLogDebug() instead of printf()  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								21078521f8 
								
							
								 
							
						 
						
							
							
								
								app-layer-ssl: remove possibility to overflow HAS_SPACE macro  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								598ef96b7b 
								
							
								 
							
						 
						
							
							
								
								app-layer-ssl: really fix CID 1433623  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								67e81a9555 
								
							
								 
							
						 
						
							
							
								
								doc: initial smb eve documentation  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								78437375c4 
								
							
								 
							
						 
						
							
							
								
								doc: add by_either to suppress explanation  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								2c259f2239 
								
							
								 
							
						 
						
							
							
								
								doc: add smb section to yaml  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								13bdcd5249 
								
							
								 
							
						 
						
							
							
								
								doc: minor fix  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								900c27e235 
								
							
								 
							
						 
						
							
							
								
								app-layer-ssl: fix use-after-free (CID 1433623)  
							
							... 
							
							
							
							Ja3BufferAddValue frees the buffer on error, so there is no point
in doing it twice (use-after-free). 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								fc0e339467 
								
							
								 
							
						 
						
							
							
								
								app-layer-ssl: fix use-after-free (CID 14336229)  
							
							... 
							
							
							
							Nullify JA3 buffer on free to avoid use-after-free vulnerability. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								3b474ac599 
								
							
								 
							
						 
						
							
							
								
								tls: work around coverity warnings  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								1edd9d19fc 
								
							
								 
							
						 
						
							
							
								
								doc: add SMB to file extraction. Minor improvements.  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								b4771150b8 
								
							
								 
							
						 
						
							
							
								
								doc: update suricata-update screenshot  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								b531e7725d 
								
							
								 
							
						 
						
							
							
								
								doc: improve suricata-update docs now that its bundled  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								ac1ed24cb4 
								
							
								 
							
						 
						
							
							
								
								doc: improve making sense of alerts  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								ccde621ceb 
								
							
								 
							
						 
						
							
							
								
								doc: add suricata-update to intro for rules  
							
							
							
						 
						
							8 years ago