squid with antivirus

2006-08-05 Thread Imran Imtiaz
I have a router for an internal LAN, i use squid for HTTP and FTP proxy cache 
and I want to setup an antivirus so when somebody download a file from the 
internet, the antivirus will scan the file and block it with an error message 
if the file is infected.

I want to ask which is the best software for this ?

Regards,
Imran

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


squid response

2006-06-24 Thread Imran Imtiaz

I wanna ask does squid queue the requests if there are to many already to serve 
cause I've slow internet connection and sometimes where there is to much load 
the I can't see the requests coming from my computer being served by hit I've 
seen this from access.log of squid. Is there a way to improve this thing we can 
have threading in this case or something else to server ?

regards
imran
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


file creation date in freebsd

2006-06-17 Thread Imran Imtiaz
However we can find the modification date of a file but is it possible that we 
can also get creation date of the file?

regards,
Imran Imtiaz

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


why dns timeout error is occuring

2006-05-29 Thread Imran Imtiaz

I am having a local dns server that resolves the ips for my lan but when it try 
to resolve an ip it give me dns timeout error and also resolves the IP what can 
the the problem, below is the output of nslookup command on windows.

C:\Documents and Settings\Imran>nslookup bsd.thelakecity.com.pk
Server:  darkstar.thelakecity.com.pk
Address:  192.168.0.3

DNS request timed out.
timeout was 2 seconds.
Name:darkstar.thelakecity.com.pk
Address:  192.168.0.3
Aliases:  bsd.thelakecity.com.pk


regards,
Imran

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


squid questions

2006-05-29 Thread Imran Imtiaz
I'm running squid on my freebsd but in the log most of the pages are TCP_MISS 
is that fine aur I'll have to tune squid a bit more.
Most of the configurations are default.

Regards,
Imran

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


bringing down and interface when system start

2006-05-27 Thread Imran Imtiaz
how can I bring down (disable) a network interface after the system start? what 
would I've to type in /etc/rc.conf file?

regards,
Imran Imtiaz

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


what does this mean

2006-05-21 Thread Imran Imtiaz
i've seen the following log in my messages can any body tell me what does it 
mean?

May 21 02:50:29 darkstar sm-mta[55021]: k4KLoTeq055021: localhost [127.0.0.1] 
did not issue MAIL/EXPN/VRFY/ETRN during connection to MSA

regards,
Imran 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


webalizer

2006-05-20 Thread Imran Imtiaz
I am using webalizer to generate graphs from my apache logs but its does not 
show that from which country how many users have visited my site. Is there an 
switch to make that work?

regards,
Imran

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


freebsd log watching utility

2006-05-20 Thread Imran Imtiaz
Is there any utility in freebsd that watches the logs and email me the report?

regards,
Imran

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


encrypting files with a phrase

2006-05-20 Thread Imran Imtiaz
how can i encrypt files on freebsd by using a password phrase so the if some 
one needs to decrypt the file he can decrypt with the phrase given.

regards,
Imran 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


apache not working

2006-05-20 Thread Imran Imtiaz
My apache server is giving me the following error today when i tried to start 
it as it will working fine a few days ago but after my system had an improper 
shutdown then apache start giving me the following error kindly help in this 
matter.

[EMAIL PROTECTED] squid]# apachectl start
/libexec/ld-elf.so.1: Shared object "libexpat.so.5" not found, required by 
"httpd"
/usr/local/sbin/apachectl start: httpd could not be started


regards,
Imran 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


what does this message means

2006-03-26 Thread Imran Imtiaz
I got the following in my daily security check logs. what does it mean?

Mar 26 14:27:17 darkstar sshd[90821]: reverse mapping checking getaddrinfo for 
genesis-27-156-16-del.genesipr.com failed - POSSIBLE BREAKIN ATTEMPT!
Mar 26 14:27:22 darkstar sshd[90823]: reverse mapping checking getaddrinfo for 
genesis-27-156-16-del.genesipr.com failed - POSSIBLE BREAKIN ATTEMPT!
Mar 26 14:27:26 darkstar sshd[90825]: reverse mapping checking getaddrinfo for 
genesis-27-156-16-del.genesipr.com failed - POSSIBLE BREAKIN ATTEMPT!
Mar 26 14:27:30 darkstar sshd[90827]: reverse mapping checking getaddrinfo for 
genesis-27-156-16-del.genesipr.com failed - POSSIBLE BREAKIN ATTEMPT!
Mar 26 14:27:35 darkstar sshd[90836]: reverse mapping checking getaddrinfo for 
genesis-27-156-16-del.genesipr.com failed - POSSIBLE BREAKIN ATTEMPT!

regards,
Imran

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


wireless (802.11x) sniffer

2006-03-24 Thread Imran Imtiaz
which is best wireless network card sniffer except kismet cause kismet is not 
being installed on my system?

Imran
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


pix 501 and freebsd

2006-03-24 Thread Imran Imtiaz
how can i use pix firewall to make a transparent to on my freebsd server.
sorry if i am on the wrong place.

regards,
Imran

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


mounting nfs share

2006-03-17 Thread Imran Imtiaz
what is the command to mount NFS share?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


unable to install horde

2006-03-10 Thread Imran Imtiaz
I am trying to install horde but it is giving me the following error

[EMAIL PROTECTED] www]# cd horde
[EMAIL PROTECTED] horde]# make
Unknown extension domxml for PHP 5.
*** Error code 1

Stop in /usr/ports/www/horde.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


computer rebooted automatically

2006-03-03 Thread Imran Imtiaz
I got the following error and  my computer rebooted automatically what can be 
the problem for this? below is what log show

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x50074
fault code  = supervisor read, page not present
instruction pointer = 0x8:0xc05fe788
stack pointer   = 0x10:0xe71f48d8
frame pointer   = 0x10:0xe71f4998
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 40994 (sshd)
trap number = 12
panic: page fault
Uptime: 5d16h47m17s
Cannot dump. No dump device defined.
Automatic reboot in 15 seconds - press a key on the console to abort
Rebooting...

regards,
Imran Imtiaz

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


error message and system rebooted automatically

2006-03-03 Thread Imran Imtiaz
I got the following error and  my computer rebooted automatically what can be 
the problem for this? below is what log show

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x50074
fault code  = supervisor read, page not present
instruction pointer = 0x8:0xc05fe788
stack pointer   = 0x10:0xe71f48d8
frame pointer   = 0x10:0xe71f4998
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 40994 (sshd)
trap number = 12
panic: page fault
Uptime: 5d16h47m17s
Cannot dump. No dump device defined.
Automatic reboot in 15 seconds - press a key on the console to abort
Rebooting...

regards,
Imran Imtiaz

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


proxy, nat and traffic shapping

2006-02-22 Thread Imran Imtiaz
Hi ! 


I have FreeBSD 5.4 installed. 
There is IPFIREWALL, IPFIREWALL_FORWARD, IPDIVERT and DUMMYNET in my 
kernel configration. 
On my FBSD gateway to the Internet I would like to use NAT (of course 
:-))) ), transparent proxy and limit the outgoing traffic. 
xl0 (62.169.170.166/30) is the public interface, xl1 (192.168.1.1/24) is 
the private one. 


If my firewall rules look like: 
ipfw pipe 1 config bw 256Kbit/s queue 40Kbytes 
ipfw add 47 pipe 1 ip from any to any out via xl0 
ipfw add 48 allow ip from 192.168.1.1 to any 
ipfw add 49 fwd 192.168.1.1,3128 tcp from 192.168.1.0/24 to any 80 
ipfw add 50 divert 8668 ip from any to any via xl0 
... (the rest of OPEN firewall rules) 
nothing except http (because of transparent proxy, I think) goes through 
the gateway from the local net. 


If my firewall rules look like: 
ipfw pipe 1 config bw 256Kbit/s queue 40Kbytes 
ipfw add 47 pipe 1 ip from 62.169.170.166 to any out via xl0 
ipfw add 48 allow ip from 192.168.1.1 to any 
ipfw add 49 fwd 192.168.1.1,3128 tcp from 192.168.1.0/24 to any 80 
ipfw add 50 divert 8668 ip from any to any via xl0 
... (the rest of OPEN firewall rules) 
everything works fine except except the bandwith limitation. 


Do you have any ideas, how to get these three things (bandwith 
limitation, nat, transparent proxy) work together ? 


Thanks a lot in advance. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


error log meaning

2006-02-08 Thread Imran Imtiaz
I have seen the following error in my messages file can anyone tell me what 
does it mean? is my computer being hacked?

Refused PORT 207,46,133,140,1,21 (address m
ismatch)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


field description

2006-01-14 Thread Imran Imtiaz
when i do w
wicontrol ath0 -L
it shows me the aps that are currently running i am pasting the output
SSIDBSSID Chan SN  S  N  Intrvl Capinfo
  [ 00:11:92:3e:35:80 ]  [ 1  ]  [  0  0  0 ]  100  [ ess priv 
shpr shst ]
  [ 1 2 5.5 6 9 11 12 18 24 36 ]
LakeCity  [ 00:a0:c5:9e:b4:85 ]  [ 2  ]  [  0  0  0 ]  100  [ ess priv ]
  [ 1 2 5.5 11 ]
MisDept   [ 00:06:25:df:83:3d ]  [ 6  ]  [  0  0  0 ]  100  [ ess ]
  [ 1 2 5.5 11 ]
Yousuf[ 00:14:bf:04:d1:f9 ]  [ 6  ]  [  0  0  0 ]  100  [ ess ]
  [ 1 2 5.5 6 9 11 12 18 24 36 ]
c
can anyone tell me what does Capinfo field means e.g; ess = ?? priv = ?? shpr = 
?? shst = ??

regards,
Imran Imtiaz
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


is it an attack?

2006-01-11 Thread Imran Imtiaz
I got the following messages is it really an attack attempt

Jan 10 23:23:22 darkstar sshd[58484]: reverse mapping checking getaddrinfo for 
58.25-183.uio.satnet.net failed - POSSIBLE BREAKIN ATTEMPT!
Jan 10 23:23:26 darkstar sshd[58486]: reverse mapping checking getaddrinfo for 
58.25-183.uio.satnet.net failed - POSSIBLE BREAKIN ATTEMPT!
Jan 10 23:23:30 darkstar sshd[58488]: reverse mapping checking getaddrinfo for 
58.25-183.uio.satnet.net failed - POSSIBLE BREAKIN ATTEMPT!
Jan 10 23:23:33 darkstar sshd[58497]: reverse mapping checking getaddrinfo for 
58.25-183.uio.satnet.net failed - POSSIBLE BREAKIN ATTEMPT!
Jan 10 23:23:37 darkstar sshd[58499]: reverse mapping checking getaddrinfo for 
58.25-183.uio.satnet.net failed - POSSIBLE BREAKIN ATTEMPT!
Jan 10 23:23:40 darkstar sshd[58501]: reverse mapping checking getaddrinfo for 
58.25-183.uio.satnet.net failed - POSSIBLE BREAKIN ATTEMPT!
Jan 10 23:23:44 darkstar sshd[58503]: reverse mapping checking getaddrinfo for 
58.25-183.uio.satnet.net failed - POSSIBLE BREAKIN ATTEMPT!
Jan 10 23:23:47 darkstar sshd[58505]: reverse mapping checking getaddrinfo for 
58.25-183.uio.satnet.net failed - POSSIBLE BREAKIN ATTEMPT!


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


saving wireless setting

2006-01-08 Thread Imran Imtiaz
How can I save the setting of my wireless lan card e.g ip, ssid etc cause every 
time i reboot my system i have to reconfigure my system.

regards,
Imran Imtiaz

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


freebsd.org email

2006-01-07 Thread Imran Imtiaz

Can I get an email address on @freebsd.org ?

Regards,
Imran Imtiaz

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


(no subject)

2006-01-05 Thread Imran Imtiaz





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


internet on two lan cards

2006-01-05 Thread Imran Imtiaz
I have three lan cards on my system on which two lan cards have the alive ip 
now what i want is that how can i gave them different gateways cause i want 
some traffic to be passed from one lan card (one internet connection of isp) 
and some other traffic to be passed from other lan card (internet of other 
companies isp) how is it possibe this is some sort of load balancing ?

regards,
imran imtiaz

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


wirless ap detection utility

2006-01-05 Thread Imran Imtiaz
which is the best wireless ap detection and signal strength utility cause i 
have installed bsd-aitool and used its utility dstumber which gives me the 
following error error: unable to ioctl device socket: Operation now in progress
 so is there any other utility for this??

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


making something like a router

2006-01-04 Thread Imran Imtiaz
I have a freebsd system that has three lan cards one lan card is for lan and 
the other two are for wan what I want now is the I want certain ip to be passed 
on one wan interface and certain other ip's to be passed  from other wan 
interface how is it possible, I willl appreciate if someone will also give me 
the configuration.

Regards,
Imran Imtiaz

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


blocking yahoo messenger

2006-01-02 Thread Imran Imtiaz
how can I block yahoo messenger using ipf?

Regards,
Imran Imtiaz

l.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


traffic shapping

2005-12-31 Thread Imran Imtiaz
from where i can get a tutorial of altq which will simple to understand?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


squid cache export

2005-12-28 Thread Imran Imtiaz
i am running squid on my freebsd 5.4 now i want to shift on freebsd 6.0 is 
there a way that I can import my old  cached object on the new system cause i 
have a huge cache which i don't wanna lose.

regards,
imran imtiaz

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ftp nologin problem

2005-12-27 Thread Imran Imtiaz
I am running ProFTPD 1.2.10 on my bsd server but the problem is that if a user 
don't have a shell and I've defined his shell as nologin then the ftp server 
does not logon and give the following error
C:\Documents and Settings\Asif>ftp 192.168.0.3
Connected to 192.168.0.3.
220 ProFTPD 1.2.10 Server (ProFTPD Default Installation) [192.168.0.3]
User (192.168.0.3:(none)): db.backup
331 Password required for db.backup.
Password:
530 Login incorrect.
Login failed.
ftp>

tell me how can I correct this problem cause I don't want to give user a shell.
Regards,
Imran Imtiaz

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


kernel options

2005-12-26 Thread Imran Imtiaz
where can i find all the customization options of ther kernel? cause in GENERIC 
kernel there are many options missing so where can i get all the options like 
if i want to add quota and all others.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ker.ipc.maxpipekva error again and again

2005-12-26 Thread Imran Imtiaz
I am getting the following messages again and again, why it is accuring and how 
can I correct and track it?
Dec 27 00:48:00 darkstar kernel: kern.ipc.maxpipekva exceeded; see tuning(7)
Dec 27 00:49:00 darkstar kernel: kern.ipc.maxpipekva exceeded; see tuning(7)
Dec 27 00:51:10 darkstar last message repeated 10 times
Dec 27 01:01:10 darkstar last message repeated 41 times
Dec 27 01:11:10 darkstar last message repeated 42 times
Dec 27 01:21:10 darkstar last message repeated 42 times
Dec 27 01:31:10 darkstar last message repeated 43 times
Dec 27 01:41:10 darkstar last message repeated 42 times
Dec 27 01:51:10 darkstar last message repeated 42 times
Dec 27 02:00:00 darkstar last message repeated 38 times

regards,
Imran Imtiaz
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


dlink wireless adapter

2005-12-25 Thread Imran Imtiaz
how can i make my dlink DWL-G122 wireless usb adapter work with freebsd?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


default password of toor

2005-12-22 Thread Imran Imtiaz
what is the default password of toor cause i have forgotton my roots password 
so any one could help me in recovering ?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


network monitoring tool

2005-12-19 Thread Imran Imtiaz
can anyone tell me which is the best network monitoring tool for unix which can 
tell me that from which ip the traffic is comming and the type of traffic and 
in which i can give a criteria like today which ip has downloaded how much 
amount of data. I am currently using ntop but it is not showing me the details 
based on criteria it just show me the traffic from the day it is up. I want 
something simple and effective.

Regards,
Imran Imtiaz
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ftp problem

2005-12-12 Thread Imran Imtiaz
I am running a ftp server on my computer it works fine if i do not enable the 
firewall but as I enable the firewall on my system ftp doesn't works although I 
have open port 21 in firewall. my ftp client do gets connected but when i try 
to dir or any other commands its say no route. below is the output of my ftp 
client
C:\Documents and Settings\Asif>ftp darkstar.thelakecity.com.pk
Connected to darkstar.thelakecity.com.pk.
220 ProFTPD 1.2.10 Server (ProFTPD Default Installation) [202.59.74.139]
User (darkstar.thelakecity.com.pk:(none)): anonymous
331 Anonymous login ok, send your complete email address as your password.
Password:
230 Anonymous access granted, restrictions apply.
ftp> dir
200 PORT command successful
425 Unable to build data connection: No route to host
ftp> quti
Invalid command.
ftp> quit
221 Goodbye.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"