RE: sqlnet 8 connexion and iptables 1.2.6a

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The last time I looked into Net8, I believe that it used a callback scheme similar to FTP. The only way I believe you can let it through sanely is with a NAT/Conntrack driver built for it. I could be wrong.

There may be a mechanism to change the behavior of the protocol which I don't know about; you may want to look into that instead of hacking a new driver.

-----Original Message-----
From: Stéphane Klein [mailto:sklein@xxxxxxxxxxxxxxxxxxx] 
Sent: Friday, April 04, 2003 4:07 AM
To: 'richardo@xxxxxxxxxxxxxxxx'
Cc: 'netfilter@xxxxxxxxxxxxxxxxxxx'
Subject: RE: sqlnet 8 connexion and iptables 1.2.6a

iptables -L gives me:

Chain INPUT (policy DROP)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere           state
RELATED,ESTABLISHED
RULE_1     all  --  oracle_srv_ip        anywhere           state NEW
RULE_2     all  --  192.168.0.41         anywhere           state NEW
RULE_3     all  --  anywhere             anywhere

Chain FORWARD (policy DROP)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere           state
RELATED,ESTABLISHED
RULE_0     icmp --  anywhere             oracle_srv_ip      icmp type 8 code
0 state NEW
RULE_0     tcp  --  anywhere             oracle_srv_ip      tcp dpt:1521
state NEW
RULE_1     all  --  oracle_srv_ip        anywhere           state NEW
RULE_2     all  --  192.168.0.41         anywhere           state NEW
RULE_3     all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere           state RELATED

Chain OUTPUT (policy DROP)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere           state
RELATED,ESTABLISHED
RULE_0     icmp --  anywhere             194.250.29.100     icmp type 8 code
0 state NEW
RULE_0     tcp  --  anywhere             194.250.29.100     tcp dpt:1521
state NEW
RULE_3     all  --  anywhere             anywhere

Chain RULE_0 (4 references)
target     prot opt source               destination
LOG        all  --  anywhere             anywhere           LOG level debug
prefix `RULE 0 -- ACCEPT '
ACCEPT     all  --  anywhere             anywhere

Chain RULE_1 (2 references)
target     prot opt source               destination
LOG        all  --  anywhere             anywhere           LOG level info
prefix `RULE 1 -- ACCEPT '
ACCEPT     all  --  anywhere             anywhere

Chain RULE_2 (2 references)
target     prot opt source               destination
LOG        all  --  anywhere             anywhere           LOG level info
prefix `RULE 2 -- ACCEPT '
ACCEPT     all  --  anywhere             anywhere

Chain RULE_3 (3 references)
target     prot opt source               destination
LOG        all  --  anywhere             anywhere           LOG level info
prefix `RULE 3 -- DROP '
DROP       all  --  anywhere             anywhere



-----Message d'origine-----
De : richardo@xxxxxxxxxxxxxxxx [mailto:richardo@xxxxxxxxxxxxxxxx]
Envoyé : vendredi 4 avril 2003 13:51
À : Stéphane Klein
Objet : Re: sqlnet 8 connexion and iptables 1.2.6a



Hi Stephane,

Are you allowing RELATED and ESTABLISHED packets back through the firewall
? if not, it may solve the problem ....


Regards,
Richard.

Richard Oatridge
Head of IT, Start-global Ltd
http://www.start-global.com
tel :  +44 1564 779297
email : richardo@xxxxxxxxxxxxxxxx






[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux