problem with download limit

2011-05-10 Thread OpenBSD Geek
Hi, I meet a strange problem, at work, i have a firewall using OpenBSD 4.8 with PF enabled. OpenBSD 4.8 with 2 network cards 10/100 MB, net.inet.ip.forwarding=1 When i try to download (with a computer in our lan) a file 001.dmg, it downloads at a speed like 32 Ko/s (max). I tried to disable PF :

pf ruleset for openbsd 4.9

2011-05-02 Thread OpenBSD Geek
http://mouedine.net/ruleset49.aspx [1] Links: -- [1] http://mouedine.net/ruleset49.aspx

dd command on a compact flash

2011-04-20 Thread OpenBSD Geek
Hi, I prepared a file : disk.image(4GB sectors as my compact flash) ... doing it using dd/vnconfig/fdisk/disklabel/newfs/instalboot steps. (I followed this : http://glozer.net/soekris/cf-install.html) disk.image contain OpenBSD system 4.8-stable Now i want to put it on my compact flash

protect mailserver using spamd

2011-02-02 Thread OpenBSD Geek
Hi, I use OpenBSD 4.7 Release, with Sendmail MTA. All works fine, i can send and receive mails on the box. But when spamd is enabled, mails take a long time(sometimes a day or less) to arrive in our box. Sometimes, we don't receive mails. Disabled (spamd), all works fine. I don't understand why

Re: protect mailserver using spamd

2011-02-02 Thread OpenBSD Geek
Do you think, that it will solve my mistake ? Thank you for your replies, everybody. On Wed, 02 Feb 2011 19:35:47 +0100, pe...@bsdly.net (Peter N. M. Hansteen) wrote: Kevin Chadwick ma1l1i...@yahoo.co.uk writes: That's a big part of how it works. You can tune the delay with spamd_flags in

OpenBSD, webmail

2011-01-24 Thread OpenBSD Geek
Hi, Im looking for a webmail for my mailserver (no SQL database, host only one domain). Any idea ? Thank you very much. Wesley M.

Re: secure popa3d

2011-01-22 Thread OpenBSD Geek
I read man pages of relayed(8) and relayed.conf(5) Seems to me good. Thanks. Wesley. On Sat, 22 Jan 2011 02:33:03 +0100, Jiri B. ji...@live.com wrote: On Fri, Jan 21, 2011 at 09:32:40PM +0100, Pete Vickers wrote: $ pkg_info | grep stunnel stunnel-4.20SSL encryption wrapper for standard

secure popa3d

2011-01-21 Thread OpenBSD Geek
Hi, I'm trying to build a mailserver with OpenBSD, Sendmail, cyrus-sasl, and popa3d. All works good. And thank you for all replies (for sendmail question). Is there a way to secure popa3d, except using TCPWrappers (tcpd) ? Thank you for your help. Wesley M.

How to enable sendmail auth in OpenBSD ?

2011-01-20 Thread OpenBSD Geek
Hi, I use OpenBSD 4.7, and so Sendmail MTA 8.14.3 I enabled TLS using good manpages : starttls. It's ok. But now, i want to enable AUTH for smtp. How can i achieve that ? Thank you very much. Wesley M.

Sendmail basic mail server

2011-01-17 Thread OpenBSD Geek
Hi, I have an OpenBSD 4.7 machine. I want to build a mailserver using sendmail MTA. Openbsd hostname : box.my.domain When i send a mail, i comes from u...@box.my.domain instead of u...@domainchosed.net What i have done : cp /usr/share/sendmail/cf/openbsd-proto /etc/mail m4

Re: Sendmail basic mail server

2011-01-17 Thread OpenBSD Geek
to MASQUERADE_AS(`my.domain ')dnl Then, m4 /usr/share/sendmail/cf/cf.m4 /etc/mail/openbsd-proto.mc /etc/mail/ sendmail.cf On Mon, Jan 17, 2011 at 1:27 PM, OpenBSD Geek open...@e-solutions.rewrote: Hi, I have an OpenBSD 4.7 machine. I want to build a mailserver using sendmail

Re: Sendmail basic mail server

2011-01-17 Thread OpenBSD Geek
I'm trying to send email using my username : wesley But it comes as wes...@box.my.domain [1] On Mon, 17 Jan 2011 16:37:38 +0530, Indunil Jayasooriya wrote: But it still send mail using @box.my.domain ; someone can help me ? thanks How do you send mails. as root? or as a Normal

Re: Sendmail basic mail server

2011-01-17 Thread OpenBSD Geek
I ve done these changes It works, but why it doesn't work with my genericstable file ? divert(-1) # # Default OpenBSD sendmail configuration for systems accepting mail # from the internet. # # Note that lines beginning with dnl below are comments. divert(0)dnl VERSIONID(`@(#)openbsd-proto.mc

Formation OpenBSD Training

2011-01-02 Thread OpenBSD Geek
Bonjour, Quelqu'un connait un bon centre de formation : Administration OpenBSD ? L'idC)ale serait sur Toulouse, mais si c'est sur Paris, je pourrais me dC)placer. J'y serais pour la mi-janvier/FC)vrier. Merci Beaucoup. Wesley MOUEDINE ASSABY.

Re: my new script for delete user from group

2010-12-15 Thread OpenBSD Geek
Hi, First thank you for your posts. It helps a lot. And sorry for my bad knowledges in unix scripts. Here my final script that i will use : if [ $1 ] [ $2 ]; then tempfile=`mktemp /tmp/tempfile.` cp /etc/group $tempfile onlygroup=`mktemp /tmp/tempfile.` cat $tempfile | grep ^$2

delete user in group script

2010-12-14 Thread OpenBSD Geek
Hi, After posted many requests on how to remove user from a group, i choosed to build my own script. And it works very fine. if [ $1 ] [ $2 ]; then cp /etc/group /tmp cat /tmp/group | grep ^$2 /tmp/onlygroup cat /tmp/group | grep -v ^$2 /tmp/nogroup cat /tmp/onlygroup | sed s/$1//g | \

Re: delete user in group script

2010-12-14 Thread OpenBSD Geek
I made as I could, since it works, where is the probleme...? ;-) You really deserve the Useless Use of Cat Award. And the race condition award, and the nuke the wrong file award, and... Kind regards, Markus

my new script for delete user from group

2010-12-14 Thread OpenBSD Geek
After correction, i'm agree it is a bit long, but it works. Thank you very much for your posts! if [ $1 ] [ $2 ]; then tempfile=`mktemp /tmp/tempfile.` cp /etc/group $tempfile onlygroup=`mktemp /tmp/tempfile.` cat $tempfile | grep ^$2 $onlygroup nogroup=`mktemp /tmp/tempfile.`

remove users from group

2010-12-13 Thread OpenBSD Geek
Hi, I have 100 users in groups : clients, and ftp_group How can i remove these 100 users from ftp_group ? I have already try usermod, but it only add users to group, not remove. Is there a way to achieve my task ? Thanks

Script for the creation of multiple user accounts

2010-12-12 Thread OpenBSD Geek
Hi, I want to be able to create with a batch file multiple user accounts like for example inca1,inca2 ... inca6 useradd -d /home/inca1 -s /bin/ksh -m -G incagroup -p passwordencrypted user1 useradd -d /home/inca1 -s /bin/ksh -m -G incagroup -p passwordencrypted user2 useradd -d /home/inca1 -s

remove users from group

2010-12-12 Thread OpenBSD Geek
To remove users from example group users, i usually do it by editing the file /etc/group, and remove it manually. Is there a way from command line to remove some users from a specific group ? I want to do a script like that : list=1 2 3 4 5 6 for i in $list do usermod -G wheel, staff username$i

sha256 hash for /bsd

2010-12-09 Thread OpenBSD Geek
Hi, I use VirtualBox on my imac. I have an OpenBSD Box with ftp , which host OpenBSD 4.7 files (*.tgz, bsd, bsd.mp, INSTALL.i386, site47.tgz) (I put on my ftp files that are on my install47.iso) FTP is chromed in /home/myuser/release47 And contains folder : 4.7/i386 When i want to install an

Hash error on /bsd (correction)

2010-12-09 Thread OpenBSD Geek
Hi I use VirtualBox on my imac. I have an OpenBSD Box with ftp , which host OpenBSD 4.7 files (*.tgz, bsd, bsd.mp, INSTALL.i386, site47.tgz) (I put on my ftp files that are on my install47.iso) FTP is chrooted in /home/myuser/release47 And contains folder : 4.7/i386 When i want to install an

Re: sha256 hash for /bsd

2010-12-09 Thread OpenBSD Geek
Yes i booted on 4.7-RELEASE CD. And want to install with my files located on my FTP (*.tgz,site47.tgz). But i have an error in sha256 Hash for my /bsd (ftp) Any idea ? On Thu, 9 Dec 2010 12:59:20 -0600, J Sisson sisso...@gmail.com wrote: On Thu, Dec 9, 2010 at 12:38 PM, OpenBSD Geek open...@e

Re: sha256 hash for /bsd

2010-12-09 Thread OpenBSD Geek
So how can i proceed ? On Thu, 9 Dec 2010 23:30:20 -0600, J Sisson wrote: If it's different from the sha256 on bsd from an official mirror, then yes, your ftp's /bsd is bad. =)

Re: Unattended OpenBSD Installation

2010-11-14 Thread OpenBSD Geek
+ (UTC), Stuart Henderson s...@spacehopper.org wrote: On 2010-11-14, OpenBSD Geek open...@e-solutions.re wrote: Hi, I read FAQ, and found nothing about install.site script. And tried : man install.site, give me nothing. Is there someone that can explain me how to do a unattended

Re: Unattended OpenBSD Installation

2010-11-14 Thread OpenBSD Geek
How can i test your 'redux' ? I found that : http://www.hiqu.biz/ thanks for your replies Cheers, Wesley MOUEDINE ASSABY www.mouedine.net On Sun, 14 Nov 2010 11:31:52 -0700, Nick Bender nben...@gmail.com wrote: On Sun, Nov 14, 2010 at 10:10 AM, OpenBSD Geek open...@e-solutions.re wrote: Hi

Unattended OpenBSD Installation

2010-11-13 Thread OpenBSD Geek
Hi, I read FAQ, and found nothing about install.site script. And tried : man install.site, give me nothing. Is there someone that can explain me how to do a unattended installation ? I wish for example have this by default : - Keyboard fr. - myname : puffy - DomainName : secure.lan - IPv4 :

Upgrade a firewall

2010-11-11 Thread OpenBSD Geek
Hi, I use OpenBSD 4.7-STABLE at work only for firewall(PF, isakmpd,ipsecctl). Now i want to upgrade it to 4.8 RELEASE. So, i done : Boot on 4.8RELEASE CD, choose Upgrade at prompt. Follow instructions, and finally reboot the box. After migrate /etc and /var : sysmerge -s

add a disk and format it in FAT32

2010-11-06 Thread OpenBSD Geek
Hi, I added a second disk to my OpenBSD 4.7 machine. i done this : fdisk -e w I created a first full partition type : 0b when i type : fdisk wd1, i have the following 0: 0B 0 0 1 - 41609 15 63 [ 0:41942880 ] Win95 FAT-32 Now, i suppose i need a slice to format it.

Re: add a disk and format it in FAT32

2010-11-06 Thread OpenBSD Geek
of the prompts and finally save the changes. To format the disk with FAT32 you need to create a new filesystem using newfs. To create a FAT32 filesystem i usually do newfs -t msdos /dev/rwd1i. After the command completes your disk is ready to use. Hope this helps. On 11/6/10, OpenBSD Geek open

Re: pf+FTP external interface only

2010-11-05 Thread OpenBSD Geek
take a look at : http://mouedine.net/ruleset47.aspx On Thu, 4 Nov 2010 22:27:21 -0700, onteria onte...@scarletdevil.net wrote: I'm currently working on locking down one of my machines with pf. Right now it has a default deny policy and FTP is causing issues. I did a search on how to around

error when compile the kernel

2010-11-01 Thread OpenBSD Geek
Hi, I just installed an OpenBSD 4.7. Now i want to update it to 4.7 -current what i ve done : cd /usr/src ; tar zxvf src.tar.gz ; tar zxvf sys.tar.gz cd /usr export cvsroot=anon...@anoncvs.fr.openbsd.org:/cvs cvs -d$CVSROOT checkout -P src cd /usr/src cvs -d $CVSROOT up -Pd when this

OpenBSD Course online

2010-10-29 Thread OpenBSD Geek
Is there someone who can give me OpenBSD Administration course online (practice using ssh) ? That will cover BSDP Objectives. Thanks