Re: Mapping a netwok

2004-12-24 Thread Marty Landman
At 09:14 AM 12/24/2004, naim abu darwish wrote:
Consider you have a network that you know nothing about. if you have
traceroute results to and from many hosts, theoretically and map could
be drawn to visuallise the network using common intersections.
Naim, this may or may not be helpful but I wrote this bash script a while 
ago to establish which ip's were active on my class C network:

The code is:
#!/bin/bash
pingEm()
{
 echo "preparing pings"
 for((i=1;i<255;i++))
 do
 echo "ping -c1 192.168.0.$i > $$/$i &" >> pingEmAll.$$
 done
 echo "start pinging"
 chmod +x pingEmAll.$$ && `./pingEmAll.$$`
}
findEm()
{
 for((i=1;i<255;i++))
 do
 awk '/64 bytes from /' $$/$i > ans
 awk '{ print length($0) }' ans > len
 if [ `more len` ]
 then
 echo "$i is on the network"
 fi
 done
}
mkdir $$ && pingEm
findEm
rm -r $$ & rm pingEmAll.$$ ans len
echo End of story

The output looks like this:
$ ./findIps
preparing pings
start pinging
1 is on the network
3 is on the network
7 is on the network
160 is on the network
240 is on the network
End of story
$
hth,
Marty
Marty Landman, Face 2 Interface Inc. 845-679-9387
Search & Sort Easily: http://face2interface.com/Products/FormATable.shtml
Web Installed Formmail: http://face2interface.com/formINSTal
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: apache uses 100 % cpu

2004-02-28 Thread Marty Landman
At 04:47 PM 2/28/2004, Timo Veith wrote:

I will investigate this a little more, but I don't think I will compile my
own apache binary for this issue. Anyway I will tell the user to stop his
chat thing.
Timo, there are chats out there which may behave less, uh, poorly than this 
particular one. There's perl-chat, an old one that I adapted myself once. 
Also you might suggest they look on sourceforge.net which in my experience 
has good software available all open source.

Marty Landman   Face 2 Interface Inc.   845-679-9387
FormATable  DB: http://face2interface.com/Products/FormATable.shtml
Make a Website: http://face2interface.com/Home/Demo.shtml
Free Formmailer: http://face2interface.com/Products/Formal.shtml  

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: apache uses 100 % cpu

2004-02-28 Thread Marty Landman
At 02:56 PM 2/28/2004, Jeff S Wheeler wrote:

Barring that, though, what your apache processes are doing is trying to 
read that file, /home/jebu0001/homepage/jens/chat/php_chat_log, over and 
over again, most likely in a `tail -f` nature, but no new data is appearing.
Jeff, do you think that the apps are trying to flock the file? I'm curious 
what the app level issue is and how it could be done properly -- being more 
of a developer than sysadmin.

PHP is the single biggest cause of shared server problems at my company.
I wish the PHP CGI stuff worked right, as if it did, we would opt to use
that instead of the Apache PHP module.  It may be slower, but at least
that would limit what users can fuck up with third-party PHP scripts. :(
How do you find the stability of Apache mod_perl?

Marty Landman   Face 2 Interface Inc.   845-679-9387
FormATable  DB: http://face2interface.com/Products/FormATable.shtml
Make a Website: http://face2interface.com/Home/Demo.shtml
Free Formmailer: http://face2interface.com/Products/Formal.shtml  

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: a trojan is on your computer!

2004-02-25 Thread Marty Landman
At 12:57 PM 2/25/2004, [EMAIL PROTECTED] wrote:

And I have found your pc. Your pc is open on the internet for everybody!
Because the lsass.exe trojan is running on your system.
http://www.liutilities.com/products/wintaskspro/processlibrary/lsass/

Check this, open the task manager and try to stop that!
From what the page above says, if you can still run with lsass stopped 
your computer //will be open.

Sorry for my bad english!
Bad English is no problem... bad research (at minimum) is

Marty Landman   Face 2 Interface Inc 845-679-9387
Free Formmailer: http://face2interface.com/Products/Formal.shtml
FormATable  DB: http://face2interface.com/Products/FormATable.shtml
Make a Website: http://face2interface.com/Home/Demo.shtml
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]