Arch linux is patched : KRaCK

Verify like this: If you don’t sync your package databases you will likely pull an old version. $ sudo pacman -Q wpa_supplicant wpa_supplicant 1:2.6-8 This should go without saying, but for anyone new to arch make sure you run: $ sudo pacman -Syu wpa_supplicant verify like this: $ sudo pacman -Q wpa_supplicant wpa_supplicant 1:2.6-11

HOWTO: Deploy script via Trend Micro OfficeScan (GPO)

How to deploy script on Trend Micro OfficeScan (GPO) Product : Trend Micro OfficeScan Version : All Script :CheckAnyInstallExists IF EXIST “%PROGRAMFILES(X86)%\Trend Micro\OfficeScan Client\www” (GOTO END) ELSE (GOTO SETUP_OSAgent) GOTO END :SETUP_OSAgent msiexec.exe /i “\\domain.local\NETLOGON\\TM_OS\TM_OS_MSI.msi” /quiet /qn GOTO END :END

HOWTO: Delete all hidden .swp files from terminal

E325: ATTENTION Found a swap file by the name “.swp” owned by: subhrcho dated: Wed Dec 26 05:54:45 2012 file name: ~subhrcho/ modified: YES user name: subhrcho host name: slc04lyo process ID: 26176 While opening file “.vimrc” dated: Mon Jan 28 22:45:16 2013 NEWER than swap file! (1) Another program may be editing the same file. If this is the case, be careful not to end up with two different instances of the same file when making changes. Quit, or continue with caution. (2) An edit session for this file crashed. If this is the case, use “:recover” or “vim -r ” to recover the changes (see “:help recovery”). If you did this already, delete the swap file “.swp” to avoid this message. Swap file “.swp” already exists! find . -type f -name “.*.swp” -exec rm -f {} \;

Arch Linux – Creating BIOS and UEFI Bootable USB

Bootable USB disk oluştururken bazı programlar efi bölümü oluşturmuyor. En sağlıklı yöntem dd komutu ile oluşturmaktır. Aşağıdaki yönergeleri uygulayabilirsiniz. Bootable usb oluşturmadan önce mutlaka usb disk’i unmount etmeniz gerekmektedir. lsblk sdb 8:16 1 3.8G 0 disk `-sdb1 8:17 1 3.7G 0 part /run/media/xxxx/e54c4ce0-9def-4183-a415-c0d98 sr0 11:0 1 1024M 0 rom sudo umount /dev/sdb1 lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 223.6G 0 disk |-sda1 8:1 0 512M 0 part /boot |-sda2 8:2 0 215G 0 part / `-sda3 8:3 0 8.1G 0 part [SWAP] sdb 8:16 1 3.8G 0 disk `-sdb1 8:17 1 3.7G 0 part sr0 11:0 1 1024M 0 rom Not : Bootable iso oluştururken (/dev/sdb1) olarak yazmayın. dd bs=4M if=/path/to/archlinux.iso of=/dev/sdx status=progress && sync &

“Load on Module failed – not enough disc space” error

Policy installation / fetch fails on Centrally Managed The fix is included since: Check Point R77.20 HFA 10 (R77.20.10) for 600 / 1100 / 1200R Appliance Check Point R77.20 for 600 / 1100 / 1200R Appliance Check Point R75.20 HFA 70 (R75.20.70) for 600 / 1100 Appliance and Security Gateway 80 As an immediate workaround, manually delete the temporary policy files on the SMB Appliance: Connect to the command line on SMB Appliance. Log in to Expert mode. Delete the temporary policy files: #rm $FWDIR/state/__tmp/FW1/* To increase the size of the partition on-the-fly: [[email protected]]# mount tmpfs /fwtmp -t tmpfs -o size=250m,remount Install the policy again. the size of the partition permanently: Backup the current start up script /pfrm2.0/etc/userScript: [[email protected]]# cp /pfrm2.0/etc/userScript /pfrm2.0/etc/userScript_ORG Note: The userScript file does not exist by default. It should be created. Edit the current start up script /pfrm2.0/etc/userScript [[email protected]]# vi /pfrm2.0/etc/userScript Add the following command in this script: mount tmpfs /fwtmp -t tmpfs -o size=250m,remount Save the changes and exit from Vi editor. Reboot the appliance.

error: failed to prepare transaction (could not satisfy dependencies)

[[email protected] ~]$ sudo pacman -Syyu :: Synchronizing package databases… core 123.6 KiB 155K/s 00:01 [######################] 100% extra 1690.7 KiB 199K/s 00:08 [######################] 100% community 3.7 MiB 392K/s 00:10 [######################] 100% multilib 185.1 KiB 184K/s 00:01 [######################] 100% archlinuxfr 15.4 KiB 131K/s 00:00 [######################] 100% :: Starting full system upgrade… resolving dependencies… looking for conflicting packages… error: failed to prepare transaction (could not satisfy dependencies) :: sky: installing qt5-base (5.8.0-2) breaks dependency ‘qt5-base<5.8.0’   Çözüm; [[email protected] ~]$ sudo pacman -Rdd qt5-base [[email protected] ~]$ sudo pacman -Syyu

R80 – Importing Log Files from SmartEvent Servers

To import offline log files, add events to the SmartEvent Server. By default, you can import the 14 most recent days of offline logs. To import more days of logs, change the log indexing settings. [email protected]:# evstop [email protected]:# cp $INDEXERDIR/log_indexer_custom_settings.conf $INDEXERDIR/log_indexer_custom_settings.conf_orig Edit $INDEXERDIR/log_indexer_custom_settings.conf in a text editor. [email protected]:# vi $INDEXERDIR/log_indexer_custom_settings.conf Delete these lines; Delete these lines: :time_restriction_for_fetch_all () :time_restriction_for_fetch_all_disp () Add this line; :num_days_restriction_for_fetch_all_integrated (DAYS) [email protected]:# evstart

Steam : Fix libGL error: unable to load driver: i965_dri.so

libGL error: unable to load driver: i965_dri.so libGL error: driver pointer missing libGL error: failed to load driver: i965 libGL error: unable to load driver: swrast_dri.so libGL error: failed to load driver: swrast Downgrade libcrypt sudo pacman -U /var/cache/pacman/pkg/lib32-libgcrypt-1.6.5-1-x86_64.pkg.tar.xz Remove Libraries; find ~/.local/share/Steam/ \( -name “libgcc_s.so*” -o -name “libstdc++.so*” -o -name “libxcb.so*” -o -name “libgpg-error.so*” \) -print -delete

How to send Check Point Tracker Logs to External Syslog Server

Add following line at the end. Please note this is a single line command so add it appropriately. If required just type it manually [email protected]#: fw log -f -t -n -l 2> /dev/null | awk ‘NF’ | sed ‘/^$/d’ | logger -p local4.info -t CP_FireWall & Permanently; [email protected]#: cp /etc/rc.d/init.d/cpboot /etc/rc.d/init.d/cpboot.ORG Edit cpboot file; [email protected]#: vi /etc/rc.d/init.d/cpboot Add following line at the end. fw log -f -t -n -l 2> /dev/null | awk ‘NF’ | sed ‘/^$/d’ | logger -p local4.info -t CP_FireWall & Next, add syslog log-remote-address x.x.x.x level info save config

Check Point – Useful performance commands

[[email protected]:0]# fw ctl affinity -l -v -a -r CPU 0: eth5 (irq 75) eth1 (irq 235) eth2 (irq 139) eth7 (irq 203) fw_1 CPU 1: eth6 (irq 234) eth3 (irq 171) eth4 (irq 107) fw_0 All: in.acapd usrchkd fwpushd rtmd in.geod pepd vpnd rad mpdaemon pdpd in.msd fwd cprid cpd $FWDIR/conf/fwaffinity.conf [[email protected]]# fw ctl multik stat ID | Active | CPU | Connections | Peak ———————————————- 0 | Yes | 1 | 530 | 2109 1 | Yes | 0 | 478 | 2963 [E[email protected]:0]# fw ctl get int fwx_max_conns fwx_max_conns = 0 0 unlimited. [[email protected]:0]# fwaccel conns -s There are 2143 connections in SecureXL connections table