guimteixeira
(usa Debian)
Enviado em 30/03/2011 - 16:38h
Estive mexendo aqui e fui rever os LOGs do NatACL, eu segui um tutorial aqui do VOL mesmo.
Olha o que o LOG diz:
[Wed Mar 30 13:32:11] [INFO] WAN ADDRESS [eth2:192.168.3.1]
[Wed Mar 30 13:32:11] [IPTABLES_PROXY] Init
[Wed Mar 30 13:32:11] [IPTABLES_PROXY] Added interface [eth2]
[Wed Mar 30 13:32:11] [IPTABLES_PROXY] /sbin/iptables -t nat -F
[Wed Mar 30 13:32:11] [IPTABLES_PROXY] Added interface [eth2]
[Wed Mar 30 13:32:11] [IPTABLES_PROXY] /sbin/iptables -t nat -I PREROUTING -i eth2 -p tcp -s 192.168.3.0/24 -d 0/0 --dport 80 -j DNAT --to-destination 192.168.3.1:5121
[Wed Mar 30 13:33:18] [AUTH] [ 192.168.3.11] [ fabio] Invalid Password
[Wed Mar 30 13:34:42] [AUTH] [ 192.168.3.11] [ 6325] Invalid Password
[Wed Mar 30 13:42:48] [AUTH] [ 192.168.3.12] [ fabio] Invalid Password
[Wed Mar 30 13:43:16] [AUTH] [ 192.168.3.12] [ fabio] Invalid Password
[Wed Mar 30 13:43:54] [AUTH] [ 192.168.3.12] [ admin] Invalid Password
[Wed Mar 30 13:47:20] [AUTH] [ 192.168.3.12] [ fabio] Invalid Password
[Wed Mar 30 13:48:20] [AUTH] [ 192.168.3.12] [ fabio] Invalid Password
[Wed Mar 30 14:22:37] [AUTH] [ 192.168.3.12] [ fabio] Invalid Password
[Wed Mar 30 14:25:23] [AUTH] [ 192.168.3.12] [ fabio] Invalid Password
[Wed Mar 30 16:10:21] [AUTH] [ 192.168.3.12] [ fabio] Invalid Password
[Wed Mar 30 16:10:45] [AUTH] [ 192.168.3.12] [ fabio] Invalid Password
[Wed Mar 30 16:32:50] [AUTH] [ 192.168.3.12] [ fabio] Invalid Password
########################
No Mysql SQL esta assim:
mysql> use NatACL;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> show tables;
+------------------+
| Tables_in_NatACL |
+------------------+
| users |
+------------------+
1 row in set (0.00 sec)
mysql> select * from users;
+----+-------+----------+-------------+--------------+---------+
| id | user | password | expire_type | expire_value | address |
+----+-------+----------+-------------+--------------+---------+
| 1 | fabio | teste | 1 | 0 | NULL |
+----+-------+----------+-------------+--------------+---------+
1 row in set (0.00 sec)
##########
Gostaria de ver o SELECT do NatACL. Será que é a forma que a senha está no banco. Será que é alguma encriptação no campo password que deve ser feita na inserção (md5 e afins)?
Obrigado
Valeuu