Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

UFW Question


  • Please log in to reply
6 replies to this topic

#1 j_bins

j_bins

  • Members
  • 114 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Ireland
  • Local time:10:10 PM

Posted 06 August 2014 - 09:13 AM

 


To check the status of UFW: sudo ufw status verbose

The output should be like this:

youruser@yourcomputer:~$ sudo ufw status verbose
[sudo] password for youruser:
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing)
New profiles: skip
youruser@yourcomputer:~$

 

I follwed the instruction and got this:

 

sudo: unable to open /var/lib/sudo/j_bins/2: No such file or directory
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip

 

My question regards the meaning of:

 

sudo: unable to open /var/lib/sudo/j_bins/2: No such file or directory

 

and

 

disabled (routed)

 

any thoughts?

 

Thanks,

 

J :)

 

 



BC AdBot (Login to Remove)

 


m

#2 cat1092

cat1092

    Bleeping Cat


  • BC Advisor
  • 6,889 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:North Carolina, USA
  • Local time:05:10 PM

Posted 06 August 2014 - 08:31 PM

Maybe you should start over, first disable ufw:

 

$ sudo ufw disable

 

Then re-enable:

 

$ sudo ufw enable

 

Then see what you have:

 

$ sudo ufw status verbose

 

For some users, that dollar symbol works better. Hope it does for you! :thumbup2:

 

Cat


Performing full disc images weekly and keeping important data off of the 'C' drive as generated can be the best defence against Malware/Ransomware attacks, as well as a wide range of other issues. 


#3 NickAu

NickAu

    Bleepin' Fish Doctor


  • Moderator
  • 11,729 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:127.0.0.1 Australia
  • Local time:09:10 AM

Posted 06 August 2014 - 11:25 PM

All shell prompt's  finish with $, % or #.

When it finishes  with $, this indicates a shell that's compatible with the Bourne shell.( Bash )

If it finishes with %, this indicates a C shell

If it finishes with #, this would mean you are root.


Edited by NickAu1, 06 August 2014 - 11:31 PM.


#4 j_bins

j_bins
  • Topic Starter

  • Members
  • 114 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Ireland
  • Local time:10:10 PM

Posted 09 August 2014 - 10:27 AM

Thanks Cat,

 

I did as you suggested and now get this:

 

Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip
 

:)....looks better? btw waht does 'disabled (routed) mean?

 

NickAu1, thanks for your post :).....I will look up what 'Bash/Bourne Shell', 'C shell' and 'root' mean :blush:  ..... actually I am not even sure what 'shell' means....I guess everyone starts out not knowing these things? :)



#5 cat1092

cat1092

    Bleeping Cat


  • BC Advisor
  • 6,889 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:North Carolina, USA
  • Local time:05:10 PM

Posted 11 August 2014 - 12:19 AM

I don't know exactly what it means "disabled (routed)", but mine says exactly the same. Just checked. 

 

That is the way it's supposed to appear when enabled, as shown on every site I've seen the tutorial, so evidently serves the purpose. It's also one of the top things to do after a new Linux install, is enabling the Firewall. Other versions of Linux (non-Ubuntu based) will have a different approach to this & many other things & is why I stick to Linux Mint. 

 

Opinions vary on this, many feels safe just because they're behind a router with a NAT Firewall. While it's certainly better than nothing, it's not the same as a true Firewall Appliance (or standalone hardware Firewall). 

 

http://www.firewall-servers.com/what_are_firewall_servers.html

 

However, few home users bothers or even knows of these, even though these can be the ultimate solution to restrict what their children are exposed to on the Internet, and limit guests from accessing. The drawback is cost. Were it not for the price tag, I'd have one of these on my home network. 

 

http://www.firewall-servers.com/Products.html

 

Just as Windows recommends the use of firewall software to prevent basic intrusion attempts, the Linux user should too, especially when connecting to a network other than their home one. And just as there's a basic Windows Firewall, the ufw Firewall provides the same, if not better, protection. Just set & other than check status sometimes, that's it. 

 

Cat


Performing full disc images weekly and keeping important data off of the 'C' drive as generated can be the best defence against Malware/Ransomware attacks, as well as a wide range of other issues. 


#6 j_bins

j_bins
  • Topic Starter

  • Members
  • 114 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Ireland
  • Local time:10:10 PM

Posted 18 August 2014 - 04:43 AM

Once again - Cheers Cat :)



#7 NickAu

NickAu

    Bleepin' Fish Doctor


  • Moderator
  • 11,729 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:127.0.0.1 Australia
  • Local time:09:10 AM

Posted 18 August 2014 - 04:55 AM

 

I don't know exactly what it means "disabled (routed)",

 

 Its to do with routed packet filtering. . While its not new in ufw, The Disabled( Routed) notification is. Its default nothing to worry about.

ufw - Ubuntu Wiki


Edited by NickAu1, 18 August 2014 - 05:06 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users