lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 03 Jul 2008 12:15:48 -0700
From:	"H. Peter Anvin" <hpa@...or.com>
To:	Jan Engelhardt <jengelh@...ozas.de>
CC:	Jens-Michael Hoffmann <J.Hoffmann@...ion.com>,
	linux-kernel@...r.kernel.org
Subject: Re: tcp/ip connect on demand

Jan Engelhardt wrote:
> On Thursday 2008-07-03 20:28, H. Peter Anvin wrote:
>> Jens-Michael Hoffmann wrote:
>>> hi,
>>>
>>> what is the right way to implement a "connect on demand" feature?
>>> Example: user types url in firefox and presses return. Then
>>> the system should set up network devices and proceed as usual.
>>>
>>> Is there a hook in the kernel we can use?
>> In the kernel, no.  Nor do you need one; the best place to hook into this is
>> probably the name service system (so you catch it on trying to look up
>> hostnames.)
>>
>> Alternatively, you can set up a bridge device which you can listen to via a tap
>> device; when you see traffic, you bring up the real network and attach it to
>> the bridge.
> 
> There is on-demand for PPP devices; though that is probably specific
> to PPP.

Yes, those monitor traffic at the PPP device port, I believe.

	-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ