Skip to contentSkip to conversation

iptables dropping wrong packets

DISCUSSION [email protected] 4 participants 4 messages Mar 5, 2003 – Mar 6, 2003

lore
Share & tools
lore
#0 lore raw

Hi,

looks like some of correct packes are droped

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
num pkts bytes target prot opt in out source destination

1 36142 16M ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0
TOS
match 0x00
2 168K 54M ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0
TOS
match 0x10
3 27 1782 LOG all -- * * 0.0.0.0/0 0.0.0.0/0
LOG
flags 0 level 4
4 27 1782 DROP all -- * * 0.0.0.0/0 0.0.0.0/0

in log we can see that TOS of packets is 0x0 they are also packets with 0x10

Mar  5 04:32:10 proliant kernel: IN=eth0 OUT=eth1 SRC=62.176.73.4 DST=62.176.105.30
LEN=76 
TOS=0x00 PREC=0xC0 
Mar  5 04:32:15 proliant kernel: IN=eth0 OUT=eth1 SRC=62.176.73.4 DST=62.176.105.30
LEN=76 
TOS=0x00 PREC=0xC0 
Mar  5 04:32:18 proliant kernel: IN=eth1 OUT=eth0 SRC=212.5.149.252 DST=212.5.134.3
LEN=87 
TOS=0x00 PREC=0xC0 
Mar  5 04:32:19 proliant kernel: IN=eth0 OUT=eth2 SRC=62.176.73.4 DST=62.176.106.69
LEN=88 
TOS=0x00 PREC=0xC0 
Mar  5 04:32:19 proliant kernel: IN=eth0 OUT=eth1 SRC=62.176.73.4 DST=62.176.105.30
LEN=76 
TOS=0x00 PREC=0xC0 
Mar  5 04:32:29 proliant kernel: IN=eth0 OUT=eth2 SRC=195.230.9.159 DST=62.176.106.69
LEN=48 
TOS=0x00 PREC=0x8 
Mar  5 04:32:31 proliant kernel: IN=eth0 OUT=eth1 SRC=62.176.73.4 DST=62.176.105.30
LEN=76 
TOS=0x00 PREC=0xC0 
Mar  5 04:32:32 proliant kernel: IN=eth0 OUT=eth2 SRC=195.230.9.159 DST=62.176.106.69

LEN=48
TOS=0x00 PREC=0x8

Am I doing something wrong?

10x in advance
Nedko

#1 lore raw

Module for Oracle with NAT

Hi,

Friends Do you know if are there any module of kernel to work Oracle with NAT ,????

Newton.

----- Original Message -----
From: <[email protected]>
To: <[email protected]>
Sent: Wednesday, March 05, 2003 9:37 AM
Subject: iptables dropping wrong packets

Quoted 9 lines

Hi,

looks like some of correct packes are droped

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
num pkts bytes target prot opt in out source

destination

Quoted 2 lines

1 36142 16M ACCEPT all -- * * 0.0.0.0/0

0.0.0.0/0

Quoted 3 lines

TOS
match 0x00
2 168K 54M ACCEPT all -- * * 0.0.0.0/0

0.0.0.0/0

Quoted 3 lines

TOS
match 0x10
3 27 1782 LOG all -- * * 0.0.0.0/0

0.0.0.0/0

Quoted 3 lines

LOG
flags 0 level 4
4 27 1782 DROP all -- * * 0.0.0.0/0

0.0.0.0/0

Quoted 4 lines

in log we can see that TOS of packets is 0x0 they are also packets with

0x10

Quoted 4 lines


Mar  5 04:32:10 proliant kernel: IN=eth0 OUT=eth1 SRC=62.176.73.4

DST=62.176.105.30

Quoted 3 lines

LEN=76
TOS=0x00 PREC=0xC0

Mar  5 04:32:15 proliant kernel: IN=eth0 OUT=eth1 SRC=62.176.73.4

DST=62.176.105.30

Quoted 3 lines

LEN=76
TOS=0x00 PREC=0xC0

Mar  5 04:32:18 proliant kernel: IN=eth1 OUT=eth0 SRC=212.5.149.252

DST=212.5.134.3

Quoted 3 lines

LEN=87
TOS=0x00 PREC=0xC0

Mar  5 04:32:19 proliant kernel: IN=eth0 OUT=eth2 SRC=62.176.73.4

DST=62.176.106.69

Quoted 3 lines

LEN=88
TOS=0x00 PREC=0xC0

Mar  5 04:32:19 proliant kernel: IN=eth0 OUT=eth1 SRC=62.176.73.4

DST=62.176.105.30

Quoted 3 lines

LEN=76
TOS=0x00 PREC=0xC0

Mar  5 04:32:29 proliant kernel: IN=eth0 OUT=eth2 SRC=195.230.9.159

DST=62.176.106.69

Quoted 3 lines

LEN=48
TOS=0x00 PREC=0x8

Mar  5 04:32:31 proliant kernel: IN=eth0 OUT=eth1 SRC=62.176.73.4

DST=62.176.105.30

Quoted 3 lines

LEN=76
TOS=0x00 PREC=0xC0

Mar  5 04:32:32 proliant kernel: IN=eth0 OUT=eth2 SRC=195.230.9.159

DST=62.176.106.69

Quoted 7 lines

LEN=48
TOS=0x00 PREC=0x8

Am I doing something wrong?

10x in advance
Nedko

#2 lore raw

Re: Module for Oracle with NAT

In Oracle 9i you can make the server and listener use specific ports. AFAIR if you do not use shared servers then you can use standard NAT.

We have our Oracle machine behind our firewall and we have people from Cape Town (the other end of the country) accessing it perfectly.

There are some notes from Metalink with regards to Oracle and NAT.

Ray

Quoted 85 lines · Newton

Hi,

Friends Do you know if are there any module of kernel to work Oracle with NAT ,????

Newton.

----- Original Message -----
From: <[email protected]>
To: <[email protected]>
Sent: Wednesday, March 05, 2003 9:37 AM
Subject: iptables dropping wrong packets

Quoted 9 lines

Hi,

looks like some of correct packes are droped

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
num pkts bytes target prot opt in out source

destination

Quoted 2 lines

1 36142 16M ACCEPT all -- * * 0.0.0.0/0

0.0.0.0/0

Quoted 3 lines

TOS
match 0x00
2 168K 54M ACCEPT all -- * * 0.0.0.0/0

0.0.0.0/0

Quoted 3 lines

TOS
match 0x10
3 27 1782 LOG all -- * * 0.0.0.0/0

0.0.0.0/0

Quoted 3 lines

LOG
flags 0 level 4
4 27 1782 DROP all -- * * 0.0.0.0/0

0.0.0.0/0

Quoted 4 lines

in log we can see that TOS of packets is 0x0 they are also packets with

0x10

Quoted 4 lines


Mar  5 04:32:10 proliant kernel: IN=eth0 OUT=eth1 SRC=62.176.73.4

DST=62.176.105.30

Quoted 3 lines

LEN=76
TOS=0x00 PREC=0xC0

Mar  5 04:32:15 proliant kernel: IN=eth0 OUT=eth1 SRC=62.176.73.4

DST=62.176.105.30

Quoted 3 lines

LEN=76
TOS=0x00 PREC=0xC0

Mar  5 04:32:18 proliant kernel: IN=eth1 OUT=eth0 SRC=212.5.149.252

DST=212.5.134.3

Quoted 3 lines

LEN=87
TOS=0x00 PREC=0xC0

Mar  5 04:32:19 proliant kernel: IN=eth0 OUT=eth2 SRC=62.176.73.4

DST=62.176.106.69

Quoted 3 lines

LEN=88
TOS=0x00 PREC=0xC0

Mar  5 04:32:19 proliant kernel: IN=eth0 OUT=eth1 SRC=62.176.73.4

DST=62.176.105.30

Quoted 3 lines

LEN=76
TOS=0x00 PREC=0xC0

Mar  5 04:32:29 proliant kernel: IN=eth0 OUT=eth2 SRC=195.230.9.159

DST=62.176.106.69

Quoted 3 lines

LEN=48
TOS=0x00 PREC=0x8

Mar  5 04:32:31 proliant kernel: IN=eth0 OUT=eth1 SRC=62.176.73.4

DST=62.176.105.30

Quoted 3 lines

LEN=76
TOS=0x00 PREC=0xC0

Mar  5 04:32:32 proliant kernel: IN=eth0 OUT=eth2 SRC=195.230.9.159

DST=62.176.106.69

Quoted 7 lines

LEN=48
TOS=0x00 PREC=0x8

Am I doing something wrong?

10x in advance
Nedko

#3 lore raw

Accouting

In reply to [email protected]

Hi all

i just trying to make Bridge and accounting

eth0 and eth1
eth0 lan side eth1 internet side

i would like to have accounting details like

TCP in/out
UDP in/out
ICM in/out
unknow in/out

http in/out
ftp in/out
voice in/out
chat in/out
unknow in/out

and make them available in my local webserver, for html view

any guidance will be appriciate

thanks
hare