| 1) Bill Campbell Re: [CentOS] ZFS on Linux |
|
|
| I would go with Opensolaris. There has been quite a bit of messaging on the freebsd lists on zfs... |
|
|
|
|
|
|
|
On Sun, Dec 28, 2008, Davide Cittaro wrote: > >On Dec 28, 2008, at 7:16 PM, Mag Gam wrote: > >> I am planning to use ZFS on my Centos 5.2 systems. The data I am >> storing is very large text files where each file can range from 10M to >> 20G. I am very interested on the compression feature of ZFS, and it >> seems no other native Linux FS supports it. >> > >Even if fuse implementation of ZFS looks rather stable, I won't >suggest it in a production environment... >We strongly wanted ZFS and we chose for Solaris 10 for our file server. > >> My question are: Is ZFS stable? How does it scale for very large >> filesytems, ie, 2TB to 9TB? How is the performance of fuse? I plan to >> use it on my archive server first, so data reliability is very >> important > >ZFS really is great. We are now managing three 18Tb archives. It is >not only reliable, it comes with zpool and zfs commands that really >make it easy to manage! >If you don't want Solaris, you can use FreeBSD 7 which supports native >ZFS.
I would go with Opensolaris. There has been quite a bit of messaging on the freebsd lists on zfs that give me the impression that zfs on freebsd is not really ready for prime time. Bill -- INTERNET: [email protected: b...@celestial.com] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186
The most serious doubt that has been thrown on the authenticity of the biblical miracles is the fact that most of the witnesses in regard to them were fishermen. -- Arthur Binstead _______________________________________________ CentOS mailing list [email protected: C...@centos.org] http://lists.centos.org/mailman/listinfo/centos
|
|
|
| 2) Bill Campbell Re: [CentOS] Security advice, please |
|
|
| I don't do business with government agencies, it just encourages them to continue their legal... |
|
|
|
|
|
|
|
On Wed, Dec 24, 2008, [email protected: j...@kinz.org] wrote: >On Wed, Dec 24, 2008 at 09:43:19AM -0800, Bill Campbell wrote: >> On Wed, Dec 24, 2008, [email protected: j...@kinz.org] wrote: >> >Top posting to ask a question regarding the article below: >> > Summary: Enable ssh to allow login from any random point on >> > the internet >> >> I always have my laptop with me, > >An excellent strategy Bill. I use it myself, but I explicitly excluded >it in my question. Why? because there are lots of scenarios in the world >where people won't be able to use their laptop or netbook and will have >to fall back on using someone else's equipment. > >Two examples : >You are visiting the Otis Public Library in Norwich CT. They have Linux >based public workstations (w/Internet access). >(http://www.otislibrarynorwich.org/index.htm) > >Or you are a consultant visiting a corporate client who doesn't allow >"outside equipment" to be used on their network, so they maintain >specific machines for "guests" to use. (Hint, "DOD" )
I don't do business with government agencies, it just encourages them to continue their legal plunder (and often it takes forever to get paid -- unless one offers an early payment discount that they are required by law to use). >(I have run into both of these. :-) )>>example three - A TSA attendant "accidentally" drops your>laptop.. in front of a forklift... (Merry Christmas!)That might well get me to cancel my trip. >All your ideas are good ones to which I would add using port knocking>(not perfect at all but adds an additional small barrier) I am aware of port knocking, but doing that certainly requires stuff on the client computer that wouldn't be available at the average Internet cafe or kiosk device. >The best technique I have used is to put up an https web page>that requires the person desiring entry to be presented with a>challenge<->response dialog that is generated from a specific one-time>use pad of CR key pairs. That way, each session requires a unique>response to enable it. This is awkward but help keep the unwanted>visitors out. This would be a variation on your SSL webmin>suggestion.I saw something recently on one of the many mailing lists about a USB device that generates one-time-passwords at very reasonable cost. These can be plugged into anything with a USB port that would recognize a USB keyboard. >Unfortunately, the worst case scenario ( a compromised machine>that does key logging) which you pointed out, will always be a >potential problem.. >>So when on the road, perhaps we should restrict doing>online banking to just the cell phone.. :-) hmm....... My bank is set up to make one jump through several hoops when logging in from an IP that it has not seen a login to the account, and may even distinguish browsers as I think I have had to do something special when using Safari on my desktop instead of my normal Firefox. My bank is a small regional bank where the people at the branch know me, and even recognize my voice on the phone so it's pretty easy for me to do things by phone. I *HATE* dealing with megabanks where customer service is an oxymoron. ... Bill -- INTERNET: [email protected: b...@celestial.com] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186
It is better to die on your feet than to live on your knees! -- Emiliano Zapata. _______________________________________________ CentOS mailing list [email protected: C...@centos.org] http://lists.centos.org/mailman/listinfo/centos
|
|
|
| 3) Bill Campbell Re: [CentOS] Security advice, please |
|
|
| I always have my laptop with me, and have systems here configured to (a) accept only... |
|
|
|
|
|
|
|
On Wed, Dec 24, 2008, [email protected: j...@kinz.org] wrote: >Top posting to ask a question regarding the article below: > >Hi Warren, Nice explanation. I would like to ask what you >recommend people do if they want to be able to ssh in from >anywhere on the internet. Say they are going to be traveling and >they know they will have to login from machines they have no >control over, like an internet cafe or a Hotel's business >services suite?
I always have my laptop with me, and have systems here configured to (a) accept only authorized_keys, (b) allow access from any IP, and (c) use fail2ban to limit the number of log entries from failed attempts to access the systems. All logins to our customer sites are then initiated from inside our network once I have established the initial connection from the remote location so those connections can be much more restrictive if necessary. One possibility would be to have a machine configured to allow password access from the world which one could log into, then execute ssh-agent, and ssh-add (with a strong pass phrase) on that machine to get access to other systems on your network. If there is some reason that an ssh cannot be established, usually it's possible to connect with OpenVPN, which works nicely behind NAT firewalls and does not require kernel hacking on CentOS as things like PPTP do. You make the job much more difficult when asking that you be able to get in from any old machine you might find in public space. Other than the fact that the owners of these machines generally don't allow people to install software on them, I would be very reluctant to do anything on them that involved secure logins as who knows what key capture or other spyware is running on them. One may be able to access you systems using webmin or its usermin module over an SSL connection, and webmin has a terminal interface allowing one to get a connection to systems. If I remember correctly, this does require Java(tm) on the connecting machine, and that webmin be configured to permit use of the terminal module. I much prefer restrict webmin and usermin access though as I have seen far too many systems cracked through it because it only has username, password authentication, and too many times, user's passwords are easily cracked. Once somebody is logged into usermin, for instance, they may have access to tools such as the chfn (change finger information) command which at one time on SuSE systems allowed them to change their uid to ``0'' and gain root access to the system. In summary, I would be extremely reluctant to allow access from public machines where there is no assurance how much malware is running on top of the Microsoft virus, Windows. It's very easy to revoke authorized_keys or OpenVPN access for a lost or stolen laptop. Allowing password access by any means opens up a large can of worms. ... Bill -- INTERNET: [email protected: b...@celestial.com] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186
If the government can take a man's money without his consent, there is no limit to the additional tyranny it may practise upon him; for, with his money, it can hire soldiers to stand over him, keep him in subjection, plunder him at discretion, and kill him if he resists. Lysander Spooner, 1852 _______________________________________________ CentOS mailing list [email protected: C...@centos.org] http://lists.centos.org/mailman/listinfo/centos
|
|
|
| 4) Bill Campbell Re: [CentOS] FTPS setup problem |
|
|
| As a rule, we require external developers to access our servers using OpenVPN which provides a... |
|
|
|
|
|
|
|
On Fri, Dec 19, 2008, Guy Boisvert wrote: >Hi! > > I'm trying to figure out what's going wrong with a "simple" FTPS setup >and VSFTPD. > > I saw references on Google and tried, and tried, and tried... without >success. > > I'll start by explaining my situation: I have a WEB development server >behind a firewall. It's currently only for the intranet. We now have >an external company that will have to do a new website for us and we >want them to access securely our development server. > > Internally, we access it with regular FTP (we use DreamWeaver 8). In >the references i saw, i'd just add the following lines and it is >supposed to work:
As a rule, we require external developers to access our servers using OpenVPN which provides a simple means of getting secure access without having to deal with multiple server components. The OpenVPN clients for Windows and OS X are simple to set up, well within the capabilities of the average web developer (which often aren't extensive :-). Bill -- INTERNET: [email protected: b...@celestial.com] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186
Once at a social gathering, Gladstone said to Disraeli, I predict, Sir, that you will die either by hanging or of some vile disease. Disraeli replied, "That all depends upon whether I embrace your principles or your mistress". _______________________________________________ CentOS mailing list [email protected: C...@centos.org] http://lists.centos.org/mailman/listinfo/centos
|
|
|
| 5) Bill Campbell Re: [CentOS] OT: Ping failed (SOLVED) |
|
|
| If the permissions on /bin/ping were incorrect, it may mean that your system has been cracked. You... |
|
|
|
|
|
|
|
On Thu, Dec 18, 2008, Jun Salen wrote: >>From what I can see nagios' check_ping monitor executes /bin/ping, >>in which case you need to make sure /bin/ping is owned by root >>and is setuid (chmod u+s /bin/ping) >> >>nate
>That solved it. Same with file permission with mount, umount, su, and >ping6. Thank you very much.
If the permissions on /bin/ping were incorrect, it may mean that your system has been cracked. You probably should check by running ``rpm -V iputils'' which will show changes in any files in the package. Crackers frequently hack system utilities to hide their presence on the system, particularly things like /bin/ps, /bin/login, /bin/netstat (pretty much anything in the /bin, /usr/bin, /sbin, and /usr/sbin directories). For a quick list of rpm packages that might be affected you can do: rpm -qf /bin/* /sbin/* | sort -u > /tmp/critpackages Then a quick check for changed files. This doesn't show the package names, but that's easy to find with ``rpm -qf fname''. rpm -V `cat /tmp/critpackages` Bill -- INTERNET: [email protected: b...@celestial.com] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186
When I hear a man applauded by the mob I always feel a pang of pity for him. All he has to do to be hissed is to live long enough. -- H.L. Mencken, Minority Report _______________________________________________ CentOS mailing list [email protected: C...@centos.org] http://lists.centos.org/mailman/listinfo/centos
|
|
|
| 6) Bill Campbell Re: [CentOS] OT: Need some riser card advice... |
|
|
| You might check with Silicon Mechanics as they build a lot of Supermicro boxes with 3Ware cards. I... |
|
|
|
|
|
|
|
On Fri, Dec 12, 2008, Ray Van Dolson wrote: >Fellow server-builders out there, this is for you. :) I was trying to >build a cheap JBOD type storage solution running CentOS. Ended up >snagging a Supermicro SC826TQ-R800LPB 2U case (12 drives slots) and a >Supermicro X7DBE-O motherboard. Unfortunately, without thinking I >snagged a 3ware 9650SE-12ML SATA RAID card which is a full height card >and thus does not fit in my case. > >I have a few options here: > > - Go with a 3U case instead. Now I have a 16-drive case with only a > 12-way card. :-) > - Return the 3Ware and order two of the 8-way cards which are > half-height. This means I love some of my space now however as I > have to have an extra spare drive per card. > - Get a PCI-E riser. > >The riser option I like, except I also have the BBU unit for my RAID >card meaning I need to ensure that I have enough clearance and support >for it when the card is mounted horizontally. You can mount the >battery elsewhere, but not the logic module...
You might check with Silicon Mechanics as they build a lot of Supermicro boxes with 3Ware cards. I have a couple of 2U boxes here that I'm preparing to deliver to a customer which have them. http://www.siliconmechanics.com/You may be able to find Supermicro parts on eBay as well. I have a 2U server here that I got on eBay which is working nicely. Bill -- INTERNET: [email protected: b...@celestial.com] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186
Only government can take perfectly good paper, cover it with perfectly good ink and make the combination worthless. -- Milton Friedman _______________________________________________ CentOS mailing list [email protected: C...@centos.org] http://lists.centos.org/mailman/listinfo/centos
|
|
|
| 7) Bill Campbell Re: [CentOS] pop3 attack |
|
|
| I've spent almost 20 years avoiding sendmail :-). Bill |
|
|
|
|
|
|
|
On Thu, Dec 11, 2008, Spiro Harvey wrote: >> >> define(`SMART_HOST',`smtp-server.carolina.rr.com')dnl >> >> MASQUERADE_AS(carolina.rr.com)dnl >> Or switch to postfix. I plunked "relayhost = >> smtp-server.roadrunner.com" into main.cf & away it went. > >why change software just because one configuration line is different?
I've spent almost 20 years avoiding sendmail :-). Bill -- INTERNET: [email protected: b...@celestial.com] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186
Taking the State wherever found, striking into its history at any point, one sees no way to differentiate the activities of its founders, administrators, and beneficiaries from those of a professional-criminal class. -- Albert Jay Nock, Our Enemy, The State _______________________________________________ CentOS mailing list [email protected: C...@centos.org] http://lists.centos.org/mailman/listinfo/centos
|
|
|
| 8) Bill Campbell Re: [CentOS] nfs slow? |
|
|
| We started using tcp with nfs about five years ago, largely to cure a problem where a system... |
|
|
|
|
|
|
|
On Wed, Dec 10, 2008, nate wrote: >John Kordash wrote: >>> 2.) Use TCP, UDP Transmits are often slow these days. (mount >>> option tcp) >> >> Hmm, care to share any references for this? I'd be reaching for NFS over >> TCP in a long-haul type environment, but would run it over UDP otherwise. > >At least in my case, both of the vendors I am using for high >performance NFS (BlueArc, and Exanet) have tcp as a best >practice. Exanet actually runs on top of CentOS 4.4 though >does not use the linux NFS stack.
We started using tcp with nfs about five years ago, largely to cure a problem where a system running SuSE 9.0 Pro with multiple IP addresses on the NIC was responding to NFS UDP packets from one of the aliased IP addresses, not the primary. This caused NFS mounts by OS X clients to fail as they expected to get the UDP packets back from the same IP to which they sent. Using tcp naturally fixed this, and I never got around to figuring out why the replies were coming from the aliases IP address. We use NFS mounted home Maildir directories on a system with about 10,000 e-mail accounts, and a cluster of 4 machines handling incoming e-mail, with most of the postfix configuration files NFS mounted as well. These handle about 100,000 incoming messages a day without problems (a fair number of which are dropped without delivery after checking with spamassassin). There are about 182,000 IMAP/POP3 daily logins to check mail. Load averages are fairly low on all the systems, and the incoming mail queues rarely get over five messages with most of the delivery time being spamassassin checking using a central bayesian database. The central server that has all the home directories generally runs with a load average around 0.50 (a 4-year old SLES 9.2 system with a single Intel(R) Pentium(R) 4 CPU 3.00GHz, 2GB RAM with 7,200 RPM Seagate Barracuda SATA drives, hardly a high performance machine compared to what we're building today. Bill -- INTERNET: [email protected: b...@celestial.com] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186
There are three kinds of men. The ones that learn by reading. The few who learn by observation. The rest of them have to pee on the electric fence for themselves. -- Will Rogers _______________________________________________ CentOS mailing list [email protected: C...@centos.org] http://lists.centos.org/mailman/listinfo/centos
|
|
|
| 9) Bill Campbell Re: [CentOS] pop3 attack |
|
|
| Or some other server where they are willing to whitelist that address. We do this for several of... |
|
|
|
|
|
|
|
On Wed, Dec 10, 2008, John R Pierce wrote: >Ned Slider wrote: >> Bill Campbell wrote: >> >>> Your IP address, 70.62.90.185, is listed on zen.spamhaus.org, and >>> you can probably go to their web site to see why it's listed. >>> >> >> It's listed on zen.spamhaus.org because it's in pbl.spamhaus.org which >> is a policy blocklist: >> >> http://www.spamhaus.org/pbl/query/PBL238253 >> >> Time Warner Cable/Road Runner's policy is not to permit outbound email >> for this IP address range. > >so, using a roadrunner mail server as a "smarthost" is the only viable >choice
Or some other server where they are willing to whitelist that address. We do this for several of our customers who are on networks that have delivery problems of one kind or another, usually on a port other that 25 to get around outgoing blocks or automatic redirection to a broadband provider's server. Bill -- INTERNET: [email protected: b...@celestial.com] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186
Currencies do not float, they sink at different rates. _______________________________________________ CentOS mailing list [email protected: C...@centos.org] http://lists.centos.org/mailman/listinfo/centos
|
|
|
| 10) Bill Campbell Re: [CentOS] pop3 attack |
|
|
| Your IP address, 70.62.90.185, is listed on zen.spamhaus.org, and you can probably go to their web... |
|
|
|
|
|
|
|
On Wed, Dec 10, 2008, James Pifer wrote: >On Tue, 2008-12-09 at 16:26 -0500, James Pifer wrote: >> Thanks to all. For now I've stopped it using iptables. I tried stopping >> it at my router without success, yet another reason to replace it! I >> will also report it to [email protected: a...@covad.net.] >> > >My issues have gotten worse. Apparently over the last few days my ip >address has gotten blacklisted. No idea why. Even though I have a >commercial class cable modem service, my ip is residential because it >comes to my house. But I've been running my mail server for several >years and never had an issue.
Your IP address, 70.62.90.185, is listed on zen.spamhaus.org, and you can probably go to their web site to see why it's listed. I have see quite a few cases where spam is sent from webmail accounts (mostly squirrelmail) by crackers who get access via weak passwords found by imap/pop probes as you described. It's been my experience in the 15 years we have been doing support for regional ISPs that well over 50% of their user's passwords are easily cracked, and that getting the users to use good passwords is difficult to say the least. Bill -- INTERNET: [email protected: b...@celestial.com] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186
Never blame a legislative body for not doing something. When they do nothing, that don't hurt anybody. When they do something is when they become dangerous. -- Will Rogers _______________________________________________ CentOS mailing list [email protected: C...@centos.org] http://lists.centos.org/mailman/listinfo/centos
|
|
|
| 11) Bill Campbell Re: [CentOS] pop3 attack |
|
|
| By the time you know the user has been compromised, it's too late. We normally don't allow password... |
|
|
|
|
|
|
|
On Tue, Dec 09, 2008, Chris Boyd wrote: > >On Dec 9, 2008, at 2:33 PM, Bill Campbell wrote: > >> Once the cracker finds an account with a guessable password, they >> may well >> be able to get access to your system as that user via ssh, webmin, >> usermin, >> or other means. Given shell access, the cracker can install user- >> level IRC >> servers or gain root access via exploits that only work for local >> users. I >> have seen cases where crackers were able to change user shells and >> other >> information via usermin or webmin by exploiting vulnerabilities in >> system >> utilities thus gaining access to the system. > >You can keep compromised accounts from logging in via ssh with the >"AllowUsers" option in your /etc/ssh/sshd_config file. Add that >option followed by a list of user names that you want to be able to >log in, ex:
By the time you know the user has been compromised, it's too late. We normally don't allow password authentication with ssh, requiring authorized_keys. In the cases where we have to allow password authentication, we severely restrict ssh acces using the /etc/hosts.allow file. Bill -- INTERNET: [email protected: b...@celestial.com] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186
Basic Definitions of Science: If it's green or wiggles, it's biology. If it stinks, it's chemistry. If it doesn't work, it's physics. _______________________________________________ CentOS mailing list [email protected: C...@centos.org] http://lists.centos.org/mailman/listinfo/centos
|
|
|
| 12) Bill Campbell Re: [CentOS] pop3 attack |
|
|
| If your users all have good passwords, it isn't much to worry about, but then users having good... |
|
|
|
|
|
|
|
On Tue, Dec 09, 2008, James Pifer wrote: >I was looking at my maillog and it looks like someone is trying to get >into my pop3 server. > >Dec 9 15:28:54 mailserver dovecot: pop3-login: Aborted login: user=< | | | |