Re: Two links and a SMTP sever.

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

 



Thanks for the answer....


On Tue, 18 Jan 2005 15:54:39 -0500 (EST), Samuel Jean
<sj-netfilter@xxxxxxxxxxxxxxxx> wrote:
> On Tue, January 18, 2005 8:39 am, Ulysses Almeida said:
>
> (After looking attached file)
> Did you enable NAT of local connection in your kernel ?
> To be honest, I don't know anything about Lartc. And can't tell you
> how it should behave (my guess is it should pickup the right IP, of course)
> 
> However, the (ugly) SNAT work-around should work with
> NAT of local connection enabled.

  Hmm. the NAT/SNAT is working fine, when I recive the SMTP answer
(LOG on PREROUTING and INPUT of filter, nat and mangle) the packet
arrives with the correct ip on dst addr. But I can only see it, on
mangle PREROUTING, but can't on other hooks. I don't know if it is
related with some sanity check or checksum....

  That's another doubt, dos nat PREROUTING called with syn+ack
packets, or only with sym packets?

  I have these modules loaded:
ipt_LOG                 5760  7 
ipt_mark                1792  0 
ipt_MARK                2176  1 
iptable_mangle          2944  1 
ipt_state               2048  8 
iptable_filter          2944  1 
ipt_MASQUERADE          3840  4 
iptable_nat            23980  2 ipt_MASQUERADE
ip_conntrack           33072  3 ipt_state,ipt_MASQUERADE,iptable_nat
ip_tables              17920  8
ipt_LOG,ipt_mark,ipt_MARK,iptable_mangle,ipt_state,iptable_filter,ipt_MASQUERADE,iptable_nat

  
> 
> >
> >   I explaint it on the attachment (i sent this attachment, because I
> > don't thin it will cause any trouble, since it's text/plain, if does,
> > say and I won't send again).
> 
> Please put it in the body so we can comment some part.
> 
Ok, I used to use MUA that shows-me the text/plain attachments as the
e-mail body (like mutt). But now I see it won't happen all the time.
My mistake, sorry.

-- 
 - Ulysses Almeida


[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