re: FreeBSD is Very slow to load some sites

2005-07-25 Thread Denis R.
Hey Andrew,

If you suspect it is your DNS, just put the IP address of your site in the
browser: 202.2.59.40 or 202.2.56.40 and see if the same thing happens.

But like someone else noticed, it might be page related (java etc) that
the Linux browser is having problems with.

Regards!
Denis









>>

Freebsd seems to take a long time (up to ten minutes) to load some web
sites. When i use Linux or Windows it seems to load at normal speed. I have
installed Freebsd (same version) on another computer and it has the same
trouble. I have tried both firefox and konqueror.

The website is www.anz.com.au.

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


re: SQUID + antivirus content filter

2005-11-18 Thread Denis R.
>My prerequisities are:
>SQUID, CLAMAV
>
>What software would you recommend for such things ? ( I unsuccesfully
>tried Viralator in combination with SquidGuard. )

Vladimir,
I'll make an assumption that you speak Russian, so here is a nice write-up:
http://www.opennet.ru/docs/RUS/squid_filter/squidguard.html

Do a search there on a few more articles. It is a great site. I use the
same setup without the online virus scanner on a small network which scans
the http traffic and protects little kids from porn, gambling etc sites.
Clamd runs just on a file system since the server runs samba services.
Dansguarding databases get updated on a weekly basis. In addition the
server acts as a firewall of course.

Regards!
Denis

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


re: parental control with squid and dansguardian

2007-07-06 Thread Denis R.
>>Now, if someone just changes the port in their browser to 3128 (squid
proxy port), then all content filtering will be bypassed.

I have the same setup at home for my kids.

Check the /etc/ipnat.conf file to redirect all web traffic to your
FreeBSD_gateway_IP_address:8080 (assuming your FreeBSD box acts as a
firewall/squid/gateway).

Regards,
Den

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


Re: Daemon Process

2005-05-17 Thread Denis R.
Here is a good example:
http://cr.yp.to/daemontools/svc.html

Download the source and examine it.


>Hi All,
>Thank you very much for the feedback. Now, suppose I want to write a >daemon
>for Unix in C whose job is to monitor other daemons and restart dead
>daemons. The daemon may take the list of such daemons to monitor from a
>file. I want to know how can this be programmatically achieved.
>
>Thank you,
>Gowtham


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


[no subject]

2003-06-28 Thread Denis R.
Joe,

Check the blackbox out - compiles fast and loads within 5-7 seconds :-)
/usr/ports/x11-wm/blackbox. You will like how easy it is to configure
menus there.

KDE is indeed an overbloated application. From binaries, it takes 10-15
minutes to install KDE.

Regards,
Denis

>
Message: 10
Date: Sat, 28 Jun 2003 10:23:48 -0800
From: Joe Pokupec <[EMAIL PROTECTED]>
Subject: 11 Hour Installs on KDE?
To: Free BSD List <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII

Hi All,

I installed 5.1 on 2 separate machines yesterday. After the general install
(which included all the Ports), I went to /usr/ports/x11/kde3 and did a:

make install clean after reading tfm.

The install has been going for over 11 hours now. It's not hung up, the text
is scrolling by... On both machines...

Is there something I should know?


Joe



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


[no subject]

2003-07-09 Thread Denis R.
Chris,

It is one of the most common problems with initial setup of the SM.
Check this out and find your error there:
http://www.squirrelmail.org/wiki/en_US/SolvingProblems

Regards,
Denis

>>>
Hello,

Has anyone had any trouble with the ports version of SquirrelMail.  I
updated my mail ports yesterday and built cclient and IMAP-uw without
ssl off.

I verified this by logging in through telnet:

* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS AUTH=LOGIN] ed IMAP4rev1
2003.337 at Tue, 8 Jul 2003 11:27:20 -0400 (EDT)
0001 login user password
0001 OK [CAPABILITY IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS BINARY
SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND] User user
authenticated
0002 logout
* BYE ed IMAP4rev1 server terminating connection
0002 OK LOGOUT completed
Connection closed by foreign host.

So now that I know IMAP and cclient work I moved on to Squirrelmail.  It
installed successfully but when I try to login with a user on the system
I get:

"You must be logged in to access this page."

I'm stuck on this one and would appreciate any help.  I acctually tried
the ports version and the latest version off of squirrelmail.org and I
get the same thing.

Thank You
-chris




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


re: caching nameserver

2006-04-25 Thread Denis R.
Check the DJBDNS author's site: http://cr.yp.to/djbdns.html

The instructions are simple. If there is a lot of name resolutions
happening on the web server itself, install dnscache on the localhost.

My advice to you is to avoid BIND. It is too complicated for your needs.

Regards!



At 05:50 PM 4/25/2006, Richard Collyer wrote:
>Hello,
>
>I've recently been getting a lot of trouble with SpamAssassin performing a
>lot of rDNS lookups which is causing network issues (timeouts etc to DNS
>servers).
>
>I am trying to install BIND (or djbdns) as a simple caching nameserver.
>Just to take some of the load off the networks DNS servers (my ISPs).
>
>However I am having trouble finding a good tutorial to follow.
>
>I've looked at
>http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html
>but its mainly going on about being a nameserver which is not what I am
>after, wanting to keep it more simple than that.
>
>[EMAIL PROTECTED]:/usr/local/etc] $ named -v
>BIND 9.3.1
>
>Can anyone suggest me a good tutorial to follow, I've googled but mostly
>they are for debain/redhat and some of the commands and files are different.
>
>Cheers
>Richard


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


Re: Bind as a chaching nameserver

2006-04-26 Thread Denis R.
http://cr.yp.to/djbdns/guarantee.html

Richard, besides simple you want a _secure_ caching name server. Yes, you
can type "named_enable" in rc.conf and be done with it, just don't forget
to periodically check the security updates web page for BIND exploits.

Regards!

Richard Collyer wrote:
> Hello,
>
> I've recently been getting a lot of trouble with SpamAssassin performing
> a lot of rDNS lookups which is causing network issues (timeouts etc to
> DNS servers).
>
> I am trying to install BIND (or djbdns) as a simple caching nameserver.
> Just to take some of the load off the networks DNS servers (my ISPs).
>
> However I am having trouble finding a good tutorial to follow.

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


re: Substitute command on vi

2006-05-05 Thread Denis R.
Try
#dos2unix file_name

>>
Hi list,

I need to substitute a lot of characters ^M (ctrl+M)
at the end of each line in my file.

The command :%s/^M//g insn't have success.

How can i do it ?

Thanks,

Aguiar

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


re: Wierd time changes

2004-03-08 Thread Denis R.
Hi Mark and list members,

I am experiencing the same problem on my dual PII-450 SP700 Compaq Pro
workstation. After poking around on Google, it is pointing to the FreeBSD
and a i8254 programmable interupt timer. In my case the time is lagging
behind 10 times! What does your:
#time sleep 10
show?
It takes 25 seconds on my SMP workstation to execute a 10 second delay. I
have modified the /etc/sysctl.conf and added:
kern.timecounter.hardware=i8254

ntpd couldn't cope with this problem on my server. I have to run ntpdate
every 10 minutes to set the time to an approximately accepted value :-(.

There used to be a problem on older releases of FreeBSD (4.2 and up)
related to a SMP kernel and clock. Someone posted a hack fix of the:
usr/src/sys/i386/isa/clock.c file. But apparently it has been fixed in
newer releases and does not get mentioned in 5.x.

The most common fix I've heard from people is to recompile the kernel and
exclude the SMP support. But if this is the case, I'd be switching to a
mono CPU support of OpenBSD to run it. One of the reasons I like FreeBSD
is its SMP support.

People, any ideas?

dmesg part:
MPTable: 
Timecounter "i8254" frequency 1193182 Hz quality 0
uname -a:
FreeBSD 5.2-RELEASE FreeBSD 5.2-RELEASE #0: Sun Jan 11 04:21:45 GMT 2004  
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

Thanks and regards!
Denis


>>>
I'm completely baffled by this one. When FreeBSD shuts down/reboots it
changes the system clock. It *always* sets the hours to 20 and changes
the minutes and seconds (but I haven't worked out a pattern for that),
but the date stays the same (see /var/log/messages below) although I
once saw it keep the time and date correct, but set the year back *four*
years(!) but that was when the correct time was 22:mm:ss.


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


Re: Wierd time changes

2004-03-09 Thread Denis R.
Hi Mark,

Ok, I have recompiled my kernel and excluded the support for SMP and ACPI.
All my weird problems with slow time have disappeared. The kernel time
stays dead on along with the ntpd. The uptime shows the correct amount of
days. It was funny to see after 3 days that the machine had been up for 1
day.

My dmesg shows a new line now (TSC):
Timecounter "i8254" frequency 1193182 Hz quality 0
Timecounter "TSC" frequency 448945381 Hz quality 800

-su-2.05b# uname -a
FreeBSD mta2 5.2.1-RELEASE-p1 FreeBSD 5.2.1-RELEASE-p1 #0: Mon Mar  8
16:28:46 PST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DRKERNEL  i386

If you install 4.9, my bet is that you will have the same problem with
your SMP motherboard.

Try this in your /boot/device.hints
hint.acpi.0.disabled="1"

Let us know. If this is not a production machine, just out of curiosity,
recompile the kernel without SMP and take a note if the time jumps at
reboot again. This experiment will take less time than the complete
reinstall with 4.9.

Regards!
Denis














>>

To follow up:

Based on your comments Denis, I tried the
kern.timecounter.hardware=i8254 workround - didn't work. I also spun a
UP kernel - that didn't work either. Confirms that it is something
specific to my machine (or the Asus A7M266-D m/b and BIOS).

Where does FreeBSD store the corrupted time across reboots though and,
more importantly, why?

I don't know where to go from here. I do have an old IDE drive lying
around so I guess I could put 4.9 on that and see if the problem exists
there as well.

Regards,

Mark


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


re: SOLVED :-) Re: Wierd time changes

2004-03-10 Thread Denis R.
Hi Mark!

Gee, who would have thought that it was the keyboard. Thanks for your
ideas. I recompiled the kernel (Compaq SP700 dual PII-450) following the
NOTES guidelines and your email, with these enabled:
# To make an SMP kernel, the next two are needed
options SMP # Symmetric MultiProcessor Kernel
device  apic# I/O APIC

options NO_MIXED_MODE
options BROKEN_KEYBOARD_RESET
options EISA_SLOTS=12

and in /boot/loader.conf
kern.timecounter.method=1

I still got the broken time (10 second test lasts 22 seconds). The server
also hung upon the 'reboot' command while releasing the CPU1. Since it is
a production server, I switched back to my single CPU kernel.

If you have any other suggestions, I'd appreciate the input.

Thanks,
Denis


>>>
I've solved it and I bet you can't guess what it was - it
was the fscking keyboard!!!

After spending the last 8 hours building kernels (about 20) with
unnecessary stuff removed and trying various options documented in
/sys/i386/conf/NOTES I finally nailed it down. What made me wonder was a
kernel option BROKEN_KEYBOARD_RESET



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


Re: SOLVED :-) Re: Wierd time changes

2004-03-10 Thread Denis R.
Mark,

No clue from sysctl -a. Yes, I've looked through archives and google.
Since I don't see a lot of performance improvement from using the second
CPU, I will leave this issue alone for now. Hopefully, someone will post a
sweet solution to this bugging issue.

Thanks for your help,
Denis


> Only to try with different value for kern.timecounter.method, but that's
>  just a guess. Does the output from ''sysctl -a kern.timecounter'' yield
>  any clues?
>
> Apart from that I really can't be of any help. I take it you've done the
>  obvious and searched the mailing list and Google?



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


re: squid and it's config, a question

2004-03-24 Thread Denis R.
Bob,

Since it is a gateway/proxy/firewall, you will be running some firewall
rules. Use 'netstat -a' command, and check which ports are in Listen
stage. Or use 'lsof | grep Listen' command.

After that you will need to add a firewall rule to _not_ allow incoming
connections to the Squid's listening port on your external NIC. It will be
a good safety measure, in case you change the squid's config file and will
forget to properly assign the listening port.

I am running Squid on 5.2.1 FreeBSD with Squidguard/Dansguardian to keep
my kid away from bad sites. It works great. Here is a little right-up (it
is in Russian, but all config files are in English):
http://www.opennet.ru/docs/RUS/squid_filter/squidguard.html
(just be patient, the site is slow)

Regards,
Denis

>

Here the squid server will be IP 10.1.1.5 255.0.0.0. I have no
references to localhost as 127.0.0.1r, and no references to the external
IP in this file anywhere. I am assuming, perhaps incorrectly which is
often the case for me :-), that this should be sufficient and safe from
being open to the world.

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


Re: Problems with djbdns

2004-03-24 Thread Denis R.
What does /etc/hosts show?
/etc/resolv.conf?
/etc/dnscache/env/IP (or whatever directory you're using)
/etc/tinydns/env/IP ( -- "" -- )
/etc/dnscache/env/ROOT ( -- "" -- )
/etc/tinydns/env/ROOT ( -- "" -- )

ls -la /etc/dnscache/root/ip/

and finally:
ifconfig -A
Do you use 2 assigned IP's to one NIC?

Regards!
Denis

>>>

Im runing djbdns on some boxes here at home. I haveing two major problems,
The first one is that for some reason the DNS server won't answer queryies.

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


re: Hardware problems or Software problems

2004-03-24 Thread Denis R.
Luke,

I know that would be coincidental, but you know what your running CPU temp
is (check your BIOS)? OS freeze-ups sometimes occur due to inadequate
cooling of the CPU. Also maybe your computer is close to a heat source?
Are you using the same computer case?

What is your power supply rated at? Do you have a Radeon video card with
its own power connector?

Denis



I have a server which recently died on me. I believed that the problem
was likely the memory as the machine would reboot of its own accord
initially when accessing via samba or NFS. ...I installed a new ASUS P4800
motherboard with a celeron 2.20ghz chip and brandnew 512mb memory.

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


Re: Hardware problems or Software problems

2004-03-25 Thread Denis R.
Luke,

Your temps are fine. Go to the hard drive manufacturer's web site and
download a drive check utility. Once you run it, it will either say okay
or spit out an error code that you can use to RMA your hard drive.

If a hard drive locks up, you should still see errors on stdout, however
nothing will be in the logs, of course.

Regards,
Denis

>>
> Would a faulty disk not leave any messages in the logs and simply lock
> up on occaision ? I get no read/write errors just a machine lockup.
>
> Again, any thoughts are appreciated.
>
>
> LukeK

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


re: FreeBSD Firewall as a Transparent Proxy?

2004-03-29 Thread Denis R.
Try this:
http://www.opennet.ru/docs/RUS/squid_filter/squidguard.html

It is in Russian, but you will figure it out by looking at config files. I
installed it on 5.2.1 and it is stable. Great way of keeping your users
off the bad sites.

Regards,
Denis



I have seen lots of pages on google on how to setup Squid as a Transparent
Proxy server on FreeBSD.  However most of these refer to 4.9 stable, using
IPTables.  I am currently using natd and ipfw.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


6.1RC2 regression and a BIG question.

2006-05-15 Thread Denis R Michailov
Hello. This is first time I write to you, so I beg you pardon if
something goes wrong.
We bought HP Proliant DL 320 G4. I tried to install FreeBSD and all
the attempts failed. 5.4 cannot see my SATA Raid controller and says
that I have no hard disks. 6.1RC2 told me the same. But 6.0i386 &&
6.0amd64 was installed successfully but server hang up on loggin in
(when i see a login message I cannot type anything my keyboard doesn`t
respond at all (except Num, Scroll and Caps Lock)) but I see that if I
push the power button I get a lot of messages shutting down the system
(as if I typed CTRL+ALT+DEL) acpi is surelly on. Safe Mode and so on
didn help except single user mode. But I don`t know what to do in
single mode to bring the whole system up.
If you can suggest anything I will humbly thank you.

Brief: 6.0 recognizes Intel 82808FR SATA controller with 2 Maxtor SATA
drives, 6.1RC2 didn do that.

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