firewall?

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read this

Well, I use....

I don't
10
50%
ufw
6
30%
firestarter
2
10%
iptables
2
10%
other...
0
No votes
 
Total votes : 20

firewall?

Postby toomuchcoffee on Fri Apr 27, 2012 4:56 pm

What do you use, what do you recommend and what not... :?
Code: Select all
The program 'suck' is currently not installed.  To run 'suck' please ask your administrator to install the package 'suck'
toomuchcoffee
Level 1
Level 1
 
Posts: 41
Joined: Wed Apr 18, 2012 8:24 am

Linux Mint is funded by ads and donations.
 

Re: firewall?

Postby craigevil on Fri Apr 27, 2012 6:04 pm

the shiny GUIs including gufw and firestarter just modify iptables.

I use ufw set to default deny. Allows all outgoing, denies all incoming connections. No need to tweak anything.

For the uber paranoid I would recommend moblock/peerguardian.
Debian Sid KDE4.8.4 Kernel 3.4 Thinkpad R40 CPU Pentium M 1.3MHz RAM 2GB ATI Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi
craigevil
Level 5
Level 5
 
Posts: 559
Joined: Wed Sep 15, 2010 6:10 am
Location: down the rabbit hole

Re: firewall?

Postby Brian49 on Sat Apr 28, 2012 4:30 am

I gave up using software firewalls some time ago. I rely entirely on my router's built-in firewall, which has never let me down. It's a good old Netgear DG834Gv4.
Brian49
Level 5
Level 5
 
Posts: 597
Joined: Thu Oct 29, 2009 2:27 pm

Re: firewall?

Postby rhodry on Sat Apr 28, 2012 7:39 am

On servers I set up iptables manually for specific tasks performed - desktops, ufw default deny works for me, testing boxes I don't bother.

rhodry.
Life isn't about waiting for the storm to pass...
it's about learning to dance in the rain.
rhodry
Level 4
Level 4
 
Posts: 347
Joined: Mon Jun 04, 2007 7:32 am

Re: firewall?

Postby munin on Fri Jun 22, 2012 7:32 pm

If I have not misunderstood the info here, I should be reasonably secure with these Guwf settings: Status On. Incoming: Deny. Outgoing: Allow. No rules.
I dont use servers or any form of network, so I hope this is good enough.
User avatar
munin
Level 1
Level 1
 
Posts: 25
Joined: Sat Apr 21, 2012 6:58 am

Re: firewall?

Postby craigevil on Sat Jun 23, 2012 12:41 am

# ufw status verbose
Status: active
Logging: off
Default: deny (incoming), allow (outgoing)
New profiles: skip

no problems here. The only networking service I have running is dhclient.

Code: Select all
# netstat -plunt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.1:49153         0.0.0.0:*               LISTEN      19881/firefox   
tcp        0      0 127.0.0.1:46755         0.0.0.0:*               LISTEN      19881/firefox   
udp        0      0 0.0.0.0:68              0.0.0.0:*                           816/dhclient   
udp        0      0 0.0.0.0:68              0.0.0.0:*                           6560/dhclient   
udp        0      0 0.0.0.0:6954            0.0.0.0:*                           6560/dhclient   
udp        0      0 0.0.0.0:7088            0.0.0.0:*                           816/dhclient   
udp6       0      0 :::46236                :::*                                6560/dhclient   
udp6       0      0 :::21003                :::*                                816/dhclient   
Debian Sid KDE4.8.4 Kernel 3.4 Thinkpad R40 CPU Pentium M 1.3MHz RAM 2GB ATI Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi
craigevil
Level 5
Level 5
 
Posts: 559
Joined: Wed Sep 15, 2010 6:10 am
Location: down the rabbit hole

Re: firewall?

Postby rhodry on Sat Jun 23, 2012 2:08 am

Brian49 wrote:I gave up using software firewalls some time ago. I rely entirely on my router's built-in firewall, which has never let me down. It's a good old Netgear DG834Gv4.


I didn't bother looking up the specific model, but, there are going to be some surprised folk around once ipv6 permeates the net more thoroughly. Ipv6 does not recognise NAT (built in firewall used by most routers) - hence millions of unprotected machines on the net with a false sense of security!! :cry: Malware kiddies are going to have a field day with older hardware running older Windows.

Check your router now!!!!!

cheers,
rhodry.
Life isn't about waiting for the storm to pass...
it's about learning to dance in the rain.
rhodry
Level 4
Level 4
 
Posts: 347
Joined: Mon Jun 04, 2007 7:32 am

Re: firewall?

Postby mint-me on Sat Jun 23, 2012 3:26 am

i use gufw and block all incoming. i also block the following ports outgoing, as i don't run a server for outside use, and don't share files off my drive to anybody - especially Windows machines:

ports 135-139 [netbios sharing]
port 445 [ms-ds]
port 113 [auth/ident]

just to make sure...
LMDE Cinnamon 64bit | Mint 15 Cinnamon 64bit | SolusOS 1.3 64-bit | SolusOS 2Q2
Dell Inspiron 15R(N5110) Intel i7-2670QM, 4GB DDR3 1333Mhz, Intel 6 Express Chipset HM67
NVIDIA GeForce GT525M, 500G SATA, 15.6" HD 1366x768 Optimus Graphics by Bumblebee
mint-me
Level 2
Level 2
 
Posts: 66
Joined: Sat May 26, 2012 2:25 am
Location: australia

Re: firewall?

Postby josefg on Sun Jun 24, 2012 10:14 am

I used to run ZoneAlarm on Windows, but haven't found any similar application-based firewall for linux. So, so far, I'm running nothing... I am just as much interested in having control over what goes out as over what comes in.
josefg
Level 2
Level 2
 
Posts: 54
Joined: Sun Jun 12, 2011 7:07 pm

Re: firewall?

Postby craigevil on Sun Jun 24, 2012 5:16 pm

josefg wrote:I used to run ZoneAlarm on Windows, but haven't found any similar application-based firewall for linux. So, so far, I'm running nothing... I am just as much interested in having control over what goes out as over what comes in.



Linux-Firewall.org - Your application based personal firewall for Linux - http://linux-firewall.org/ doesn't say when it was last updated.

There was TuxGuardian - An application-based firewall - http://tuxguardian.sourceforge.net/ but it appears to be dead , hasn't been updated since 2006.

Program Guard - http://pgrd.sourceforge.net/ also hasn't been updated in a while

Systrace - Interactive Policy Generation for System Calls - https://www.citi.umich.edu/u/provos/systrace/

There really is not much of a point in having an application based firewall in linux. the problem in windows was all the spyware that called home. We do not have to deal with such things. Especially if you only use the packages in the repos.

Personally I do not see the need to block any outgoing ports.
Debian Sid KDE4.8.4 Kernel 3.4 Thinkpad R40 CPU Pentium M 1.3MHz RAM 2GB ATI Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi
craigevil
Level 5
Level 5
 
Posts: 559
Joined: Wed Sep 15, 2010 6:10 am
Location: down the rabbit hole

Re: firewall?

Postby eanfrid on Sun Jun 24, 2012 5:58 pm

There is the "nufw" infrastructure but it is clearly a lot of overkill for a home PC as it targets corporate networks. Unless you are *really* paranoid you don't need to filter outgoing traffic at the application level. But if you are, you will have to learn (and become pretty skillful with) netfilter, connection tracking, iptables, ebtables and arptables in addition to dealing with nufw. "Firewalls" at the application level don't exist on Linux because they essentially are of no use.

For my own needs I don't use any firewall GUI. I write and maintain my own custom set of iptables/ebtables/arptables rules with home-made scripts.
Image using Cinnamon 1.8.8 & Nemo 1.8.3
If you cannot apt-get it, either it is not useful or it does not exist.
Linux is not Windows - Before you ask
User avatar
eanfrid
Level 5
Level 5
 
Posts: 659
Joined: Mon Apr 30, 2012 2:49 am

Re: firewall?

Postby nextdistroplease on Mon Aug 06, 2012 8:59 am

UFW

Default: deny (incoming), allow (outgoing)
New profiles: skip

To Action From
-- ------ ----
1:19/tcp DENY OUT Anywhere
1:19/udp DENY OUT Anywhere
22:52/tcp DENY OUT Anywhere
22:52/udp DENY OUT Anywhere
54:79/tcp DENY OUT Anywhere
54:79/udp DENY OUT Anywhere
81:122/tcp DENY OUT Anywhere
81:122/udp DENY OUT Anywhere
124:442/tcp DENY OUT Anywhere
124:442/udp DENY OUT Anywhere
444:65535/tcp DENY OUT Anywhere
444:65535/udp DENY OUT Anywhere
1:19/tcp DENY OUT Anywhere (v6)
1:19/udp DENY OUT Anywhere (v6)
22:52/tcp DENY OUT Anywhere (v6)
22:52/udp DENY OUT Anywhere (v6)
54:79/tcp DENY OUT Anywhere (v6)
54:79/udp DENY OUT Anywhere (v6)
81:122/tcp DENY OUT Anywhere (v6)
81:122/udp DENY OUT Anywhere (v6)
124:442/tcp DENY OUT Anywhere (v6)
124:442/udp DENY OUT Anywhere (v6)
444:65535/tcp DENY OUT Anywhere (v6)
444:65535/udp DENY OUT Anywhere (v6)
User avatar
nextdistroplease
Level 1
Level 1
 
Posts: 37
Joined: Sat Jun 30, 2012 11:18 pm
Location: Lake Elsinore, CA

Re: firewall?

Postby bimsebasse on Mon Aug 06, 2012 9:12 am

4 years on Linux without antivirus software and firewalls - never felt the need, never had an issue.

In Windows I used to run Spybot with tea timer so nothing in the registry was changed without my permission, and avira antivirus with active guard and firewall. Don't miss it one bit.
Thank you for this thread. That’s all I can say. You most definitely have made this forum into something special. You clearly know what you are doing, you’ve covered so many bases. Thanks!
User avatar
bimsebasse
Level 7
Level 7
 
Posts: 1709
Joined: Fri Nov 11, 2011 10:21 am
Location: Scandinavia

Re: firewall?

Postby nextdistroplease on Mon Aug 06, 2012 12:59 pm

bimsebasse wrote:In Windows I used to run Spybot with tea timer so nothing in the registry was changed without my permission, and avira antivirus with active guard and firewall. Don't miss it one bit.


Remember WinPatrol?

SuperAntispyware?

I had at least two or three antimalware programs on top of my antivirus.

My spell checker wants to say antimalarial.

I love Linux.
User avatar
nextdistroplease
Level 1
Level 1
 
Posts: 37
Joined: Sat Jun 30, 2012 11:18 pm
Location: Lake Elsinore, CA

Re: firewall?

Postby craigevil on Tue Aug 07, 2012 8:45 am

nextdistroplease wrote:
bimsebasse wrote:In Windows I used to run Spybot with tea timer so nothing in the registry was changed without my permission, and avira antivirus with active guard and firewall. Don't miss it one bit.


Remember WinPatrol?

SuperAntispyware?

I had at least two or three antimalware programs on top of my antivirus.

My spell checker wants to say antimalarial.

I love Linux.


I usually installed winpatrol, spyblaster, spybot search and destroy, avg, and/or microsoft security essentials, zonealarm.

It is so nice to not have to worry about all of that crap. I was paranoid for the first year I ran Debian had all kinds of apps like rkhunter, chkrootkit, tripwire, tiger, guarddog, checksecurity, samhain, psad, etc installed. But after they never found anything I finally realized a firewall was all I needed. Most routers have a decent firewall these days so no real need for a software firewall at all.
Debian Sid KDE4.8.4 Kernel 3.4 Thinkpad R40 CPU Pentium M 1.3MHz RAM 2GB ATI Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi
craigevil
Level 5
Level 5
 
Posts: 559
Joined: Wed Sep 15, 2010 6:10 am
Location: down the rabbit hole

Linux Mint is funded by ads and donations.
 

Return to Other networking topics

Who is online

Users browsing this forum: No registered users and 1 guest