Re: getnameinfo contacting 'wrong' resolver for lookup

2003-01-06 Thread Peter Pentchev
On Sun, Jan 05, 2003 at 12:55:48PM +, lemon wrote: > hi, > > i have a 4.7-STABLE box running two nameservers: a djbdns dnscache on > 127.0.0.1 to serve local requests, and have recently added a djbdns > tinydns on my external address to serve domains i host, viz: > > $ sockstat -4 | grep :53

Re: getnameinfo contacting 'wrong' resolver for lookup

2003-01-06 Thread lemon
Peter Pentchev wrote: On Sun, Jan 05, 2003 at 12:55:48PM +, lemon wrote: # tcpdump -ni lo0 tcpdump: listening on lo0 [ 'wrong' listener being contacted ] 18:02:38.448117 192.168.1.2.1226 > 192.168.1.2.53: 24805+ PTR? 7.57.192.80.in-addr.arpa. (42) 18:02:43.452867 192.168.1.2.1227 > 192

Re: getnameinfo contacting 'wrong' resolver for lookup

2003-01-06 Thread Peter Pentchev
On Mon, Jan 06, 2003 at 12:32:57PM +, lemon wrote: > Peter Pentchev wrote: > >On Sun, Jan 05, 2003 at 12:55:48PM +, lemon wrote: > > > >> > >># tcpdump -ni lo0 > >>tcpdump: listening on lo0 > >> > >>[ 'wrong' listener being contacted ] > >> > >>18:02:38.448117 192.168.1.2.1226 > 192.168.1.2

Re: getnameinfo contacting 'wrong' resolver for lookup

2003-01-06 Thread lemon
Peter Pentchev wrote: On Mon, Jan 06, 2003 at 12:32:57PM +, lemon wrote: Peter Pentchev wrote: Can you post the full configuration of the tinydns and dnscache services, e.g. using Jonathan de Boyne Pollard's tinydns-showctl and dnscache-showctl utilities, available from http://homepages.te

Re: Caching [sugestion].

2003-01-06 Thread David Schultz
Thus spake Pawel Jakub Dawidek <[EMAIL PROTECTED]>: > On Sun, Jan 05, 2003 at 03:02:18PM -0800, Terry Lambert wrote: > +> This is a much larger problem than you make it out to be. > > Yes, right, using vnodes is bad idea, sorry. > > I'll describe my problem precisely. > I'm writing kld module whe

Re: Year end FreeBSD status report call (again)

2003-01-06 Thread Gordon Tetlow
On Sun, Jan 05, 2003 at 05:31:03PM -0700, Scott Long wrote: > >http://www.FreeBSD.org/new/status/report-sample.xml This should be http://www.freebsd.org/news/status/report-sample.xml -gordon msg39047/pgp0.pgp Description: PGP signature

Report to Sender

2003-01-06 Thread MCNSTL41
Incident Information:- Database: d:/notes/data/mail2.box Originator: hackers <[EMAIL PROTECTED]> Recipients: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject:Here to find out more! Date/Time: 01/06/2003 11:35:41 AM The file attachment bgcolor.exe you sent to the recipients listed above was inf

Re: nsswitch help for you?

2003-01-06 Thread wgrim
All of that sounds great! I got the network setup at home to get -CURRENT downloadeded, but I might just do it once I get back to school (next Monday) where I have higher connection speeds. For now though, I can certainly take a look at several man pages, print them out and such. I'll try to

Whats the maximum filesize on fat32 partitions (FreeBSD 4.7) ?

2003-01-06 Thread Andreas Klemm
Hi ! Trying to backup my own files from one fat32 partition to another fat32 partition. After 4 GB gzip complains, that filesize is too large. What's the max filesize of files on fat32 / ufs filesystems ?? Andreas /// -- Andreas Klemm /\/\/\/\/\/\/\/\/\/\/\

Re: nsswitch help for you?

2003-01-06 Thread Kutulu
From: <[EMAIL PROTECTED]> Sent: Monday, January 06, 2003 12:48 PM > Oh, and you were right, the problem supposedly exists somewhere in the glibc > libraries. I haven't taken a personal look yet, but supposedly dlopen() causes > problems when called if the calling program isn't statically linked to

Re: DDoS attacks, packets captured ... not sure what to do.

2003-01-06 Thread Terry Lambert
[EMAIL PROTECTED] wrote: > I doubt that all the packets are sent from one real IP. But, I tnink, > it may be possible to determine the IP of an attacker, because it's > not just a DoS attack. He may use other methods later. I am almost > sure he tried to scan ports earlier, probably with `nmap -v -

Re: sendmail: how to get the named of FreeBSD4.7 standards compliant?

2003-01-06 Thread Peter Much
! > Background: This environment should be configured to use ! > an internet connection for internet-relevant things, but to ! > work flawlessly without such a connection as long as matters ! > do concern only systems within the LAN. ! ! This is called a "split horizon DNS", and you need to run tw

Re: Whats the maximum filesize on fat32 partitions (FreeBSD 4.7) ?

2003-01-06 Thread Dan Nelson
In the last episode (Jan 06), Andreas Klemm said: > Trying to backup my own files from one fat32 partition to another > fat32 partition. After 4 GB gzip complains, that filesize is too > large. > > What's the max filesize of files on fat32 / ufs filesystems ?? Fat32 filesystems have a 4gb limit.

Re: Caching [sugestion].

2003-01-06 Thread Pawel Jakub Dawidek
On Mon, Jan 06, 2003 at 08:37:23AM -0800, David Schultz wrote: +> You still haven't explained exactly what you're trying to do, but +> you may wish to look into Niels Provos' Systrace. It should give +> you a good example of how to do system call interposition in the +> kernel, and it has been por

file descriptor bug and patch for < 4.6 ?

2003-01-06 Thread Josh Brooks
Hello, I just noticed in the advisory (FreeBSD-SA-02:44.filedesc) that the patch has only been verified for 4.6 and 4.7. Hs anyone used it on 4.5 ? If not, can anyone comment on the chances it will apply and work on 4.5 ? thanks. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscrib

Re: sendmail: how to get the named of FreeBSD4.7 standards compliant?

2003-01-06 Thread Terry Lambert
Peter Much wrote: > ! I have been told that BIND 9 can solve this problem with two > ! different "views"; however, I do not believe it. I wrote a > ! BCP RFC for this, which ended up not getting published, as I > ! did not push it on the promise that the views would solve the > ! problem, and arri

Re: Caching [sugestion].

2003-01-06 Thread Terry Lambert
Pawel Jakub Dawidek wrote: [ ... obtaining file names from open file instances ... ] > But as You can see, now, if I want to get functionaly what I want, > I need to be _very_ nasty (and evil of course):) There are a lot of bad reasons to do this, and a few good reasons, most of which are really

Re: Caching [sugestion].

2003-01-06 Thread Terry Lambert
Pawel Jakub Dawidek wrote: > Not always is chance to operate only on vnodes. When You (for example) > want to denied mode changes for some file, You can do this through catching > chmod(2), but when someone open this file how You get file name when You want > create policy rules for fchmod(2)? Reme

Re: Caching [sugestion].

2003-01-06 Thread David Schultz
Thus spake Pawel Jakub Dawidek <[EMAIL PROTECTED]>: > +> It sounds like you're trying to do something complicated with > +> chdir, and that could make things harder. First of all, you > +> should be comparing vnodes instead of pathnames when possible, in > +> order to avoid canonicalization bugs.

Re: Caching [sugestion].

2003-01-06 Thread Pawel Jakub Dawidek
On Mon, Jan 06, 2003 at 03:53:38PM -0800, Terry Lambert wrote: +> If this were my job to do, I would either take the approach of +> changing how hard links and vmobject_t references are implemented, +> or I would disallow hard links, and add a "parent inode" field in +> one of the spare fields in e

Re: Caching [sugestion].

2003-01-06 Thread Julian Elischer
On Tue, 7 Jan 2003, Pawel Jakub Dawidek wrote: > from vnode was mistake). That's why I think that there should be some > caching mechanism that should remember file name of every opened file, > name of executable and working directory. > > Example rules: I vaguely remember that Linux keeps teh

Re: Caching [sugestion].

2003-01-06 Thread Pawel Jakub Dawidek
On Mon, Jan 06, 2003 at 04:58:16PM -0800, Julian Elischer wrote: +> >We want to permit those operations: +> >- opening file /etc/master.passwd for read only, +> >- opening files that match to /tmp/temp.* for write, +> >- changing mode of files /tmp/temp.* to '0666', BUT via fchmod(

Re: Caching [sugestion].

2003-01-06 Thread Terry Lambert
Pawel Jakub Dawidek wrote: > Yes, I know that (sugestion of getting file names (not directory names only) > from vnode was mistake). That's why I think that there should be some > caching mechanism that should remember file name of every opened file, > name of executable and working directory. You

Re: One Filesystem vnode operations declare problem.

2003-01-06 Thread ouyang kai
From: Peter Wemm <[EMAIL PROTECTED]> It is up to the file system to get it right. The normal procedure is to use namei() which does VOP_LOOKUP() calls to each file system. As a side effect of doing a lookup, the file system itself returns a "new" vnode pointer that corresponds to the name being l

Re: Caching [sugestion].

2003-01-06 Thread Terry Lambert
Julian Elischer wrote: > I vaguely remember that Linux keeps teh path used aroud on openned file > descriptors some how but I don't remember the details. It stores the path reference in the per process open file table, if you insist that it do so. Then it does a huge amount of work to carry it ar

Re: Caching [sugestion].

2003-01-06 Thread Terry Lambert
David Schultz wrote: > Thus spake Pawel Jakub Dawidek <[EMAIL PROTECTED]>: > I'm not sure what you mean by ``temporary names''. Do you mean > that your policy specification permits wildcards in any pathname > component? In that case, you might have to hack the lookup > routines to point to all th