Re: [UDP] Overide "source" addr/port ?
- From: "Purl Gurl" <purlgurl@xxxxxxxxxxxx>
- Date: Sun, 27 Nov 2005 03:25:07 GMT
Stan R. wrote:
(snipped)
> I have 3 incoming logging feeds that send to UDP port 7150 on my system,
> to a special logging app. The login apps works by recieving the feeds,
> and depending on the remote (peer) addr the looging app show the log in
> seperate tabs within the app.
> I can make the logging app listen on my LAN ip (192.168.1.2) and have my
> relay listen on my WAN ip, so it recieves the feed,
> What I want to do is use my relay program to send to both my system
> (192.168.1.2) and my laptop (192.168.1.5).
You state "3 incoming logging feeds" in your article. Precisely what
do you mean by that statement? Three backbone feeds? Three unique
IP Addresses? Three remote machines? Larry, Moe and Curly?
You refer to your "application" as, "special logging app," "login apps,"
"looging app," "logging app," "relay program, "relay," and Perl's module
IO Socket. Is it your intent to deliberately confuse readers? Your gibberish
will dissuade many from responding.
Work towards writing articles which are clear, concise and coherent.
Assuming all three "whatever they are" are connecting to port 7150,
there are many simple solutions, making a presumption I have made
some sense of your gibberish.
There is no need to keep your logger in an external DMZ zone.
Configure your router to forward port 7150 to the LAN address of your
machine performing the logging. Port forwarding does not modify the
external ip address, neither incoming nor outgoing. A router which is
capable of port forwarding simply builds ip tables associating external
addresses with internal addresses, per transaction. No modification
of transaction packets, chunks nor other transaction methods occur.
Your router must be configured to pass UDP packets for port 7150.
Your logging machine will need to use a "gateway" address of your router.
Periodically, copy your logfile to whichever other machine you want.
Rather simple, yes?
Linksys (Cisco) BEFSR41 version router is perfect for this. You can
buy a brand new one on Ebay for $50.00 easily. Although discontinued,
thousands are available brand new in the box.
You cannot "split" a transaction if a response is to be created, nor can
you easily split a transaction even for incoming only.
To split a transaction you would need a highly modified load balancer,
perhaps establish a DMZ which contains two routers, or maybe a machine
which sniffs and multi-broadcasts.
Personally, I would configure my logger to write two logs, one here and one there,
given no other choice. You are using a LAN, no reason you cannot write your
log in two locations.
Given a better choice, I would simply copy my log to another machine, which
is very routine business for creating back-up records.
Reads you are making this task more complicated than needed.
Purl Gurl
.
- References:
- [UDP] Overide "source" addr/port ?
- From: Stan R.
- [UDP] Overide "source" addr/port ?
- Prev by Date: Re: [UDP] Overide "source" addr/port ?
- Next by Date: Re: String escaping
- Previous by thread: Re: [UDP] Overide "source" addr/port ?
- Next by thread: FAQ 5.14 How come when I open a file read-write it wipes it out?
- Index(es):
Relevant Pages
|
Loading