Help requested! ip masq for directplay port for Kernel 2.4 Anyone with programmi
Posted 15 August 2004 - 04:07 AM
Hmmm - seems straightforeward enough... but configure it for what? Readme files were no help. Then I noted on the website, that it was only for the 2.2 linux kernel. And I use a 2.4 kernel and a 2.6 kernel (choose at boot). I don't really want to have to add a 2.2 kernel to it too, as most every module I have isn't compiled for it and its a regression I don't want to deal with. The problem seems to arise with the diffence between the kernels use of ip_chains and ip_tables. And worse still, the project was dead. Still, hope remained - the authors last post noted that although it wasn't ported to the 2.4 kernel, doing so wouldn't be difficult. He wrote:
Finally, somebody has ported one of the 2.2.x masquerading modules over to the 2.4.x iptables system. Or rather, finally I NOTICED. Anyway, with the new(?) ip_nat_ftp module out there to copy fro^H^H^H^H^H^H^H^H inspire me, there's a slight possibility that the dplay module might get ported within the decade.
A little sarcasm there at the end but still, sounds easy right? Well, now I sure wish I knew a little about all those things and even more about programming. I'm pretty computer savy, and can write shell scripts with little though, (they are simple though), but my programming knowledge is uselessly limited. I am requesting anyone ANYONE with programming expirence to help me - I'd like this ported to the 2.4 kernel. If it would get AOE running multi-player I would be the happiest man alive, or close anyways. The other thing about it was that it apparantly worked behind a NAT which we are behind now and can't actually even connect to zone games or anything - but thats ok we just usually play on our lan. Still that would be really cool if it worked out of linux but not windoze.
Now for the real questions!
- Am I crazy in thinking this is the solution to getting mp working in aoeII?
- Is there actually anyone with the knowledge - knowhow - ability - and freetime to actually do the port.
- Would anyone out of the goodness of their hearts just take this up and do it.
Thanks in advance to anyone who would help!!
Posted 15 August 2004 - 05:15 AM
The only person I know of here that would have the know how to do what you're asking is martouf. Ask him and see what he says..
Posted 15 August 2004 - 09:30 PM
your answer is 42.
sorry. the question? 8)
you may want to seriously consider adding a 2.2 kernel and only those modules
you really need to run the game in multiplayer mode.
an alternative could be to offer yourself up to the author of dplay to help the
porting effort. You're clearly quite motivated, and some projects die only for lack
of motivated participants.
how much time and effort are you willing to give the "dplay porting project"?
Posted 16 August 2004 - 09:15 PM
Posted 17 August 2004 - 08:12 PM
--So long and thanks for all the fish!
Posted 18 August 2004 - 03:51 AM
you might have better luck there reaching the author or someone who's been
waiting to revive the project.
meanwhile, take a day to go through the source and take extra time looking at each
call to an ipchains function in dplay. As you find each ipchains call, find the
corresponding iptables function. With the original dplay source safely tucked
away elsewhere, edit the source and add the corresponding iptables function call
in a comment (delimited with /* and */ chars). Where variables need new datatypes,
add those definitions
if after about a day's worth of this workload research the time-to-complete
estimate doesn't look awful, then announce the good news here there and
you may find this document helpful.
Posted 18 August 2004 - 07:08 PM
Posted 19 August 2004 - 11:05 PM
Posted 20 August 2004 - 07:11 PM
has a "Links and information" section which will point you to the
If a kernel uses the iptables interface, then that's what it uses.
The interface is the change, not the kernel.
iptables code will do what you want on any system with iptables.
Posted 31 August 2004 - 07:43 PM
Posted 31 August 2004 - 11:40 PM
- So Long and Thanks for all the Fish
Posted 01 September 2004 - 12:20 AM
I'm hoping to hear some early testing results in, say, 4 to 6 weeks, then.
To answer your question about 'make': yes, I'm quite certain there's an
(checking to see if it's still in print...)
Oooh! 3rd Edition is due out in December.
Here's the link for the 2nd Edition (Oct 1991).
You might find a couple of LinuxDevCenter articles useful: intro and advanced.
Posted 01 September 2004 - 06:09 PM
Posted 04 September 2004 - 12:40 AM
Do you live near a Borders (borders.com), a Barnes & Noble (barnesandnoble.com)?
or maybe you're farther north and live near an Indigo (indigo.ca)?
(a list of my favorites - otherwise any well-stocked College bookstore will do)
Posted 15 September 2004 - 07:37 PM
Posted 20 October 2004 - 04:12 PM