In this issue:
Re: Insecure PHP installation?
Re: divert socket
Freebsd 5.0-RELEASE & named pipes
Re: Freebsd 5.0-RELEASE & named pipes
Re: 3 IDE devices on Promise card + FreeBSD == not possible?
Re: Freebsd 5.0-RELEASE & named pipes
Re: Freebsd 5.0-RELEASE & named pipes
Re: Freebsd 5.0-RELEASE & named pipes
Re: Realtek
Re: 3 IDE devices on Promise card + FreeBSD == not possible?
憩脹斕賸ㄐ
Re: Realtek
IP addresses of bridge interfaces
long long sysctl possible?
Re: long long sysctl possible?
=?ISO-8859-1?B?pOmxYKXOq36kV7r0wco=?=
----------------------------------------------------------------------
Date: Mon, 10 Mar 2003 16:34:20 -0800 (PST)
From: Doug Barton <Do...@FreeBSD.org>
Subject: Re: Insecure PHP installation?
On Mon, 10 Mar 2003, Wes Peters wrote:
> -bash-2.05b$ pkg_info | grep php
> mod_php4-4.2.3 PHP4 module for Apache
EANCIENTPHP
I think that the problem is specific to 4.3.x. FYI dirk, I did the 'find /
- -perms +0002' myself, and php is installing a whole bunch of stuff with
world write, so this is a bigger issue than just the one script.
Doug
- --
This .signature sanitized for your protection
------------------------------
Date: Mon, 10 Mar 2003 17:28:04 -0800 (PST)
From: Neelkanth Natu <neel...@yahoo.com>
Subject: Re: divert socket
- --- Ferruccio Vitale <fre...@cs.tin.it> wrote:
>
> I try to explain better my problem: when my daemon tries to read from this socket, recv tells me
> it read 68 bytes, for example, which is about message size at application layer, but what I read
> is not I expect (string without sense). Is there a particular way to read from a raw socket or a
> divert socket?
Take a look at the tcpmssd code in the ports/net collection. In a nutshell, the data that
is read from the divert socket contains the IP header, typically followed by the TCP/UDP header,
followed by the application data.
http://www.freebsd.org/cgi/pds.cgi?ports/net/tcpmssd
http://www.freebsd.org/cgi/url.cgi?ports/net/tcpmssd/pkg-descr
best
Neel
>
> Ferruccio
>
> To Unsubscribe: send mail to majo...@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
------------------------------
Date: 11 Mar 2003 04:04:06 +0100
From: Borut Kurnik <bo...@vlk.dyndns.org>
Subject: Freebsd 5.0-RELEASE & named pipes
Hi!
I installed FreeBSD 5.0-RELEASE (generic kernel).
When I try to direct stream to a named pipe, I get:
Resource temporarily unavailable.
[root@bart root]# mkfifo f; find /etc > f &
[1] 2200
[root@bart root]# -bash: f: Resource temporarily unavailable
???
Thanks,
Borut
------------------------------
Date: 11 Mar 2003 04:22:08 +0100
From: Borut Kurnik <bo...@vlk.dyndns.org>
Subject: Re: Freebsd 5.0-RELEASE & named pipes
Hi!
The system doesn't wait for me to open the reader, I get the message
instantly.
I worked on 4.7 & still does (also on linux, netbsd, ... :-) )
This is NetBSD 1.6
[root@himler root]# echo "test" > f &
[1] 2383
[root@himler root]# cat < f
test
[1]+ Done echo "test" >f
And this is FreeBSD 5.0
[root@bart root]# echo "test" > f &
[1] 2436
[root@bart root]# -bash: f: Resource temporarily unavailable
[1]+ Exit 1 echo "test" >f
Borut
On Tue, 2003-03-11 at 04:10, Lyndon Nerenberg {VE6BBM} wrote:
> >[root@bart root]# mkfifo f; find /etc > f &
> >[1] 2200
> >[root@bart root]# -bash: f: Resource temporarily unavailable
>
> You need a reader on the other side of the FIFO.
------------------------------
Date: Mon, 10 Mar 2003 22:41:03 -0500
From: Pete <pete-freeb...@toscano.org>
Subject: Re: 3 IDE devices on Promise card + FreeBSD == not possible?
On Mon, 10 Mar 2003, S鷨en Schmidt wrote:
> No, thats not the case, the ATA driver has a built in RAID engine
> to use with Promise and HighPoint controllers. The reason it is
> like this is that it is nessesary to read the RAID config off the
> disks in a vendor specific way, and neither of cdd/vinum could do
> this when its was done.
So, if I were to create the RAID-1 volume with atacontrol, I'm tied to
using the Promise controller? Could I move the drives to a
Highpoint-based controller or just a plain on-board ATA interface and
still have the RAID volume accessible? If I want this kind of
flexibility, should I move to Vinum?
Thanks again for taking the time to clear all of this up. I really
appreciate it.
pete
------------------------------
Date: Mon, 10 Mar 2003 22:42:55 -0500
From: taxman <tax...@acd.net>
Subject: Re: Freebsd 5.0-RELEASE & named pipes
On Monday 10 March 2003 10:22 pm, Borut Kurnik wrote:
> Hi!
>
> The system doesn't wait for me to open the reader, I get the message
> instantly.
>
> I worked on 4.7 & still does (also on linux, netbsd, ... :-) )
Ok then you may want to either use 4.7, or upgrade to -current and see how it
does there. If you still get an error, the best place to ask would be on the
- -current mailing list. 5.0-release was not meant as a production release.
Tim
as an aside, yes Mike, I'll get the FAQ writeup to you.
------------------------------
Date: Mon, 10 Mar 2003 21:51:05 -0600
From: David Syphers <dsyp...@uchicago.edu>
Subject: Re: Freebsd 5.0-RELEASE & named pipes
On Monday 10 March 2003 09:22 pm, Borut Kurnik wrote:
> I worked on 4.7 & still does (also on linux, netbsd, ... :-) )
>
> This is NetBSD 1.6
>
> [root@himler root]# echo "test" > f &
> [1] 2383
> [root@himler root]# cat < f
> test
> [1]+ Done echo "test" >f
>
>
> And this is FreeBSD 5.0
>
> [root@bart root]# echo "test" > f &
> [1] 2436
> [root@bart root]# -bash: f: Resource temporarily unavailable
>
> [1]+ Exit 1 echo "test" >f
This works fine on my system, which is -current from March 2, using both tcsh
and bash. But since bash is not the default shell, but a port, isn't this
dependent on the version of the port you have installed rather than the OS? I
have bash-2.05b.004.
- -David
Astronomy and Astrophysics Center
The University of Chicago
------------------------------
Date: 11 Mar 2003 05:00:09 +0100
From: Borut Kurnik <bo...@vlk.dyndns.org>
Subject: Re: Freebsd 5.0-RELEASE & named pipes
bash-2.05b.004 here too. But -current might help.
Borut
On Tue, 2003-03-11 at 04:51, David Syphers wrote:
> On Monday 10 March 2003 09:22 pm, Borut Kurnik wrote:
> > I worked on 4.7 & still does (also on linux, netbsd, ... :-) )
> >
> > This is NetBSD 1.6
> >
> > [root@himler root]# echo "test" > f &
> > [1] 2383
> > [root@himler root]# cat < f
> > test
> > [1]+ Done echo "test" >f
> >
> >
> > And this is FreeBSD 5.0
> >
> > [root@bart root]# echo "test" > f &
> > [1] 2436
> > [root@bart root]# -bash: f: Resource temporarily unavailable
> >
> > [1]+ Exit 1 echo "test" >f
>
> This works fine on my system, which is -current from March 2, using both tcsh
> and bash. But since bash is not the default shell, but a port, isn't this
> dependent on the version of the port you have installed rather than the OS? I
> have bash-2.05b.004.
>
> -David
>
> --
> http://www.seektruth.org
>
> Astronomy and Astrophysics Center
> The University of Chicago
>
> To Unsubscribe: send mail to majo...@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
------------------------------
Date: Mon, 10 Mar 2003 21:02:33 -0800
From: Wes Peters <w...@softweyr.com>
Subject: Re: Realtek
On Monday 10 March 2003 08:47, Doug Ambrisko wrote:
>
> Hmm, I thought I had said "benchmark in your environment". We have a
> closed box that is sort-of a router and a bridge. So your only inputs
> is really network traffic. That is what we tune the box for. So it
> would be interesting to see you kill it in 1s. Again our issue is PCI
> bus.
Flood it with wire speed 64-byte packets and drive it into receive
interrupt livelock. Yup, the PCI bus is (most of) the problem here too.
- --
Where am I, and what am I doing in this handbasket?
Wes Peters w...@softweyr.com
------------------------------
Date: Tue, 11 Mar 2003 13:28:16 +0100 (CET)
From: Soeren Schmidt <s...@spider.deepcore.dk>
Subject: Re: 3 IDE devices on Promise card + FreeBSD == not possible?
It seems Pete wrote:
> On Mon, 10 Mar 2003, S鷨en Schmidt wrote:
>
> > No, thats not the case, the ATA driver has a built in RAID engine
> > to use with Promise and HighPoint controllers. The reason it is
> > like this is that it is nessesary to read the RAID config off the
> > disks in a vendor specific way, and neither of cdd/vinum could do
> > this when its was done.
>
> So, if I were to create the RAID-1 volume with atacontrol, I'm tied to
> using the Promise controller? Could I move the drives to a
> Highpoint-based controller or just a plain on-board ATA interface and
> still have the RAID volume accessible? If I want this kind of
> flexibility, should I move to Vinum?
If you want to boot from the array you need to have the array config
in a way that fits the controller, if thats not needed you can move
around as you see fit, you can even make ATA RAID's on any ATA controller
not just Promise or Highpoint as loong as you wont boot from it.
I guess I should make an option to atacontrol that can convert between
HPT/Promise format or maybe just silently write both to the disks ;)
- -S鷨en
------------------------------
Date: Tue, 11 Mar 2003 20:52:48
From: "jinmai" <jinm...@163.com>
Subject: 憩脹斕賸ㄐ
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>New Page 1</title>
</head>
<body>
<p align="center"><a href="http://www.95168.com.cn"><img border="0" src="http://sms.95169.net/voicechat/a01.jpg" width="556" height="600"></a></p>
</body>
</html>
<p align="center"><span style="background-color: #FFFFFF"><font color="#FF0000" size="2">
- -----------------------------------------------------------------</br>
<a href=http://www.kldns.net>200M剞攜翋儂+50Mき珛蚘擁+階撰弊暱郖靡 硐剒189啋/爛</a></br>
<a href=http://www.cnkl.net>弊暱荎恅郖靡 79啋/爛 轎煤拸癹棒賤昴</a></br>
辣茩嫖還褪薯厙釐ㄩ<a href=http://www.kldns.net>http://www.kldns.net</a> <a href=http://www.cnkl.net>http://www.cnkl.net</a></br>
- -----------------------------------------------------------------</br></br>
:::::: JKLMailer PowerByㄩ<a href="http://www.vrmo.com" target=_blank>www.VRMO.com</a> QQ:5009353 ::::::</br>
</font></span></p>
------------------------------
Date: Tue, 11 Mar 2003 11:20:36 -0800 (PST)
From: Doug Ambrisko <ambr...@ambrisko.com>
Subject: Re: Realtek
Wes Peters writes:
| On Monday 10 March 2003 08:47, Doug Ambrisko wrote:
| > Hmm, I thought I had said "benchmark in your environment". We have a
| > closed box that is sort-of a router and a bridge. So your only inputs
| > is really network traffic. That is what we tune the box for. So it
| > would be interesting to see you kill it in 1s. Again our issue is PCI
| > bus.
|
| Flood it with wire speed 64-byte packets and drive it into receive
| interrupt livelock. Yup, the PCI bus is (most of) the problem here too.
Can't reproduce it. Maybe they fixed it in the 8100L rev.?
I tried a ping -f -s 22 to hit it with 64 byte packets. I also had
traffic going to the onboard gig and it wasn't impacted (granted the
source was a 100bit link tied to the gig link).
I'm running variants of -stable (FreeBSD 4.7 and later) on this hardware.
Doug A.
------------------------------
Date: Tue, 11 Mar 2003 13:17:25 -0800
From: "Sean Hamilton" <s...@bel.bc.ca>
Subject: IP addresses of bridge interfaces
Greetings,
I recently upgraded a FreeBSD 4.6.2 bridge to 5.0, and am having troubles
with how it handles IP addresses.
router
|
| t1
|
[fxp0]
FreeBSD bridge
[fxp1]
|
switch
|
hosts
The problem is that if the external interface is assigned an address, then
hosts on the same block can't access it. Likewise if the internal interface
is given an address, *only* hosts on the same block can access it! I have
verified that in both cases the bridge has its default route correctly set.
I won't be too suprised if this is due to screwey ISP routing, but I don't
recall this ever being a problem with 4.6.2.
Any tips?
thanks,
sh
------------------------------
Date: Tue, 11 Mar 2003 16:25:10 -0500 (EST)
From: Zhihui Zhang <bf2...@binghamton.edu>
Subject: long long sysctl possible?
Hi,
I notice that the SYSCTL_INT() only support integer. Is there a support of
things like 64-bit SYSCTL_LONGLONG()? If so, where is the sample code?
Thanks.
- -Zhihui
- --
------------------------------
Date: Tue, 11 Mar 2003 13:30:18 -0800
From: Brooks Davis <bro...@one-eyed-alien.net>
Subject: Re: long long sysctl possible?
- --wac7ysb48OaltWcw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Tue, Mar 11, 2003 at 04:25:10PM -0500, Zhihui Zhang wrote:
>=20
> I notice that the SYSCTL_INT() only support integer. Is there a support of
> things like 64-bit SYSCTL_LONGLONG()? If so, where is the sample code?
> Thanks.
A quick look at sys/sysctl.h shows that there's a type CTLTYPE_QUAD, but
not SYSCTL_QUAD or SYSCTL_INT64 macro. You could add such a macro quite
easily though.
- -- Brooks
- --=20
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4
- --wac7ysb48OaltWcw
Content-Type: application/pgp-signature
Content-Disposition: inline
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+blVpXY6L6fI4GtQRAiNhAKDalUG4NTgSmJQDGfz0d4RXDIrCzACg1QPk
3DMn6rbB+tM3yaHmu47PFxg=
=wrhQ
- -----END PGP SIGNATURE-----
- --wac7ysb48OaltWcw--
------------------------------
Date: 12 Mar 2003 08:51:16 +0800
From: ac...@cm.com.tw
Subject: =?ISO-8859-1?B?pOmxYKXOq36kV7r0wco=?=
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>您有下列特質嗎</title>
</head>
<body>
<table width="600" border="0">
<tbody>
<tr>
<td width="100%" bgColor="#ffccff"><font size="6"><b><a href="home.kimo.com.tw/amity508"><span style="BACKGROUND-COLOR: #ffccff">
<marquee>勁爆!!震撼!!</marquee>
</span></a></b></font></td>
</tr>
<tr>
<td width="100%" bgColor="#ff9933"><font color="#800000" size="3"><b>您有下列特質嗎?</b></font></td>
</tr>
<tr>
<td width="100%" bgColor="#ffcc00"><b><font color="#cc0000" size="5"><a href="http://home.kimo.com.tw/amity508">1.事業企圖心</a></font></b></td>
</tr>
<tr>
<td width="100%" bgColor="#ffcc00"><b><font color="#cc0000" size="5"><a href="http://home.kimo.com.tw/amity508">2.不甘心平凡</a></font></b></td>
</tr>
<tr>
<td width="100%" bgColor="#ffcc00"><b><font color="#cc0000" size="5"><a href="http://home.kimo.com.tw/amity508">3.不滿於現狀</a></font></b></td>
</tr>
<tr>
<td width="100%" bgColor="#ffcc00"><b><font color="#cc0000" size="5"><a href="http://home.kimo.com.tw/amity508">4.勇於面對未來</a></font></b></td>
</tr>
<tr>
<td width="100%" bgColor="#ff9933"><b><font color="#800000">只要您擁有上列特質,我們將<a href="http://home.kimo.com.tw/amity508"><font size="4">免費培訓</font></a>您所有相關技職能力,提供您結合網路、實體,食衣住行、
吃喝玩樂的<a href="http://home.kimo.com.tw/amity508"><font size="4">通路事業</font></a>!<a href="http://home.kimo.com.tw/amity508"><font size="4">點選我</font></a>,您就可以得到!<br>
ps:將會有專人為您詳細解說喔!</font></b></td>
</tr>
<tr>
<td width="100%" bgColor="#ffcc00"><span style="BACKGROUND-COLOR: #ffff00"><a href="http://home.kimo.com.tw/amity508"><img src="104_banner.gif" border="0" width="468" height="60"></a>
<a href="http://home.kimo.com.tw/amity508"><img src="AD1.gif" border="0" width="120" height="60"></a></span></td>
</tr>
</tbody>
</table>
</body>
</html>
------------------------------
End of freebsd-hackers-digest V5 #742
*************************************
To Unsubscribe: send mail to majo...@FreeBSD.org
with unsubscribe freebsd-hackers-digest in the body of the message