All of lore.kernel.org
 help / color / mirror / Atom feed
* Trouble with PPTP
@ 2003-10-15 13:46 Andrzej Kozak
  2003-10-16 16:06 ` Phil Oester
  2003-10-16 23:46 ` Philip Craig
  0 siblings, 2 replies; 10+ messages in thread
From: Andrzej Kozak @ 2003-10-15 13:46 UTC (permalink / raw)
  To: netfilter-devel

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

Hello!
When I patched my 2.4.22 kernel with pptp-conntrack-nat -DNAT and -SNAT is broken if I use iptables with -t nat
I get message: iptables: Invalid argument
Iptables v. 1.2.8
I need establish connect from my security network to outside VPN server.

best regards

Andrew Kozak

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

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

* trouble with pptp
@ 2003-10-16 15:26 Andrzej Kozak
  0 siblings, 0 replies; 10+ messages in thread
From: Andrzej Kozak @ 2003-10-16 15:26 UTC (permalink / raw)
  To: netfilter

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

Hello!
When I patched my 2.4.22 kernel with pptp-conntrack-nat -DNAT and -SNAT is broken if I use iptables with -t nat
I get message: iptables: Invalid argument
Iptables v. 1.2.8
I need establish connect from my security network to outside VPN server.

best regards
Andrew Kozak

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

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

* Re: Trouble with PPTP
  2003-10-15 13:46 Trouble with PPTP Andrzej Kozak
@ 2003-10-16 16:06 ` Phil Oester
  2003-10-16 23:46 ` Philip Craig
  1 sibling, 0 replies; 10+ messages in thread
From: Phil Oester @ 2003-10-16 16:06 UTC (permalink / raw)
  To: Andrzej Kozak; +Cc: netfilter-devel

Rebuild iptables userspace using the patched kernel for the headers.

Phil Oester

On Wed, Oct 15, 2003 at 03:46:49PM +0200, Andrzej Kozak wrote:
> Hello!
> When I patched my 2.4.22 kernel with pptp-conntrack-nat -DNAT and -SNAT is broken if I use iptables with -t nat
> I get message: iptables: Invalid argument
> Iptables v. 1.2.8
> I need establish connect from my security network to outside VPN server.
> 
> best regards
> 
> Andrew Kozak

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

* Re: Trouble with PPTP
  2003-10-15 13:46 Trouble with PPTP Andrzej Kozak
  2003-10-16 16:06 ` Phil Oester
@ 2003-10-16 23:46 ` Philip Craig
  1 sibling, 0 replies; 10+ messages in thread
From: Philip Craig @ 2003-10-16 23:46 UTC (permalink / raw)
  To: Andrzej Kozak; +Cc: netfilter-devel

Andrzej Kozak wrote:
> Hello!
> When I patched my 2.4.22 kernel with pptp-conntrack-nat -DNAT and -SNAT is broken if I use iptables with -t nat
> I get message: iptables: Invalid argument
> Iptables v. 1.2.8

 From pptp-conntrack-nat.patch.help:
- you have to recompile your iptables userspace program since some
   structure sizes change

-- 
Philip Craig - philipc@snapgear.com - http://www.SnapGear.com
SnapGear - Custom Embedded Solutions and Security Appliances

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

* Re: Trouble with PPTP
@ 2003-10-22 16:38 Andrzej Kozak
  2003-10-22 18:22 ` Fernando Barrocal
  2003-10-22 23:16 ` Ranjeet Shetye
  0 siblings, 2 replies; 10+ messages in thread
From: Andrzej Kozak @ 2003-10-22 16:38 UTC (permalink / raw)
  To: kernel; +Cc: netfilter

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

Thanks Phil,
Is better but not excellent.
After when I :
Patched kernel (pptp-conntrack-nat from p-o-m)
Recompiled iptables v 1.2.8
Recompiled kernel
i get the same message: iptables: Invalid argument
but only if firewall script is automated executing from /etc/rc.boot/firewallscript (DEBIAN 3.0 distribution) when linux is booting or rebooting.
If I log into system and executing this script manually is everything OK !
What is wrong ? 

best regards
Andrew Kozak


> Rebuild iptables userspace using the patched kernel for the headers.
>
> Phil Oester
>
> On Wed, Oct 15, 2003 at 03:46:49PM +0200, Andrzej Kozak wrote:
> > Hello!
> > When I patched my 2.4.22 kernel with pptp-conntrack-nat -DNAT and -SNAT
is broken if I use iptables with -t nat
> > I get message: iptables: Invalid argument
> > Iptables v. 1.2.8
> > I need establish connect from my security network to outside VPN server.
> >
> > best regards
> >
> > Andrew Kozak

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

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

* Re: Trouble with PPTP
  2003-10-22 16:38 Trouble with PPTP Andrzej Kozak
@ 2003-10-22 18:22 ` Fernando Barrocal
  2003-10-22 23:16 ` Ranjeet Shetye
  1 sibling, 0 replies; 10+ messages in thread
From: Fernando Barrocal @ 2003-10-22 18:22 UTC (permalink / raw)
  To: Andrzej Kozak, kernel; +Cc: netfilter

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


You will need to compile iptables after the kernel then reboot

--
F.Barrocal

At 14:38 22/10/2003, Andrzej Kozak wrote:
>Thanks Phil,
>Is better but not excellent.
>After when I :
>Patched kernel (pptp-conntrack-nat from p-o-m)
>Recompiled iptables v 1.2.8
>Recompiled kernel
>i get the same message: iptables: Invalid argument
>but only if firewall script is automated executing from 
>/etc/rc.boot/firewallscript (DEBIAN 3.0 distribution) when linux is 
>booting or rebooting.
>If I log into system and executing this script manually is everything OK !
>What is wrong ?
>
>best regards
>Andrew Kozak
>
>
> > Rebuild iptables userspace using the patched kernel for the headers.
> >
> > Phil Oester
> >
> > On Wed, Oct 15, 2003 at 03:46:49PM +0200, Andrzej Kozak wrote:
> > > Hello!
> > > When I patched my 2.4.22 kernel with pptp-conntrack-nat -DNAT and -SNAT
>is broken if I use iptables with -t nat
> > > I get message: iptables: Invalid argument
> > > Iptables v. 1.2.8
> > > I need establish connect from my security network to outside VPN server.
> > >
> > > best regards
> > >
> > > Andrew Kozak


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

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

* RE: Trouble with PPTP
@ 2003-10-22 19:06 Regalado, Ron
       [not found] ` <E26ABBCB14D369428125D23DF8BE94E52CD0BD@DGEXCH06.mcilink.co m>
  0 siblings, 1 reply; 10+ messages in thread
From: Regalado, Ron @ 2003-10-22 19:06 UTC (permalink / raw)
  To: 'Fernando Barrocal', Andrzej Kozak, kernel; +Cc: netfilter

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

 
Should I use the rpm package from Redhat or compile the package from
netfilter.org?

 
  _____  

From: netfilter-admin@lists.netfilter.org
[mailto:netfilter-admin@lists.netfilter.org] On Behalf Of Fernando Barrocal
Sent: Wednesday, October 22, 2003 12:23 PM
To: Andrzej Kozak; kernel@linuxace.com
Cc: netfilter@lists.netfilter.org
Subject: Re: Trouble with PPTP



You will need to compile iptables after the kernel then reboot

--
F.Barrocal

At 14:38 22/10/2003, Andrzej Kozak wrote:


Thanks Phil,
Is better but not excellent.
After when I :
Patched kernel (pptp-conntrack-nat from p-o-m)
Recompiled iptables v 1.2.8
Recompiled kernel
i get the same message: iptables: Invalid argument
but only if firewall script is automated executing from
/etc/rc.boot/firewallscript (DEBIAN 3.0 distribution) when linux is booting
or rebooting.
If I log into system and executing this script manually is everything OK !
What is wrong ? 
 
best regards
Andrew Kozak
 
 
> Rebuild iptables userspace using the patched kernel for the headers.
>
> Phil Oester
>
> On Wed, Oct 15, 2003 at 03:46:49PM +0200, Andrzej Kozak wrote:
> > Hello!
> > When I patched my 2.4.22 kernel with pptp-conntrack-nat -DNAT and -SNAT
is broken if I use iptables with -t nat
> > I get message: iptables: Invalid argument
> > Iptables v. 1.2.8
> > I need establish connect from my security network to outside VPN server.
> >
> > best regards
> >
> > Andrew Kozak



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

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

* RE: Trouble with PPTP
       [not found] ` <E26ABBCB14D369428125D23DF8BE94E52CD0BD@DGEXCH06.mcilink.co m>
@ 2003-10-22 20:35   ` Fernando Barrocal
  2003-10-23  2:22     ` Edmund Turner
  0 siblings, 1 reply; 10+ messages in thread
From: Fernando Barrocal @ 2003-10-22 20:35 UTC (permalink / raw)
  To: Regalado, Ron, Andrzej Kozak, kernel; +Cc: netfilter

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


I used the RPMs, if you need I can send you the How-to I did

At 17:06 22/10/2003, Regalado, Ron wrote:
>
>Should I use the rpm package from Redhat or compile the package from 
>netfilter.org?
>
>
>
>----------
>From: netfilter-admin@lists.netfilter.org 
>[mailto:netfilter-admin@lists.netfilter.org] On Behalf Of Fernando Barrocal
>Sent: Wednesday, October 22, 2003 12:23 PM
>To: Andrzej Kozak; kernel@linuxace.com
>Cc: netfilter@lists.netfilter.org
>Subject: Re: Trouble with PPTP
>
>
>You will need to compile iptables after the kernel then reboot
>
>--
>F.Barrocal
>
>At 14:38 22/10/2003, Andrzej Kozak wrote:
>>Thanks Phil,
>>Is better but not excellent.
>>After when I :
>>Patched kernel (pptp-conntrack-nat from p-o-m)
>>Recompiled iptables v 1.2.8
>>Recompiled kernel
>>i get the same message: iptables: Invalid argument
>>but only if firewall script is automated executing from 
>>/etc/rc.boot/firewallscript (DEBIAN 3.0 distribution) when linux is 
>>booting or rebooting.
>>If I log into system and executing this script manually is everything OK !
>>What is wrong ?
>>
>>best regards
>>Andrew Kozak
>>
>>
>> > Rebuild iptables userspace using the patched kernel for the headers.
>> >
>> > Phil Oester
>> >
>> > On Wed, Oct 15, 2003 at 03:46:49PM +0200, Andrzej Kozak wrote:
>> > > Hello!
>> > > When I patched my 2.4.22 kernel with pptp-conntrack-nat -DNAT and -SNAT
>>is broken if I use iptables with -t nat
>> > > I get message: iptables: Invalid argument
>> > > Iptables v. 1.2.8
>> > > I need establish connect from my security network to outside VPN server.
>> > >
>> > > best regards
>> > >
>> > > Andrew Kozak


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

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

* Re: Trouble with PPTP
  2003-10-22 16:38 Trouble with PPTP Andrzej Kozak
  2003-10-22 18:22 ` Fernando Barrocal
@ 2003-10-22 23:16 ` Ranjeet Shetye
  1 sibling, 0 replies; 10+ messages in thread
From: Ranjeet Shetye @ 2003-10-22 23:16 UTC (permalink / raw)
  To: Andrzej Kozak; +Cc: kernel, netfilter

On Wed, 2003-10-22 at 09:38, Andrzej Kozak wrote:
> Thanks Phil,
> Is better but not excellent.
> After when I :
> Patched kernel (pptp-conntrack-nat from p-o-m)
> Recompiled iptables v 1.2.8
> Recompiled kernel
> i get the same message: iptables: Invalid argument
> but only if firewall script is automated executing from
> /etc/rc.boot/firewallscript (DEBIAN 3.0 distribution) when linux is
> booting or rebooting.
> If I log into system and executing this script manually is everything
> OK !
> What is wrong ? 
>  
> best regards
> Andrew Kozak
>  
>  
> > Rebuild iptables userspace using the patched kernel for the headers.
> >
> > Phil Oester
> >
> > On Wed, Oct 15, 2003 at 03:46:49PM +0200, Andrzej Kozak wrote:
> > > Hello!
> > > When I patched my 2.4.22 kernel with pptp-conntrack-nat -DNAT and
> -SNAT
> is broken if I use iptables with -t nat
> > > I get message: iptables: Invalid argument
> > > Iptables v. 1.2.8
> > > I need establish connect from my security network to outside VPN
> server.
> > >
> > > best regards
> > >
> > > Andrew Kozak

1. make sure your /usr/src/linux link points to the correct linux kernel
source. I dont think this is the problem, just verify this.

2. it sounds like you've got iptables installed in 2 seperate locations.
the older version (compiled against old kernel) is hardcoded or picked
up by the init scripts but when you log in, your $PATH picks up the
newer one (compiled against correct kernel).

I think this is what your problem is.

"locate iptables | grep bin" should identify this problem very quickly.
If not, then you need to dig into the /etc/init.d script that is used on
botup and see where its picking up its iptables from. "which iptables"
should tell you where your login copy is coming from.

HTH,

-- 

Ranjeet Shetye
Senior Software Engineer
Zultys Technologies
Ranjeet dot Shetye2 at Zultys dot com
http://www.zultys.com/
 
The views, opinions, and judgements expressed in this message are solely
those of the author. The message contents have not been reviewed or
approved by Zultys.




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

* RE: Trouble with PPTP
  2003-10-22 20:35   ` Fernando Barrocal
@ 2003-10-23  2:22     ` Edmund Turner
  0 siblings, 0 replies; 10+ messages in thread
From: Edmund Turner @ 2003-10-23  2:22 UTC (permalink / raw)
  To: 'Fernando Barrocal'; +Cc: netfilter

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

Dear Fernando, I would really appreciate if you could send me the
"how-to" for that installation. I have been planning to implement it on
my network.

Thanks in advance!

Regards

edmund

 

-----Original Message-----regards


From: netfilter-admin@lists.netfilter.org
[mailto:netfilter-admin@lists.netfilter.org] On Behalf Of Fernando
Barrocal
Sent: Thursday, October 23, 2003 4:36 AM
To: Regalado, Ron; Andrzej Kozak; kernel@linuxace.com
Cc: netfilter@lists.netfilter.org
Subject: RE: Trouble with PPTP

 


I used the RPMs, if you need I can send you the How-to I did

At 17:06 22/10/2003, Regalado, Ron wrote:



 
Should I use the rpm package from Redhat or compile the package from
netfilter.org?

 

  _____  

From: netfilter-admin@lists.netfilter.org
[mailto:netfilter-admin@lists.netfilter.org] On Behalf Of Fernando
Barrocal
Sent: Wednesday, October 22, 2003 12:23 PM
To: Andrzej Kozak; kernel@linuxace.com
Cc: netfilter@lists.netfilter.org
Subject: Re: Trouble with PPTP


You will need to compile iptables after the kernel then reboot

--
F.Barrocal

At 14:38 22/10/2003, Andrzej Kozak wrote:



Thanks Phil,
Is better but not excellent.
After when I :
Patched kernel (pptp-conntrack-nat from p-o-m)
Recompiled iptables v 1.2.8
Recompiled kernel
i get the same message: iptables: Invalid argument
but only if firewall script is automated executing from
/etc/rc.boot/firewallscript (DEBIAN 3.0 distribution) when linux is
booting or rebooting.
If I log into system and executing this script manually is everything OK
!
What is wrong ? 
 
best regards
Andrew Kozak
 
 
> Rebuild iptables userspace using the patched kernel for the headers.
>
> Phil Oester
>
> On Wed, Oct 15, 2003 at 03:46:49PM +0200, Andrzej Kozak wrote:
> > Hello!
> > When I patched my 2.4.22 kernel with pptp-conntrack-nat -DNAT and
-SNAT
is broken if I use iptables with -t nat
> > I get message: iptables: Invalid argument
> > Iptables v. 1.2.8
> > I need establish connect from my security network to outside VPN
server.
> >
> > best regards
> >
> > Andrew Kozak



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

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

end of thread, other threads:[~2003-10-23  2:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-15 13:46 Trouble with PPTP Andrzej Kozak
2003-10-16 16:06 ` Phil Oester
2003-10-16 23:46 ` Philip Craig
  -- strict thread matches above, loose matches on Subject: below --
2003-10-16 15:26 trouble with pptp Andrzej Kozak
2003-10-22 16:38 Trouble with PPTP Andrzej Kozak
2003-10-22 18:22 ` Fernando Barrocal
2003-10-22 23:16 ` Ranjeet Shetye
2003-10-22 19:06 Regalado, Ron
     [not found] ` <E26ABBCB14D369428125D23DF8BE94E52CD0BD@DGEXCH06.mcilink.co m>
2003-10-22 20:35   ` Fernando Barrocal
2003-10-23  2:22     ` Edmund Turner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.