Author Archives: Kaven Gagnon

avatar

About Kaven Gagnon

System & Network Architect

JunOS : Configure DNS forwarders on SRX device

If you want your SRX firewall to handle DNS requests on your network, you need to configure the forwarders to make this possible, in addition to a few other parameters. First, make sure you have no local forwarders set on the device itself as it cannot be used along with the dns-proxy service – if… Read More »

Windows : Nmap error dnet: Failed to open device eth0

Experiencing the following issue with Nmap on Windows? $ nmap -P0 -sS -T5 0.0.0.0 Starting Nmap 7.70 ( https://nmap.org ) at 2019-06-04 03:14 ric dnet: Failed to open device eth0 QUITTING! It appears that some version of Npcap (or WinPcap) is causing issues. Updating Npcap to version 0.995 solve this issue. If you are running… Read More »

Windows : Show available memory with PowerShell

Here is the command how to show the available system memory on Windows with PowerShell command : (systeminfo | Select-String ‘Total Physical Memory:’).ToString().Split(‘:’)[1].Trim() Example : PS C:\Users\user> (systeminfo | Select-String ‘Total Physical Memory:’).ToString().Split(‘:’)[1].Trim() 32,767 MB

Linux : How to manage Exim mail queue

Here are some useful commands to manage the Exim mail server queue. Show the mail queue content : exim -bp Show the amount of mail in the queue : exim -bpc Delete a specific message in the queue, with the help of the first command in this example (exim -bp) to get the message ID… Read More »

Linux : Export Roundcube webmail contact from SQL to CSV

Here is a procedure how to export the saved address book contacts from Roundcube webmail directly from the MySQL database to a CSV file (please note that Roundcube natively support exporting contacts from the Webmail itself to CSV – this method is only in case you want to pull out old contacts from a database).… Read More »