Patching GnuDIP 2.3.5 for IPv6

GnuDIP 2.3.5 is designed for IPv4 and it does not support IPv6 interface on the server which run inetd. Below is my patch to make it work with IPv6 interface.

--- gdipinet.pl.orig    2007-01-17 09:09:44.000000000 +0700
+++ gdipinet.pl 2007-01-17 08:46:30.000000000 +0700
@@ -17,6 +17,7 @@
 use Getopt::Std;
 use POSIX qw(strftime);
 use Socket;
+use Socket6;

 # global variables
 use vars qw($conf $gnudipdir $logger $ip);
@@ -106,8 +107,11 @@
   print "$msg\n";
   exit;
 }
-my ($port, $packed_ip) = sockaddr_in($client_addr);
-$ip = inet_ntoa($packed_ip);
+#my ($port, $packed_ip) = sockaddr_in($client_addr);
+my ($port, $packed_ip) = sockaddr_in6($client_addr);
+#$ip = inet_ntoa($packed_ip);
+$ip = inet_ntop(AF_INET6, $packed_ip);
+$ip =~ s/::ffff://;

 # flush after each print
 select(STDOUT);

Tags: , , ,

情趣用品,情趣用品,情

情趣用品,情趣用品,情趣用品,情趣用品,情趣用品,情趣,情趣,情趣,情趣,情人歡愉用品,情惑用品性哥,情人用品性哥,情趣用品,AIO交友愛情館,情人歡愉用品,美女視訊,情色交友,情人用品性哥,視訊交友,辣妹視訊,美女交友,性愛,嘟嘟成人網,按摩棒,震動按摩棒,微調按摩棒,情趣按摩棒,逼真按摩棒,G點,跳蛋,跳蛋,跳蛋,性感內衣,飛機杯,充氣娃娃,情趣娃娃,角色扮演,性感睡衣,後庭區,SM,潤滑液,情趣禮物,威而柔,香水,精油,芳香精油,自慰,自慰套,性感吊帶襪,情趣用品加盟,情人節禮物,情人節,吊帶襪,辣妹視訊,美女交友,情色交友,成人交友,視訊聊天室,美女視訊,視訊美女,情色視訊,免費視訊聊天,視訊交友,視訊聊天,AIO交友愛情館,嘟嘟成人網,成人貼圖,成人網站,AIO交友愛情館,情色,情色貼圖,情色文學,情色交友,色情聊天室,色情小說,七夕情人節,色情,A片,A片下載,免費A片,免費A片下載,情色視訊,情色電影,色情網站,辣妹視訊,視訊聊天室,情色視訊,免費視訊聊天,視訊聊天,美女視訊,視訊美女,美女交友,美女,情色交友,成人交友,自拍,本土自拍,情人視訊網,視訊交友90739,生日禮物,情色論壇,正妹牆,正妹,成人網站,A片,免費A片,A片下載,免費A片下載,AV女優,成人影片,色情A片,成人論壇,情趣,免費成人影片,成人電影,成人影城,愛情公寓,色情影片,保險套,舊情人,微風成人,成人,成人遊戲,成人光碟,色情遊戲,跳蛋,按摩棒,一夜情,男同志聊天室,肛交,口交,性交,援交dstr

Video Converter for Mac is

Video Converter for Mac is the most powerful Video Converter for Mac OS software which allows you to convert videos between popular video formats and audio formats. The easy-to-use Video Converter for Mac lets you to enjoy your videos on iPod, PSP, Mobile Phone, Zune, iPhone, Apple TV and MP4/MP3 player. This Video Converter for Mac allows you to set the destination, the name of output files.iPod Converter for Mac is the best Video to iPod Converter for Mac OS X software for you. With the iPod Converter for Mac you can easily convert popular video formats including FLV, MPEG1, MPEG2, DivX, Xvid, WMV, 3GP, 3G2, MOV, AVI, MPEG TS/TP (for HD Video), etc to iPod compatible MPEG-4 videos. And also it is not only and iPod Converter for Mac, but it can convert all popular videos to iPhone, Apple TV, PSP, PS3, Youtube (web), Creative Zen, iRiver PMP, Archos, MP4, various mobile phones and many other digital video and audio players.MP4 Converter for Mac is an excellent Mac MP4 converter which can not only convert MP4 to MP3, WMA, AAC, WAV, etc but also convert avi, flv, wmv, mpeg, divx etc to MP4 on Mac os x to enjoy your favourite video with MP4 Converter for Mac os. Compared with other mp4 converter Mac software, the MP4 Converter for Mac provides powerful edit functions, such as setting the output settings, cropping and trimming files, merging several files into one, etc. With this MP4 Converter for Mac, you can easily convert mp4 videos to varoius format for Mac.

FLV Converter Mac is a

FLV Converter Mac is a powerful FLV Converter for Mac software which can convert FLV video files to all popular video formats and convert FLV to popular audio formats for Mac OS X users. FLV Converter Mac OS X softwrare supports all video popular formats indcluding FLV, MPG, MPEG1, MPEG2, MP4, 3GP, 3G2, MOV, AVI, Mpeg TS/TP (for HD Video), etc. The Mac FLV Converter can also convert FLV to MP3, WAV, OGG, 3GP, AAC and M4A, AC3, APE, etc audio.
How to download YouTube videos for Mac and convert the .FLV files on Mac OS? Here are the easy-to-use and top-user-rating YouTube Video Grabber Mac and Mac FLV converter tools. It is safe to install and no spyware or adware guarenteed.
With the YouTube Video Grabber Mac application, you can easily download youtube for mac and convert YouTube videos on your Mac OS. It can automatically detect the YouTube video files from the YouTube web pages you have opened and download multiple files once a time. YouTube Video Grabber Mac is a totally free download youtube videos for mac, because if you don’t want to convert downloaded videos to your mobile players, you don’t have to pay for it.

DVD burner for Mac provides

DVD burner for Mac provides an easy and fast way to convert popular video formats (including AVI, MPEG, WMV, DivX, XviD, MP4, DV, VOB, ASF, 3GP, NUT, YUV, H.264/AVC, M4V files to DVD. The DVD Burner Mac could also burn DVD movie onto DVD disk that playable on portable or home DVD player and burn DVD folder or ISO files. No other Mac DVD burner can provide so many formats.
DivX to DVD Converter for Mac can not only convert DivX to DVD Mac, but also support convert AVI to DVD, 3GP to DVD, MP4 to DVD, FLV to DVD, MPEG to DVD, WMV to DVD, etc.
The DivX to DVD Converter Mac developed only for Mac OS (include Mac OS X 10.5 leopard) burning users.
The DivX to DVD converter for Mac can convert all formats like MP4, M4V, MPA, MPG, MPEG, MOV,3GP, 3GP2, FLV, MOV,VOB, DAT, TS, TP, TRP, M2TS, DivX, DivX to DVD on Mac OS.
AVI to DVD for Mac, a profeesional but easy-to-use DVD burn software for Mac users, can convert AVI to DVD format on Mac OS X perfectly and quickly. The AVI to DVD Mac not only supports converting AVI to DVD Mac but also supports other popular formats to DVD on Mac, such as MPA, ASF, DIF, H261, YUV, NUT and so on.
With the AVI to DVD Mac, you can easily convert and burn AVI files to your DVD and play it on portable or home DVD player.

Post new comment

The content of this field is kept private and will not be shown publicly.