pptp-conntrack-nat: ip_nat_proto_gre.c:gre_manip_pkt: can't nat GRE w/o key
It seems pptp code is working now with 2.6.10, now the gre code needs some tweaks.
In ip_nat_proto_gre.c:gre_manip_pkt it seems hdroff, greh and pgreh don't get the right values for their attributes. (should here skb_header_pointer be used too ?). In ip_conntrack_proto_gre.c:gre_pkt_to_tuple it seems to go right, protocol has the right value, and key and version also.
I think this could probably be the last hurdle to a working pptp-conntrack (at least under <= 2.6.10
As attachments I included the kern.log (with extra debug info i put in ip_nat_proto_gre.c and ip_conntrack_proto_gre.c), and tcpdumps with whole packets on eth0 and eth1 in the bugzilla report
Regards,
Sander Eikelenboom
Quoted 2 lines · Sander Eikelenboom
It seems pptp code is working now with 2.6.10, now the gre code needs some tweaks.
please see my reply in bugzilla at
https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=319
Can you please test and report back? Thanks.
Signature · 5 lines
- Harald Welte <[email protected]> http://netfilter.org/ ============================================================================ "Fragmentation is like classful addressing -- an interesting early architectural error that shows how much experimentation was going on while IP was being designed." -- Paul Vixie
It works for me :-)
(doing this by VPN on linux 2.6.10 now :-) )
If i'm correct there are still issues with applying it to 2.6.11 ?
Quoted 2 lines · Sander Eikelenboom
Quoted 2 lines
It seems pptp code is working now with 2.6.10, now the gre code needs some tweaks.
HW> please see my reply in bugzilla at
HW> https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=319
HW> Can you please test and report back? Thanks.