login
Header Space

 
 

openbsd-misc mailing list

FromSubjectsort iconDate
poncenby
vnconfig question...
List, Are there plans to change vnconfig so it will accept a file for the key when -K is specified? I notice there was a patch put up to misc in 2004, does anyone know if there is a patch for 4.0? Cheers poncenby
Apr 24, 6:47 pm 2007
Chris Smith
pf - drop or return - is stealth mode overrated?
Hello, Using openbsd as a firewall in several cases - a few small businesses, and also for home use. Some websites, such as grc.com, stress that "stealth mode" (which openbsd handles with ease) is the safest. But I've also read that using 'return' instead of 'drop' is good netizenship. So I'm wondered how others are handling this and what recommendations you might have. Thanks, Chris
Apr 24, 6:36 pm 2007
Joachim Schipper
Re: CURRENT -> STABLE
Yes, you can, but notice that we are not living in this situation right now. -current is 4.1-current. However, just prior to the release being tagged, -current will be 4.2-beta. You could almost certainly jump to 4.2-stable from there. All in all, though, just using the upgrade option in bsd.rd works pretty well, too. As long as it's not a downgrade, at least. Joachim -- TFMotD: owtemp (4) - 1-Wire temperature device
Apr 24, 5:54 pm 2007
Private Joker
Yet, another thread about running out of static map entries.
First of all, I would like to it clear (and try to avoid a flame war), that I am not complaining about it. I am really happy with OpenBSD, and I want to congratulate every developer for their great work. Unfortunatelly, I have no skills to contribute to this fix. Until a couple of weeks ago, I was using OpenBSD 3.7 (i386, P4 3Ghz, 1GB RAM) on a really busy web server (stock Apache and PHP4 from ports) that started to get some panics related to UVM, or most of the times, just froze, with no r...
Apr 24, 12:29 pm 2007
Joaquin Herrero
ssh hangs from Ubunty Feisty 7.04 to OpenBSD
Hi, it seems that the new Ubuntu Feisty 7.04 has some broken things in ssh. Some people experienced delays in connecting to other Linux systems and it seems that the problem was solved commenting the "GSSAPIAuthentication" option in ssh_config. But I have a different problem from a Ubuntu machine when connecting to my OpenBSD 3.8 or 4.0 machines. It is not a delay, it's just that it doesn't connect. I don't understand the ssh protocol, so I post this problem in case someone can help. # ssh -vvv...
Apr 24, 9:42 am 2007
Christopher Linn
Re: ssh hangs from Ubunty Feisty 7.04 to OpenBSD
have you tried the OpenSSH list? openssh-unix-dev@mindrot.org chris -- Christopher Linn <celinn at mtu.edu> | By no means shall either the CEC System Administrator II | or MTU be held in any way liable Center for Experimental Computation | for any opinions or conjecture I Michigan Technological University | hold to or imply to hold herein.
Apr 24, 4:42 pm 2007
Stuart Henderson
Re: ssh hangs from Ubunty Feisty 7.04 to OpenBSD
looks like they started sending a higher wscale in SYNs. add 'flags S/SA' before any 'keep state' in pf.conf.
Apr 24, 6:45 pm 2007
thomas
Re: ssh hangs from Ubunty Feisty 7.04 to OpenBSD
I have the same problem with the new debian 4.0. Default sshd_config/ssh_config. I am not able to ssh into openbsd-3.9. authlog on openbsd-server: ... sshd[21822]: fatal: Timeout before authentication ...
Apr 24, 3:05 pm 2007
Otto Moerbeek
Re: ssh hangs from Ubunty Feisty 7.04 to OpenBSD
run sshd on openbsd in debug mode on another port (-D -ddd -e -P 9999), then you can see in more detail what the server is doing.
Apr 24, 3:52 pm 2007
Harrell
Re: ssh hangs from Ubunty Feisty 7.04 to OpenBSD
# /usr/sbin/sshd -D -ddd -e -p 9999 debug2: load_server_config: filename /etc/ssh/sshd_config debug2: load_server_config: done config len = 132 debug2: parse_server_config: config /etc/ssh/sshd_config len 132 debug1: sshd version OpenSSH_4.2 debug1: private host key: #0 type 0 RSA1 debug3: Not a RSA1 key file /etc/ssh/ssh_host_rsa_key. debug1: read PEM private key done: type RSA debug1: private host key: #1 type 1 RSA debug3: Not a RSA1 key file /etc/ssh/ssh_host_dsa_key. debug1: read PEM private ...
Apr 24, 4:21 pm 2007
Steven Harms
Re: ssh hangs from Ubunty Feisty 7.04 to OpenBSD
Your default config may be incorrect. Without posting your config, its just a guessing game.
Apr 24, 3:19 pm 2007
Peter N. M. Hansteen
Re: ssh hangs from Ubunty Feisty 7.04 to OpenBSD
just to eliminate the obvious: you have checked that name resolution (forwards and backwards) is working? -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/ "First, we kill all the spammers" The Usenet Bard, "Twice-forwarded tales" delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.
Apr 24, 10:04 am 2007
Harrell
Re: ssh hangs from Ubunty Feisty 7.04 to OpenBSD
Yes. I have upgraded this machine from Ubuntu 6.10 to 7.04. DNS's, IP addresses, gateways and firewalls are the same. I've been using this machine for ssh to my OpenBSD machines for a long time with this network configuration. Since I upgraded this machine I can ssh to some Linux in which I have login accounts and it works. It's no working only with OpenBSD's. Perhaps it's not OpenBSD's fault, but Ubuntu's but I don't know where to check. Same happens with other friends of mine with their new Ubunt...
Apr 24, 11:37 am 2007
Radu-Cristian FOTESCU
Re: ssh hangs from Ubunty Feisty 7.04 to OpenBSD
I once had a problem with ssh, and it was because of wrong permissions: too large (writable by group and/or others). Just for eliminating another obvious, you could try: chmod 700 ~/.ssh (755 should work too) R-C Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail at http://mrd.mail.yahoo.com/try_beta?.intl=ca
Apr 24, 10:15 am 2007
Steven Harms
Re: ssh hangs from Ubunty Feisty 7.04 to OpenBSD
I can verify that ssh between Ubuntu 7.04 and openbsd is completely working. Your issue is with your /etc/ssh_config. sharms@ubuntu.com
Apr 24, 11:32 am 2007
Rui Miguel Silva Seabra
Re: ssh hangs from Ubunty Feisty 7.04 to OpenBSD
I second this verification. Rui -- + No matter how much you do, you never do enough -- unknown + Whatever you do will be insignificant, | but it is very important that you do it -- Gandhi + So let's do it...? [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]
Apr 24, 1:24 pm 2007
Ste Jones
Re: ssh hangs from Ubunty Feisty 7.04 to OpenBSD
The only problem I had was due to the default UTF-8 character encoding opposed to ISO-8859-1.... but no connection problems to 3.8, 3.9 or 4.0. Cheers Ste
Apr 24, 1:51 pm 2007
Harrell
Re: ssh hangs from Ubunty Feisty 7.04 to OpenBSD
I agree. I think that the problem is the /etc/ssh/ssh_config of my Ubuntu machine (I didn't change anything from that file, it's the default contents), that's the reason why I quoted that file in my first email.
Apr 24, 11:45 am 2007
Jan Stary
sharing swap in OpenBSD
Hello list, I am trying to share swap between OpenBSD 4.0/i386 and FreeBSD, on a Dell laptop. I have sliced the disk as Disk: wd0 geometry: 41344/15/63 [39070080 Sectors] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: id C H S - C H S [ start: size ] ------------------------------------------------------------------------ 0: A5 0 1 1 - 22191 14 63 [ 63: 20971377 ] FreeBSD *1: A6 22192 0 1 - 39944 14 63 [ 20...
Apr 24, 9:15 am 2007
Nick Guenther
Re: sharing swap in OpenBSD
/dev/r* are 'raw' devices, corresponding to the non-raw devices. They both access the same hardware. The letterings after /dev/wd0* are defined by the disklabel which the kernel reads on boot up--they are entirely up to you, except that 'a' is always /, 'b' is always swap, and 'c' is always the entire disk. See the FAQ: http://www.openbsd.org/faq/faq14.html#disklabel Thus, converting between what you see in `fdisk wd0` and what is actually in /dev is complex, and depends on your disklabel. It so...
Apr 24, 9:38 am 2007
Tobias Weingartner
Re: root on raid with external usb disks
Well, you sure tore of a chunk a 'chew. You're learning now, right? Seriously, you're in the land of "it's your own problem". Custom Welcome to the land of the PC. There are times the BIOS will not see or report on any other disk, but the one you booted off of. Sorry, you This only copies root. And it's a bad copy at that... hint, read the tar(1) manpage, in particular the '-X' option section. Also, what makes you think that '/boot' can actually boot things off a raid partition? Depe...
Apr 24, 9:09 am 2007
Tobias Weingartner
Re: 4.1 packages on the ftp sites
Last time I looked, there were packages on the cd too... -- [100~Plax]sb16i0A2172656B63616820636420726568746F6E61207473754A[dZ1!=b]salax
Apr 24, 8:53 am 2007
Tobias Weingartner
Re: radeon driver in -current Xorg 7.2?
Rant, rant, rave, rave, why not submit a patch? -- [100~Plax]sb16i0A2172656B63616820636420726568746F6E61207473754A[dZ1!=b]salax
Apr 24, 8:50 am 2007
Peter N. M. Hansteen
pkg_add -u says "Not updating .libs-$pkg, remember to clean ...
while doing a 'pkg_add -ui -F update -F updatedepends' on a machine with the most recent snapshot I could get my hands on, I get the message Not updating .libs-ImageMagick-6.2.6.1, remember to clean it for a number of packages, apparently corresponding to directories under /var/db/pkg. This being OpenBSD, I know it's most likely harmless and informational, but I wonder - does this mean I should 'clean out' these .libs-* directories by deleting them manually? That is, if they're still ...
Apr 24, 8:16 am 2007
Marc Espie
Re: pkg_add -u says "Not updating .libs-$pkg, remember to cl...
Yep. It needs some explaining. The .libs-* packages are stub-packages that still contain some shared libraries necessary for other packages, after an update. Say, you update foo-1.0 -> foo-2.0, you may end up with a libfoo.so.1.0 in .libs-foo-1.0, and the regular libfoo.so.2.0 in foo-2.0. This allows you to proceed with the update. The .libs-* packages do not get cleaned up automatically, because it is assumed you may have compiled other stuff outside of the packages' responsibility that still ...
Apr 24, 10:11 am 2007
Julian Leyh
Re: pkg_add -u says "Not updating .libs-$pkg, remember to cl...
run pkg_delete /var/db/pkg/.libs* bye Julian
Apr 24, 10:04 am 2007
Alexander Hall
Re: sharing swap in OpenBSD
I'm not sure this is really recommended. I *think* that each "slice" gets its own disklabel, and only one disklabel per disk is used. I'd use only No. wd0 (or rather wd0c) is the entire disk. Use disklabel -E wd0 and copy the "slice" boundaries into your disklabel, preferrably as wd0b, which will then be used as swap by default. You'll probably have to use the 'b' command in disklabel(8)'s interactive mode to do this. The slices you refer to is, after boot, not really used by OpenBSD. You shoul...
Apr 24, 8:16 am 2007
Nick Guenther
Re: sharing swap in OpenBSD
Nagging point: iirc, the disklabel is written immediately after the master boot record. I know for sure there is only one disklabel per disk (because you use disklabel as `disklabel $DISK`). This is not the same as "each slice gets it's own disklabel"; it's the other way around, each slice gets an entry in the disklabel. -Nick
Apr 24, 12:01 pm 2007
Jan Stary
Re: sharing swap in OpenBSD
This is exactly where I got confused, thinking that the disklabel is 'the disklabel of the fdisk partition 1', and yet it has to talk about portions of disk laying outside fdisk partition 2. Thanks Jan
Apr 24, 12:16 pm 2007
L. V. Lammert
Re: sharing swap in OpenBSD
Is it not each DOS *partition* gets it's on disklabel, .. unless you choose 'use entire disk', at which point the entire disk is assigned to DOS partition 3 & single disklabel there? Lee
Apr 24, 12:13 pm 2007
Ted Unangst
Re: sharing swap in OpenBSD
there can only be one disklabel per disk. freebsd may have a different disklabel, but openbsd only has ONE per disk, regardless of dos partitions. you are also asking for trouble with more than 1 A6 partition.
Apr 24, 12:26 pm 2007
Eugene Hercun
root on raid with external usb disks
I'm having a bit of a hard time trying to set up a root on software raid with raidctl with two external usb hard drives. The reason why I am trying to configure this as root on raid is because I have a fast notebook that is continually frying hard drives (I personally think that it has a blown capacitor, but this is not the point) that I do not want to go to waste. So basically what I wanted to do is to configure it as a small vpn and file server to store my personal photos, music, etc. and learn a l...
Apr 24, 7:33 am 2007
Gregory ESNAUD-FREE
PHP mail() function + postFix + OpenBSD
Hi World, I've got some questions concerning the using of the mail() php function under OpenBSD using Postfix as MTA. Note that I only want to use my OpenBSD Postfix Server as a mail sender for fogotten password of my web site ^^ First, the "mail" shell command works very well. I receive test mails from root@myserver.com (using root login) towards me@anywherebutmyserverevenvirtual.com Second, the PHP cli (you know under shell) on a php script containing the mail() php function works very w...
Apr 24, 5:00 am 2007
L. V. Lammert
Re: PHP mail() function + postFix + OpenBSD
Are you running chroot'd (default)? If so, you need something like 'mini_sendmail', or run Apache 'naked' with a -u. OR, you could RTFM & Google. Lee ================================================ Leland V. Lammert lvl@omnitec.net Chief Scientist Omnitec Corporation Network/Internet Consultants www.omnitec.net ================================================
Apr 24, 9:35 am 2007
Gregory ESNAUD-FREE
Re: PHP mail() function + postFix + OpenBSD
Hi all, Thanks everybody for your help, but still doesn't work... I tried with femail, then i tried with mini_sendmail (with this: http://hanz.nl/p/showblog&blog_key=39), and always same result... i.e. nothing happens... I'm getting crazy !! thanks again, Greg
Apr 24, 10:25 am 2007
James Turner
Re: PHP mail() function + postFix + OpenBSD
First make sure mini_sendmail is located in /var/www/bin. Second add or edit the sendmail_path in your php.ini and restart apache. Make it look something like this: sendmail_path = "/bin/mini_sendmail -t -fwww@blahblah.com" where -fwww@blahblah.com is the address you want the mail to come from. Hope this helps.
Apr 24, 10:37 am 2007
Mike Erdely
Re: PHP mail() function + postFix + OpenBSD
Does php still require a shell to launch femail or mini_sendmail? This has been discussed in the archives, Greg. -ME
Apr 24, 11:02 am 2007
Gregory ESNAUD-FREE
Re: [SOLVED] PHP mail() function + postFix + OpenBSD
I was writing my answer when i receive your mail, and that's it... http://hanz.nl/p/showblog&blog_key=39 told to make a symbolinc link, that was not working on my server.. anyway, here we are, that's working ! Thanks a lot to everybody ! See you in the tube! Greg
Apr 24, 11:00 am 2007
L. V. Lammert
Re: PHP mail() function + postFix + OpenBSD
1) Start Apache with -u - if it works, you know it's a chroot problem. If not, you have something else at play. 2) Check your log files. 3) Check the URLs. Lee ================================================ Leland V. Lammert lvl@omnitec.net Chief Scientist Omnitec Corporation Network/Internet Consultants www.omnitec.net ================================================
Apr 24, 10:25 am 2007
Daniel Horecki
Re: PHP mail() function + postFix + OpenBSD
Do Apache is in chroot? Did you tried to run that php script in chroot? -- Daniel 'Shinden' Horecki http://morr.pl
Apr 24, 5:03 am 2007
Stuart Henderson
Re: PHP mail() function + postFix + OpenBSD
You can use femail (in ports/packages) to fix this. It's easy to run inside a chroot jail (use the STATIC flavour). It's a drop-in replacement for /usr/sbin/sendmail, and submits the message to your real mailer (e.g. on localhost) by SMTP.
Apr 24, 5:31 am 2007
Gregory ESNAUD-FREE
Re: PHP mail() function + postFix + OpenBSD
Hi all, Thx for your all answer... someone talk to me about the Apache chroot, so I unchroot it, and it's well functional. But, If you follow me, I don't want that my apache be not chrooted (even if i'm a big noob in security question, i'm not totally insane ^^). So, Stuart, thanks for the femail pist, i will try it right now, but telle me: is that a standalone emai server or it's living like an interface between apache and the MTA? thanks all, Greg
Apr 24, 5:50 am 2007
Benoit Myard
Re: PHP mail() function + postFix + OpenBSD
You didn't check your logs, did you ? Just guessing. -- Benoit Myard
Apr 24, 5:54 am 2007
Stuart Henderson
Re: PHP mail() function + postFix + OpenBSD
It's an interface, it takes the message and sends it to the MTA by SMTP (by default, to port 25 on localhost; just copy it into the chroot jail, and configure sendmail_path in php.ini). (There are at least two other programs like this, femail is simpler and less messy than the ones I know of).
Apr 24, 7:05 am 2007
Joachim Schipper
Re: PHP mail() function + postFix + OpenBSD
It can't, the www server is chrooted under /var/www. If that is not the problem, be sure to post back for more in-depth solutions. Joachim -- TFMotD: fpa, fea, fta (4) - DEC FDDI controller device driver
Apr 24, 5:17 am 2007
Warren, Luke
Out of Office AutoReply: hi
Thank you for your message. I am currently out of the office but will be checking emails and will try and respond to your message. Regards, Luke Warren
Apr 24, 4:09 am 2007
mvdeventer
Re: 4.1 packages on the ftp sites
HI. OK I have read all the responses to this. Let me clarify first. If I understand you correctly, you are in effect asking for only the packages (NOT the rest) to be made available via FTP before release, so as to allow pre-order users to use them. In this way, those who have not ordered will not be able to download early, since the binary installation files will be uploaded only after release date. This may sound like a good idea, but I suspect the REAL reason it has never been used is tim...
Apr 24, 2:33 am 2007
atstake atstake
subversion and HTTP
I would like to use subversion such that people can checkout files using http://. But since OpenBSD doesn't come with Apache2, I guess I need to compile Apache2. Is there any way around this? Thanks.
Apr 24, 1:42 am 2007
Joachim Schipper
Re: subversion and HTTP
Matthieu pointed out that -current already has them, and yes, you can use svnserve. But why not just use svn over ssh? It isn't that great an idea for code distribution, but for a closed circle of developers, it's secure, easy, fast and very easy to set up (you can force commands in authorized_keys, thus differentiating between users - or set up one user per real user). Just my 2 cents... Joachim -- TFMotD: forward (5) - e-mail forwarding information file
Apr 24, 4:55 am 2007
Mathieu Sauve-Frankel
Re: subversion and HTTP
apache2, mod_svn_ap2, and mod_dav_svn_ap2 are all available in the ports tree as of 4.1-current. -- Mathieu Sauve-Frankel
Apr 24, 2:09 am 2007
previous daytodaynext day
April 23, 2007April 24, 2007April 25, 2007
speck-geostationary