🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.software.tools
Article #80

How can I modify the destination port of an incoming TCP packet

#80
From: news.ust.hk
Date: Fri, 28 Mar 2003 10:55
6 lines
2204 bytes
Does anybody know what API can I use to monitor the destination port TCP
packet out/in of my
computer? Furthermore, is it possible that write a program which can alter
the destination port of
a packet before the packet is sent out or process by application? Is there
any sample code of this kind of function?(in VC or VB), thanks a lot.......
Technical Details
Message-ID: <b619mr$4pu$1@news.ust.hk>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsgate.cuhk.edu.hk!newsfeeder.ust.hk!news.ust.hk!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f9a59,32e0e6d65581843a,start
X-Google-Attributes: gidf9a59,public
X-Google-Thread: 109fba,32e0e6d65581843a,start
X-Google-Attributes: gid109fba,public
X-Google-Thread: faf35,32e0e6d65581843a,start
X-Google-Attributes: gidfaf35,public
X-Google-Thread: 108a34,32e0e6d65581843a,start
X-Google-Attributes: gid108a34,public
X-Google-Thread: 113dfb,32e0e6d65581843a,start
X-Google-Attributes: gid113dfb,public
X-Google-Thread: f72d4,32e0e6d65581843a,start
X-Google-Attributes: gidf72d4,public
X-Google-Thread: fa91f,32e0e6d65581843a,start
X-Google-Attributes: gidfa91f,public
X-Google-Thread: 108717,32e0e6d65581843a,start
X-Google-Attributes: gid108717,public
X-Google-ArrivalTime: 2003-03-28 03:15:04 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsgate.cuhk.edu.hk!newsfeeder.ust.hk!news.ust.hk!not-for-mail
From: "news.ust.hk" <maxlaw@sinaman.com>
Newsgroups: alt.comp.software.tools,chinese.comp.software,comp.lang.c++,comp.os.ms-windows.networking.misc,comp.os.ms-windows.programmer.networks,comp.os.ms-windows.programmer.win32,comp.programming,hk.comp.hacker,hkust.cs.prog.c++
Subject: How can I modify the destination  port of an incoming TCP packet
Date: Fri, 28 Mar 2003 18:55:24 +0800
Organization: Hong Kong University of Science and Technology
Lines: 9
Message-ID: <b619mr$4pu$1@news.ust.hk>
NNTP-Posting-Host: dmb061.resnet.ust.hk
X-Trace: news.ust.hk 1048848923 4926 143.89.64.61 (28 Mar 2003 10:55:23 GMT)
X-Complaints-To: abuse@ust.hk
NNTP-Posting-Date: Fri, 28 Mar 2003 10:55:23 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106