Apache ProxyPass and ModSecurity

2015-06-04 Thread Mike Ballon
Apache 2.2 running as a reverse-proxy with another Apache 2.2 host and then a DB on the end. This is an AWS setup so the design is basically; load-balancer, pair of reverse proxies, pair of web hosts, database on the backend. I'm using a basic user-agent test to ensure at least basic function of

Re: Need a Linux tool to capture my own keystrokes ...

2015-05-08 Thread Mike Ballon
Couple of things that might help. script - make typescript of terminal session screen - screen manager with VT100/ANSI terminal emulation echo/read echo -n Password read -s password echo $password Or maybe... stty -echo / stty echo On Fri, May 8, 2015 at 8:19 AM, kitepi...@kitepilot.com

Re: append with eof

2015-03-10 Thread Mike Ballon
First, if you're just trying to backup conf files, then simply make a backup of the conf file and restore it when needed. To answer your question, yes, specifically with the cat command, this won't work with echo. You can test this on your own and t $ cat test EOF 1 2 3 EOF $ cat test 1 2

Re: does '' append directly after or put it on a new line

2015-03-09 Thread Mike Ballon
$ touch test $ echo 1 test $ echo 2 test $ cat test 1 2 On Mon, Mar 9, 2015 at 3:46 PM, Michael Havens bmi...@gmail.com wrote: all of my instructions for reinstalling my computers is saved into a text file for each computer. the pi is a new computer and I am doing it slightly different.

Re: ssh

2015-02-28 Thread Mike Ballon
, Michael Havens bmi...@gmail.com wrote: The last line after running it with the verbose flags is: debug2: exec request accepted on channel 0 :-)~MIKE~(-: On Fri, Feb 27, 2015 at 2:11 PM, Mike Ballon mike.bal...@gmail.com wrote: You're trying to ssh to the localhost? start with ssh -vvv

Re: ssh

2015-02-28 Thread Mike Ballon
bmi...@gmail.com wrote: The last line after running it with the verbose flags is: debug2: exec request accepted on channel 0 :-)~MIKE~(-: On Fri, Feb 27, 2015 at 2:11 PM, Mike Ballon mike.bal...@gmail.com wrote: You're trying to ssh to the localhost? start with ssh -vvv then your

Re: ssh

2015-02-27 Thread Mike Ballon
You're trying to ssh to the localhost? start with ssh -vvv then your arguments On Fri, Feb 27, 2015 at 3:52 PM, Michael Havens bmi...@gmail.com wrote: I'm trying to ssh into a computer. The shell it uses is not bash. I've run: bandit25@melinda:~$ ssh -i ./bandit26.sshkey bandit26@localhost

Re: MAC

2015-02-11 Thread Mike Ballon
Check out http://www.macports.org/ On Wed, Feb 11, 2015 at 3:55 PM, Michael Havens bmi...@gmail.com wrote: thanks for your help :-)~MIKE~(-: On Wed, Feb 11, 2015 at 1:52 PM, Stephen Partington cryptwo...@gmail.com wrote: I have no idea. I just know that is how you get to ssh. On

Re: Reducing image size

2014-09-24 Thread Mike Ballon
You're image size really depends on how much size you want to save I guess, although also if you're willing to have some non-visible pixel lose you could convert them as well. You can start playing around with 2048x1536 or similar just keep in mind your aspect ratio. Here's the for loop I use for

Re: Oh boy... We *ARE* criminals!!!

2014-07-11 Thread Mike Ballon
Unreal According to the DasErste report, the NSA considers Linux Journal to be an extremist forum. On Thu, Jul 10, 2014 at 7:42 PM, kitepi...@kitepilot.com wrote: Linux Lands on NSA Watch List http://www.eweek.com/security/linux-lands-on-nsa-watch-list.html

Re: df

2014-07-11 Thread Mike Ballon
Did you mount format /dev/sda2, mount it as something? udev is just the device manager On Fri, Jul 11, 2014 at 2:59 PM, Michael Havens bmi...@gmail.com wrote: I type in 'df' to see what it reports as free space but the new partition I created (/dev/sda2) isn't listed. I then typoe in 'df

Re: Where to define vhosts

2014-06-13 Thread Mike Ballon
Depends on the disto. /usr/local/apache2/conf/extra/httpd-vhosts.conf On Fri, Jun 13, 2014 at 3:05 PM, techli...@phpcoderusa.com wrote: I am wondering what the proper way to add vhosts to the Apache config. I've used 3 methods. 1) add them to the bottom of the httpd.conf file 2) add

Re: Need help with SPF record

2014-05-09 Thread Mike Ballon
I probably won't check email again today or even tomorrow, all I can really over is how to obtain the info since I'm not sure what the issue is. $ dig @8.8.8.8 apple.com txt ; DiG 9.8.3-P1 @8.8.8.8 apple.com txt ; (1 server found) ;; global options: +cmd ;; Got answer: ;; -HEADER- opcode:

Re: change name

2014-05-06 Thread Mike Ballon
5, 2014 at 5:51 PM, Mike Ballon mike.bal...@gmail.com wrote: It's I file system label so yes, you'll need to format. If there is no partition will have to create a partition before you can do a mkfs gparted should do all that for you On May 5, 2014 7:47 PM, Michael

Re: change name

2014-05-06 Thread Mike Ballon
$ ls /mnt/fobar test.txt -- oops forgot the renaming of volume, I'm on debian so $ apt-get install mtools Setting up mtools (4.0.17-1) ... $ mlabel -i /dev/sdb1 ::usb_stick again... gparted is your friend On Tue, May 6, 2014 at 9:42 AM, Mike Ballon mike.bal...@gmail.com wrote: if you

Re: change name

2014-05-06 Thread Mike Ballon
Usually you only need to specify start and size (and perhaps type). /dev/sdd1 :? trailing junk after number /dev/sdd1 : :-)~MIKE~(-: On Tue, May 6, 2014 at 7:29 AM, Mike Ballon mike.bal...@gmail.com wrote: First I was wrong to say that /dev/sdd1 would not exist it you simply unmounted it. I

Re: change name

2014-05-05 Thread Mike Ballon
e2label On Mon, May 5, 2014 at 7:05 PM, Michael Havens bmi...@gmail.com wrote: I have a few flash drives. When I plug them in to my computer a name referring to that flash drive appears in the file manager. I have two questions: the first is how do I change that name? The second is how do I

Re: change name

2014-05-05 Thread Mike Ballon
=0077,utf8=1,showexec,flush,uhelper=udisks2) and to format this and apply the label it would be: mkfs -t vfat /dev/sdc1;e2label /dev/sdc1 Goodwill :-)~MIKE~(-: On Mon, May 5, 2014 at 4:08 PM, Mike Ballon mike.bal...@gmail.com wrote: e2label On Mon, May 5, 2014 at 7:05 PM, Michael

Re: burning iso

2014-04-24 Thread Mike Ballon
dmesg output? message log? FYI: dd if=/home/myuser/my.iso of=/dev/dvd obs=32k seek=0 or man growisofs above not tested, writing from memory... On Thu, Apr 24, 2014 at 1:36 PM, Michael Havens bmi...@gmail.com wrote: I'm trying to burn an iso and brasero disk burner is not working. It says:

Re: ports blocked ... need help

2014-04-23 Thread Mike Ballon
netstat -na | grep 554 to see what address your binding to. netstat -na | find /I 554 for windoz. then use nc or telnet to test the port nc -v 554 from the source host. also could try nmap -v -p80 destination address On Wed, Apr 23, 2014 at 2:00 PM, David Schwartz

Linux/Android based alternative to RF Guns?

2013-03-07 Thread Mike Ballon
Greets to all, We use PSION Teklogix RF Guns for warehouse picking and while they work great, they cost an arm and a leg. For what they do, it's crazy what they cost... So i'm looking for something in an embedded device or a PDA/Tablet with powerful IR. They would need to either have a keyboard

Re: Upgrade to Debian testing hosed my system

2013-01-24 Thread Mike Ballon
is wrong by using something like a knoppix cd? Mark On Thu, Jan 24, 2013 at 6:52 AM, Mike Ballon mike.bal...@gmail.comwrote: If there is no signal to the monitor with the box up I would reboot it. From there you'll need to figure out if the boot loader is intact or not. If it is you can boot

Re: Kernel Versions

2012-12-21 Thread Mike Ballon
Developers and technology are probably your biggest factors involved. I don't remembering reading anything from Linus or anyone else that states, we'll support each dot release for X months/years. Wikipedia has a pretty good article that I think you'd find interesting if you haven't read it.