All of lore.kernel.org
 help / color / mirror / Atom feed
* src/dest wilcard matching
@ 2004-09-15 14:06 Zachary Link
  2004-09-16 11:56 ` Andy Whitcroft
  0 siblings, 1 reply; 4+ messages in thread
From: Zachary Link @ 2004-09-15 14:06 UTC (permalink / raw)
  To: netfilter-devel; +Cc: zack

I am looking for the ability to use wilcards or regexp type matching for
source and destination fields.  Maybe this could be an extension or
something...

For example
--source 172.*.*.1
or
--destination 10.[1-10].[10|20].1

Picture, if you will, a situation where you had 1,000 offices all on
10.x.y.0/24 networks.  All routers might be 10.x.y.1.  You might want to
give your network guys access to just those devices, and sysadmins access
to all servers at 10.x.y.10-19 or any other types of devices sitting on
these networks.

So, the biggest hurdle I need to overcome is to allow arbitrary middle
octets while matching 1st and last octet.  I was looking through the docs
and I found that something like this could be done with the u32 extensions
(I think), but it would be very cumbersome, and not easy to use.  I also
took a look at the code and realized there is no way to do it myself as I
have no real knowledge of C (I'll look like an idiot here if that's not C 
;-).

So, am I missing some existing functionality that would allow for that? 
Or, does anyone have any desire to develop that sort of feature?

Thanks all,

Zack

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-09-21 13:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-15 14:06 src/dest wilcard matching Zachary Link
2004-09-16 11:56 ` Andy Whitcroft
2004-09-16 14:01   ` John A. Sullivan III
2004-09-21 13:12   ` Zachary Link

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.