Re: xfce terminal and zsh

2014-03-27 Thread Leonardo M . Ramé
On 2014-03-27 15:41:16 +, Maurice McCarthy wrote:
> On Thu, Mar 27, 2014 at 10:25:39AM -0300 or thereabouts, Leonardo M. Ramé 
> wrote:
> > Hi, I'm using 5.4 with XFCE and ZSH shell. When I'm on the XFCE terminal, 
> > and type, for example "cd" and press tab key, I get "cdcd". 
> > 
> > It is repeating the first two or three characters.
> > 
> > Does anyone faced the same behavior.
> > 
> > Regards,
> > -- 
> > Leonardo M. Ramé
> 
> Negative. I have the same setup but with the grml zshrc. 
> 
> wget -O ~/.zshrc http://git.grml.org/f/grml-etc-core/etc/zsh/zshrc
> 
> See http://grml.org/zsh for documentation. 
> 

Thanks!, I'll try it.
-- 
Leonardo M. Ramé
Medical IT - Griensu S.A.
Av. Colón 636 - Piso 8 Of. A
X5000EPT -- Córdoba
Tel.: +54(351)4246924 +54(351)4247788 +54(351)4247979 int. 19
Cel.: +54 9 (011) 40871877



xfce terminal and zsh

2014-03-27 Thread Leonardo M . Ramé
Hi, I'm using 5.4 with XFCE and ZSH shell. When I'm on the XFCE terminal, and 
type, for example "cd" and press tab key, I get "cdcd". 

It is repeating the first two or three characters.

Does anyone faced the same behavior.

Regards,
-- 
Leonardo M. Ramé
Medical IT - Griensu S.A.
Av. Colón 636 - Piso 8 Of. A
X5000EPT -- Córdoba
Tel.: +54(351)4246924 +54(351)4247788 +54(351)4247979 int. 19
Cel.: +54 9 (011) 40871877



Re: Pf routing problem

2012-05-02 Thread Leonardo M . Ramé
On 2012-05-02 21:56:39 -0300, Leonardo M. Rami wrote:
> On 2012-05-02 23:27:44 +0200, Claudio Jeker wrote:
> > On Wed, May 02, 2012 at 03:26:20PM -0300, Leonardo M. Rami wrote:
> > > Hi, I've posted this to ServerFault.com, and I got an answer, but the
> > > solution works only in part.
> > > 
> > > This is my /etc/pf.conf
> > > 
> > > set skip on lo
> > > pass in log on em0 proto tcp from any to any port 104 rdr-to 
> > > 192.65.214.131
> > > pass out on vic0 from em0:network to any nat-to vic0
> > > 
> > > I have two nics:
> > > 
> > > vic0 192.65.214.136
> > > em0 192.168.200.3
> > > 
> > > What I want to do is to forward all packets comming into 192.168.200.3
> > > port 104 to 192.65.214.131 port 104.
> > > 
> > > The above configuration works perfectly if the sender interface is in
> > > the network 192.168.200.x, but I also must allow packets comming from
> > > other networks, like 192.168.7.x, for example.
> > > 
> > > How can I enable them?.
> > > 
> > 
> > With these redir rules redirection should just work but only in the case
> > where the reverse traffic is also hitting the FW. If that is not the case
> > I normaly tag the inbound traffic and use a tagged foobar nat-to ($out_if)
> > statement to not only redir but also nat the traffic. With that I can
> > ensure that the return traffic is flowing through the FW.
> > 
> 
> Thanks Claudio, could you give an example?.
> 

Well I don't know why this didn't work, but suddenly, after fiddling
with tcpdup it started to work as I expected.

This is my new /etc/pf.conf:
-
ext_if = "em0"
int_if = "em1"
set skip on lo

pass in on $ext_if proto tcp from any to any port 104 rdr-to 192.65.214.131
pass out on $int_if from $ext_if:network to any nat-to $int_if

block in on ! lo0 proto tcp to port 6000:6010
-

My interfaces are as this:

# cat /etc/hostname.em0
inet 192.168.200.3 255.255.255.0 NONE
inet alias 192.168.7.3 255.255.255.0
# cat /etc/hostname.em1
inet 192.65.214.136 255.255.255.0 NONE


-- 
Leonardo M. Rami
Medical IT - Griensu S.A.
Av. Colsn 636 - Piso 8 Of. A
X5000EPT -- Csrdoba
Tel.: +54(351)4246924 +54(351)4247788 +54(351)4247979 int. 19
Cel.: +54(351)156629292



Re: Pf routing problem

2012-05-02 Thread Leonardo M . Ramé
On 2012-05-02 23:27:44 +0200, Claudio Jeker wrote:
> On Wed, May 02, 2012 at 03:26:20PM -0300, Leonardo M. Rami wrote:
> > Hi, I've posted this to ServerFault.com, and I got an answer, but the
> > solution works only in part.
> > 
> > This is my /etc/pf.conf
> > 
> > set skip on lo
> > pass in log on em0 proto tcp from any to any port 104 rdr-to 192.65.214.131
> > pass out on vic0 from em0:network to any nat-to vic0
> > 
> > I have two nics:
> > 
> > vic0 192.65.214.136
> > em0 192.168.200.3
> > 
> > What I want to do is to forward all packets comming into 192.168.200.3
> > port 104 to 192.65.214.131 port 104.
> > 
> > The above configuration works perfectly if the sender interface is in
> > the network 192.168.200.x, but I also must allow packets comming from
> > other networks, like 192.168.7.x, for example.
> > 
> > How can I enable them?.
> > 
> 
> With these redir rules redirection should just work but only in the case
> where the reverse traffic is also hitting the FW. If that is not the case
> I normaly tag the inbound traffic and use a tagged foobar nat-to ($out_if)
> statement to not only redir but also nat the traffic. With that I can
> ensure that the return traffic is flowing through the FW.
> 

Thanks Claudio, could you give an example?.


Regards,
-- 
Leonardo M. Rami
Medical IT - Griensu S.A.
Av. Colsn 636 - Piso 8 Of. A
X5000EPT -- Csrdoba
Tel.: +54(351)4246924 +54(351)4247788 +54(351)4247979 int. 19
Cel.: +54(351)156629292



Pf routing problem

2012-05-02 Thread Leonardo M . Ramé
Hi, I've posted this to ServerFault.com, and I got an answer, but the
solution works only in part.

This is my /etc/pf.conf

set skip on lo
pass in log on em0 proto tcp from any to any port 104 rdr-to 192.65.214.131
pass out on vic0 from em0:network to any nat-to vic0

I have two nics:

vic0 192.65.214.136
em0 192.168.200.3

What I want to do is to forward all packets comming into 192.168.200.3
port 104 to 192.65.214.131 port 104.

The above configuration works perfectly if the sender interface is in
the network 192.168.200.x, but I also must allow packets comming from
other networks, like 192.168.7.x, for example.

How can I enable them?.

Regards,
-- 
Leonardo M. Rami
Medical IT - Griensu S.A.
Av. Colsn 636 - Piso 8 Of. A
X5000EPT -- Csrdoba
Tel.: +54(351)4246924 +54(351)4247788 +54(351)4247979 int. 19
Cel.: +54(351)156629292



Partition size

2011-11-11 Thread Leonardo M . Ramé
Hi, I have an 4.4OpenBSD server running on a VMWare ESXi server as a
virtual machine. On the server, I configured a 21GB disk for this
virtual machine, but it doesn't shows all that space, but this:

[root@openbsd44:~] # df -h
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/sd0a 1008M794M164M83%/
/dev/sd0d  5.9G5.2G380M93%/var


[root@openbsd44:~] # fdisk sd0
Disk: sd0   geometry: 1174/255/63 [18874368 Sectors]
Offset: 0   Signature: 0xAA55
Starting Ending LBA Info:
 #: id  C   H   S -  C   H   S [   start:size ]
---
 0: 00  0   0   0 -  0   0   0 [   0:   0 ] unused  
 1: 00  0   0   0 -  0   0   0 [   0:   0 ] unused  
 2: 00  0   0   0 -  0   0   0 [   0:   0 ] unused  
*3: A6  0   1   1 -   1043 254  63 [  63:16771797 ] OpenBSD

How can I let the operating system see the whole disk?.

Thanks in advance,
-- 
Leonardo M. Rami
Medical IT - Griensu S.A.
Av. Colsn 636 - Piso 8 Of. A
X5000EPT -- Csrdoba
Tel.: +54(351)4246924 +54(351)4247788 +54(351)4247979 int. 19
Cel.: +54(351)156629292