Re: IPv6 in tmda-ofmipd
Sabahattin Gucukoglu <[email protected]> Sun, 6 Feb 2011 19:16:01 +0000
| Newsgroups | gmane.mail.spam.tmda.user |
|---|---|
| Message-ID | <[email protected]> |
On 4 Feb 2011, at 06:42, Kevin Goodsell wrote: > On Thu, Feb 3, 2011 at 3:59 PM, Sabahattin Gucukoglu > <[email protected]> wrote: >> Anybody know if there's a hack to get tmda-ofmipd listening on an IPv6 socket? It's just ... it is time. > > There's a bit of hard-coding for IPv4, but it's not too hard to fix in > tmda-ofmipd itself. Fixing up the tests is a bit harder. And for all I > know there may be additional incompatibilities lurking somewhere. I'm > not really very up on IPv6 myself. > > Anyway, here's a quick patch. It seems to work (at least I can hack > the tests into IPv6-mode and they pass). I suppose I'll have to get > around to another update "soon". > > You'll need to use -p with a ":" in the address for this to work. I > don't know if that's really sufficient to detect IPv6. I tested with > ::1. Thanks for the patch, however am I understanding right that I will be specifying the port number also? It doesn't look like you have any way to distinguish between bare address and address:port (Postfix does it using square brackets [] around v6 addresses). Also, I'll be replacing this on a Debian box, is there a clean way to get the output of the program into a log file so I can test it in place, or do I hack the initscript? Thanks again, much appreciated. Cheers, Sabahattin ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ tmda-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tmda-users