iptables-save on rhel5 outputs:
-A RH-Firewall-1-INPUT -s 12.3.4.5/255.255.0.0 -p tcp -m tcp -j ACCEPT
whereas rhel6 outputs
-A RH-Firewall-1-INPUT -s 12.3.4.5/16 -p tcp -m tcp -j ACCEPT
Wanting to normalise iptables-save to one form or the other (preferably
using the dotted quad netmask), the best I can come up with is a line by
line grep (for optimisation perhaps, since a match wont happen often) for
/<number> and then extract the number, pass to cidr2mask, and replace
/<number> in that line (this is part of a self contained shell script that
will be executed on the fly on another host, so I'd rather not rely on
anything that isn't already in RHEL, ie no writing a perl sript myself
unless it's a one liner perl -e thing).
What flag to iptables-save am I missing where it does this for me?
--
Tim Connors
Just got what looks to be a pretty good deal on what appears to have
GPL version of the code made available.
Got this D-Link Modem - hopes weren't high but it appears pretty
reasonable 802.11bgn + 8 LAN ports switch + WAN router.
I noticed that it contained a "D-LINK GPL Code Statement" with link
http://tsd.dlink.com.tw/GPL.asp
which turns out to be their GPL web interface which lists masses of
products and a download links to source code
which includes my DIR-632 (took a little time to find it amongst the
massive number of items).
I am downloading it now - 185Mb. See what you actually get in that.
The modem itself is rather nice - it has most features you could think
of (no CLI though, Web interface) and has a
built in manual that explains each feature in detail!
I suspect they are letting them go at that price because the new
802.11ac modems have arrived.
See http://www.msy.com.au/images/ADbanner/eletter/04042013/online/html.html
for the original promotion.
Anyway thought others might be interested in this and perhaps an
example of GPL compliance that seems pretty good...
Andrew
Last night after some updates on my media server, one of the disks in a
mirror set failed a SMART check and was kicked out (fortunately I have good
backups). It's failing on the bad sector count but I haven't done a deeper
analysis yet.
However it's time to bite the bullet and do some upgrade work. I'm
intending to replace all of the disks with larger ones to increase the
storage size and when I do, use ZFS.
The box is based around a Gigabyte GA-880GM-USB3 mobo, with an AMD Phenom
II X6 1055T cpu and buckets of RAM and the OS on a 240Gb SSD.
So I'm looking for a strategy re the implementation of ZFS. I can install
up to 4 SATA disks onto the mobo (5 in total with one slot used by the SSD)
--
Colin Fee
tfeccles(a)gmail.com
On 22/07/2013 6:27 AM, Andrew McGlashan wrote:
> http://ubuntuforums.org/announce.html
>
> Part of the maintenance page below ....
Just a quick update
TL;DR -- still down for users, restored, being tested by admins.
Progress report
2013-07-20 2011UTC: Reports of defacement
2013-07-20 2015UTC: Site taken down, this splash page put in place
while investigation continues.
2013-07-21: we believe the root cause of the breach has been
identified. We are currently reinstalling the forums software from
scratch. No data (posts, private messages etc.) will be lost as part of
this process.
2013-07-22 -> 2013-07-25: work on reinstalling the forums continues.
2013-07-26: the forums are up running again and being tested
privately by Forum administrators.
Cheers
A.
I'm thinking of purchasing either a PCI Express card or a wireless USB adapter
that can be used to create an 802.11n access point under Linux using hostapd.
Notoriously, products can change quickly and one has to be sure to buy a
device with the right chip set. My research so far indicates that an Atheros
chip would be best - they seem to be well supported and the manufacturer is
(or was) helping with the Linux drivers.
A USB device would be slower, of course, but more portable - just connect it
to any desktop/laptop with Linux installed. Alternatively, I could install a
card in my main desktop machine, which has PCI Express slots available (but no
PCI slot due to another card).
Can this be made to work reliably? Any product recommendations would be
welcome.
On the USB side, this Web page mentions some potential devices:
http://forum.doozan.com/read.php?2,6300
Is anyone running Debian Jessie yet? Previously I was running Wheezy with a few packages from Sid and experimental, but in the past it's taken a month or two for the new testing release to reach some form of stability.
Thanks
James
I've got a Dell Poweredge tower server running RAID-Z1 on 4 internal disks.
I'd like to extend it with another maybe 8 disks in a RAID-Z2 with the option
of easily adding another 8 or 16 later. The system has an eSATA connector so
an enclosure that provides 24*3.5" disks with a SATA interface (not SCSI
because I need SMART to work) at 6Gb/s (600MB/s) will do.
Does anyone know of such an enclosure that's cheap? Ideally it wouldn't be
excessively noisy (although 24 disks isn't going to be that quiet) because
it's not a rack-mount system.
Before someone comments on the speed, this is mostly for archival and the data
will be accessed over a single Gig-E connection. So I need 100MB/s data
transfer out of the system (maybe 140MB/s if a USB device is being used at the
same time) and the 600MB/s will only be for zpool scrub.
--
My Main Blog http://etbe.coker.com.au/
My Documents Blog http://doc.coker.com.au/
I'm getting some errors on a zpool scrub operation. It's obvious that sdd has
the problem both from the below output of zpool status and from the fact that
the kernel message log has read errors about sdd.
But how can I get detail about what has gone wrong? Has sdd given corrupt
data in addition to read failures? Presumably the "(repairing)" string will
disappear as soon as the scrub finishes, when that happens how would I
determine that sdd was to blame without the kernel error log?
# zpool status
pool: tank
state: ONLINE
scan: scrub in progress since Thu Jul 25 16:38:01 2013
1.01T scanned out of 10.3T at 164M/s, 16h26m to go
1.40M repaired, 9.80% done
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
sda ONLINE 0 0 0
sdb ONLINE 0 0 0
sdc ONLINE 0 0 0
sdd ONLINE 0 0 0 (repairing)
--
My Main Blog http://etbe.coker.com.au/
My Documents Blog http://doc.coker.com.au/
Hi all,
OpenSUZE 12.3 64 bit, tring to install Lightzone.
what is going on here, please?
linux-bczj:/home/andrew/Downloads # rpm -iv
liblzma5-5.0.5-1.1.x86_64.rpmPreparing packages...
package liblzma5-5.0.5-1.1.x86_64 is already installed
linux-bczj:/home/andrew/Downloads # lightzone
Starting LightZone version 4.0.0 ...
with options :
liblzma was not found on the system; exiting
linux-bczj:/home/andrew/Downloads #
Many thanks
Andrew Greig