Re: libcurl in the base distribution of FreeBSD

2001-07-27 Thread Patrick Bihan-Faou
> FYI, curl is already available as a port: /usr/ports/ftp/curl even if it's > not part of the base system. Yes I fully realize that. My point though is that libfetch to me seems a bit limited in its feature set, while there exists other tools that implement what libfetch does and much more. Usin

libcurl in the base distribution of FreeBSD

2001-07-27 Thread Patrick Bihan-Faou
Hi, I was looking at a way to do some downloads over HTTPS from inside a C program, and I realized that libfetch (which is a fine piece of code BTW) can not do it easily. I looked for alternatives and found cURL (http://curl.haxx.se/). In the same spirit as fetch/libfetch, this comes with both a

Re: import NetBSD rc system

2001-06-14 Thread Patrick Bihan-Faou
""Koster, K.J."" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > Dear All, > > > > > To do some of the hierarchal start/stop at runtime stuff, you > > really need > > a stateful rc system that stores its start/stop state in > > /var/run/rc.d or > > the like. In this way, the

RE: Bash2 removes SSH_CLIENT from the environment

2001-01-30 Thread Patrick Bihan-Faou
> > Also the content of SSH_CLIENT may be of intereset (namely the > remote IP) > > and I don't know how to retrieve that information after > SSH_CLIENT has been > > clobbered. > > What do you mean? The variable is still there, it's just not > exported. If > you want to export it, do so. How

RE: Bash2 removes SSH_CLIENT from the environment

2001-01-30 Thread Patrick Bihan-Faou
Hi, > Bash uses the presence of SSH_CLIENT to decide whether or not to run the > shell startup files for a non-interactive shell (like it attempts to do > for rsh). The problem is that if the variable is exported, subsequent > invocations of non-interactive shells will source the startup files.

Bash2 removes SSH_CLIENT from the environment

2001-01-29 Thread Patrick Bihan-Faou
Hi, I am writing some script that looks for the SSH_CLIENT environment variable. As specified in the sshd(8) man page, this variable should contain the IP address of the client, the port number on the client side and the port number on the server side. However I found that if the login shell of

Re: Divert Sockets & Fragmentation revisited

2001-01-25 Thread Patrick Bihan-Faou
Hi, Sorry to state something that is obvious, but when you bind your socket to the port, you have the port in the correct (network) order ? i.e. do you use htons(DIVERTPort) ? If you have lsof installed, run it and look at the port number that your program listens on. Patrick. > Here is th

Re: Bootable CD...

2000-08-18 Thread Patrick Bihan-Faou
Hi, Now I am trying to use the boot.flp image that comes with the 4.1-Release CD. My alteration on that boot.flp is to replace the kernel.gz with my own (it contains a different set of binaries in the mfsroot. Now when my CD boots, the PC just goes into an endless reboot cycle. If I stop the bo

Re: Bootable CD...

2000-08-18 Thread Patrick Bihan-Faou
Hi, > Might be that you need to disklabel the image of the filesystem on > which you copy this files, ( not talking about the mfs filesystem that > is crunced into the kernel ) > So, try the following. > Mount this image by doing 'vnconfig /dev/vn0 /pathtobootimage/myimage.img' > where myimgae.

Bootable CD...

2000-08-17 Thread Patrick Bihan-Faou
Hi, I am trying to build a bootable CD... Now this sounds like something trivial enough to do when you know what you are doing. In my case I must admit that I am somewhat confused. Until now, I think that the trick was to make the CD look like a floppy and boot it as such. I have created some b