edmundlaugasson

Comodo Antivirus in Linux

May 20th, 2017
1,274
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. https://pastebin.com/4xMreNM2
  2.  
  3. Using 64-bit Linux Mint 18.1 with kernel 4.11.2-041102-generic (current stable as of 20th May 2017)
  4.  
  5. https://askubuntu.com/questions/779171/comodo-antivirus-for-linux-can-not-to-be-installed-into-ubuntu-16-04-lts-64-bits
  6.  
  7. https://forums.comodo.com/comodo-antivirus-for-linux-cavl/cavlinuxx64deb-libssl-version-issue-t119433.0.html
  8.  
  9. dependency:
  10. http://packages.ubuntu.com/search?keywords=libssl0.9.8&searchon=names&suite=all&section=all
  11. http://packages.ubuntu.com/trusty/libssl0.9.8
  12. http://packages.ubuntu.com/trusty-updates/libssl0.9.8
  13.  
  14. https://www.comodo.com/home/internet-security/antivirus-for-linux.php
  15.  
  16. sudo dpkg -i cav-linux_x64.deb
  17. sudo /opt/COMODO/post_setup.sh
  18. sudo /opt/COMODO/cav
  19.  
  20.  
  21. There was also an option to install 32-bit version in a 64-bit system....
  22.  
  23. # # #
  24. 64-bit version test
  25. --------------------
  26. sudo /opt/COMODO/post_setup.sh
  27.  
  28. Build the RedirFS kernel modules for real-time protection...
  29.  
  30. make -C /lib/modules/`uname -r`/build M=/tmp/driver/redirfs modules
  31. make[1]: Entering directory '/usr/src/linux-headers-4.11.2-041102-generic'
  32. CC [M] /tmp/driver/redirfs/rfs_path.o
  33. In file included from /tmp/driver/redirfs/rfs_path.c:24:0:
  34. /tmp/driver/redirfs/rfs.h: In function ‘rfs_inode_mutex_lock’:
  35. /tmp/driver/redirfs/rfs.h:99:19: error: ‘struct inode’ has no member named ‘i_mutex’
  36. mutex_lock(&inode->i_mutex);
  37. ^
  38. /tmp/driver/redirfs/rfs.h: In function ‘rfs_inode_mutex_unlock’:
  39. /tmp/driver/redirfs/rfs.h:103:21: error: ‘struct inode’ has no member named ‘i_mutex’
  40. mutex_unlock(&inode->i_mutex);
  41. ^
  42. /tmp/driver/redirfs/rfs.h: In function ‘rfs_nameidata_put’:
  43. /tmp/driver/redirfs/rfs.h:488:14: error: dereferencing pointer to incomplete type ‘struct nameidata’
  44. path_put(&nd->path);
  45. ^
  46. /tmp/driver/redirfs/rfs_path.c: In function ‘rfs_path_add_dirs’:
  47. /tmp/driver/redirfs/rfs.h:307:47: warning: comparison of distinct pointer types lacks a cast
  48. (inode && inode->i_op && inode->i_op->rename == rfs_rename ? \
  49. ^
  50. /tmp/driver/redirfs/rfs_path.c:205:11: note: in expansion of macro ‘rfs_inode_find’
  51. rinode = rfs_inode_find(dentry->d_inode);
  52. ^
  53. /tmp/driver/redirfs/rfs_path.c: In function ‘rfs_fsrename’:
  54. /tmp/driver/redirfs/rfs.h:307:47: warning: comparison of distinct pointer types lacks a cast
  55. (inode && inode->i_op && inode->i_op->rename == rfs_rename ? \
  56. ^
  57. /tmp/driver/redirfs/rfs_path.c:926:11: note: in expansion of macro ‘rfs_inode_find’
  58. rinode = rfs_inode_find(new_dir);
  59. ^
  60. scripts/Makefile.build:294: recipe for target '/tmp/driver/redirfs/rfs_path.o' failed
  61. make[2]: *** [/tmp/driver/redirfs/rfs_path.o] Error 1
  62. Makefile:1492: recipe for target '_module_/tmp/driver/redirfs' failed
  63. make[1]: *** [_module_/tmp/driver/redirfs] Error 2
  64. make[1]: Leaving directory '/usr/src/linux-headers-4.11.2-041102-generic'
  65. Makefile:3: recipe for target 'all' failed
  66. make: *** [all] Error 2
  67. make -C /lib/modules/`uname -r`/build M=/tmp/driver/redirfs modules_install
  68. make[1]: Entering directory '/usr/src/linux-headers-4.11.2-041102-generic'
  69. DEPMOD 4.11.2-041102-generic
  70. make[1]: Leaving directory '/usr/src/linux-headers-4.11.2-041102-generic'
  71. make -C /lib/modules/`uname -r`/build M=/tmp/driver/avflt EXTRA_CFLAGS=-I/tmp/driver/redirfs modules_install
  72. make[1]: Entering directory '/usr/src/linux-headers-4.11.2-041102-generic'
  73. DEPMOD 4.11.2-041102-generic
  74. make[1]: Leaving directory '/usr/src/linux-headers-4.11.2-041102-generic'
  75. modprobe: FATAL: Module redirfs not found in directory /lib/modules/4.11.2-041102-generic
  76.  
  77. RedirFS kernel modules installation failed.
  78.  
  79. $Stopping cmdagent: The cmdagent stopped successfully!
  80. $Starting cmdagent: The cmdagent started successfully!
  81. The cmgdaemon is not running!
  82. $Starting cmgdaemon: The cmgdaemon started successfully!
  83.  
  84. COMODO Antivirus is successfully configured, you can start it from Menu or Desktop.
  85.  
  86. https://forums.comodo.com/comodo-antivirus-for-linux-cavl/filesystem-filter-driver-is-not-loaded-t118061.0.html
  87.  
  88. Download driver.tar(redirfs 0.11E12A) http://www.bondoffamily-net.com/~kinta-chan/techknow/DownLoad/DownLoad.html
  89. Download fix_rebuild_driver.sh
  90.  
  91. Replace driver.tar to /opt/COMODO
  92. copy fix_rebuild_driver.sh to /opt/COMODO
  93.  
  94. for next step you will need to be in the /opt/COMODO director
  95.  
  96. cd /opt/COMODO
  97.  
  98. sudo chmod +x /opt/COMODO/fix_rebuild_driver.sh
  99.  
  100. sudo ./fix_rebuild_driver.sh
  101. sudo ./post_setup.sh
  102. go through the prompts.
  103.  
  104. * * *
  105.  
  106. https://askubuntu.com/questions/489559/can-i-use-comodo-without-filesystem-filter-driver
  107. only 4.2 kernel or older...
  108.  
  109. https://forums.comodo.com/comodo-antivirus-for-linux-cavl-b275.0/
  110.  
  111. * * *
  112.  
  113. https://forums.comodo.com/comodo-antivirus-for-linux-cavl/comodo-av-on-linix-mint-18-error-filesystem-filter-driver-is-not-loaded-t115979.0.html
  114.  
  115. sh fix_rebuild_driver.sh
  116. -e
  117. Build the RedirFS kernel modules for real-time protection...
  118.  
  119. make -C /lib/modules/`uname -r`/build M=/tmp/driver/redirfs EXTRA_CFLAGS=-DRFS_EXCHANGE_D_CHILD=1 modules
  120. make[1]: Entering directory '/usr/src/linux-headers-4.11.2-041102-generic'
  121. CC [M] /tmp/driver/redirfs/rfs_path.o
  122. In file included from /tmp/driver/redirfs/rfs_path.c:26:0:
  123. /tmp/driver/redirfs/rfs.h: In function ‘rfs_inode_mutex_lock’:
  124. /tmp/driver/redirfs/rfs.h:143:19: error: ‘struct inode’ has no member named ‘i_mutex’
  125. mutex_lock(&inode->i_mutex);
  126. ^
  127. /tmp/driver/redirfs/rfs.h: In function ‘rfs_inode_mutex_unlock’:
  128. /tmp/driver/redirfs/rfs.h:147:21: error: ‘struct inode’ has no member named ‘i_mutex’
  129. mutex_unlock(&inode->i_mutex);
  130. ^
  131. /tmp/driver/redirfs/rfs_path.c: In function ‘rfs_path_add_dirs’:
  132. /tmp/driver/redirfs/rfs.h:352:38: error: ‘const struct inode_operations’ has no member named ‘rename2’
  133. (inode && inode->i_op && inode->i_op->rename2 == rfs_rename2 ? \
  134. ^
  135. /tmp/driver/redirfs/rfs_path.c:207:11: note: in expansion of macro ‘rfs_inode_find’
  136. rinode = rfs_inode_find(dentry->d_inode);
  137. ^
  138. /tmp/driver/redirfs/rfs_path.c: In function ‘rfs_fsrename’:
  139. /tmp/driver/redirfs/rfs.h:352:38: error: ‘const struct inode_operations’ has no member named ‘rename2’
  140. (inode && inode->i_op && inode->i_op->rename2 == rfs_rename2 ? \
  141. ^
  142. /tmp/driver/redirfs/rfs_path.c:928:11: note: in expansion of macro ‘rfs_inode_find’
  143. rinode = rfs_inode_find(new_dir);
  144. ^
  145. scripts/Makefile.build:294: recipe for target '/tmp/driver/redirfs/rfs_path.o' failed
  146. make[2]: *** [/tmp/driver/redirfs/rfs_path.o] Error 1
  147. Makefile:1492: recipe for target '_module_/tmp/driver/redirfs' failed
  148. make[1]: *** [_module_/tmp/driver/redirfs] Error 2
  149. make[1]: Leaving directory '/usr/src/linux-headers-4.11.2-041102-generic'
  150. Makefile:8: recipe for target 'all' failed
  151. make: *** [all] Error 2
  152. make -C /lib/modules/`uname -r`/build M=/tmp/driver/redirfs EXTRA_CFLAGS=-DRFS_EXCHANGE_D_CHILD=1 modules_install
  153. make[1]: Entering directory '/usr/src/linux-headers-4.11.2-041102-generic'
  154. DEPMOD 4.11.2-041102-generic
  155. make[1]: Leaving directory '/usr/src/linux-headers-4.11.2-041102-generic'
  156. make -C /lib/modules/`uname -r`/build M=/tmp/driver/avflt EXTRA_CFLAGS=-I/tmp/driver/redirfs modules_install
  157. make[1]: Entering directory '/usr/src/linux-headers-4.11.2-041102-generic'
  158. DEPMOD 4.11.2-041102-generic
  159. make[1]: Leaving directory '/usr/src/linux-headers-4.11.2-041102-generic'
  160. modprobe: FATAL: Module redirfs not found in directory /lib/modules/4.11.2-041102-generic
  161. -e
  162. RedirFS kernel modules installation failed.
  163.  
  164. $Stopping cmdagent: The cmdagent stopped successfully!
  165. $Starting cmdagent: The cmdagent started successfully!
  166. The cmgdaemon is not running!
  167. $Starting cmgdaemon: The cmgdaemon started successfully!
  168.  
  169. ... no working drivers.tar.gz file for now...
  170.  
  171. # # #
  172.  
  173. Tried also with 32-bit version:
  174.  
  175. Build the RedirFS kernel modules for real-time protection...
  176.  
  177. make -C /lib/modules/`uname -r`/build M=/tmp/driver/redirfs modules
  178. make[1]: Entering directory '/usr/src/linux-headers-4.11.2-041102-generic'
  179. CC [M] /tmp/driver/redirfs/rfs_path.o
  180. In file included from /tmp/driver/redirfs/rfs_path.c:24:0:
  181. /tmp/driver/redirfs/rfs.h: In function ‘rfs_inode_mutex_lock’:
  182. /tmp/driver/redirfs/rfs.h:99:19: error: ‘struct inode’ has no member named ‘i_mutex’
  183. mutex_lock(&inode->i_mutex);
  184. ^
  185. /tmp/driver/redirfs/rfs.h: In function ‘rfs_inode_mutex_unlock’:
  186. /tmp/driver/redirfs/rfs.h:103:21: error: ‘struct inode’ has no member named ‘i_mutex’
  187. mutex_unlock(&inode->i_mutex);
  188. ^
  189. /tmp/driver/redirfs/rfs.h: In function ‘rfs_nameidata_put’:
  190. /tmp/driver/redirfs/rfs.h:488:14: error: dereferencing pointer to incomplete type ‘struct nameidata’
  191. path_put(&nd->path);
  192. ^
  193. /tmp/driver/redirfs/rfs_path.c: In function ‘rfs_path_add_dirs’:
  194. /tmp/driver/redirfs/rfs.h:307:47: warning: comparison of distinct pointer types lacks a cast
  195. (inode && inode->i_op && inode->i_op->rename == rfs_rename ? \
  196. ^
  197. /tmp/driver/redirfs/rfs_path.c:205:11: note: in expansion of macro ‘rfs_inode_find’
  198. rinode = rfs_inode_find(dentry->d_inode);
  199. ^
  200. /tmp/driver/redirfs/rfs_path.c: In function ‘rfs_fsrename’:
  201. /tmp/driver/redirfs/rfs.h:307:47: warning: comparison of distinct pointer types lacks a cast
  202. (inode && inode->i_op && inode->i_op->rename == rfs_rename ? \
  203. ^
  204. /tmp/driver/redirfs/rfs_path.c:926:11: note: in expansion of macro ‘rfs_inode_find’
  205. rinode = rfs_inode_find(new_dir);
  206. ^
  207. scripts/Makefile.build:294: recipe for target '/tmp/driver/redirfs/rfs_path.o' failed
  208. make[2]: *** [/tmp/driver/redirfs/rfs_path.o] Error 1
  209. Makefile:1492: recipe for target '_module_/tmp/driver/redirfs' failed
  210. make[1]: *** [_module_/tmp/driver/redirfs] Error 2
  211. make[1]: Leaving directory '/usr/src/linux-headers-4.11.2-041102-generic'
  212. Makefile:3: recipe for target 'all' failed
  213. make: *** [all] Error 2
  214. make -C /lib/modules/`uname -r`/build M=/tmp/driver/redirfs modules_install
  215. make[1]: Entering directory '/usr/src/linux-headers-4.11.2-041102-generic'
  216. DEPMOD 4.11.2-041102-generic
  217. make[1]: Leaving directory '/usr/src/linux-headers-4.11.2-041102-generic'
  218. make -C /lib/modules/`uname -r`/build M=/tmp/driver/avflt EXTRA_CFLAGS=-I/tmp/driver/redirfs modules_install
  219. make[1]: Entering directory '/usr/src/linux-headers-4.11.2-041102-generic'
  220. DEPMOD 4.11.2-041102-generic
  221. make[1]: Leaving directory '/usr/src/linux-headers-4.11.2-041102-generic'
  222. modprobe: FATAL: Module redirfs not found in directory /lib/modules/4.11.2-041102-generic
  223.  
  224. RedirFS kernel modules installation failed.
  225.  
  226. $Stopping cmdagent: The cmdagent stopped successfully!
  227. $Starting cmdagent: The cmdagent started successfully!
  228. The cmgdaemon is not running!
  229. $Starting cmgdaemon: The cmgdaemon started successfully!
  230.  
  231. ... still no luck...
RAW Paste Data Copied