Discussion:
Ethernet with no IP address
Eric Barnes
2013-07-10 13:45:46 UTC
Permalink
Greetings and Salutations;



Is it possible to access an Ethernet port in Debian WITHOUT it being
configured?

I would like a device that has two ports with no IPs and acts as a SWITCH,
but with logic to examine and act on packets as they come through.
From the research I've done, this is not possible without developing custom
device driver and/or possibly changing part of kernel.

Just looking for some confirmation either way from people that know. :-)



Thanks,

Eric
Allan Savolainen
2013-07-10 13:54:49 UTC
Permalink
You should be able to do that with ebtables, though it might have some
limitations.

- Allan

On Wed, 10 Jul 2013 16:45:46 +0300, Eric Barnes
Post by Eric Barnes
Greetings and Salutations;
Is it possible to access an Ethernet port in Debian WITHOUT it being
configured?
I would like a device that has two ports with no IPs and acts as a
SWITCH, but with logic to examine and act on packets as they come
through.
From the research I've done, this is not possible without developing
custom device driver and/or possibly changing part of kernel.
Just looking for some confirmation either way from people that know. :-)
Thanks,
Eric
--
Using Opera's mail client: http://www.opera.com/mail/
Keith Osborne
2013-07-10 13:55:54 UTC
Permalink
Eric,

You'll need to enable IP forwarding in Debian and use IP tables to do
packet inspection and act on whatever rules you write.

I don't see how Debian can be part of the process without the packets
landing on a configured interfacce to examine the packets and then
forward them based on rules.

Keith

TDR Networks
[ hosting | e-commerce | custom development | linux | cisco ]
e: ***@tdrnetworks.com
w: http://www.tdrnetworks.com
Post by Eric Barnes
Greetings and Salutations;
Is it possible to access an Ethernet port in Debian WITHOUT it being
configured?
I would like a device that has two ports with no IPs and acts as a
SWITCH, but with logic to examine and act on packets as they come through.
From the research I've done, this is not possible without developing
custom device driver and/or possibly changing part of kernel.
Just looking for some confirmation either way from people that know. :-)
Thanks,
Eric
Eric Barnes
2013-07-10 14:21:13 UTC
Permalink
Man - thanks so much for all the answers so quickly. Without going into
boring detail....I have a client that has a patent on a network security
device that he now wants me to build a prototype for. Part of the patent
states that the device is 'invisible' to the Internet because it has no
configured IP ports. It is supposed to sit INLINE in the network somewhere
(say between router and single PC) and filter/block packets that come
through it to the destination PC or vica-versa. It's kinda like a bridge
(only with logic processing during the bridge operation). If we address the
ports, then I depart from the patent and I have no idea what is allowed from
a legal standpoint in doing something like this. As a high level
application programmer (mostly Java for the past 15 years), I find myself
woefully short on the knowledge/experience to accomplish such a task.



But again - thanks all for the responses!



Eric



From: Keith Osborne [mailto:***@tdrnetworks.com]
Sent: Wednesday, July 10, 2013 8:56 AM
To: Eric Barnes
Cc: debian-***@lists.debian.org
Subject: Re: Ethernet with no IP address



Eric,

You'll need to enable IP forwarding in Debian and use IP tables to do packet
inspection and act on whatever rules you write.

I don't see how Debian can be part of the process without the packets
landing on a configured interfacce to examine the packets and then forward
them based on rules.

Keith



TDR Networks
[ hosting | e-commerce | custom development | linux | cisco ]
e: ***@tdrnetworks.com
w: http://www.tdrnetworks.com

On 10/07/2013 14:45, Eric Barnes wrote:

Greetings and Salutations;



Is it possible to access an Ethernet port in Debian WITHOUT it being
configured?

I would like a device that has two ports with no IPs and acts as a SWITCH,
but with logic to examine and act on packets as they come through.
From the research I've done, this is not possible without developing custom
device driver and/or possibly changing part of kernel.

Just looking for some confirmation either way from people that know. :-)



Thanks,

Eric
Cory Oldford
2013-07-10 14:30:52 UTC
Permalink
Not sure you could or should patent something as simple as a transparent bridge firewall. Not only is this nothing innovative or out of the ordinary but it goes against everything the solution is built on in my humble opinion. Just my 2 cents.

Cory Oldford
PeaceWorks Technology Solutions
204.480.0314 1.888.817.3048
direct: 204.480.0394 x6010
www.peaceworks.ca


----- Original Message -----

From: "Eric Barnes" <***@barnestormertechnologies.com>
To: debian-***@lists.debian.org
Sent: Wednesday, July 10, 2013 9:21:13 AM
Subject: RE: Ethernet with no IP address



Man - thanks so much for all the answers so quickly. Without going into boring detail....I have a client that has a patent on a network security device that he now wants me to build a prototype for. Part of the patent states that the device is 'invisible' to the Internet because it has no configured IP ports. It is supposed to sit INLINE in the network somewhere (say between router and single PC) and filter/block packets that come through it to the destination PC or vica-versa. It's kinda like a bridge (only with logic processing during the bridge operation). If we address the ports, then I depart from the patent and I have no idea what is allowed from a legal standpoint in doing something like this. As a high level application programmer (mostly Java for the past 15 years), I find myself
woefully short on the knowledge/experience to accomplish such a task.



But again - thanks all for the responses!



Eric




From: Keith Osborne [mailto:***@tdrnetworks.com]
Sent: Wednesday, July 10, 2013 8:56 AM
To: Eric Barnes
Cc: debian-***@lists.debian.org
Subject: Re: Ethernet with no IP address





Eric,

You'll need to enable IP forwarding in Debian and use IP tables to do packet inspection and act on whatever rules you write.

I don't see how Debian can be part of the process without the packets landing on a configured interfacce to examine the packets and then forward them based on rules.

Keith




TDR Networks
[ hosting | e-commerce | custom development | linux | cisco ]
e: ***@tdrnetworks.com
w: http://www.tdrnetworks.com


On 10/07/2013 14:45, Eric Barnes wrote:




Greetings and Salutations;



Is it possible to access an Ethernet port in Debian WITHOUT it being configured?

I would like a device that has two ports with no IPs and acts as a SWITCH, but with logic to examine and act on packets as they come through.
From the research I've done, this is not possible without developing custom device driver and/or possibly changing part of kernel.
Just looking for some confirmation either way from people that know. :-)



Thanks,

Eric
Hans Spaans
2013-07-10 15:05:09 UTC
Permalink
Post by Eric Barnes
Man - thanks so much for all the answers so quickly. Without going
into boring detail....I have a client that has a patent on a network
security device that he now wants me to build a prototype for. Part
of the patent states that the device is 'invisible' to the Internet
because it has no configured IP ports. It is supposed to sit INLINE
in the network somewhere (say between router and single PC) and
filter/block packets that come through it to the destination PC or
vica-versa. It's kinda like a bridge (only with logic processing
during the bridge operation). If we address the ports, then I depart
from the patent and I have no idea what is allowed from a legal
standpoint in doing something like this. As a high level application
programmer (mostly Java for the past 15 years), I find myself woefully
short on the knowledge/experience to accomplish such a task.
But again - thanks all for the responses!
You're saying he has a patent for OpenBSD Bridging Firewall and/or Linux
Netfilter functionality? Interesting to say at least. I even suspect it
would cover IBM/Intel Tokenring Bridges as well. Then again I'm not a
lawyer luckily and/or on your end of the table.

If he wants to sell it as an appliance without source code, then OpenBSD
may be a better path to follow due to the nature of the BSD and GPL
licenses. Otherwise he/you may go the path of D-Link/AVM/SUN when SFLC
finds out what your client is doing. You may want to get some legal
advise and SFLC is in most cases willing to answer your questions btw.

Hans
Bart-Jan Vrielink
2013-07-10 15:17:50 UTC
Permalink
Hello Eric,

Very interesting, to have a patent without an implementation :)
The idea of an "invisible" network security device itself is not new (I
bet your mail to this list did pass through a few of them, including
some operated by the NSA). The entire patent however may describe
something new.

"Packets" are a layer3 concept. Ethernet is layer2, and there the data
units are called "frames". Confusingly, the documentation on Linux is in
the packet(7) manpage.

If you want to program this yourself, then have a look at the socket(2)
and packet(7) manpages as a starting point. The Ethernet interface
itself does need a little bit of configuration: all you need to do is
bring it up (ip link set eth0 up).

If your your rules for filtering/blocking frames are more modest, then
you should use ebtables(8) instead of programming it yourself.

In both cases, you'll want to use brctl(8) to set up 2 network
interfaces as a bridge (switch).
Post by Eric Barnes
Man - thanks so much for all the answers so quickly. Without going
into boring detail....I have a client that has a patent on a network
security device that he now wants me to build a prototype for. Part
of the patent states that the device is 'invisible' to the Internet
because it has no configured IP ports. It is supposed to sit INLINE
in the network somewhere (say between router and single PC) and
filter/block packets that come through it to the destination PC or
vica-versa. It's kinda like a bridge (only with logic processing
during the bridge operation). If we address the ports, then I depart
from the patent and I have no idea what is allowed from a legal
standpoint in doing something like this. As a high level application
programmer (mostly Java for the past 15 years), I find myself woefully
short on the knowledge/experience to accomplish such a task.
But again - thanks all for the responses!
Eric
*Sent:* Wednesday, July 10, 2013 8:56 AM
*To:* Eric Barnes
*Subject:* Re: Ethernet with no IP address
Eric,
You'll need to enable IP forwarding in Debian and use IP tables to do
packet inspection and act on whatever rules you write.
I don't see how Debian can be part of the process without the packets
landing on a configured interfacce to examine the packets and then
forward them based on rules.
Keith
TDR Networks
[ hosting | e-commerce | custom development | linux | cisco ]
w:http://www.tdrnetworks.com
Greetings and Salutations;
Is it possible to access an Ethernet port in Debian WITHOUT it
being configured?
I would like a device that has two ports with no IPs and acts as a
SWITCH, but with logic to examine and act on packets as they come through.
From the research I've done, this is not possible without
developing custom device driver and/or possibly changing part of
kernel.
Just looking for some confirmation either way from people that know. :-)
Thanks,
Eric
Kenyon Ralph
2013-07-10 21:36:04 UTC
Permalink
Post by Eric Barnes
Man - thanks so much for all the answers so quickly. Without going into
boring detail....I have a client that has a patent on a network security
device that he now wants me to build a prototype for. Part of the patent
states that the device is 'invisible' to the Internet because it has no
configured IP ports. It is supposed to sit INLINE in the network somewhere
(say between router and single PC) and filter/block packets that come
through it to the destination PC or vica-versa. It's kinda like a bridge
(only with logic processing during the bridge operation). If we address the
ports, then I depart from the patent and I have no idea what is allowed from
a legal standpoint in doing something like this. As a high level
application programmer (mostly Java for the past 15 years), I find myself
woefully short on the knowledge/experience to accomplish such a task.
Sounds exactly like what Bro, Snort, and similar systems do.
https://en.wikipedia.org/wiki/Snort_%28software%29
http://www.bro.org/documentation/overview.html
--
Kenyon Ralph
Arnt Karlsen
2013-07-11 00:43:51 UTC
Permalink
On Wed, 10 Jul 2013 09:21:13 -0500, Eric wrote in message
Post by Eric Barnes
Man - thanks so much for all the answers so quickly. Without going
into boring detail....I have a client that has a patent
..with a patent number, no doubt?
I see the other guys here has given you tech and legal hints,
so I'll limit myself to legal hints and politics.
Post by Eric Barnes
on a network
security device that he now wants me to build a prototype for.
..if you give, sell, loan etc him that prototype, and he is not part
of your business or household etc, you will want check up on the
distribution language in the GPL and the other relevant licenses.
Post by Eric Barnes
Part of the patent states that the device is 'invisible' to the Internet
because it has no configured IP ports. It is supposed to sit INLINE
in the network somewhere (say between router and single PC) and
filter/block packets that come through it to the destination PC or
vica-versa. It's kinda like a bridge (only with logic processing
during the bridge operation). If we address the ports, then I depart
from the patent and I have no idea what is allowed from a legal
standpoint in doing something like this. As a high level application
programmer (mostly Java for the past 15 years), I find myself
woefully short on the knowledge/experience to accomplish such a task.
..the primary idea behind the patent legislation, is help you
learn from the patented ideas, how they works etc, etc, so you
can find even better ways to do what the patents claims, and
patent your own improvements, if they are good enough, they
"improve the arts."

..about the only thing you can not do with something that's
patented, is sell etc distribute the patented items, the other
"secondary" point with patents is reward the innovator with a
20 year sales monopoly so he can recover his R&D costs and earn
an honest decent profit.
--
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
Scenarios always come in sets of three:
best case, worst case, and just in case.
Cory Oldford
2013-07-10 13:58:43 UTC
Permalink
It's a transparent bridge firewall similar to: http://forums.gentoo.org/viewtopic.php?t=169553

Cory Oldford
PeaceWorks Technology Solutions
204.480.0314 1.888.817.3048
direct: 204.480.0394 x6010
www.peaceworks.ca


----- Original Message -----

From: "Eric Barnes" <***@barnestormertechnologies.com>
To: debian-***@lists.debian.org
Sent: Wednesday, July 10, 2013 8:45:46 AM
Subject: Ethernet with no IP address



Greetings and Salutations;



Is it possible to access an Ethernet port in Debian WITHOUT it being configured?

I would like a device that has two ports with no IPs and acts as a SWITCH, but with logic to examine and act on packets as they come through.
From the research I've done, this is not possible without developing custom device driver and/or possibly changing part of kernel.
Just looking for some confirmation either way from people that know. :-)



Thanks,

Eric


Cory Oldford
PeaceWorks Technology Solutions
204.480.0314 1.888.817.3048
direct: 204.480.0394 x6010
www.peaceworks.ca


----- Original Message -----

From: "Eric Barnes" <***@barnestormertechnologies.com>
To: debian-***@lists.debian.org
Sent: Wednesday, July 10, 2013 8:45:46 AM
Subject: Ethernet with no IP address



Greetings and Salutations;



Is it possible to access an Ethernet port in Debian WITHOUT it being configured?

I would like a device that has two ports with no IPs and acts as a SWITCH, but with logic to examine and act on packets as they come through.
From the research I've done, this is not possible without developing custom device driver and/or possibly changing part of kernel.
Just looking for some confirmation either way from people that know. :-)



Thanks,

Eric
Hans Spaans
2013-07-10 13:59:37 UTC
Permalink
Post by Eric Barnes
Greetings and Salutations;
Is it possible to access an Ethernet port in Debian WITHOUT it being
configured?
I would like a device that has two ports with no IPs and acts as a
SWITCH, but with logic to examine and act on packets as they come
through.
From the research I've done, this is not possible without developing
custom device driver and/or possibly changing part of kernel.
Just looking for some confirmation either way from people that
know. :-)
I suspect you mean an Ethernet bridge in this case and for that please
have a look at DebianWiki[1].

Hans

[1] http://wiki.debian.org/BridgeNetworkConnections
Iker Bilbao
2013-07-10 14:08:04 UTC
Permalink
Hi,

I know mikrotik routers which you administer using own application
(winbox), acceeding via mikrotik device Mac address.
From there you can administer vlan, bridge config to connect ports or not.
I do not believe you can filter packets as it would be an on/off switch
connecting/switching ports at layer 2.

These are quite cheap, 35€ aprox.

Iker.
Greetings and Salutations;****
** **
Is it possible to access an Ethernet port in Debian WITHOUT it being
configured? ****
I would like a device that has two ports with no IPs and acts as a SWITCH,
but with logic to examine and act on packets as they come through.****
From the research I've done, this is not possible without developing
custom device driver and/or possibly changing part of kernel.****
Just looking for some confirmation either way from people that know. :-)*
***
** **
Thanks,****
Eric****
Bastian Blank
2013-07-10 15:07:37 UTC
Permalink
Post by Eric Barnes
Is it possible to access an Ethernet port in Debian WITHOUT it being
configured?
No, you have to set it to an UP state. You don't need to configure any
addresses for it.
Post by Eric Barnes
I would like a device that has two ports with no IPs and acts as a SWITCH,
but with logic to examine and act on packets as they come through.
This is called a bridge. See /usr/share/doc/bridge-utils/*.
Post by Eric Barnes
From the research I've done, this is not possible without developing custom
device driver and/or possibly changing part of kernel.
As researcher you should know that network stacks are usually layered
and the lower layer works without the upper layer.

Bastian
--
Those who hate and fight must stop themselves -- otherwise it is not stopped.
-- Spock, "Day of the Dove", stardate unknown
Loading...