Re: AMD wedging
In message <[EMAIL PROTECTED]> "David E. Cross" writes: : I have been noticing of late a disturbing trend of AMD wedging and : eventually taking the entire system down. The WCHAN that it is locked in is : "sbwait". I now have the luxury of having this happen on a non-critical : system with DDB compiled in (the system is the one I am typing on now). : How would I go about finding exactly what it is stuck on so I may correct : the bug in the kernel or amd? -stable or -current? If -stable, then there is a well known bug that prevents AMD from NFS mounting local file systems. I have a kludge that is gross beyond words that I came up with, but haven't had a time to made it any less gross. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: vmpfw in pine via NFS
According to Wilko Bulte: > It's been done. It's called MS Exchange. AFAIK, it is the opposite. M-Sexchange use one unique database for all mailboxes, making recovery of a lost message an "interesting" challenge. It is worse than the mbox format... -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- [EMAIL PROTECTED] FreeBSD keltia.freenix.fr 4.0-CURRENT #75: Tue Nov 2 21:03:12 CET 1999 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: Should jail treat ip-number?
> > >-Jail(2) specify "ip_number" and/or "ip6_number" into the kernel. > > > > Well, I guess we want it to be "and", right ? Will people want to > > bind both a IPv4 and IPv6 address (does it make sense to do so ?) > > or will people only need to bind one of them ? > > I also think it is "and", but maybe some time some application > just use one of them and specify another familiy's addr as > null. So I used "and/or". > > > > What about multiple IPv6 or IPv4 addresses per jail? It might be a > > > good idea while Inoue-san is at it. Or is this an incredibly stupid > > > question? > > > > I don't know how technically difficult it would be to allow multiple > > IPv4 and IPv6 addresses per jail, but I can think of a few very good > > things to do with it. I spend a fair amount of time playing with > > routing protocols and it would be wonderful to be able to create > > jailed version of gated/zebra/rodscode on the same box and watch > > them interact. It would probably cut the size of my hardware lab > > used for this now in half or maybe even quarter it! > > I'm not sure if multiple addrs for each address familiy will > be useful or not. Just about anything usefull in a non jailed world is useful in a jailed world. Other applications for this would be a jailed NAT router, ability to jail our dual homed DNS and web services where everything is fully redundant right down to dual nics in every box, dual switches and 2 IP's on seperate blocks with DNS running on 2 boxes at 4 IP's. We do things for Telco's and they are really big into redundancy by dualality, and that means 2 IP's inside a jail, or 2 jails. > > But at least, I think several other change(e.g. kernel routing > table implementation change, or prepare several virtual ones > on user-land) will also be necessary for several instances of > each routing protocol implementation to operate on a system. Your correct, I had not taken that thought far enough to think about the fact that the kernel routing table is a shared resouce. Is it protected from modification by a jailed process? > > > >-Kernel treat "ip6_number" as just a same kind of extension > > > for IPv6 as "ip_number" for IPv4. > > > > I'm not against them being sockaddr's. > > I think it depends on if we allow multiple addrs per address > family. > > If we don't allow it, I think sockaddr is not better, because, > > -Need to explicitely forbid multiple same families > specification(e.g. either of sockaddr is AF_INET) as API. > > -Kernel side also need to check (1) case, and do some > additional work. > (return error, or prefer the former or the latter) > > -When more sockaddr's are added in the future, things will > be more complicated. > > If we allow it(multiple addrs per address family), then I > think sockaddr list pointer member, and total sockaddr's > number member should be added, and they are searched in > prison_ip(), prison_ip6() or such like that in kernel. > > But again, I'm not sure how multiple addrs per address family > is useful. > > If explicit needs for "multiple addrs per address family" are > not clear now, I would like to try to implement just adding > ip6_number member for this time. I think that this is probably the best path at this time. -- Rod Grimes - KD7CAX @ CN85sl - (RWG25) [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: Should jail treat ip-number?
> >-Jail(2) specify "ip_number" and/or "ip6_number" into the kernel. > > Well, I guess we want it to be "and", right ? Will people want to > bind both a IPv4 and IPv6 address (does it make sense to do so ?) > or will people only need to bind one of them ? I also think it is "and", but maybe some time some application just use one of them and specify another familiy's addr as null. So I used "and/or". > > What about multiple IPv6 or IPv4 addresses per jail? It might be a > > good idea while Inoue-san is at it. Or is this an incredibly stupid > > question? > > I don't know how technically difficult it would be to allow multiple > IPv4 and IPv6 addresses per jail, but I can think of a few very good > things to do with it. I spend a fair amount of time playing with > routing protocols and it would be wonderful to be able to create > jailed version of gated/zebra/rodscode on the same box and watch > them interact. It would probably cut the size of my hardware lab > used for this now in half or maybe even quarter it! I'm not sure if multiple addrs for each address familiy will be useful or not. But at least, I think several other change(e.g. kernel routing table implementation change, or prepare several virtual ones on user-land) will also be necessary for several instances of each routing protocol implementation to operate on a system. > >-Kernel treat "ip6_number" as just a same kind of extension > > for IPv6 as "ip_number" for IPv4. > > I'm not against them being sockaddr's. I think it depends on if we allow multiple addrs per address family. If we don't allow it, I think sockaddr is not better, because, -Need to explicitely forbid multiple same families specification(e.g. either of sockaddr is AF_INET) as API. -Kernel side also need to check (1) case, and do some additional work. (return error, or prefer the former or the latter) -When more sockaddr's are added in the future, things will be more complicated. If we allow it(multiple addrs per address family), then I think sockaddr list pointer member, and total sockaddr's number member should be added, and they are searched in prison_ip(), prison_ip6() or such like that in kernel. But again, I'm not sure how multiple addrs per address family is useful. If explicit needs for "multiple addrs per address family" are not clear now, I would like to try to implement just adding ip6_number member for this time. Yoshinobu Inoue To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
AMD wedging
I have been noticing of late a disturbing trend of AMD wedging and eventually taking the entire system down. The WCHAN that it is locked in is "sbwait". I now have the luxury of having this happen on a non-critical system with DDB compiled in (the system is the one I am typing on now). How would I go about finding exactly what it is stuck on so I may correct the bug in the kernel or amd? -- David Cross | email: [EMAIL PROTECTED] Acting Lab Director | NYSLP: FREEBSD Systems Administrator/Research Programmer | Web: http://www.cs.rpi.edu/~crossd Rensselaer Polytechnic Institute, | Ph: 518.276.2860 Department of Computer Science| Fax: 518.276.4033 I speak only for myself. | WinNT:Linux::Linux:FreeBSD To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: Should jail treat ip-number?
> Poul-Henning Kamp wrote: > > >-Jail(2) specify "ip_number" and/or "ip6_number" into the kernel. > > > > Well, I guess we want it to be "and", right ? Will people want to > > bind both a IPv4 and IPv6 address (does it make sense to do so ?) > > or will people only need to bind one of them ? > > What about multiple IPv6 or IPv4 addresses per jail? It might be a > good idea while Inoue-san is at it. Or is this an incredibly stupid > question? I don't know how technically difficult it would be to allow multiple IPv4 and IPv6 addresses per jail, but I can think of a few very good things to do with it. I spend a fair amount of time playing with routing protocols and it would be wonderful to be able to create jailed version of gated/zebra/rodscode on the same box and watch them interact. It would probably cut the size of my hardware lab used for this now in half or maybe even quarter it! -- Rod Grimes - KD7CAX @ CN85sl - (RWG25) [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: Should jail treat ip-number?
Poul-Henning Kamp wrote: > >-Jail(2) specify "ip_number" and/or "ip6_number" into the kernel. > > Well, I guess we want it to be "and", right ? Will people want to > bind both a IPv4 and IPv6 address (does it make sense to do so ?) > or will people only need to bind one of them ? What about multiple IPv6 or IPv4 addresses per jail? It might be a good idea while Inoue-san is at it. Or is this an incredibly stupid question? Cheers, Jeroen -- Jeroen C. van Gelderen - [EMAIL PROTECTED] Interesting read: http://www.vcnet.com/bms/ JLF To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: vmpfw in pine via NFS
> > > > /me shivers at the thought of my (easily) 500+ new messages a day > > and hundreds of thousands of messages being stored one file for each > > message... > > It's been done. It's called MS Exchange. You don't have to use vile language in public :-) MH has been storing mail in it's folders like this for years/decades. While it might be a little hard on the file system, it works great for the user. Sorta like emacs. louie To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: Set the baud rate on remote debugging
In message <[EMAIL PROTECTED]> Doug Rabson writes: : I've always used 57600 and it seems to work fine... On some carefully hand picked machines, I run at 115200 w/o problems... Don't try this if your mcahines don't have good UARTs and can service the interrupts fast enough... Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: UNILOAD v.1.2
In message <[EMAIL PROTECTED]> Dennis writes: : regarding loading over 1024 cylinder...does this work? even w/o uniload, I've managed to get my FreeBSD partition to work on my Sony VAIO laptop. It starts at cylnder 2193... It all depends on the BIOS that you are using... Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: Set the baud rate on remote debugging
On Wednesday, 17 November 1999 at 21:10:58 +, Doug Rabson wrote: > On Tue, 16 Nov 1999, Greg Lehey wrote: > >> On Monday, 15 November 1999 at 16:46:50 -0500, Zhihui Zhang wrote: >>> >>> On Mon, 15 Nov 1999, Greg Lehey wrote: >>> On Monday, 15 November 1999 at 15:13:53 -0700, Kenneth D. Merry wrote: > Zhihui Zhang wrote... >> >> I have set up a remote debugging environment. But I think default 9600 >> bps is slow. I can use "set remotebaud 19200" on the debugging machine >> side. How can I set the baud rate on the target machine that is running >> the debugged kernel? (I press CTRL+ESC+ALT to drop to DDB mode and find >> no command to set the baud rate). >> >> Any help is appreciated. > > Use the CONSPEED option in the kernel config file on the target machine. > e.g.: > > options CONSPEED=115200 I'm planning to modify ddb to specify the bit rate as a parameter to the gdb command: db> gdb 19200 Next trap will enter GDB remote protocol mode at 19200 bps Comments? >>> >>> That will be useful. I have just found out that I can use sysctl -w >>> machdep.conspeed=19200 to achieve this. But I can not go higher than >>> 19200. >> >> I set 38400 today, but it ran very badly. I think 19200 is probably >> as high as you want to go, at least until somebody fixes the buffering >> in the UARTs. > > I've always used 57600 and it seems to work fine... I think it depends on your UART hardware. Greg -- Finger [EMAIL PROTECTED] for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: Set the baud rate on remote debugging
On Tue, 16 Nov 1999, Greg Lehey wrote: > On Monday, 15 November 1999 at 16:46:50 -0500, Zhihui Zhang wrote: > > > > On Mon, 15 Nov 1999, Greg Lehey wrote: > > > >> On Monday, 15 November 1999 at 15:13:53 -0700, Kenneth D. Merry wrote: > >>> Zhihui Zhang wrote... > > I have set up a remote debugging environment. But I think default 9600 > bps is slow. I can use "set remotebaud 19200" on the debugging machine > side. How can I set the baud rate on the target machine that is running > the debugged kernel? (I press CTRL+ESC+ALT to drop to DDB mode and find > no command to set the baud rate). > > Any help is appreciated. > >>> > >>> Use the CONSPEED option in the kernel config file on the target machine. > >>> e.g.: > >>> > >>> options CONSPEED=115200 > >> > >> I'm planning to modify ddb to specify the bit rate as a parameter to > >> the gdb command: > >> > >> db> gdb 19200 > >> Next trap will enter GDB remote protocol mode at 19200 bps > >> > >> Comments? > >> > > > > That will be useful. I have just found out that I can use sysctl -w > > machdep.conspeed=19200 to achieve this. But I can not go higher than > > 19200. > > I set 38400 today, but it ran very badly. I think 19200 is probably > as high as you want to go, at least until somebody fixes the buffering > in the UARTs. I've always used 57600 and it seems to work fine... -- Doug Rabson Mail: [EMAIL PROTECTED] Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: Set the baud rate on remote debugging
> db> gdb 19200 > Next trap will enter GDB remote protocol mode at 19200 bps > > Comments? Yes: Please do. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: vmpfw in pine via NFS
As Daniel C. Sobral wrote ... > Jos Backus wrote: > > > > On Tue, Nov 16, 1999 at 10:03:07AM -0800, Doug White wrote: > > > If so you're breaking the cardinal rule of NFS: Never serve mail spools > > > via NFS. > > > > ...unless you're using the Maildir mailbox format and delivery protocol: > > > > http://cr.yp.to/proto/maildir.html > > /me shivers at the thought of my (easily) 500+ new messages a day > and hundreds of thousands of messages being stored one file for each > message... It's been done. It's called MS Exchange. -- | / o / / _ Arnhem, The Netherlands - Powered by FreeBSD - |/|/ / / /( (_) Bulte WWW : http://www.tcja.nl http://www.freebsd.org To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
VAIO F270, ep0 and -current
Greetings, I have been in light contact with Warner over the course of the last couple of weeks, and I am still at wits end with this one. Currently, my laptop (VAIO F270 with a 3Com 589E pcmcia nic card) runs 3.3-REL with the PAO hacks, and works near-perfect. However, I would love to use this machine as a development box, which means I should really be running current on it. Now, everything but pccard works, which fails with ENOTTY on the following ioctl() call: usr.sbin/pccard/pccardd/cardd.c, line 590: if (ioctl(sp->fd, PIOCSDRV, &drv)) { This is now the only thing holding me back. Anyone had a similar experience? Relevant configuration follows. pccard.conf -- io 0x240-0x360 irq 3 5 10 11 13 15 memory 0xd4000 96k card "3Com" "Megahertz 589E" config 0x1 "ep0" ? insert echo 3Com Megahertz Ethernet card inserted insert /etc/pccard_ether ep0 remove echo 3Com Megahertz Ethernet card removed remove /sbin/ifconfig ep0 delete the kernel config is a chopped down PCCARD Cheers, -- Dan Moschuk ([EMAIL PROTECTED]) "Cure for global warming: One giant heatsink and dual fans!" To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Bumping libstdc++ version number
The core team has discussed the issue of bumping the libstdc++ version numer because of the compiler upgrade: Yes, we do have a rule saying ``only one bump per release'', and that rules still stands. But no rule without exception: Clearly what we're looking at here deserves a version number bump, and therefore -core hereby gives David O'Brien permission to do so. for -core, Poul-Henning Kamp -- Poul-Henning Kamp FreeBSD coreteam member [EMAIL PROTECTED] "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far!
Re: Should jail treat ip-number?
Yoshinobu Inoue wrote: > > -As already commented, checking those addresses which >already specified by other jail'ed processes is necessary. I disagree. The address is specified by the admin of the machine. Letting him shoot himself in the foot is not particular bad, and the test can be performed by the userland tools used to manage the machine. > solution: > Don't specify addresses via jail(2), and let kernel select > any non binded address. > Loop in_ifaddr list and try in_pcblookup_hash() for each > of addresses, just as in_pcbbind does it to search for non > binded port. > > A weak point of this solution is that processes in a same jail > won't be necessariliy binded to a same address, but does it > matters? Ok, question: I "buy" a virtual server on the machine to run an internet daemon of mine. I need the IP to that server to access the daemon. How do the admin of the machine ensures that _my_ jail will have the fixed IP assigned to me always with your solution? -- Daniel C. Sobral(8-DCS) [EMAIL PROTECTED] [EMAIL PROTECTED] "Then again maybe not going to heaven would be a blessing. Relkin liked a certain amount of peace and harmony, since there'd been a pronounced shortage of them in his own life; however, nothing but peace and harmony, forever and forever? He wasn't sure about that. And no beer? Very dubious proposition." To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: vmpfw in pine via NFS
Jos Backus wrote: > > On Tue, Nov 16, 1999 at 10:03:07AM -0800, Doug White wrote: > > If so you're breaking the cardinal rule of NFS: Never serve mail spools > > via NFS. > > ...unless you're using the Maildir mailbox format and delivery protocol: > > http://cr.yp.to/proto/maildir.html /me shivers at the thought of my (easily) 500+ new messages a day and hundreds of thousands of messages being stored one file for each message... -- Daniel C. Sobral(8-DCS) [EMAIL PROTECTED] [EMAIL PROTECTED] "Then again maybe not going to heaven would be a blessing. Relkin liked a certain amount of peace and harmony, since there'd been a pronounced shortage of them in his own life; however, nothing but peace and harmony, forever and forever? He wasn't sure about that. And no beer? Very dubious proposition." To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: UNILOAD v.1.2
regarding loading over 1024 cylinder...does this work? Can someone provide a pointer? The URL previously provided on this list does not work. Dennis To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: making users modem dial from webpage
At 05:40 PM 11/17/99 +0300, Aleksandr A.Babaylov wrote: >Kelly Yancey writes: > > On Tue, 16 Nov 1999, Leif Neland wrote: > > > I've been asked if this is possible: > > > > > > Having a webserver running a database of some sort. > > > User clicks a button on a form, a cgi-script runs, determines the ip of > > > the user, and sends a command to "something" on the users pc, which then > > > sends commands to a modem, making it dial a number. If they are dialed into an ISP how are they going to be able to dial otherwise? Or is this for internal use only? > > > > > > So our salespeople can dial directly from the database. > > > > > > This "something", could this be a java-applet, or should it be an > > > active-x? Or something completely different? you could do it with active X, but that limits your platform > > > > I think that the security settings in most browsers would prevent an > > object embedded in a page (such as a java applet or activeX control) from > > this amount of system access. Just think of the implications otherwise: > > maliscious people could put applets/activeX controls on a web page which > > racked up long distance charges to some eastern European country. This can be configured. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: bdevsw ??
[redirected to -CURRENT] Repeat after me: If I am running -CURRENT, I should be subscribed to -CURRENT, and that's where I should send my messages about -CURRENT. On Wednesday, 17 November 1999 at 9:53:19 -0500, Christopher Stein wrote: > > Could someone please tell me why bdevsw has disappeared > from FreeBSD-current Block devices are going away. > and what I should use for the block device switch. Probably nothing. It depends on what you want a block device switch for. Greg -- Finger [EMAIL PROTECTED] for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: netgraph into -stable.
On Wed, 17 Nov 1999, Thierry Herbelot wrote: > Is there any doc on how to implement ISP-side PPPoE ? (or is it PPP over > ATM, on the PVCs terminating the ADSL connections ?) > > TfH Documenttion is on its way. The present pppoe man page will give some help but it is not complete yet. Brian is writing a pppoed to do the server side. Its not complete yet either. Julian To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: Should jail treat ip-number?
In message <[EMAIL PROTECTED]>, Yoshinobu Inoue writes: >-Only think about inet and inet6. Forget about other protocol > family and sockaddr. > (Just as current jail only think about inet.) This has basically been the policy until now: Don't worry about a protocol until somebody needs it. >-Just add an in6_addr structure(IPv6 address) member > "ip6_number" into the jail structure. > >-Jail(2) specify "ip_number" and/or "ip6_number" into the kernel. Well, I guess we want it to be "and", right ? Will people want to bind both a IPv4 and IPv6 address (does it make sense to do so ?) or will people only need to bind one of them ? >-Kernel treat "ip6_number" as just a same kind of extension > for IPv6 as "ip_number" for IPv4. I'm not against them being sockaddr's. >-Jail(8) command can also accept DNS name, and then it resolve > the name internally and, > if A record is obtained, specify its address into "ip_number". > if record is obtained, also specify its address into "ip6_number". Sure, this is trivial to do. -- Poul-Henning Kamp FreeBSD coreteam member [EMAIL PROTECTED] "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: Set the baud rate on remote debugging
On Monday, 15 November 1999 at 16:46:50 -0500, Zhihui Zhang wrote: > > On Mon, 15 Nov 1999, Greg Lehey wrote: > >> On Monday, 15 November 1999 at 15:13:53 -0700, Kenneth D. Merry wrote: >>> Zhihui Zhang wrote... I have set up a remote debugging environment. But I think default 9600 bps is slow. I can use "set remotebaud 19200" on the debugging machine side. How can I set the baud rate on the target machine that is running the debugged kernel? (I press CTRL+ESC+ALT to drop to DDB mode and find no command to set the baud rate). Any help is appreciated. >>> >>> Use the CONSPEED option in the kernel config file on the target machine. >>> e.g.: >>> >>> options CONSPEED=115200 >> >> I'm planning to modify ddb to specify the bit rate as a parameter to >> the gdb command: >> >> db> gdb 19200 >> Next trap will enter GDB remote protocol mode at 19200 bps >> >> Comments? >> > > That will be useful. I have just found out that I can use sysctl -w > machdep.conspeed=19200 to achieve this. But I can not go higher than > 19200. I set 38400 today, but it ran very badly. I think 19200 is probably as high as you want to go, at least until somebody fixes the buffering in the UARTs. Greg -- Finger [EMAIL PROTECTED] for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
bdevsw ??
Could someone please tell me why bdevsw has disappeared from FreeBSD-current and what I should use for the block device switch. Thanks Chris Stein To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: making users modem dial from webpage
Kelly Yancey writes: > On Tue, 16 Nov 1999, Leif Neland wrote: > > I've been asked if this is possible: > > > > Having a webserver running a database of some sort. > > User clicks a button on a form, a cgi-script runs, determines the ip of > > the user, and sends a command to "something" on the users pc, which then > > sends commands to a modem, making it dial a number. > > > > So our salespeople can dial directly from the database. > > > > This "something", could this be a java-applet, or should it be an > > active-x? Or something completely different? > > I think that the security settings in most browsers would prevent an > object embedded in a page (such as a java applet or activeX control) from > this amount of system access. Just think of the implications otherwise: > maliscious people could put applets/activeX controls on a web page which > racked up long distance charges to some eastern European country. It is very easy: create file on server side with content-type x-application/x-dialout for example and dial information in it. configure helpers to start program 'dialout' for type x-application/x-dialout and write script 'dialout' which use dialing information from x-application/x-dialout files. All names are examples and can be changed as you want. But be careful when choose name for content-type Sorry bad English. I can to detaile if need (I am using similar methods sometimes) -- @BABOLO http://links.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: Portable way to compare struct stat's?
Kelly Yancey wrote: [..] > For the list: while I was checking OpenBSD's kern_descrip.c to see > whether they zeroed the memory first, I noticed that they had the > following check that my 3.3-stable system does not: > > [ ... ] > /* Don't let non-root see generation numbers (for NFS security) */ > if (suser(p->p_ucred, &p->p_acflag)) ub.st_gen = 0; > [ perform copyout ... ] > > Is this a legitimate concern or paranoia? I see that we don't bother in > -current with it either. We do this too, but elsewhere... int vn_stat(vp, sb, p) { ... if (suser_xxx(p->p_ucred, 0, 0)) sb->st_gen = 0; else sb->st_gen = vap->va_gen; ... } Cheers, -Peter -- Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: Included file errors
You're missing a #include of - Dave R. - To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Included file errors
I am trying to compile a C source, but i get some strange error. In file included from stats.c:15: /usr/include/sys/socket.h:139: parse error before `u_char' /usr/include/sys/socket.h:139: warning: no semicolon at end of struct or union /usr/include/sys/socket.h:140: warning: data definition has no type or storage class /usr/include/sys/socket.h:142: parse error before `}' /usr/include/sys/socket.h:150: parse error before `u_short' /usr/include/sys/socket.h:150: warning: no semicolon at end of struct or union /usr/include/sys/socket.h:151: warning: data definition has no type or storage class /usr/include/sys/socket.h:266: parse error before `caddr_t' /usr/include/sys/socket.h:266: warning: no semicolon at end of struct or union /usr/include/sys/socket.h:267: warning: data definition has no type or storage class /usr/include/sys/socket.h:269: parse error before `msg_iovlen' /usr/include/sys/socket.h:269: warning: data definition has no type or storage class /usr/include/sys/socket.h:270: parse error before `msg_control' /usr/include/sys/socket.h:270: warning: data definition has no type or storage class /usr/include/sys/socket.h:271: parse error before `msg_controllen' /usr/include/sys/socket.h:271: warning: data definition has no type or storage class /usr/include/sys/socket.h:273: parse error before `}' /usr/include/sys/socket.h:293: parse error before `u_int' /usr/include/sys/socket.h:293: warning: no semicolon at end of struct or union /usr/include/sys/socket.h:297: parse error before `}' /usr/include/sys/socket.h:314: parse error before `pid_t' /usr/include/sys/socket.h:314: warning: no semicolon at end of struct or union /usr/include/sys/socket.h:315: warning: data definition has no type or storage class /usr/include/sys/socket.h:316: parse error before `cmcred_euid' /usr/include/sys/socket.h:316: warning: data definition has no type or storage class /usr/include/sys/socket.h:317: parse error before `cmcred_gid' /usr/include/sys/socket.h:317: warning: data definition has no type or storage class /usr/include/sys/socket.h:319: parse error before `cmcred_groups' /usr/include/sys/socket.h:319: warning: data definition has no type or storage class /usr/include/sys/socket.h:320: parse error before `}' /usr/include/sys/socket.h:343: parse error before `u_short' /usr/include/sys/socket.h:343: warning: no semicolon at end of struct or union /usr/include/sys/socket.h:345: parse error before `}' /usr/include/sys/socket.h:351: parse error before `caddr_t' /usr/include/sys/socket.h:351: warning: no semicolon at end of struct or union /usr/include/sys/socket.h:355: parse error before `msg_accrights' /usr/include/sys/socket.h:355: warning: data definition has no type or storage class /usr/include/sys/socket.h:357: parse error before `}' /usr/include/sys/socket.h:388: parse error before `recv' /usr/include/sys/socket.h:388: warning: data definition has no type or storage class /usr/include/sys/socket.h:389: parse error before `recvfrom' /usr/include/sys/socket.h:389: warning: data definition has no type or storage class /usr/include/sys/socket.h:390: parse error before `recvmsg' /usr/include/sys/socket.h:390: warning: data definition has no type or storage class ... ... ... In file included from stats.c:16: /usr/include/arpa/inet.h:89: warning: parameter has incomplete type /usr/include/arpa/inet.h:92: warning: parameter has incomplete type /usr/include/arpa/inet.h:96: warning: parameter has incomplete type BTW, i am running 3.3Stable. -- ADA, n.: Something you need only know the name of to be an Expert in Computing. Useful in sentences like, "We had better develop an ADA awareness." To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: vmpfw in pine via NFS
On Tue, Nov 16, 1999 at 10:03:07AM -0800, Doug White wrote: > If so you're breaking the cardinal rule of NFS: Never serve mail spools > via NFS. ...unless you're using the Maildir mailbox format and delivery protocol: http://cr.yp.to/proto/maildir.html -- Jos Backus _/ _/_/_/ "Reliability means never _/ _/ _/ having to say you're sorry." _/ _/_/_/ -- D. J. Bernstein _/ _/ _/_/ [EMAIL PROTECTED] _/_/ _/_/_/ use Std::Disclaimer; To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: mode_perl DSO works on STABLE, not CURRENT
On Thu, 11 Nov 1999 00:45:52 +0100, Ollivier Robert wrote: > Your Perl binary is compiled without '-Wl,-E' (or > '-Wl,--export-dynamic'). Without this option the Perl binary doesn't > expoert its symbols thus preventing any dynamically loaded module to > use anything from the binary. Hi Ollivier, Thanks for your reply. I appreciate that this is a sticky one to get mixed up in. The thing is that the libperl.a which is compiled as part of the mod_perl installation _is_ linked with -E. So I'm not sure what else to look at. I've submitted PR 14924 with the details and a precise How-To-Repeat, so if you have any further suggestions, your feedback copied to freebsd-gnats-submit would be greatly appreciated. Thanks, Sheldon. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: netgraph into -stable.
Julian Elischer wrote: > > I admit that it doesn't seem a minor addition, but > I'd like ot get netgraph down -nto 3.x now that it has been shaken down a > bit in 4.x > > reasons: > 1/ DSL in Canada is now switching rapidly to PPPoE. > 2/ PPP will start using it soon (other than with pppoe) > and we'd like ONE version not 2 for Brian to maintain. > 3/ ISPs who may wan tto use the PPPOE server side are generally running > 3.x, not 4.x Is there any doc on how to implement ISP-side PPPoE ? (or is it PPP over ATM, on the PVCs terminating the ADSL connections ?) TfH > > Supporting facts: > Netgraph is written to generally be non intrusive. > No code is changed in the non "options NETGRAPH" case and only minor > changes are made in normal code paths in the NETGRAPH case. > (with the exception of the if_sr and if_ar drivers) > > I might hold off on some of the more intrusive of those > changes (e.g. no real need to add it to netstat immediatly) > which will not really effect the functionality. > > And last but not least: > We are actually developing Netgraph under 3.3 so we are already keeping > two source trees in sync, 3.3. and 4.0 so we might as well let others get > at it. > > Anyone violently object? > > Julian > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message