> Hi folks,
> I know that my quest sort off topic...
> But i wonder is there any software for monitoring where my client go
> through my linux masq box.....
> like Wingate does.
> Like....
> user1(192.168.1.2) -> http://www2.ukdw.ac.id/index.html
Take a look at the /proc/net/ip_masquerade file. It's a little cryptic, but
it does give you what you need. In ShareTheNet, we make it prettier,
turning this:
TCP C0A8000A:090D CC47C8F4:0050 F5D3 00000000 0 0 1778
TCP C0A8000A:090A CC47C84A:0050 F5D1 00000000 0 0 1662
TCP C0A8000A:0910 CC47C84A:0050 F5D6 00000000 0 0 2213
TCP C0A8000A:0911 CC47C8F4:0050 F5D7 00000000 0 0 2213
TCP C0A8000A:090E CC47C8F4:0050 F5D4 00000000 0 0 1842
TCP C0A8000A:090F CC47C84A:0050 F5D5 00000000 0 0 2024
TCP C0A8000A:0914 CC47C8F4:0050 F5DA 00000000 0 0 2265
TCP C0A8000A:0915 CC47C8F4:0050 F5DB 00000000 0 0 2274
TCP C0A8000A:0912 CC47C8F4:0050 F5D8 00000000 0 0 2279
into this:
Prot From To
Timeout
---- -------------------------------- -------------------------------- -----
--
TCP jlpcnt.home:2336 res1.geocities.com:http
7192
TCP jlpcnt.home:2337 adforce.imgis.com:http
7192
TCP jlpcnt.home:2334 ad25.linkexchange.com:http
7192
TCP jlpcnt.home:2335 res1.geocities.com:http
7192
TCP jlpcnt.home:2338 adforce.imgis.com:http
7192
TCP jlpcnt.home:2305 mail2.deltanet.com:pop-3
35
TCP jlpcnt.home:2316 img4.yahoo.com:http
92
TCP jlpcnt.home:2317 img4.yahoo.com:http
92
TCP jlpcnt.home:2314 www9.yahoo.com:http
91
TCP jlpcnt.home:2320 www9.yahoo.com:http
96
TCP jlpcnt.home:2321 img4.yahoo.com:http
96
TCP jlpcnt.home:2318 img4.yahoo.com:http
93
TCP jlpcnt.home:2319 www9.yahoo.com:http
95
Note that you're not going to get URL's like wingate gives you since MASQ
does not work at the application level -- it works at the network level.
HTH,
--------------------------------------------------------------------------
-- John Lombardo - [EMAIL PROTECTED] --
-- ShareTheNet: Turn your old '486 into a fast Internet Gateway --
-- DNS/DHCP/Cable/ADSL/Remote Admin/Easy setup/support --
--------- http://www.SoftwareSuperStore.com/products/ShareTheNet --------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]