pf rules

2011-04-16 Thread gdrm
Hi, i don't know more about pf, i will want block this IP black list and i
want block ssh and telnet out from my lan...this is the right mode?
Can I put this IP black list in  a file and use it whit pf tables?
Thanks vvm!

block in on re0 proto {tcp udp } from {  x.219.37.16, 209.160.28.116 \
, x.10.53.222,  x.192.9.129,  x.106.62.11, x.235.55.98, 212.174.61.80,
x.192.25.224 \
, x.102.73.106, x.87.149.250, x.226.108.135, x.10.53.222, x.214.225.114,
x.98.96.154, x.191.74.171 }  to any

table  { 192.168.1.0/24 }
blocked_ports="{ ssh, 8022, telnet }
block out on re0 proto tcp from any to ! port $blocked_ports










 --
 Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP
autenticato? GRATIS solo con Email.it http://www.email.it/f

 Sponsor:
 Torre Pedrera di Rimini,la meta ideale per le Vostre vacanze all'insegna del
relax e del divertimento.Scoprite le nostre offerte per PASQUA e per l'ESTATE
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid395&d-4



problem with quote

2011-05-10 Thread gdrm
Hi misc!

I'v a problem with quote:

$ sudo vi /etc/fstab
[ . . . ]
/dev/sd0l /home ffs rw,softdep,nodev,nosuid,userquota=/var/quotas/quota.user 1
2
[ . . . ]

$ sudo edquota testuser
Quotas for user dayid:
/usr/home KBytes in use: 0, limits (soft = 102400, hard = 112640)
  inodes in use: 0, limits (soft = 0, hard = 0)
$ sudo quota -u testuser
Disk quotas for user testuser (uid 1002): none

And if I reboot the system can't mount /home directory.

Thanks all









 --
 Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP
autenticato? GRATIS solo con Email.it http://www.email.it/f

 Sponsor:
 Prenota la Vacanza entro il 20/5 un bambino fino 12 anni in camera con  i
genitori GRATIS (min 7 notti)Pens Compl da Euro 60. Sardegna-Castelsardo Hotel
Pedraladda
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=11443&d=10-5



Sendmail+SSL+SASL

2011-06-21 Thread gdrm
Hello misc,
I'm trying to configure OpenBSD4.9 with Sendmail as a mail server and so far,
so good, I have a configuration with static IP, masked and with ssl support,
but I can not figure out how to implement sasl, someonehas a link where to
find information and guides on the subject?
thanks