Sharing only internet connectivity with wireless router

2011-04-06 Thread Elazar Leibovich
I want the settings in my wireless router to be, ideally: 1) Anonymous have access only to the internet, any packet will be either routed outside of the router or dropped. 2) Authenticated users (by any means) will be able also to access the inner network. Even just achieving 1 for everyone (and

Re: Sharing only internet connectivity with wireless router

2011-04-06 Thread shimi
2011/4/6 Elazar Leibovich elaz...@gmail.com I want the settings in my wireless router to be, ideally: 1) Anonymous have access only to the internet, any packet will be either routed outside of the router or dropped. 2) Authenticated users (by any means) will be able also to access the inner

Re: some help in technical solution

2011-04-06 Thread Oron Peled
On Wednesday, 6 בApril 2011 08:11:24 Omer Zak wrote: Unless I am mistaken, the USB specs stipulate that it shall be possible to connect up to 127 USB devices to a PC. So what you want to do should be doable. However I don't know the chances of it exposing bugs in the Linux USB subsystem, as

Re: some help in technical solution

2011-04-06 Thread Jason Friedman
I think the best solution would be to use a data acquisition device, either USB or PCI. Measurement computing sell relatively cheap devices, e.g. this USB one for $99: http://www.mccdaq.com/usb-data-acquisition/USB-1024-Series.aspx

Re: Sharing only internet connectivity with wireless router

2011-04-06 Thread Elazar Leibovich
On Wed, Apr 6, 2011 at 10:26 AM, shimi linux...@shimi.net wrote: Changing your MAC is pretty trivial... Yeah, but guessing which MAC is in my whitelist is less so. So if an attacker want to spoof his MAC address he has to sniff for a MAC address, (which means he can do that only when my

Re: Sharing only internet connectivity with wireless router

2011-04-06 Thread shimi
On Wed, Apr 6, 2011 at 11:17 AM, Elazar Leibovich elaz...@gmail.com wrote: On Wed, Apr 6, 2011 at 10:26 AM, shimi linux...@shimi.net wrote: Changing your MAC is pretty trivial... Yeah, but guessing which MAC is in my whitelist is less so. So if an attacker want to spoof his MAC address

Re: Sharing only internet connectivity with wireless router

2011-04-06 Thread Elazar Leibovich
On Wed, Apr 6, 2011 at 11:25 AM, shimi linux...@shimi.net wrote: If not going VLAN-way, Sorry, don't get me wrong - this is an excellent solution, and just what I was looking for. Any experience with routers in Israel which support dd-wrt firmware (or other opensource firmware which allow

Re: some help in technical solution

2011-04-06 Thread yosi yarchi
Hi This is interesting idea. However, it support voting between 2 options, only, while I need at least 4 options. I thought that combination of analog DAQ and 4 push buttons with analog output may help here. Does someone have an idea about such combination (analog DAQ+edge unit)? With best

Re: some help in technical solution

2011-04-06 Thread Omer Zak
I think that analog DAQ with 30 channels would be an overkill for such an application. If you need to give each competitor 4 options, why not choose between one of the following options: 1. 120 digital channels (5 digital DAQ modules at 24 channels each) and provide each competitor with 4

Re: Creating a User with Access to a Single Command

2011-04-06 Thread Ira Abramov
Quoting Ohad Levy, from the post of Tue, 05 Apr: /etc/passwd: ariel:x:uid:gid::/home/ariel:/bin/rbash ls -l /bin/rbash lrwxrwxrwx 1 root root 4 Apr 10 2006 /bin/rbash - bash maybe I'm missing something.. but what would if the user simply type /usr/bin/something else? man rbash

Re: some help in technical solution

2011-04-06 Thread Udi Finkelstein
I think any analog DAQ based solution will be expensive. Use too many analog levels, and it will not be accurate. Use a small number of levels, and the price per port for analog connection will drive the price too high. You can try using computer mice. cheap 2 button+scroll wheel starts at 17NIS

Re: some help in technical solution

2011-04-06 Thread yosi yarchi
Hi Regarding the solution of mouse or numeric keypad (with USB hubs), I have no clear idea about the technical obstacles. I think that main ones are: (1) bypass X system, and direct the events from particular sources (those mouses or numeric keyboards) to my app. (2) process the events by

Re: some help in technical solution

2011-04-06 Thread Omer Zak
I see two possibilities: 1. Connect the mice to a PC in which the X-Server is not activated. If you need to display graphic results, use two networked computers. 2. Use explicit /etc/X11/xorg.conf From reading man xorg.conf: - Disable hotplugging. - SendCoreEvents off for all identified mice

Re: auto-maximize a logical partition with ext3

2011-04-06 Thread Amos Shapira
If I understand your question then you want to treat a disk image stored inside a none-disk (e.g. a Logical Volume or even a regular file) as a physical disk and access the partition inside it. In that case kaprtx is your friend, something like: losetup -f /dev/vgname/lvname kpartx -a -v

Re: auto-maximize a logical partition with ext3

2011-04-06 Thread Amos Shapira
Ah and btw - sfdisk is king when it comes to scripting fdisk. Just pay attention that if you delete/create partitions to resize them that it will use the same beginning sector as whatever already exists on the image (e.g. best way is to just use sfdisk to create the original image). On 3 April