Linux Netfilter discussions
 help / color / mirror / Atom feed
* New not syn issue
@ 2003-05-28 12:17 MOUDARIR Mohamed
  2003-05-28 12:26 ` Ray Leach
  0 siblings, 1 reply; 2+ messages in thread
From: MOUDARIR Mohamed @ 2003-05-28 12:17 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 1018 bytes --]

Hello,
I have an iptables firewall with tree NIC
Eth0 net interface
Eth1 dmz interface
Eth2 lan interface ( private network A 170.150.0.0/16 )
Recently I connect a seconde private network ( B 170.151.0.0/16 ) (from
another site with SDSL router) to my network A.
There is no probleme with routing. I can ping B from A, and ping A from B.
I can also access internet from B.
 
But I can not access a share directory from B (170.151.1.11)like
\\170.150.1.10\d$ <file:///\\170.150.1.10\d$>  in a NT server in A 
When I look into firewall log, I can see :
New not syn:IN=eth2 OUT=eth2 SRC 170.150.1.10 DST=170.151.1.11 LEN=44
TOS=0x00 TTL=127 ID=43023 PROTO=TCP SPT=139 DPT=1787
WINDOW=8760 RES=0x00 ACK URGP=0
 
I look into my iptables script, and I think the reason of this is this rules
:
iptables -N bad_tcp_packets
iptables -A bad_tcp_packets -p tcp ! --syn -m state --state NEW -j LOG
--log-prefix "New not syn:"
iptables -A bad_tcp_packets -p tcp ! --syn -m state --state NEW -j DROP
 
What is the solution.?
Thaks.

[-- Attachment #2: Type: text/html, Size: 8516 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: New not syn issue
  2003-05-28 12:17 New not syn issue MOUDARIR Mohamed
@ 2003-05-28 12:26 ` Ray Leach
  0 siblings, 0 replies; 2+ messages in thread
From: Ray Leach @ 2003-05-28 12:26 UTC (permalink / raw)
  To: Netfilter Mailing List

[-- Attachment #1: Type: text/plain, Size: 1570 bytes --]

On Wed, 2003-05-28 at 14:17, MOUDARIR Mohamed wrote:
> Hello,
> 
> I have an iptables firewall with tree NIC
> 
> Eth0 net interface
> 
> Eth1 dmz interface
> 
> Eth2 lan interface ( private network A 170.150.0.0/16 )
> 
> Recently I connect a seconde private network ( B 170.151.0.0/16 )
> (from another site with SDSL router) to my network A.
> 
> There is no probleme with routing. I can ping B from A, and ping A
> from B.
> 
> I can also access internet from B.
> 
>  
> 
> But I can not access a share directory from B (170.151.1.11)like
> \\170.150.1.10\d$ in a NT server in A 
> 
> When I look into firewall log, I can see :
> 
> New not syn:IN=eth2 OUT=eth2 SRC 170.150.1.10 DST=170.151.1.11 LEN=44
> TOS=0x00 TTL=127 ID=43023 PROTO=TCP SPT=139 DPT=1787
> 
> WINDOW=8760 RES=0x00 ACK URGP=0
> 
>  
Maybe this is caused by a stray nat rule - the packets seems to be
coming from and going to eth2.

> 
> I look into my iptables script, and I think the reason of this is this
> rules :
> 
> iptables -N bad_tcp_packets
> 
> iptables -A bad_tcp_packets -p tcp ! --syn -m state --state NEW -j LOG
> --log-prefix "New not syn:"
> 
> iptables -A bad_tcp_packets -p tcp ! --syn -m state --state NEW -j
> DROP
> 
>  
> 
> What is the solution.?
> 
> Thaks.
-- 
--
Raymond Leach <raymondl@knowledgefactory.co.za>
Network Support Specialist
http://www.knowledgefactory.co.za
"lynx -source http://www.rchq.co.za/raymondl.asc | gpg --import"
Key fingerprint = 7209 A695 9EE0 E971 A9AD  00EE 8757 EE47 F06F FB28
--

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-28 12:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-28 12:17 New not syn issue MOUDARIR Mohamed
2003-05-28 12:26 ` Ray Leach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox