Author Topic: Filesystem Filter Driver for kernel 3.5-3.18(redirfs and avflt)  (Read 48320 times)

Offline KINTA-JAPAN

  • Comodo Member
  • **
  • Posts: 26
Dear everyone.

I made patch program for kernel 3.5-3.17.
Tested on Kernel 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.13, 3.14, 3.15, 3.16, 3.17, 3.18

How Install...
(1)Execute CAVL installer.
(2)Download driver.tar from http://www.bondoffamily-net.com/~kinta-chan/techknow/Linux/RedirFS/DownLoad.html
(3)Replace /opt/COMODO/driver.tar
(4)Execute post_setup.sh

Additional...
When "Check for Updates" is executed, update driver.tar again before reboot.
« Last Edit: February 28, 2015, 03:04:34 AM by KINTA-JAPAN »

Offline bchynds

  • Newbie
  • *
  • Posts: 5
Re: Patch program for Kernel 3.5-3.8
« Reply #1 on: April 28, 2013, 10:19:13 AM »
After applying this patch, I still cannot get RedirFS modules to install.  Any solution?

Build the RedirFS kernel modules for real-time protection...

make -C /lib/modules/`uname -r`/build M=/tmp/driver/redirfs modules
make[1]: Entering directory `/usr/src/linux-headers-3.8.0-19-generic'
  CC [M]  /tmp/driver/redirfs/rfs_path.o
  CC [M]  /tmp/driver/redirfs/rfs_root.o
  CC [M]  /tmp/driver/redirfs/rfs_info.o
  CC [M]  /tmp/driver/redirfs/rfs_file.o
  CC [M]  /tmp/driver/redirfs/rfs_dentry.o
  CC [M]  /tmp/driver/redirfs/rfs_inode.o
  CC [M]  /tmp/driver/redirfs/rfs_dcache.o
  CC [M]  /tmp/driver/redirfs/rfs_chain.o
  CC [M]  /tmp/driver/redirfs/rfs_ops.o
  CC [M]  /tmp/driver/redirfs/rfs_data.o
  CC [M]  /tmp/driver/redirfs/rfs_flt.o
  CC [M]  /tmp/driver/redirfs/rfs_sysfs.o
  CC [M]  /tmp/driver/redirfs/rfs.o
  LD [M]  /tmp/driver/redirfs/redirfs.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/driver/redirfs/redirfs.mod.o
  LD [M]  /tmp/driver/redirfs/redirfs.ko
make[1]: Leaving directory `/usr/src/linux-headers-3.8.0-19-generic'
cp /tmp/driver/redirfs/Module.symvers /tmp/driver/avflt
make -C /lib/modules/`uname -r`/build M=/tmp/driver/avflt EXTRA_CFLAGS=-I/tmp/driver/redirfs modules
make[1]: Entering directory `/usr/src/linux-headers-3.8.0-19-generic'
  CC [M]  /tmp/driver/avflt/avflt_check.o
  CC [M]  /tmp/driver/avflt/avflt_data.o
  CC [M]  /tmp/driver/avflt/avflt_dev.o
  CC [M]  /tmp/driver/avflt/avflt_mod.o
  CC [M]  /tmp/driver/avflt/avflt_proc.o
  CC [M]  /tmp/driver/avflt/avflt_rfs.o
  CC [M]  /tmp/driver/avflt/avflt_sysfs.o
  LD [M]  /tmp/driver/avflt/avflt.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/driver/avflt/avflt.mod.o
  LD [M]  /tmp/driver/avflt/avflt.ko
make[1]: Leaving directory `/usr/src/linux-headers-3.8.0-19-generic'
make -C /lib/modules/`uname -r`/build M=/tmp/driver/redirfs modules_install
make[1]: Entering directory `/usr/src/linux-headers-3.8.0-19-generic'
  INSTALL /tmp/driver/redirfs/redirfs.ko
Can't read private key
  DEPMOD  3.8.0-19-generic
make[1]: Leaving directory `/usr/src/linux-headers-3.8.0-19-generic'
make -C /lib/modules/`uname -r`/build M=/tmp/driver/avflt EXTRA_CFLAGS=-I/tmp/driver/redirfs modules_install
make[1]: Entering directory `/usr/src/linux-headers-3.8.0-19-generic'
  INSTALL /tmp/driver/avflt/avflt.ko
Can't read private key
  DEPMOD  3.8.0-19-generic
make[1]: Leaving directory `/usr/src/linux-headers-3.8.0-19-generic'
ERROR: could not insert 'avflt': Invalid argument

RedirFS kernel modules installation failed.

$Stopping cmdagent: The cmdagent stopped successfully!
$Starting cmdagent: The cmdagent started successfully!
$Stopping cmgdaemon: The cmgdaemon stopped successfully!
$Starting cmgdaemon: The cmgdaemon started successfully!

COMODO Antivirus is successfully configured, you can start it from Menu or Desktop.

Offline KINTA-JAPAN

  • Comodo Member
  • **
  • Posts: 26
Re: Patch program for Kernel 3.5-3.8
« Reply #2 on: April 28, 2013, 10:55:23 AM »
The compilation is a normal.

May previously seen.
I was resolved by uninstalling and reinstalling COMODO.
Please wait...

Offline bchynds

  • Newbie
  • *
  • Posts: 5
Re: Patch program for Kernel 3.5-3.8
« Reply #3 on: April 28, 2013, 11:20:48 AM »
Tried uninstalling and reinstalling CAVL, reapplied driver patch and still encountering the same error.

Offline KINTA-JAPAN

  • Comodo Member
  • **
  • Posts: 26
Re: Patch program for Kernel 3.5-3.8
« Reply #4 on: April 28, 2013, 09:56:17 PM »
Result that I tested

----------
(1)Check for Updates (=rollback driver)
(2)post_install.sh
(3)reboot
(4)replace driver.tar (=patch version)
(5)post_install.sh
   =>FATAL: Error inserting avflt (/lib/modules/3.9.0-rc8-test/extra/avflt.ko): Invalid argument
   =>RedirFS kernel modules installation failed.

Perhaps the same state...
But "Can't read private key" in my environment has not occurred.

(6)reboot
(7)post_install.sh

No error(s) in my environ...

(8)Diagnostics & Fix problems.
(9)reboot
(10)Diagnostics

No problems...
----------

A little mystery....

Offline ugeen75

  • Newbie
  • *
  • Posts: 2
Re: Patch program for Kernel 3.5-3.8
« Reply #5 on: May 18, 2013, 01:25:44 PM »
Kinta-Japan,thanks for your patch!I'm using Ubuntu 13.04 32 bit ,and patch works.Thanks again!

Offline maglin

  • Comodo Family Member
  • ***
  • Posts: 53
Re: Patch program for Kernel 3.5-3.8
« Reply #6 on: May 23, 2013, 10:59:37 AM »
Just to point out that Kinta-Japan's patch isn't needed for Ubuntu 12.04.2 with kernel 3.5 (at least not on my 32 bit systems).

It would be good to see Comodo build on his work and release a patch themselves.

Offline KINTA-JAPAN

  • Comodo Member
  • **
  • Posts: 26
Re: Patch program for Kernel 3.5-3.8
« Reply #7 on: May 24, 2013, 05:51:56 AM »
Dear maglin.

That is right.
Kernel 3.5 also works with standard drivers.
But, warning is displayed at compile time.
I have fixes it.

Offline David Schwarz

  • Comodo Family Member
  • ***
  • Posts: 71
Re: Patch program for Kernel 3.5-3.8
« Reply #8 on: May 27, 2013, 06:11:07 PM »
what about kernel 3.9 and 3.10?

Offline KINTA-JAPAN

  • Comodo Member
  • **
  • Posts: 26
Re: Patch program for Kernel 3.5-3.8
« Reply #9 on: May 28, 2013, 09:39:01 AM »
I checked 3.9 at 10th May(0.11 EXPERIMENTAL-2).
« Last Edit: September 07, 2013, 12:52:58 PM by KINTA-JAPAN »

Offline Afghanbro

  • Newbie
  • *
  • Posts: 1
Re: Filesystem Filter Driver for kernel 3.5-3.11(redirfs and avflt)
« Reply #10 on: December 12, 2013, 05:48:19 AM »
I am from Afghanistan
i am Noob in Ubantu so Guys can You help me in this case .

How Install...
(1)How to Execute CAVL installer.???? Please
(2)Download driver.tar from http://www.bondoffamily-net.com/~kinta-chan/techknow/Linux/RedirFS/DownLoad.html i download this already

how can we Replace that (3)Replace /opt/COMODO/driver.tar
(4) and how can we Excute this .Execute post_setup.sh

Thank you SO Much GUys .

Offline marksuci

  • Newbie
  • *
  • Posts: 1
  • axel
Re: Filesystem Filter Driver for kernel 3.5-3.11(redirfs and avflt)
« Reply #11 on: December 12, 2013, 01:39:27 PM »
Works perfectly on LMDE 64 bit  :)
Be happy

Offline KINTA-JAPAN

  • Comodo Member
  • **
  • Posts: 26
Re: Filesystem Filter Driver for kernel 3.5-3.12(redirfs and avflt)
« Reply #12 on: January 03, 2014, 11:48:50 AM »
>Afghanbro

>>(1)How to Execute CAVL installer.???? Please

  Download installer package from http://www.comodo.com/home/internet-security/antivirus-for-linux.php.
  Using a terminal and enter the following.
    sudo dpkg-i cav-xxxxxxxx.deb[Enter]


>>how can we Replace that (3)Replace /opt/COMODO/driver.tar
  Using a terminal and enter the following.
    cd /opt/COMODO[Enter]
    sudo mv driver.tar driver.org[Enter]
    sudo cp [Download path]/driver.tar .[Enter]

>>(4) and how can we Excute this .Execute post_setup.sh
  Using a terminal and enter the following.
    cd /opt/COMODO[Enter]
    sudo ./post_setup.sh[Enter]


Offline KINTA-JAPAN

  • Comodo Member
  • **
  • Posts: 26
Re: Filesystem Filter Driver for kernel 3.5-3.17(redirfs and avflt)
« Reply #13 on: March 25, 2014, 06:59:25 AM »
Released redirfs 0.11E9+avflt 0.6C stable version.

STABLE:redirfs 0.11E9+avflt 0.6C
  Support kernel 3.15 or lower.

BETA:redirfs 0.11E10C+avflt 0.6D
  Support kernel 3.17 or lower.

http://www.bondoffamily-net.com/~kinta-chan/techknow/Linux/RedirFS/DownLoad.html
« Last Edit: January 03, 2015, 10:27:58 AM by KINTA-JAPAN »

Offline leon244

  • Newbie
  • *
  • Posts: 1
Re: Filesystem Filter Driver for kernel 3.5-3.13(redirfs and avflt)
« Reply #14 on: May 29, 2014, 05:01:35 PM »
I have the same issue, but am using kernel 3.10.40.
I keep getting the failure when I run post_setup.sh
I originally downloaded the latest x86_64 rpm from the web site. I am running Mageia3 which is a fedora like rpm system so this should work.
I then downloaded the driver.tar for 3.13 kernels or lower from http://www.bondoffamily-net.com/~kinta-chan/techknow/DownLoad/DownLoad.html

I then copied the new driver.tar into the appropriate folder  (/opt/COMODO) after renaming the original driver.tar file.
I then reran post_setup.sh but still got the error message:

modprobe: ERROR: could not insert 'avflt': Invalid argument

RedirFS kernel modules installation failed.

And when I run the diagnostic the missing avflt is reported as a  problem.

Do I need that module? What can I do to resolve this?

Thank    you


 

Free Endpoint Protection
Seo4Smf 2.0 © SmfMod.Com Smf Destek