Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Ray Leach <raymondl@knowledgefactory.co.za>
To: Netfilter Mailing List <netfilter@lists.netfilter.org>
Subject: Re: New not syn issue
Date: 28 May 2003 14:26:16 +0200	[thread overview]
Message-ID: <1054124775.13296.135.camel@raylinux.internal> (raw)
In-Reply-To: <14C5057BC852D611BAC400E0299AA10F203D0D@MAILSERV>

[-- 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 --]

      reply	other threads:[~2003-05-28 12:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-28 12:17 New not syn issue MOUDARIR Mohamed
2003-05-28 12:26 ` Ray Leach [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1054124775.13296.135.camel@raylinux.internal \
    --to=raymondl@knowledgefactory.co.za \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox