Networking Forums

Networking Forums > Computer Networking > Linux Networking > Nat changes from redhat 7.2

Reply
Thread Tools Display Modes

Nat changes from redhat 7.2

 
 
Arron
Guest
Posts: n/a

 
      01-18-2004, 05:15 AM
Hi.

I have written some software which I have been using for a while now that
reads the traffic flowing through my linux gateway. I am using NAT to share
the internet, and my programs opens a raw socket to read the traffic flowing
to each pc. In redhat 7.2 this worked fine, but in redhat 9.0 it seems the
NAT is done after i read the raw socket.

Eg. 9 (referring to inbound traffic only)

eth0 (10.0.0.50/24)
|
NAT
|
Read packet socket (dest of inbound packets are ips of client
machines off eth1)
|
eth1 (10.0.10.254/24)

Now in redhat 9.0, it seems to work like the following:

eth0 (10.0.0.50/24)
|
Read packet socket (dest of inbound packets is the ip of eth0)
|
NAT
|
eth1 (10.0.10.254/24)

Does anyone know how I can read the packet after the inbound packet has been
translated so I can read which terminal it is headed?


Thanks in advance.
Arron


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Redhat Linux 8 and Redhat Enterprise Linux 4 printer not configure Niraj Linux Networking 0 12-06-2006 04:51 AM
Can't get PCI Network Card to Work - Knoppix 4.0.2/Redhat 7.2/Redhat 8.0 deja@chronofish.com Linux Networking 0 11-20-2005 05:02 PM
Which Redhat? Mike Linux Networking 13 12-05-2004 02:26 AM
1. Redhat linux 7.2 issue 2. Redhat enterprise linux issue Moo Linux Networking 0 08-26-2004 10:02 AM
ICS with RedHat behind W2K Ice Sickle Linux Networking 4 01-25-2004 01:00 AM



1 2 3 4 5 6 7 8 9 10 11