All of lore.kernel.org
 help / color / mirror / Atom feed
* Some dumb questions...
@ 2002-11-03  7:32 Joel Linuxdude
  2002-11-03 12:36 ` Martin Josefsson
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Joel Linuxdude @ 2002-11-03  7:32 UTC (permalink / raw)
  To: netfilter-devel

I was referred to this list by one of the Netfilter guys on order to gleen 
some information needed to write a decent
tutorial/reference guide.

WARNING: POSSIBLE DUMB QUESTIONS. (But, ask me if I care!)

QUESTION: Would a packet created on the Netfilter PC first
go through the OUTPUT chain and then through POSTROUTING?
If so, what TABLE??? NAT? What about FILTER? I assume:
NetFilter system -> (nat)OUTPUT -> (nat)POSTROUTING -> Eth0 -> Internet

QUESTION: Absolutely everything coming INTO an interface
first goes to (nat)PREROUTING, right?

QUESTION: Netfilter PC has 3 workstations over Eth1 and they
are SNATing through Eth0 and out to the internet. What if
somebody conversing with the workstation over...say...
IRC gets the IP of the workstation (It would be the Netfilter
PC's IP) and pings it.....Of course, it would be pinging
the Netfilter PC and NOT the workstation, right? The workstation
would not even see any ICMP packets at all, right?

QUESTION: Where is the most effective place to stop spoofed
packets or block a port?
A) -t nat PREROUTING ???
B) -t filter INPUT (for local) and -t filter FORWARD (for LAN)?
C) Either A or B would work fine.
D) None. You're way off.


THANK YOU VERY MUCH! These answers will help me out a lot.

Joel






_________________________________________________________________
Choose an Internet access plan right for you -- try MSN! 
http://resourcecenter.msn.com/access/plans/default.asp

^ permalink raw reply	[flat|nested] 5+ messages in thread
* some dumb questions
@ 1999-07-20 10:30 Lennert Buytenhek
  0 siblings, 0 replies; 5+ messages in thread
From: Lennert Buytenhek @ 1999-07-20 10:30 UTC (permalink / raw)
  To: linux-mm

Hi all,

Some dumb questions from a dumb person..

In vm_operations_struct there are pointers for (*advise), (*nopage),
(*wppage), et cetera. wppage is never used or called by any code
(copy-on-write is the default behaviour). Why is this? What if I want
my own wppage handler? Having the fn ptr member but not using it
doesn't make sense, IMHO. Also, I believe (*advise) isn't used
either.

Some other small things:
1. struct vm_area_struct -> struct vm_area ?
2. struct vm_operations_struct -> struct vm_area_operations ?
3. /dev/sysvipc/shm/1234 or /proc/sysvipc/shm/1234 ??

(This last suggestion just might start a holy war.... :-)

Thanks,

Lennert Buytenhek
<buytenh@dsv.nl>


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/

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

end of thread, other threads:[~2002-11-04 16:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-03  7:32 Some dumb questions Joel Linuxdude
2002-11-03 12:36 ` Martin Josefsson
2002-11-04 11:05 ` Harald Welte
2002-11-04 16:00 ` Oskar Andreasson
  -- strict thread matches above, loose matches on Subject: below --
1999-07-20 10:30 some " Lennert Buytenhek

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.