Forwarding broadcast packets

2000-11-15 Thread Chris Stenton
I wish to forward broadcast packets from one subnet to another via a FreeBSD box. Both subnets are on the same Ethernet interface. Is this possible? Chris To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: page fault question

2000-11-15 Thread Mike Smith
> I have been having a great time :-) debugging a device driver, > and have run into a really fun way to panic. With one type > of traffic, [something] happens and the kernel drops into > DDB, just the way I want. 8) > Well, actually DDB seems to get trapped in some kind of loop > that spews m

porting from old to new one

2000-11-15 Thread hellman
Hello, How can i port all content of my server to new one ? On a new server i have new hdd... I want to port kernel,all packages installed and so so so... What is a correct answer for this? Unix-administrator mailto: [EMAIL PROTECTED] < /etc/master.passwd -BEGIN PGP PUBLIC KEY BLOCK

changing a running process's credentials

2000-11-15 Thread Peter Pentchev
All right, feel free to flame me a LOT for what follows :) There are situations (at least I could think of some :) where it is necessary to change a running process's credentials. I'm thinking specifically of the effective UID and GID, but I might have to tinker with the real and saved UID's, to

Re: Forwarding broadcast packets

2000-11-15 Thread mark tinguely
> I wish to forward broadcast packets from one subnet to another via a FreeBSD > box. > Both subnets are on the same Ethernet interface. Is this possible? You should not do this in a routed environment, but is required in a bidged enviroment. the kernel bridge(4) support should allow you to

Re: looking for kernel hacking info

2000-11-15 Thread Ben Smithurst
Paonia Ezrine wrote: >> The system calls are described in section 2 of the manual. > > thanks. do you mean handbook? No, he means the manual. "man 2 intro" to get an introduction, "man 2 read" for a particular system call, etc. -- Ben Smithurst / [EMAIL PROTECTED] / [EMAIL PROTECTED] To Unsu

Re: changing a running process's credentials

2000-11-15 Thread Alfred Perlstein
* Peter Pentchev <[EMAIL PROTECTED]> [001115 06:19] wrote: > All right, feel free to flame me a LOT for what follows :) No need for that. (yet) :-) > There are situations (at least I could think of some :) where it is necessary > to change a running process's credentials. I'm thinking specifica

Re: changing a running process's credentials

2000-11-15 Thread Peter Pentchev
On Wed, Nov 15, 2000 at 08:47:22AM -0800, Alfred Perlstein wrote: > * Peter Pentchev <[EMAIL PROTECTED]> [001115 06:19] wrote: > > All right, feel free to flame me a LOT for what follows :) > > No need for that. (yet) :-) ..possibly because I did not make my intentions clear enough :) > > There

Re: changing a running process's credentials

2000-11-15 Thread Alfred Perlstein
* Peter Pentchev <[EMAIL PROTECTED]> [001115 09:02] wrote: > > > > Well there's setuid for you. > > Hmm.. I've also received two private mails so far, pointing me to setuid(). > The problem is, I want to force a new UID on *another* process without > its knowledge. setuid() only works on the p

Re: changing a running process's credentials

2000-11-15 Thread Warner Losh
In message <[EMAIL PROTECTED]> Peter Pentchev writes: : There are situations (at least I could think of some :) where it is necessary : to change a running process's credentials. I'm thinking specifically of the : effective UID and GID, but I might have to tinker with the real and saved : UID's,

Re: changing a running process's credentials

2000-11-15 Thread Warner Losh
In message <[EMAIL PROTECTED]> Peter Pentchev writes: : Hmm.. I've also received two private mails so far, pointing me to setuid(). : The problem is, I want to force a new UID on *another* process without : its knowledge. setuid() only works on the process invoking it, so : both the 'force' and

Re: changing a running process's credentials

2000-11-15 Thread Warner Losh
In message <[EMAIL PROTECTED]> Alfred Perlstein writes: : Unless this syscall was restricted to root, or a small subset of : uid's it would cause some severe security issues from my point : of view. Even the small subset of uids would be highly suspect. Warner To Unsubscribe: send mail to [EMA

Re: changing a running process's credentials

2000-11-15 Thread Alfred Perlstein
* Warner Losh <[EMAIL PROTECTED]> [001115 09:16] wrote: > In message <[EMAIL PROTECTED]> Alfred Perlstein writes: > : Unless this syscall was restricted to root, or a small subset of > : uid's it would cause some severe security issues from my point > : of view. > > Even the small subset of uids

Re: "iowait" CPU state

2000-11-15 Thread Terry Lambert
> > > Thank you! This gets the me disk %busy, which is one of the things I > > > was looking for. Now, can anyone tell me how to tell what percentage of > > > processor time is being spent waiting for disk I/O to complete? > > > > Uh, none? > > > > If there is disk I/O pending, the processor j

Re: "iowait" CPU state

2000-11-15 Thread Rik van Riel
On Wed, 15 Nov 2000, Terry Lambert wrote: > > > > Thank you! This gets the me disk %busy, which is one of the things I > > > > was looking for. Now, can anyone tell me how to tell what percentage of > > > > processor time is being spent waiting for disk I/O to complete? > > > > > > Uh, none? >

Re: "iowait" CPU state

2000-11-15 Thread Barry Lustig
On Wed, 15 Nov 2000, Terry Lambert wrote: > > I'm always tempted to set up a company where the main > engineers have a centralized batch compile server, so as to > not slow down developement, but requiring that they run no > better than a 386SX/16 on their desktop. If they are good, > I'd gi

Re: PPPoE w/ nat auto fragmentation hack? (use tcpmssd port)

2000-11-15 Thread Renaud Waldura
Maybe I'm just being boneheaded, but... > ! sudo ipfw add 4 divert 12345 all from any to any via INTERFACE > ! sudo /usr/local/bin/tcpmssd -p 12345 -i INTERFACE I was under the (tested & confirmed) impression that programs executed by ppp are run under uid 0. Eg. I don't use "sudo" but t

Re: porting from old to new one

2000-11-15 Thread Kris Kennaway
On Wed, Nov 15, 2000 at 04:02:28PM +0300, hellman wrote: > Hello, > > How can i port all content of my server to new one ? > > On a new server i have new hdd... > > I want to port kernel,all packages installed and so so so... > > What is a correct answer for this? tar and netcat or a NFS moun

Any known issue about icmp replies ?

2000-11-15 Thread Remy Nonnenmacher
Hello, It seems that some Linux distribs are on trouble with icmp replies that get replied (see below). My question is: is there any known issue on FreeBSD getting an icmp reply and responding by another icmp reply ? (Guess not but better be sure). Exemple: 00:10:37.305915 33.85.11.rrcentralflo

Re: PPPoE w/ nat auto fragmentation hack? (use tcpmssd port)

2000-11-15 Thread Brian Somers
> Maybe I'm just being boneheaded, but... > > > ! sudo ipfw add 4 divert 12345 all from any to any via INTERFACE > > ! sudo /usr/local/bin/tcpmssd -p 12345 -i INTERFACE > > I was under the (tested & confirmed) impression that programs executed by > ppp are run under uid 0. Eg. I don't us

Re: PPPoE w/ nat auto fragmentation hack? (use tcpmssd port)

2000-11-15 Thread Renaud Waldura
> ppp will run programs as the user id that invoked ppp rather than > using the effective user id (ie, it runs things as *you*, not *root*). Mmm-mmh. In my case, since ppp is started at boot time, the only user that ever invokes it is root, hence the tcpmssd thingy is run as root. As confirmed by

scheduler activations in FBSD5.0?

2000-11-15 Thread frank xu
I heard rumor that Thomas E. Anderson's Scheduler Activations theory will be implemented in FreeBSD 5.0 kernel, is it true? Regards, XuYifeng _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share

Re: scheduler activations in FBSD5.0?

2000-11-15 Thread Alfred Perlstein
* frank xu <[EMAIL PROTECTED]> [001115 23:15] wrote: > I heard rumor that Thomas E. Anderson's Scheduler Activations theory will > be implemented in FreeBSD 5.0 kernel, is it true? Several people have begun the initial development on it. -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTE

Re: Any known issue about icmp replies ?

2000-11-15 Thread Eugene Polovnikov
Are you sure that your system isn't hacked/cracked ? Content of packets look strange for me. In article <[EMAIL PROTECTED]> you wrote: > Hello, > It seems that some Linux distribs are on trouble with icmp replies that > get replied (see below). My question is: is there any known issue on > FreeB

Re: Any known issue about icmp replies ?

2000-11-15 Thread Mike Silbersack
On Thu, 16 Nov 2000, Eugene Polovnikov wrote: > Are you sure that your system isn't hacked/cracked ? > Content of packets look strange for me. Yeah, now that you suggested that, I checked - that's Stacheldraht's handiwork. Unplug the box soon, Remy! Mike "Silby" Silbersack To Unsubscribe: