how to block everything from an entire /24

2001-04-16 Thread Sibuyas
hi!

ive been getting funny looking entries from my log file, and everytime this
happens, load average on our server would go as high up as 20++, then mysql,
among other processes, would die.  here're a few lines from the serverlog:

Apr  8 22:38:53 ickis kernel: Packet log: input DENY eth0 PROTO=6 
203.167.117.88:1053
209.61.158.13:80 L=59 S=0x00 I=38406 F=0x4000 T=106 (#1) 
Apr  8 22:38:54 ickis kernel: Packet log: input DENY eth0 PROTO=6 
203.167.117.88:1076
209.61.158.13:31 L=48 S=0x00 I=38662 F=0x4000 T=106 SYN (#1) 
Apr  8 22:38:54 ickis kernel: Packet log: input DENY eth0 PROTO=6 
203.167.117.88:1077
209.61.158.13:33 L=48 S=0x00 I=38918 F=0x4000 T=106 SYN (#1) 


can anyone pls tell me what those lines in the log mean?  and how do i stop
it?
and also, how do i block out everything coming from 203.167.117.0/24?

thanks,
sib

-
A world of Information. The journey begins here. At Home.
Internet Cebu's web based mail. http://www.i-mailbox.net




how to block everything from an entire /24

2001-04-15 Thread Sibuyas

hi!

ive been getting funny looking entries from my log file, and everytime this
happens, load average on our server would go as high up as 20++, then mysql,
among other processes, would die.  here're a few lines from the serverlog:

Apr  8 22:38:53 ickis kernel: Packet log: input DENY eth0 PROTO=6 203.167.117.88:1053
209.61.158.13:80 L=59 S=0x00 I=38406 F=0x4000 T=106 (#1) 
Apr  8 22:38:54 ickis kernel: Packet log: input DENY eth0 PROTO=6 203.167.117.88:1076
209.61.158.13:31 L=48 S=0x00 I=38662 F=0x4000 T=106 SYN (#1) 
Apr  8 22:38:54 ickis kernel: Packet log: input DENY eth0 PROTO=6 203.167.117.88:1077
209.61.158.13:33 L=48 S=0x00 I=38918 F=0x4000 T=106 SYN (#1) 


can anyone pls tell me what those lines in the log mean?  and how do i stop
it?
and also, how do i block out everything coming from 203.167.117.0/24?

thanks,
sib

-
A world of Information. The journey begins here. At Home.
Internet Cebu's web based mail. http://www.i-mailbox.net


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




PHP question on query string formatting

2001-03-28 Thread Sibuyas

hello list!

if i enter this string inside a textarea input box:


it's  a "sample"
string!


and the form method used is GET, the string is passsed in the query string looking
like this:

it%27s+%26+a+%22sample%22%0D%0Astring%21


where i need help... using PHP, how do you convert the first string into a single
line query string format just like the 2nd one?

i tried using the htmlentities() function but it converts things wrongly. it
looks like this:

it's%20amp;%20a%20quot;samplequot;

...  hope someone can help.

regards everyone,
sib

-
A world of Information. The journey begins here. At Home.
Internet Cebu's web based mail. http://www.i-mailbox.net


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




PHP question on query string formatting

2001-03-28 Thread Sibuyas
hello list!

if i enter this string inside a textarea input box:


it's  a sample
string!


and the form method used is GET, the string is passsed in the query string 
looking
like this:

it%27s+%26+a+%22sample%22%0D%0Astring%21


where i need help... using PHP, how do you convert the first string into a 
single
line query string format just like the 2nd one?

i tried using the htmlentities() function but it converts things wrongly. it
looks like this:

it's%20amp;%20a%20quot;samplequot;

...  hope someone can help.

regards everyone,
sib

-
A world of Information. The journey begins here. At Home.
Internet Cebu's web based mail. http://www.i-mailbox.net




Re: apache question

2000-07-07 Thread Sibuyas

 Sounds like the 2nd NIC isn't fully turned on.

its fully on, I can ping the 2nd IP add happily, telnet to it, etc ...  

 I also think you'll need ip based vhosts in Apache to make it listen to a
2nd NIC.

can I ask for some help on this ?  i need apache to listen to both NICs

TIA
sib

-
A world of Information. The journey begins here. At Home.
Internet Cebu's web based mail. http://www.i-mailbox.net




changing UR main www site's IP add

2000-06-26 Thread Sibuyas
good day all!

how do you guys go about changing the IP address of your main www site's IP
address (w/o the end users experiencing any problems)?  you cant just change
ur DNS record and redo ur apache config right ?

help pls.

sib

-
A world of Information. The journey begins here. At Home.
Internet Cebu's web based mail. http://www.i-mailbox.net




banning IP adds or /24 from http server

2000-06-06 Thread Sibuyas
hi !

how do I ban a list of IP adds (or an entire /24) from ever accessing my apache
http server ?  i always thought /etc/hosts.deny can do this but i just 
discovered
that i was wrong.

thanks,
sib

-
A world of Information. The journey begins here. At Home.
Internet Cebu's web based mail. http://www.i-mailbox.net