1

I'm interested in limiting the use of a school network for academic purposes only. I would expect the solution to be able to efficiently filter and log traffic (to detect offenders) on an account by account basis.

Is this possible using the Raspberry Pi?

3
  • First and foremost, you're going to need two networking interfaces on your Raspberry Pi in order to achieve what you desire. Commented Jan 10, 2013 at 17:23
  • Yes, I know. I was planning to use a usb adapter.
    – mindoftea
    Commented Jan 11, 2013 at 1:10
  • Sorry, I didn't see the answer below that already explained this. Commented Jan 11, 2013 at 23:52

2 Answers 2

3

There are several vendors providing solutions that are doing exactelly what you need. I doubt that you can easilly achieve similar functionality from scratch using RPi as this is quite complicated solution that needs also apropriate hardware. In a nutshell you will need some advanced firewall with some fancy features like application recognition (to block choosen services) and URL filtering (or some HTTP protocol inspection) to have ability to block choosen URLs.

Try to find some open sorce FW and check if this will fit into RPi. Some example could be Vyatta.

Newertheless in my opinion without buying some ready solurion this will be extremely hard.

2
  • 1
    Google suggests that you meant Vyatta?
    – mindoftea
    Commented Dec 16, 2012 at 14:43
  • Indeed, didn't noticed misspelling. Commented Dec 16, 2012 at 16:16
2

This could be achieved with a Pi, although one notably issue makes it an unlikely solution. The Pi only has one ethernet interface, and the kind of usage your describe is best implemented as either a router or a bridge containing two interfaces where traffic is filtered as it passes through from one to the other.

It is possible to eaves drop on a single wire and monitor traffic, but much more difficult to do anything about it. If you wanted to actually shape the traffic in any way, you would need to load the Pi up with another interface using a USB device and funnel all your traffic through it. Frankly I can think of other devices much more suited to this operation, including other one-board computers that have two ethernet interfaces out of the box.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.