Re: Refusing Connections

2002-12-22 Thread Andrew Prewett
On Dec 21 Jimi Thompson wrote: OS - 5.0 RC2 Apache - 2.0.43 OpenSSL - 0.9.6g I'm having a rather odd problem and I can't quite put my finger on it. I can verify that the apache httpd is running but I am unable to connect to the box on port 80. - Check if apache really listening on port

RE: Refusing Connections

2002-12-22 Thread Andrew Prewett
On Dec 22 Jimi Thompson wrote: This is a strange one. Here's the deal. The traffic doesn't even appear to be making it as far as the Apache process. That's why I was looking for something in the OS that would be blocking it (like the firewall). # # Listen: Allows you to bind Apache to

Re: ATX power down

2002-12-25 Thread Andrew Prewett
Today Paulo Roberto wrote: --- Denis N. Peplin [EMAIL PROTECTED] wrote: # halt -p The system halts, but still no power down. Is there a sysctl for this thing or maybe a compile option in the kernel? 1) `device apm' in the kernel config 2) `apm_enable=YES' in /etc/rc.conf BTW PDWN in the

Re: Adding to standard include path (GCC)

2002-12-25 Thread Andrew Prewett
Today Ihsan Junaidi Ibrahim wrote: Hello all, I'm a starter to programming in FreeBSD after a few years in Visual C++ and would like to delve deeper into it. But I have a few questions which I need answers. I hope it wouldn't be too much a burden to you. I have two gccs installed, 2.95.4

Re: ATX power down

2002-12-25 Thread Andrew Prewett
Today Paulo Roberto wrote: --- Denis N. Peplin [EMAIL PROTECTED] wrote: I don't know why some ATX systems can't. I'm tested halt -p on FreeBSD 5.0 and all work fine. It is strange, since I got Linux also on this machine, and halt powers down properly, but not on FreeBSD. BTW PDWN in

RE: Problems with a C application that changes users and run 'screen-x'

2002-12-27 Thread Andrew Prewett
On Dec 20 Paul Everlund wrote: On Fri, 20 Dec 2002, Paul Everlund wrote: Found an error in my reply... On Fri, 20 Dec 2002, Aaron Burke wrote: [big snip] I think execlp is writing over your current process. So first your process is exchanged with ppp, then ppp is exchanged with

RE: sshd and passwordauthentication

2002-12-28 Thread Andrew Prewett
On Dec 27 Didier Wiroth wrote: I'm using a windows client, putty where I didn't find that kind of option, here is the output of ssh -v from linux test machine: OpenSSH_2.9.9p2, SSH protocols 1.5/2.0, OpenSSL 0x0090601f debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying

Re: What are the SMTP rules for sending mail to FreeBSD

2002-12-28 Thread Andrew Prewett
Today Harry Tabak wrote: Mail sent from my main server, gatehouse.quadtelecom.com (66.45.116.138) gets rejected. _450_Client_host_rejected:_cannot_find_your_hostname,_[66.45.116.138] If 450 is some error code, then it's only a _temporary_ error/failure (RFC 1893). Maybe the DNS servers

Re: APM

2002-12-29 Thread Andrew Prewett
On Dec 28 Adam Weinberger wrote: (12.28.2002 @ 2157 PST): Derision said, in 0.4K: What is the correct line in the kernel config for making halt -p work? Mine is currently device apm0 (FreeBSD 4.7) end of APM from Derision Make sure you also have: apm_enable=YES

Re: procmail security question

2002-12-30 Thread Andrew Prewett
Today Dick Hoogendijk wrote: Maybe a silly question but still, security has to be as high as possible, so, here it is: I installed procmail and got the fbsd warning about the program running with set user and group ID (root/mail) known as a security risk. What about this message? Procmail

Re: ttyv3 cons2511

2002-12-30 Thread Andrew Prewett
Today Dick Hoogendijk wrote: In my /etc/ttys is a line which mentions ttyv3 as a cons2511 on secure resulting in a strange message when I log in on this tty. The console is not supported? Strange, as I never changed this file, so it is the one that came w/ the 4.7-release. I changed ttyv3

Re: /etc/ftpchroot

2003-01-02 Thread Andrew Prewett
Today Wayne Swart wrote: lo everyone is there a wildcdard type you can specify for /etc/ftpchroot ? joe*, doe[0-9], etc. won't work this is on bsd 4.7 using ftpd This is from ftpd(8): ... 5. If the user name appears in the file /etc/ftpchroot, or the user is a member of a group with

Re: how can I filter on subject with sendmail 8.12.6?

2003-01-03 Thread Andrew Prewett
On Jan 3 Fuzzy wrote: we're having a problem with some cracker using addresses harvested from whois and the abuse/www/webmaster with domains they get from the database. The mail appears to come from us but it cannot as the addresses are oneway incoming only. the subject is always XXX

Re: fvwm2 mouse questions

2003-01-04 Thread Andrew Prewett
Today dick hoogendijk wrote: In KDE and Windowmaker atc you can set the acceleration and threshold for the mousepointer. I need this set, 'cause otherwise my pointer moves way too slow ;-( I want to play a little with fvwm2 (heardsome great things about it) but can't find the place to set

Re: POP Server with Secure Password Authentication

2003-01-06 Thread Andrew Prewett
On Mon, Jan 06, 2003 at 06:33:16PM -0800, Kory Hamzeh wrote: I need to setup a POP Server that supports Secure Password Authentication. I have some MicroSoft Outlook users that need to pull their mail, but they are coming in over the internet. I looked through the ports collection, and

Re: POP Server with Secure Password Authentication

2003-01-06 Thread Andrew Prewett
On Mon, Jan 06, 2003 at 10:23:49PM -0800, Kory Hamzeh wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Andrew Prewett On Mon, Jan 06, 2003 at 06:33:16PM -0800, Kory Hamzeh wrote: I need to setup a POP Server that supports Secure

Re: flush?

2003-01-07 Thread Andrew Prewett
On Jan 6 Mark wrote: Nope, sync won't do it. ;) I can sync all I want, but df (and dd, effectively, by adding the deleted size to its image) keeps reporting the added size (which is considerable: about 4 G extra) to the partition, and only falls back to the true value after a while. Besides,

Re: tcpdump problem

2003-01-07 Thread Andrew Prewett
On Jan 8 Brendan Kosowski wrote: I am running FreeBSD 3.4 with the GENERIC kernel which has the line pseudo-device bpfilter 1 uncommented in the config. I also re-built and re-installed GENERIC just to be sure. /dev/bpf0 has rw permissions for the owner (root). There are no other bpf

Re: security vulnerability in dump

2003-01-07 Thread Andrew Prewett
Today Mark wrote: I believe I have found a security vulnerability in dump, which, under the right conditions, allows any user with shell-access to gain root-privileges. When dumping to a file, dump writes this file chmod 644. When the root-partition is being backed-up, this leaves the

Re: security vulnerability in dump

2003-01-07 Thread Andrew Prewett
Today Mark wrote: I believe I have found a security vulnerability in dump, which, under the right conditions, allows any user with shell-access to gain root-privileges. When dumping to a file, dump writes this file chmod 644. When the root-partition is being backed-up, this leaves the

Re: Deleted VAR

2003-01-07 Thread Andrew Prewett
Today Kenzo wrote: Help, I accidently deleted everything in the /var dir. ( fat fingered ). Is there a way to retrive it? or do i have to reinstall. I'm now getting alot of error message since it's also a mail server. well not anymore. You can restore the directory structure -- at least --

Re: permissions issue help ?!?!

2003-01-07 Thread Andrew Prewett
Today Brent Bailey wrote: Hello, Im using FBSD 4.6 R i recently installed something (i dont know what ) that changed the permissions on my /tmp directory.making things like mysql php and other programs not function correctly. as things are now on the broken box the permissions are:

Re: Deleted VAR

2003-01-07 Thread Andrew Prewett
Today Mike Meyer wrote: In [EMAIL PROTECTED], Andrew Prewett [EMAIL PROTECTED] typed: Today Mike Meyer wrote: [Context lost to top posting.] In [EMAIL PROTECTED], Kenzo [EMAIL PROTECTED] typed: Yes, that worked, but now I can't sshd to it anymore. looking in the auth.log

Re: security vulnerability in dump

2003-01-07 Thread Andrew Prewett
Today Kirk Strauser wrote: At 2003-01-07T17:35:49Z, Andrew Prewett [EMAIL PROTECTED] writes: Normally the master.passwd is backed up regularly by cron (/var/backups), so maybe no need to backup it again. Were you joking? Surely you're not implying that there's no need to copy the data

Re: Deleted VAR

2003-01-07 Thread Andrew Prewett
Today Mike Meyer wrote: [Context lost to top posting.] In [EMAIL PROTECTED], Kenzo [EMAIL PROTECTED] typed: Yes, that worked, but now I can't sshd to it anymore. looking in the auth.log file, it sais Bind to port 22 on 0.0.0.0 failed address already in use. so I edit the file

Re: security vulnerability in dump

2003-01-07 Thread Andrew Prewett
Today Mike Meyer wrote: In [EMAIL PROTECTED], Andrew Prewett [EMAIL PROTECTED] typed: Today Kirk Strauser wrote: At 2003-01-07T17:35:49Z, Andrew Prewett [EMAIL PROTECTED] writes: Normally the master.passwd is backed up regularly by cron (/var/backups), so maybe no need to backup

Re: Older versions

2003-01-07 Thread Andrew Prewett
Today Nathan Kinkade wrote: On Tue, Jan 07, 2003 at 02:30:57PM -0700, [EMAIL PROTECTED] wrote: I have a VERY, VERY old laptop (1.9 Megs of memory IBM), and I was wondering if I could get FreeBSD 1 for it. If so, where? Thanks! lattera To Unsubscribe: send mail to [EMAIL PROTECTED]

Re: security vulnerability in dump

2003-01-07 Thread Andrew Prewett
Today Ed Hall wrote: Today Kirk Strauser wrote: At 2003-01-07T17:35:49Z, Andrew Prewett [EMAIL PROTECTED] writes: Normally the master.passwd is backed up regularly by cron (/var/backups), so maybe no need to backup it again. Were you joking? Surely you're not implying

Re: Deleted VAR

2003-01-07 Thread Andrew Prewett
On Jan 7 Mike Meyer wrote: In [EMAIL PROTECTED], Andrew Prewett [EMAIL PROTECTED] typed: Today Mike Meyer wrote: In [EMAIL PROTECTED], Andrew Prewett [EMAIL PROTECTED] typed: Today Mike Meyer wrote: [Context lost to top posting.] In [EMAIL PROTECTED], Kenzo [EMAIL

Re: Older versions

2003-01-07 Thread Andrew Prewett
On Jan 7 Nathan Kinkade wrote: On Wed, Jan 08, 2003 at 12:00:02AM +0100, Andrew Prewett wrote: Today Nathan Kinkade wrote: On Tue, Jan 07, 2003 at 02:30:57PM -0700, [EMAIL PROTECTED] wrote: I have a VERY, VERY old laptop (1.9 Megs of memory IBM), and I was wondering if I could get

Re: Run as owner

2002-11-30 Thread Andrew Prewett
On Nov 29 Kirk Bailey wrote: OK, man says to get a script to run as the owner, turn on the 4000 bit. If you execute a script, and the first line begins with `#!/usr/bin/perl -w' (in case of a perl script) and the sript is marked executable then the kernel executes it like: exec(/usr/bin/perl,

Re: Run as owner

2002-12-01 Thread Andrew Prewett
On Nov 30 Kirk Bailey wrote: This script is not perl, it is in python. So far the python community has failed in the search for clue, possibly this one can assist? Python or not python is irrevelant here. As last resort, if you don't want to use su, sudo or ksu, you can use a setuid/setgid

Re: is there a replace command ?

2002-12-02 Thread Andrew Prewett
Today Malik Bülent wrote: On Freebsd4.x I have a file. I want to change some expressions with new ones For example a file touch /var/qmail/1 touch /var/qmail/2 touch /var/qmail/3 touch /var/qmail/4 touch /var/qmail/5 touch /var/qmail/6 I want to change touch with rm How can i

Re: is there a replace command ?

2002-12-02 Thread Andrew Prewett
Today Conrad Sabatier wrote: On 02-Dec-2002 Malik Bülent wrote: On Freebsd4.x I have a file. I want to change some expressions with new ones For example a file touch /var/qmail/1 touch /var/qmail/2 touch /var/qmail/3 touch /var/qmail/4 touch /var/qmail/5 touch

Re: Opera

2002-12-03 Thread Andrew Prewett
On Dec 3 Scott Robbins wrote: On Tue, Dec 03, 2002 at 04:11:29PM -0700, Peter Milne wrote: Opera was working fine. I now try to load a page and it crashes and closes. Every page, every site. I installed it from ports. How do I get rid of it all or how do I fix it? I had the same

Re: hi there =)

2002-12-05 Thread Andrew Prewett
Today Miguel haber wrote: Hi I just have a problem... I'm behind an http proxy, it's 10.1.1.1 port 8080.. this is the scan of the proxy: bash-2.05b$ nmap -P0 10.1.1.1 Starting nmap V. 3.00 ( www.insecure.org/nmap/ ) Interesting ports on (10.1.1.1): (The 1585 ports scanned but not shown

Re: Sendmail and localhost

2002-12-05 Thread Andrew Prewett
Today Andrey Nepomnyaschih wrote: Hello everybody, I've got some problems with sendmail. Going through logs I've found that sendmail identifies itself as localhost.domain. where I would expect it should be just [localhost]. Dec 5 13:09:00 watchdog sm-msp-queue[339]: gB5A016S000321:

Re: Cant find /etc/resolv.conf

2002-12-05 Thread Andrew Prewett
Today Tiago Andre wrote: Hello there... I've the last version of freebsd... But i cant find the file /etc/resolv.conf Why? Why??? Who knows? Maybe it's simply not there. But you can create one if you have write access to the /etc dir. It's nothing special with this file, i.e: nameserver

Re: run command on logfile before it's rotated

2002-12-05 Thread Andrew Prewett
Today Akifyev Sergey wrote: On Thu, 2002-12-05 at 01:02, Nathan Kinkade wrote: On Wed, Dec 04, 2002 at 10:51:43PM +0100, Thomas von Hassel wrote: I've got my system set up to rotate the maillog every day at midnight. What do i do if i want to run a command on the logfile just before it's

Re: quotas

2002-12-05 Thread Andrew Prewett
Today Mark wrote: - Original Message - From: Rick Fournier [EMAIL PROTECTED] To: Mark [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, December 05, 2002 10:06 PM Subject: Re: quotas every mount point with quota enabled will create a quota.user and or quota.group file in

Re: Question about Apache with ssl.

2002-12-06 Thread Andrew Prewett
Today Mark-Nathaniel Weisman wrote: I've replaced the original httpd executable with a new improved apachectl, apachectl is only a wrapper script to start, stop, restart apache (httpd)... and of course need the startssl to fire up my ssl installed Web Server. When the web server fires up,