Re: Apache ProxyPass and ModSecurity

2015-06-05 Thread Mike Ballon
the noindex error was again passed through, there were hundreds of subsequent blocks so mod_sec is working. On Thu, Jun 4, 2015 at 4:04 PM, Mike Ballon wrote: > > 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

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 m

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, wrote: > Hello Joe, as some

Re: append with eof

2015-03-12 Thread Mike Ballon
> test $ cat test 1 It takes a while to grasp, believe me. Sometimes I'll type something out and go, "huh, why didn't that work". Then I look at it, "doh!". read read read On Tue, Mar 10, 2015 at 1:45 PM, Michael Havens wrote: > why would it not work with ec

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 tes

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 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. Here is w

Re: ssh

2015-02-28 Thread Mike Ballon
n't mention that before. >> >> :-)~MIKE~(-: >> >> On Fri, Feb 27, 2015 at 11:17 PM, Michael Havens >> wrote: >> >>> The last line after running it with the verbose flags is: >>> >>> debug2: exec request accepted on channel 0 >>&

Re: ssh

2015-02-28 Thread Mike Ballon
hat before. > > :-)~MIKE~(-: > > On Fri, Feb 27, 2015 at 11:17 PM, Michael Havens wrote: > >> The last line after running it with the verbose flags is: >> >> debug2: exec request accepted on channel 0 >> >> :-)~MIKE~(-: >> >> On Fri, Feb 27, 2

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 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 > bandit25@me

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 wrote: > thanks for your help > > > :-)~MIKE~(-: > > On Wed, Feb 11, 2015 at 1:52 PM, Stephen Partington > wrote: > >> I have no idea. I just know that is how you get to ssh. >> >> >> On Wed, Feb 11, 2015 at 1:5

Re: How do I block (iptables) traffic on a #$%@ING bridge (br0)

2014-12-17 Thread Mike Ballon
Have you tried "--mac-source"? ie: iptables -A INPUT -m mac –mac-source the:mac:address: -j DROP On Wed, Dec 17, 2014 at 7:48 AM, wrote: > > Hello World: > This is the scenario: > MY.DSK.BOX (eth0) <=> (eth?) MY.BR0.BOX (eth?) <=> MY.TST.BOX (eth0) > I want to use iptables to stop unwanted traff

Re: fail2ban VS. denyhost

2014-10-15 Thread Mike Ballon
I hear ya knocking... https://www.digitalocean.com/community/tutorials/how-to-use-port-knocking-to-hide-your-ssh-daemon-from-attackers-on-ubuntu On Wed, Oct 15, 2014 at 1:10 PM, Stephen M wrote: > I am trying to learn about ssh and remoting into a computer from out of my > house. I have all t

OT - Fulltime experienced Linux SA in Scottsdale Wanted

2014-10-09 Thread Mike Ballon
As the topic reads - Required: LAMP, Shell Scripting, Mod_Security, AWS, Must be able to create and maintain documents in detail, Should have: Nagios, Basic AD Knowledge, Bachelor's or equivalent experience, ITIL Policies, Detailed Knowledge of the TCP/IP Protocol Suite such as DNS, Experience wi

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: 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 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 /dev/sda2' and it >

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, wrote: > Linux Lands on NSA Watch List > http://www.eweek.com/security/linux-lands-on-nsa-watch-list.html > ---

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, 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 an include at the

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

Re: change name

2014-05-06 Thread Mike Ballon
024 bytes, counting from 0 > >Device Boot Start End #cyls#blocks Id System > /dev/sdd1 46+ 88946- 88901- 1955808 83 Linux > start: (c,h,s) expected (46,6,1) found (1,78,9) > end: (c,h,s) expected (1023,10,4) found (34,10,4) > /dev/sdd2 0

Re: change name

2014-05-06 Thread Mike Ballon
y $> umount /dev/sdb1 $> mkfs.vfat /dev/sdb1 $> mount /dev/sdb /mnt/foobar $> touch /mnt/foobar/test.txt $> 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/s

Re: change name

2014-05-06 Thread Mike Ballon
open >>> > /dev/sdd1 >>> > Couldn't find valid filesystem superblock. >>> > >>> > could it be because it is a vfat file system? (while I love linux I >>> > like to have the ability for my flash drives to be used on com

Re: change name

2014-05-05 Thread Mike Ballon
gt; (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=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

Re: change name

2014-05-05 Thread Mike Ballon
e2label On Mon, May 5, 2014 at 7:05 PM, Michael Havens 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 > set that nam

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 wrote: > I'm trying to burn an iso and brasero disk burner is not working. It says: > >Please wa

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 wrote: > I’m working on a

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 o

Re: Upgrade to Debian testing hosed my system

2013-01-25 Thread Mike Ballon
>> ** ** >> >> Unfortunately, there is still no signal after a hard reboot. If there >> were, then I would do what you suggest. >> >> ** ** >> >> Any ideas on how I can determine what is wrong by using something like a >> knoppix cd? >> >> ** **

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 wrote: > >> 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 loa

Re: Upgrade to Debian testing hosed my system

2013-01-24 Thread Mike Ballon
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 into single user mode and try to figure out what's going on with the box. If you do not get the boot loader now we're talking a

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. htt

Re: seti@home

2012-12-20 Thread Mike Ballon
Wow, that brings back memories, man was I a geek ;) I had to check and see if my account was still there and it was! I think I had another account that contributed to group Navy, but I can't remember it. Doesn't look like I used this one too much... SETI@home member since 28 Mar 2001 SETI@home cl