Re: Masquerading - where are the logs ?

From:
Date: 11/04/02


Date: Mon, 4 Nov 2002 20:30:39 -0000

run 'ipchains -M -L' this will report all MASQueraded connections.

"LinuxUser" <I_read_news@home> wrote in message
news:n3orru0hda4iq2p8i8q2pernp3mr07l3e1@4ax.com...
> On 24 Oct 2002 00:19:19 GMT, unruh@string.physics.ubc.ca (Bill Unruh)
> wrote:
>
> >Bit Twister <BitTwister@localhost.localdomain> writes:
> >
> >]On Tue, 22 Oct 2002 19:28:30 -0200, LinuxUser wrote:
> >]> I have a linux computer setup to listen to music, also to
> >]> connect to the internet. My sons computer runs windows, so I set up
> >]> masquerading with iptables on my computer, so he could browse the
> >]> internet while I listen to my music.
> >]> Out of curiosity, I did a netstat (with every option I could
> >]> think of), and my sons connection to the internet did not show up at
> >]> all !!! I "tailed" through all the logs, and nothing there. The only
> >]> thing that showed up at all was a large number of bytes under
> >]> pppstats.
> >]> That got me worried. A trojan on his computer could set up a
> >]> link to the hackers computer without my knowledge of it.
> >
> >Much more likely to set up a link to your computer, since it is what the
> >hacker sees. He does not see your son's computer except as a set of high
> >port numbers on your system.
> >
> >
> >
> >
> >]> So my question is : where do I look so I can see what
> >]> connections are passing through my box ?
> >]> If it is not logged by default, is there a console based
> >]> program that can do that for me ?
> >]> TIA
> >
> >tcpdump.
> >More info than you ever wanted.
> If I could get it to work :(
> Tried adding the "report name_of_file" option to pppd by
> editing my /etc/ppp/options or whatever file.
> But pppd refuses to connect. In my logs I get "record" is not
> a valid option to pppd.
> pppdump just interprets an already-dumped file, and I cant
> figure out how to dump the traffic "on the fly".
> I want something like windows' "netstat -an 5" plus a dumper
> for pppd traffic (if it dumped to a hex file that would be fine)
>



Relevant Pages

  • Re: [SLE] cron seems dormant
    ... > The hypothesis was that the update broke pppd in three separate releases ... > of SuSE Linux. ... > On the other hand, if people have problems they don't report, then they ...
    (SuSE)
  • Re: Upgrade 9.0->9.1, Privoxy
    ... I'll try that this evening and report ... root jail whenever the resolv.conf in real /etc ... patch the pppd to do it ... (a hack, too)... ...
    (alt.os.linux.suse)

Loading