Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Help me decide how to secure my box

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
36 posts
  • Previous
  • 1
  • 2
Author
Message
zenlunatic
Guru
Guru
Posts: 312
Joined: Wed Apr 09, 2003 11:53 pm

  • Quote

Post by zenlunatic » Mon May 26, 2003 2:24 am

mlynx wrote:You had a concern about an entire encrypted FS. I will add my $.02 in that regard. Your concern was that what would you do to recover information off the loopback if the laptop failed. It is actually fairly easy to recover using another machine to mount the loopback filesystem as long as you have the passphrase and the filesystem is relatively intact post hardware failure.
Is this documented anywhere?
Top
xedx
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 93
Joined: Fri May 23, 2003 9:16 am
Contact:
Contact xedx
Website

Dont open ports

  • Quote

Post by xedx » Mon May 26, 2003 3:09 am

If you want a little bit more secure system excluding local access just dont open ports :)

btw
why would you use openbsd.
linux/gnu can be made more secure
with the fact that it is more flexible
than any other *nix flavor
--+//+
Top
zenlunatic
Guru
Guru
Posts: 312
Joined: Wed Apr 09, 2003 11:53 pm

Re: Dont open ports

  • Quote

Post by zenlunatic » Mon May 26, 2003 9:37 pm

xedx wrote:If you want a little bit more secure system excluding local access just dont open ports :)

btw
why would you use openbsd.
linux/gnu can be made more secure
with the fact that it is more flexible
than any other *nix flavor
Why is flexible better than secure by default?
Top
tgoodaire
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 145
Joined: Fri Jan 31, 2003 3:09 pm
Location: Dartmouth, Nova Scotia, Canada

Kernel modules

  • Quote

Post by tgoodaire » Mon May 26, 2003 10:54 pm

I just wanted to make a quick comment on one of the suggestions made to you. Someone suggested to recompile your kernel without module support because rootkits can be installed as modules. I've seen this suggested in a few places, and I have an argument against it. Kernel modules are only loadable by root. If a hacker already has root on your box, you have bigger things to worry about than a rootkit. :)

Just my .02.
I bent my wookie.
Top
Vancouverite
Apprentice
Apprentice
User avatar
Posts: 162
Joined: Sat Sep 28, 2002 4:57 am
Location: Vancouver, Canada

Re: Dont open ports

  • Quote

Post by Vancouverite » Tue May 27, 2003 9:07 am

xedx wrote:btw
why would you use openbsd.
linux/gnu can be made more secure
with the fact that it is more flexible
than any other *nix flavor
This seems rather naive considering the amount of code auditing the OpenBSD developers perform.
tgoodaire wrote:Someone suggested to recompile your kernel without module support because rootkits can be installed as modules. I've seen this suggested in a few places, and I have an argument against it. Kernel modules are only loadable by root. If a hacker already has root on your box, you have bigger things to worry about than a rootkit.
Like recompiling your kernel with support for modules and rebooting. :D
Screenshot
Top
paranode
l33t
l33t
User avatar
Posts: 679
Joined: Thu Mar 06, 2003 12:18 am
Location: Texas

  • Quote

Post by paranode » Tue May 27, 2003 2:53 pm

I find this guide quite informative:
http://www.gentoo.org/doc/en/gentoo-security.xml

If you enable the Grsecurity stuff it should protect you very well. It features a non-executable stack, which is one of the main selling points of software like OpenBSD. This will protect you from almost all exploits (all that use buffer overflows at least). Plus it has other stuff to guard off attacks. I think it would make for a really secure system while still providing the flexibility and support that Linux has.
Meh.
Top
mlynx
n00b
n00b
User avatar
Posts: 27
Joined: Fri Feb 07, 2003 8:13 pm
Contact:
Contact mlynx
Website

  • Quote

Post by mlynx » Sat May 31, 2003 11:42 pm

Is this documented anywhere?
The documentation of encrypting filesystems located on the forums (here) has an explanation of how to mount a loopback encrypted filesystem. IIRC, the loopback README, also recommended by the above thread, has this information as well.
mlynx
-------------------------
Did your mom -Os your brain when you were a baby?
Top
To
Veteran
Veteran
User avatar
Posts: 1145
Joined: Sat Apr 12, 2003 9:12 pm
Location: Coimbra, Portugal
Contact:
Contact To
Website

  • Quote

Post by To » Wed Jun 04, 2003 1:08 pm

I've used ipchains and now iptables to secure my machines connect to the internet. There's been some good points about iptables ( and other subjects, that I'm not an expert on those mathers, this is just about iptables ). For some machines I wrote all the rules, just because I want to add some features that tools that use iptables don't allow.
Anyway there's a tool, that is on portage too that really helps and it's really easy to configure. You can use it to NAT, or just to REJECT or DROP, you may want to give it a look ( also allows multi interface ).

Code: Select all

root @ gandalf $ > emerge -s shorewall
Searching...   
[ Results for search key : shorewall ]
[ Applications found : 1 ]
 
*  net-firewall/shorewall
      Latest version available: 1.4.4b
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 1,932 kB
      Homepage:    http://www.shorewall.net
      Description: Full state iptables firewall
You can check it here too http://shorewall.sourceforge.net

Tó

------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------
Top
tgoodaire
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 145
Joined: Fri Jan 31, 2003 3:09 pm
Location: Dartmouth, Nova Scotia, Canada

  • Quote

Post by tgoodaire » Mon Jun 09, 2003 12:35 am

I'm using iptables, tcp_wrappers, and portsentry to secure my box. By the way, the book "Real World Linux Security" by Bob Toxen is a great book to get started in securing your box.
I bent my wookie.
Top
jimlynch11
Guru
Guru
User avatar
Posts: 589
Joined: Fri Feb 21, 2003 1:40 am
Location: massachusetts

  • Quote

Post by jimlynch11 » Mon Jun 09, 2003 12:56 am

zenlunatic: if you havent already seen it, check this out http://selinux.dev.gentoo.org/

they give you root to their box, asking you to try and do any harm to it. perhaps you should visit the project site (linked on the above page) and see what you can implement.
Top
cybermans
Apprentice
Apprentice
User avatar
Posts: 193
Joined: Fri Apr 04, 2003 11:51 pm

  • Quote

Post by cybermans » Mon Jun 09, 2003 10:21 am

u said it was only for a laptop that is plugged to the web with 56k?
in that case its useless to make a big uber secure firewall. Because u dont gonna be 24/7 online i think. If you want to make a better firewall i sugest that u read something about how tcp/ip works. If you know that it makes a lot more sense if you are writing a firewall ruleset.

One basic security thing is dont use root for X. And servers dont need X so dont even install it.

just my [eurosign] 0,02
My weBlog
Linux compability list (hardware)
Top
Post Reply

36 posts
  • Previous
  • 1
  • 2

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic