mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	Removing old debug data https://github.com/Ylianst/MeshCentral/issues/3987
This commit is contained in:
		
							parent
							
								
									0ee0ba7df1
								
							
						
					
					
						commit
						7a6ee82d8b
					
				
					 2 changed files with 2 additions and 15 deletions
				
			
		| 
						 | 
				
			
			@ -203,7 +203,7 @@ MeshCentral makes heavy use of Transport Layer Security (TLS) and datagram-TLS (
 | 
			
		|||
 | 
			
		||||
Probably the most important TLS configuration is for the MeshCentral server ports 443 and 4433. These two ports are exposed to the Internet and so, should be setup as securely as possible. 
 | 
			
		||||
 | 
			
		||||
### MeshCentral HTTPS port 443** 
 | 
			
		||||
### MeshCentral HTTPS port 443
 | 
			
		||||
 | 
			
		||||
The HTTPS port on the MeshCentral server will only support TLS 1.2 and above, and makes use of only 6 cypher suites: 
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -80,20 +80,7 @@ You'll then have 3 files:
 | 
			
		|||
-rw-rw-r-- 1 tactical tactical    381 Feb  2 12:02 mesherrors.txt
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
And to make it truly log everything, change the following in meshcentral.js around line 3530.
 | 
			
		||||
 | 
			
		||||
Old:
 | 
			
		||||
```
 | 
			
		||||
obj.fs.writeSync(obj.xxLogFile, new Date().toLocaleTimeString() + ' - ' + source + ': ' + Array.prototype.slice.call(...args).join('') + '\r\n');
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
New:
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
obj.fs.writeSync(obj.xxLogFile, new Date().toLocaleTimeString() + ' - ' + source + ': ' + args.join(' ') + '\r\n');
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
`log.txt` will now log everything in the Trace tab, but not formatted as nice.
 | 
			
		||||
`log.txt` will now log everything in the Trace tab
 | 
			
		||||
 | 
			
		||||
## Restricting server to specific IP(s)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue