Recent

Author Topic: Lazarus cant run with comodo firewall  (Read 46282 times)

didi

  • New member
  • *
  • Posts: 7
Lazarus cant run with comodo firewall
« on: July 17, 2009, 10:03:54 am »
Hi I am a user of Comodo firewall, and I am very funned of it.
I have recently installed Lazarus, wich cannot run the debugger, if comodo is installed

This was covered in the thread http://www.lazarus.freepascal.org/index.php?topic=6225.0

But is there no way arround this, other than uninstalling Comodo ? I have tried to play with comodo settings, but cant make it work. And I am vary noop in Lazerus. I would like to use the debugger, so I dont want to turn this one off.

Any suggestions are appreciated

Kond Regards

Paul Ishenin

  • Sr. Member
  • ****
  • Posts: 274
Re: Lazarus cant run with comodo firewall
« Reply #1 on: July 17, 2009, 10:11:22 am »
The issue you have relates to gdb only and very indirectly to lazarus project. Therefore better to ask for help either Comodo or gdb support teams.

LuizAmérico

  • Sr. Member
  • ****
  • Posts: 457
Re: Lazarus cant run with comodo firewall
« Reply #2 on: July 20, 2009, 06:05:03 am »
Quote
But is there no way arround this, other than uninstalling Comodo ?

Yes. Disable Defense +

mjen

  • Newbie
  • Posts: 2
Re: Lazarus cant run with comodo firewall
« Reply #3 on: January 30, 2011, 01:50:48 am »
Hi I am a user of Comodo firewall, and I am very funned of it.
I have recently installed Lazarus, wich cannot run the debugger, if comodo is installed

This was covered in the thread http://www.lazarus.freepascal.org/index.php?topic=6225.0

But is there no way arround this, other than uninstalling Comodo ? I have tried to play with comodo settings, but cant make it work. And I am vary noop in Lazerus. I would like to use the debugger, so I dont want to turn this one off.

Any suggestions are appreciated

Kond Regards


Hello everyone!
Here is the solution to the above problem!  :D
The Comodo forum I found this link: http://forums.comodo.com/defense-sandbox-help-cis/gdb-problem-solved-t47299.15.html


I also have problem with SIGSEGV message when running a new program with gdb.exe under lazarus.
I then ran gdb.exe through windows cmd.exe, and found out the dgb.exe detected problem with guard32.dll. (Running dgb.exe under lazarus does not show this level of detail).

I tried all of your suggestions, and I have come up with the following steps that works for me.
I am using Comodo version 5.3.

Step 1. (Make a group of folder that contains the gdb's working directory, and your program's directory). This is the most elaborate part).

CIS --> Defense+ --> Computer Security Policy --> Protected Files and Folders --> Groups.

You are now in File Groups. Click Add --> A New Group.

Give the new group a name (I used "lazarus GDB" but you can name it anything you want). Click Apply.

You are back in File Groups. Find the new group in the list and select "add files here" underneath. Then Click Add --> Browse.

Find the gdb.exe directory in the treeview presented and select it. (In my case, I selected "c:\lazarus\mingw\bin*"). Do not select gdb.exe itself.

Find the directory of your program that dgb.exe debugs and select it. Do not select the program itself. For example, I have "c:\lazarus-projects*", I did not select "c:\larazus-projects\project1.exe".

Click Apply. Now you have a group of folders (not group of files).

Step 2. Add the group you have created to "Protected Files and Folders".

CIS --> Defense+ --> Computer Security Policy --> Protected Files and Folders --> Add --> File Groups.

You should be able to find the Group of Folders that you just created (In my case, "Lazarus GDB").

Select it, so that you can go to Step 3.

Step 3. (Add to the Exclusion List). The Image Execution Control Settings have been relocated and renamed. In my version of Comodo, it is under...

CIS --> Defense+ --> Defense+ Settings --> Execution Control Settings.

There is a button "Exclusions" next to "Detect Shellcode Injections (i.e. Buffer Overflow Protection)". Click it.

The Exclusion list comes up. Click Add --> File Groups. Pick the Group of Folders you created. Click Apply.

Back in Defense+ Settings. Click OK.

All done.

With this I have no problem with SIGSEGV ... so far. Hope it helps.

If it works, credit goes to all of you who have all supplied the bits of information that led to this.
I have attached a pdf of the forum for you to see my comments. No disrepect intended, and I appreciate your comments / feedbacks.



bobihot

  • New Member
  • *
  • Posts: 36
Re: Lazarus cant run with comodo firewall
« Reply #4 on: June 24, 2013, 04:20:46 pm »
Comodo give me, that in gdb file of compiled project have a trpyan:

Date    Location    Malware Name    Action    Status
2013-06-24 Suspi1.dbg     TrojWare.Win32.FraudPack.P@179389676     Detect     Success
2013-06-24 15:33:39     G:\WORK\Suspi\Suspi1.dbg     TrojWare.Win32.FraudPack.P@179389676     Quarantine     Success 

Are they a virus, or false detection from Comodo?
I resolved when change linker settings for dbg.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10553
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus cant run with comodo firewall
« Reply #5 on: June 24, 2013, 05:44:58 pm »
upload to virustotal.com

false detection of those do happen regulary with some antivirus


Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10553
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus cant run with comodo firewall
« Reply #7 on: June 25, 2013, 12:12:42 pm »
so it looks like it is a false alert

some AV share there databases, so if one goes wrong, then there is a good chance that 1 or 2 others will too.

you can always try to contact there support and have it fixed. I do not know though if comodo offers a contact form for this. some companies do

JD

  • Hero Member
  • *****
  • Posts: 1848
Re: Lazarus cant run with comodo firewall
« Reply #8 on: July 12, 2013, 12:06:28 pm »
I recently moved back to using Comodo Internet Security Premium after a 2 year hiatus. I chose not to activate Defense+/HIPS on my system to reduce the number of alerts. LuizAmerico also pointed this out.

Concerning Lazarus, I noticed that the following files have to be declared as "safe" for Lazarus to work properly

a) fpc.exe
b) fpcres.exe
c) gdb.exe
d) ppc386.exe
e) project1.exe
e) startlazarus.exe
f) lazarus.exe

The first five files above need to be declared as safe when a new project is being debugged. The last two files above only apply after a fresh installation of Lazarus or a rebuild of the existing Lazarus installation.

Once this is done, Lazarus works without problems. I had uninstalled Comodo two years ago because it blocked the Lazarus debugger with Defense+ enabled, but now that I better understand how it works, it is now my preferred anti-malware/firewall security tool.

I refer you to the online documentation http://help.comodo.com/topic-72-1-451-4685-Introduction-to-Comodo-Internet-Security.html to help you to configure the product.

Cheers,

JD
« Last Edit: July 12, 2013, 12:12:01 pm by JD »
Windows - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

Thaddy

  • Hero Member
  • *****
  • Posts: 16174
  • Censorship about opinions does not belong here.
Re: Lazarus cant run with comodo firewall
« Reply #9 on: June 09, 2017, 02:27:49 pm »
I still have no serious reply from the guys. After all that time...
If I smell bad code it usually is bad code and that includes my own code.

 

TinyPortal © 2005-2018