* RE: FTP SERVER ACCESS ( IPT_UNCLEAN PROBLEM?)
[not found] <LFEHKEBEBHAFGJBMNKAOKEJFCDAA.markee@bandwidthco.com>
@ 2003-10-27 16:00 ` jose nuno neto
0 siblings, 0 replies; 3+ messages in thread
From: jose nuno neto @ 2003-10-27 16:00 UTC (permalink / raw)
To: markee; +Cc: netfilter
Thanxs for your help,
I've dig into the /var/log/messages and found this message everytime i
tried to connect to the ftp server(it the same as the firewall)
Oct 27 16:22:41 bob kernel: ipt_unclean: TCP option 8 after end
Did this: tcpdump dst port ftp
16:22:41.317744 213.22.184.162.1844 > bob.liber4e.com.ftp: S
2900698949:2900698949(0) win 5840 <mss 1460,eol> (DF)
16:22:44.316286 213.22.184.162.1844 > bob.liber4e.com.ftp: S
2900698949:2900698949(0) win 5840 <mss 1460,eol> (DF)
16:22:50.301330 213.22.184.162.1844 > bob.liber4e.com.ftp: S
2900698949:2900698949(0) win 5840 <mss 1460,eol> (DF)
16:23:02.313601 213.22.184.162.1844 > bob.liber4e.com.ftp: S
2900698949:2900698949(0) win 5840 <mss 1460,eol> (DF)
But i dont understand nothing of this, do u?
I've found the UN_CLEAN chain from the iptables script and commented it
and now ftp works :-)
# Block (inbound) Traffic w/ Incorrect Flags
#$IPT -N IN_UNCLEAN
#$IPT -t filter -I INPUT -i $IF -m unclean -j IN_UNCLEAN
#$IPT -t filter -I IN_UNCLEAN -j LOG --log-prefix "** UNCLEAN ** "
#$IPT -t filter -I IN_UNCLEAN -j UNCLEAN
But i dont figured out what was happenning....
/var/log/messages also shoes this:
Oct 27 16:24:00 bob kernel: device eth0 entered promiscuous mode
Oct 27 16:24:26 bob kernel: device eth0 left promiscuous mode
Any clues on what happened?
--
Best Regards,
Jose' Nuno Neto
TLM: 00 351 96 2808587
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: FTP SERVER ACCESS ( IPT_UNCLEAN PROBLEM?)
@ 2003-10-27 21:27 George Vieira
0 siblings, 0 replies; 3+ messages in thread
From: George Vieira @ 2003-10-27 21:27 UTC (permalink / raw)
To: netfilter
Could it be possible it's because you need -m state --state RELATED,ESTABLISHED before those rules??
Thanks,
____________________________________________
George Vieira
Systems Manager
georgev@citadelcomputer.com.au
Citadel Computer Systems Pty Ltd
http://www.citadelcomputer.com.au
Phone : +61 2 9955 2644
HelpDesk: +61 2 9955 2698
> -----Original Message-----
> From: jose nuno neto [mailto:jose.neto@liber4e.com]
> Sent: Tuesday, 28 October 2003 3:01 AM
> To: markee@bandwidthco.com
> Cc: netfilter@lists.netfilter.org
> Subject: RE: FTP SERVER ACCESS ( IPT_UNCLEAN PROBLEM?)
>
>
> Thanxs for your help,
>
> I've dig into the /var/log/messages and found this message everytime i
> tried to connect to the ftp server(it the same as the firewall)
>
> Oct 27 16:22:41 bob kernel: ipt_unclean: TCP option 8 after end
>
> Did this: tcpdump dst port ftp
>
> 16:22:41.317744 213.22.184.162.1844 > bob.liber4e.com.ftp: S
> 2900698949:2900698949(0) win 5840 <mss 1460,eol> (DF)
> 16:22:44.316286 213.22.184.162.1844 > bob.liber4e.com.ftp: S
> 2900698949:2900698949(0) win 5840 <mss 1460,eol> (DF)
> 16:22:50.301330 213.22.184.162.1844 > bob.liber4e.com.ftp: S
> 2900698949:2900698949(0) win 5840 <mss 1460,eol> (DF)
> 16:23:02.313601 213.22.184.162.1844 > bob.liber4e.com.ftp: S
> 2900698949:2900698949(0) win 5840 <mss 1460,eol> (DF)
>
> But i dont understand nothing of this, do u?
>
> I've found the UN_CLEAN chain from the iptables script and
> commented it
> and now ftp works :-)
>
> # Block (inbound) Traffic w/ Incorrect Flags
> #$IPT -N IN_UNCLEAN
> #$IPT -t filter -I INPUT -i $IF -m unclean -j IN_UNCLEAN
> #$IPT -t filter -I IN_UNCLEAN -j LOG --log-prefix "** UNCLEAN ** "
> #$IPT -t filter -I IN_UNCLEAN -j UNCLEAN
>
> But i dont figured out what was happenning....
> /var/log/messages also shoes this:
> Oct 27 16:24:00 bob kernel: device eth0 entered promiscuous mode
> Oct 27 16:24:26 bob kernel: device eth0 left promiscuous mode
>
> Any clues on what happened?
>
>
> --
> Best Regards,
>
> Jose' Nuno Neto
> TLM: 00 351 96 2808587
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <20031027212803.10632.46508.Mailman@netfilter-sponsored-by.noris.net>]
* RE: FTP SERVER ACCESS ( IPT_UNCLEAN PROBLEM?)
[not found] <20031027212803.10632.46508.Mailman@netfilter-sponsored-by.noris.net>
@ 2003-10-28 11:44 ` jose nuno neto
0 siblings, 0 replies; 3+ messages in thread
From: jose nuno neto @ 2003-10-28 11:44 UTC (permalink / raw)
To: netfilter
I've looked into a tuturial on this
http://www.jollycom.ca/iptables-tutorial/iptables-tutorial.html#MATCHES
the syntax seems fine
they say the unclean match is experimental and could lead into
problems.Thats enough for me, i'll drop it
thanx all
Subject: RE: FTP SERVER ACCESS ( IPT_UNCLEAN PROBLEM?)
Date: Tue, 28 Oct 2003 08:27:20 +1100
From: "George Vieira" <georgev@citadelcomputer.com.au>
To: <netfilter@lists.netfilter.org>
Could it be possible it's because you need -m state --state =
RELATED,ESTABLISHED before those rules??
Thanks,
____________________________________________
George Vieira
Systems Manager
georgev@citadelcomputer.com.au
Citadel Computer Systems Pty Ltd
http://www.citadelcomputer.com.au
Phone : +61 2 9955 2644
HelpDesk: +61 2 9955 2698
=20
> -----Original Message-----
> From: jose nuno neto [mailto:jose.neto@liber4e.com]
> Sent: Tuesday, 28 October 2003 3:01 AM
> To: markee@bandwidthco.com
> Cc: netfilter@lists.netfilter.org
> Subject: RE: FTP SERVER ACCESS ( IPT_UNCLEAN PROBLEM?)
>=20
>=20
> Thanxs for your help,
>=20
> I've dig into the /var/log/messages and found this message everytime i
> tried to connect to the ftp server(it the same as the firewall)
>=20
> Oct 27 16:22:41 bob kernel: ipt_unclean: TCP option 8 after end
>=20
> Did this: tcpdump dst port ftp
>=20
> 16:22:41.317744 213.22.184.162.1844 > bob.liber4e.com.ftp: S
> 2900698949:2900698949(0) win 5840 <mss 1460,eol> (DF)
> 16:22:44.316286 213.22.184.162.1844 > bob.liber4e.com.ftp: S
> 2900698949:2900698949(0) win 5840 <mss 1460,eol> (DF)
> 16:22:50.301330 213.22.184.162.1844 > bob.liber4e.com.ftp: S
> 2900698949:2900698949(0) win 5840 <mss 1460,eol> (DF)
> 16:23:02.313601 213.22.184.162.1844 > bob.liber4e.com.ftp: S
> 2900698949:2900698949(0) win 5840 <mss 1460,eol> (DF)
>=20
> But i dont understand nothing of this, do u?
>=20
> I've found the UN_CLEAN chain from the iptables script and=20
> commented it
> and now ftp works :-)
>=20
> # Block (inbound) Traffic w/ Incorrect Flags
> #$IPT -N IN_UNCLEAN
> #$IPT -t filter -I INPUT -i $IF -m unclean -j IN_UNCLEAN
> #$IPT -t filter -I IN_UNCLEAN -j LOG --log-prefix "** UNCLEAN ** "
> #$IPT -t filter -I IN_UNCLEAN -j UNCLEAN
>=20
> But i dont figured out what was happenning....
> /var/log/messages also shoes this:
> Oct 27 16:24:00 bob kernel: device eth0 entered promiscuous mode
> Oct 27 16:24:26 bob kernel: device eth0 left promiscuous mode
>=20
> Any clues on what happened
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-10-28 11:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <LFEHKEBEBHAFGJBMNKAOKEJFCDAA.markee@bandwidthco.com>
2003-10-27 16:00 ` FTP SERVER ACCESS ( IPT_UNCLEAN PROBLEM?) jose nuno neto
2003-10-27 21:27 George Vieira
[not found] <20031027212803.10632.46508.Mailman@netfilter-sponsored-by.noris.net>
2003-10-28 11:44 ` jose nuno neto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox