591 reputation
39
bio website andys.org.uk
location Victoria, British Columbia, Canada
age 32
visits member for 4 years, 4 months
seen Jul 6 at 7:02

Seasoned UNIX, Security and Network engineer. I'm here to answer questions I can help with, and to learn new things in the process.

Experience with:-

  • Linux (Debian, Slackware, RHEL/CentOS, SuSE) - RHCE certified.
  • Solaris (2.6 and up)
  • Windows Server (2000 upwards)
  • Can write in Perl, bash, PHP, C#
  • Cisco switching/routing (both IOS and CatOS) and security gear (PIX, ASA, FWSM, etc.)
  • Checkpoint Firewall-1 and Provider-1
  • F5 BIG-IP LTM and GTM

...and much more. My CV is available on request, and my LinkedIn profile is here.

Thanks for stopping by!


Dec
2
comment Trying convert webserver certificate to PEM file for wireshark to monitor ssl traffic in HTTP format
The handshaking between server and client is more detailed than I can describe in a comment - have a look at en.wikipedia.org/wiki/Transport_Layer_Security for more details. If they key/certificate are unencrypted, then you can just copy and paste them both into the same file. Have a look at madboa.com/geek/openssl for more.
Sep
12
comment How to create a fourth level wildcard subdomain DNS record ?
A quick google throws up support.dnsmadeeasy.com/…. Never used them, so I can't help further unfortunately.
Sep
12
comment OSX: The item XYZ.txt~ can’t be moved to the Trash because it can’t be deleted
I've no experience of OSX as such, but bear in mind that when you're running sudo from a terminal, it's going to look in the current directory, not necessarily where the file XYZ.txt~ is. I'm guessing this is the source of your No such file of directory errors.
Sep
12
comment Cannot symlink MyISAM databases
Not sure if this would cause the error, but does the mysql user have access to the /ude/repo/site-nameX/db directories?
Sep
12
comment How to create a fourth level wildcard subdomain DNS record ?
What are you using to serve out DNS records? If it's bind, it should be straightforward enough.
Jan
15
comment Use both OpenVPN & eth0 together
Apologies - I made a typo in my previous comment - instead of ! --dports 80,443, try --dports 80,443 - i.e., without the ! before --dports.
Jan
14
comment Use both OpenVPN & eth0 together
iptables -L will only show you the standard table - you want iptables -t nat -L. To do the opposite of what I said, you could do iptables -t nat -A POSTROUTING -s 10.10.98.0/24 ! -d 10.10.98.0/24 -p tcp -m multiport ! --dports 80,443 -j SNAT --to-source 10.100.98.4
Dec
20
comment DD-WRT OpenVPN client - cannot get “lan” connected device to route traffic
No problem. I'd start by adding a log line to the end of all your iptables chains, and see if anything's being dropped.
Dec
20
comment Regular expression and grep not working
No problem! :-)
Dec
19
comment linux memory usage check in details
Anyway, in response to the original question, you might find linuxforums.org/articles/using-top-more-efficiently_89.html useful.
Dec
19
comment linux memory usage check in details
From the man page: The total amount of virtual memory used by the task. It includes all code, data and shared libraries plus pages that have been swapped out and pages that have been mapped but not used. I may be misreading, but the phrase pages that have been swapped out is definitely in there.
Dec
19
comment linux memory usage check in details
@mattdm I'm aware of that, but as you say it's not straightforward... otherwise I may just as well have pasted the section out of the man page ;-) RES is the The non-swapped physical memory a task has used... take your point about VIRT though.
Dec
19
comment how to use linux rename
@grawity Cheers for that... I was going on it being the perl-based one, and to keep things to a minimum I went for the shell-only option ;-) Thanks for the tip though!
Dec
19
comment how to use linux rename
That's a bit weird. Any errors of any kind?
Dec
19
comment how to use linux rename
Odd... I created a few files with the same naming convention you're using, and it works fine. How are you running it?
Dec
19
comment how to use linux rename
rename 's/^\d+-\d+\s//g' *.m4a should do the trick, though!
Dec
19
comment how to use linux rename
It's just shell... so you should be able to run that straight from the commandline. I'd imagine it is doable with rename, but I've not used it much myself.
Dec
18
comment Auto-restart process on crash
Sounds like something I should write :-D