All of lore.kernel.org
 help / color / mirror / Atom feed
* Circuit Level Gateway & Filtering!?
@ 2004-04-08  7:28 __ Radien__
  2004-04-08  8:32 ` libipq Devaraj Das
  2004-04-08  8:40 ` Circuit Level Gateway & Filtering!? Antony Stone
  0 siblings, 2 replies; 14+ messages in thread
From: __ Radien__ @ 2004-04-08  7:28 UTC (permalink / raw)
  To: netfilter

Dear All 

   I have read some about ISA server from it's documentation. There were
listed some facilities for example Circuit Level and App Level
filtering and gateway.

   Circuit level filtering and gateway were strange for me. What are
they?
   How can I see such capabilities in iptables? How they get mapped in
iptables?

   Is iptables sth other than what ip_conntrack_ftp.o mudule do in
Application Layer?

Regards
__Radien__


^ permalink raw reply	[flat|nested] 14+ messages in thread
* libipq
@ 2007-08-14 17:33 Micheal Scofield
  2007-08-14 20:02 ` libipq Eric Leblond
  0 siblings, 1 reply; 14+ messages in thread
From: Micheal Scofield @ 2007-08-14 17:33 UTC (permalink / raw)
  To: netfilter

I'm trying to use the libipq fucntions such as ipq_create_handle in C,
but I keep getting the error 

too many arguments to function `ipq_create_handle'

I tried downloading the latest libnetfilter_queue files by wget-ing it,
and I can see after "./configure"ing, "make"ing and "make install"ing it
that there is a new libipq.h file with 2 arguments for the function
"ipq_create_handle", but I'm not sure how to successfully get those into
my include files. I tried "cp"ing it, but that ended up with more errors
after I compiled.

Luckily I kept a backup of the old libipq.h file and put it back... It
was a stupid idea, I know. but what am I supposed to do to use the
updated functions.

Your help is grately apreeshiated.



^ permalink raw reply	[flat|nested] 14+ messages in thread
* libipq
@ 2007-06-09 17:46 Simon
  2007-06-09 18:15 ` libipq Eric Leblond
  0 siblings, 1 reply; 14+ messages in thread
From: Simon @ 2007-06-09 17:46 UTC (permalink / raw)
  To: netfilter-devel

Hi there,
  I've been working with iptables a long time but only as a newbie.
Now I moved up the ladder to the rank of amateur and I made myself a
companion program to iptables that helps manage it.
  One more thing i whish to do is to examine packets one after the
other (only certain types of packet, not all traffic) and I understand
I should QUEUE packets and use libipq to read those packets.

  Now my question: is this a good place for any questions regarding
libipq ?  And if it is, can you guys tell me in advance where I can
find a more in-depth documentation that the simple man-page i could
only find?

Thanks,
  Simon

^ permalink raw reply	[flat|nested] 14+ messages in thread
[parent not found: <OFD0D60AB8.75553E41-ON65256E7C.001E4C71@hss.hns.com>]
* libipq
@ 2004-04-19 13:13 aksingh
  0 siblings, 0 replies; 14+ messages in thread
From: aksingh @ 2004-04-19 13:13 UTC (permalink / raw)
  To: netfilter





hi

1) is libipq library distributed with all 2.4 series kernels, i use
2.4.2-2smp, but i cant locate libipq.h on my system
2) i had a doubt regarding nf_hook filters returning NF_QUEUE, nobody has
replied so ill try and make my question more specific ---
      - i use a PRE_ROUTING hook to capture all ipv4 packets  >>> this is
fine
      -the hook function returns NF_QUEUE return code and hence the packet
goes to ip_queue(assuming i have loaded ip_queue module, the kernel gives
upprocessing this packet here
              - a user process i create is listening on the netlink socket
for the packet just given to ip_queue, once it gets the packet it plays
with it and reinjects the packet using ip_set_verdict ... here two things
might happen, one is that my user process decides to keep the packet for
itself and returns a verdict of NF_DROP in ip_set_verdict(in which case the
packet is dropped on being reinjected into the kernel, i hope this is the
case, right ?).   Secondly, the process might actually want to reinject the
packet into the kernel and hence it calls ip_set_verdict with a verdict of
NF_ACCEPT. On receiving this second type of packet(after reinjection), i
expect the kernel not to repeat the same hook, cos if it does then im stuck
in an infinite loop.

is my understanding correct(just the third point) or is there any chance of
me getting into an infinite loop if i use this method.

thanks
Amit





Alistair Tonner <Alistair@nerdnet.ca>@lists.netfilter.org on 04/19/2004
02:18:14 PM

Sent by:    netfilter-admin@lists.netfilter.org


To:    netfilter@lists.netfilter.org
cc:

Subject:    Re: Iptables and Kernel


On April 19, 2004 04:34 am, Norman Zhang wrote:
> >I'm running 2.6.3. with iptables 1.2.9 and p-o-m-ng h323 patch -- they
> > work for me -- but I'm referring to a home lan ond only one netmeeting
> > seesioon from the LAN  -- we haven't tried multiple sessions from
inside
> > the lan ... either to the same netmeeting sessioon or to different
ones.
>
> Sorry it is me again. I tried to compile pomng using
>
> # KERNEL_DIR=/usr/src/linux ./runme pending
> # KERNEL_DIR=/usr/src/linux ./runme base
> # KERNEL_DIR=/usr/src/linux ./runme extend
>
> but couldn't find h323-conntrack-nat patch being offered. I did see
> owner-socketlookup mention something about H.323. May I ask how do I
> applied h323-conntrack-nat patch to iptables and kernel-2.6.5 alone? I
> can see the subfolder h323-conntrack-nat under pomng.

 Okay -- I'm a twit --- I'd assumed since my loadup script was completed
without errors that things had worked all the way through ... looking again
it seems that the h323 stuff only applies against 2.4.x kernels -- Joseph
K.
hasn't ported it -- likely because its slightly hackish .. And Lord KNOWS
why
netmeeting is working through my firewall ... other than the fact of a good
old ESTABLISHED RELATED rule ... I do know that it only works outbound, if
someone wants to call into the LAN they have to call on a specific port and
I
have that port forwarded to the destination host.

 As such, this is Yet Another Thing I might look at.


 Alistair Tonner

>
> Regards,
> Norman





^ permalink raw reply	[flat|nested] 14+ messages in thread
* libipq
@ 2003-12-17 14:57 Oumer Teyeb
  0 siblings, 0 replies; 14+ messages in thread
From: Oumer Teyeb @ 2003-12-17 14:57 UTC (permalink / raw)
  To: netfilter

Hi,

I have a linux box (propriotry of some company) where there is an 
installation of iptables but not of libipq. As I want to do some 
userspace programming, I naturally want libipq installed. Is there an 
easy way of installing libipq without the need to recompile my kernel (I 
don't even have the source for the kernel)  or reinstall the iptables 
that is already there?  Will it be enough just to run make under the 
libipq sub-directory of the iptables source code? I just don't want to 
mess the iptables that is already working.

Thanks in advance,
Oumer





^ permalink raw reply	[flat|nested] 14+ messages in thread
* ftos why obsolate
@ 2003-12-16 12:27 CoyoteTM
  2003-12-17 14:49 ` libipq Oumer Teyeb
  0 siblings, 1 reply; 14+ messages in thread
From: CoyoteTM @ 2003-12-16 12:27 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 139 bytes --]

Hello All!

The ftos patch in the patch-o-matic is marked osolate. why ?

I need to match to the TOS filed precedence bit(s).

Thanks

[-- Attachment #2: Type: text/html, Size: 726 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread
* libipq
@ 2003-08-11 13:05 Bogaerts Bart
  0 siblings, 0 replies; 14+ messages in thread
From: Bogaerts Bart @ 2003-08-11 13:05 UTC (permalink / raw)
  To: 'netfilter-devel@lists.netfilter.org'

Hello,

I have written a UserApplication which changes some payload into certain
messages. 
When I send with netcat messages sequential to netfilter all the messages
are passed through netfilter, but when I
send multiple messages to netfilter, I can see that my application get all
the messages adapt this messages 
and calls for every messages the set_verdict function but not all the
messages are appearing on the outgoing interface.

I'm using kernel 2.4.20 and iptables 1.2.6a

What exactly happens when a adapted packet is reinjected via nf_reinject ?
After leaving the POSTROUTING hook the packet is sent to where ?


With friendly greetings,
Bart

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

end of thread, other threads:[~2007-08-14 20:02 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-08  7:28 Circuit Level Gateway & Filtering!? __ Radien__
2004-04-08  8:32 ` libipq Devaraj Das
2004-04-08  8:48   ` libipq Antony Stone
2004-04-08  8:40 ` Circuit Level Gateway & Filtering!? Antony Stone
  -- strict thread matches above, loose matches on Subject: below --
2007-08-14 17:33 libipq Micheal Scofield
2007-08-14 20:02 ` libipq Eric Leblond
2007-06-09 17:46 libipq Simon
2007-06-09 18:15 ` libipq Eric Leblond
2007-06-09 19:29   ` libipq Simon
     [not found] <OFD0D60AB8.75553E41-ON65256E7C.001E4C71@hss.hns.com>
2004-04-20 12:21 ` libipq Jee J.Z.
2004-04-19 13:13 libipq aksingh
2003-12-17 14:57 libipq Oumer Teyeb
2003-12-16 12:27 ftos why obsolate CoyoteTM
2003-12-17 14:49 ` libipq Oumer Teyeb
2003-08-11 13:05 libipq Bogaerts Bart

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.