All of lore.kernel.org
 help / color / mirror / Atom feed
* Liaise with port forwarding proxies?
@ 2003-09-05 10:13 Atsushi Nakagawa
  2003-09-05 11:52 ` Dharmendra.T
  0 siblings, 1 reply; 4+ messages in thread
From: Atsushi Nakagawa @ 2003-09-05 10:13 UTC (permalink / raw)
  To: netfilter

Hi,

Is there something that allows iptables to talk with Dante server (the
SOCKS server) to gather which ports it's opened for receiving incoming
connections?  Or maybe a way for iptables to determine and match by
which process an incoming packet will be going to?

Regards,


-- 
Atsushi Nakagawa
<atnak@chejz.com>
Changes are made when there is inconvenience.



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

* Re: Liaise with port forwarding proxies?
  2003-09-05 10:13 Liaise with port forwarding proxies? Atsushi Nakagawa
@ 2003-09-05 11:52 ` Dharmendra.T
  2003-09-05 15:05   ` Atsushi Nakagawa
  0 siblings, 1 reply; 4+ messages in thread
From: Dharmendra.T @ 2003-09-05 11:52 UTC (permalink / raw)
  To: Atsushi Nakagawa; +Cc: netfilter

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

hi
Can you say more clearly what you are trying?

Regards
Dharmendra T.

On Fri, 2003-09-05 at 15:43, Atsushi Nakagawa wrote:

    Hi,
    
    Is there something that allows iptables to talk with Dante server (the
    SOCKS server) to gather which ports it's opened for receiving incoming
    connections?  Or maybe a way for iptables to determine and match by
    which process an incoming packet will be going to?
    
    Regards,
    
    
    -- 
    Atsushi Nakagawa
    <atnak@chejz.com>
    Changes are made when there is inconvenience.
    
    

-- 
Regards
Dharmendra.T
dharmu@nsecure.net

This message is intended for the addressee only. It may contain
privileged or Confidential information. If you have received this
message in error,please notify the sender and destroy the message
immediately.Unauthorised use or reproduction of this message is strictly
prohibited.

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

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

* Re: Liaise with port forwarding proxies?
  2003-09-05 11:52 ` Dharmendra.T
@ 2003-09-05 15:05   ` Atsushi Nakagawa
  2003-09-08  6:08     ` Dharmendra.T
  0 siblings, 1 reply; 4+ messages in thread
From: Atsushi Nakagawa @ 2003-09-05 15:05 UTC (permalink / raw)
  To: Dharmendra.T; +Cc: netfilter

"Dharmendra.T" <dharmu@nsecure.net> wrote:
> Can you say more clearly what you are trying?

I have a linux server with services and an iptables configuration set to
discard any NEW incoming packets that aren't for these services.  I do
this based on protocol and port.  (e.g. Accept: TCP/80, TCP/21)

I want to add a SOCKS5 server (Dante) to the list of services.  The
problem with this is that this server can listen to any arbitary port
above 1024 for port tunneling, but I don't want to automatically allow
all ports > 1024 in iptables.

I'm wondering if there is a way for iptables to determine which ports
are in use by the SOCKS5 server and selectively allow those.

Regards,


-- 
Atsushi Nakagawa
<atnak@chejz.com>
Changes are made when there is inconvenience.



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

* Re: Liaise with port forwarding proxies?
  2003-09-05 15:05   ` Atsushi Nakagawa
@ 2003-09-08  6:08     ` Dharmendra.T
  0 siblings, 0 replies; 4+ messages in thread
From: Dharmendra.T @ 2003-09-08  6:08 UTC (permalink / raw)
  To: Atsushi Nakagawa; +Cc: netfilter

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

On Fri, 2003-09-05 at 20:35, Atsushi Nakagawa wrote:

    "Dharmendra.T" <dharmu@nsecure.net> wrote:
    > Can you say more clearly what you are trying?
    
    I have a linux server with services and an iptables configuration set to
    discard any NEW incoming packets that aren't for these services.  I do
    this based on protocol and port.  (e.g. Accept: TCP/80, TCP/21)
    
    I want to add a SOCKS5 server (Dante) to the list of services.  The
    problem with this is that this server can listen to any arbitary port
    above 1024 for port tunneling, but I don't want to automatically allow
    all ports > 1024 in iptables.
    
    I'm wondering if there is a way for iptables to determine which ports
    are in use by the SOCKS5 server and selectively allow those.


You can allow related packets.

    
    Regards,
    
    
    -- 
    Atsushi Nakagawa
    <atnak@chejz.com>
    Changes are made when there is inconvenience.
    
    

-- 
Regards
Dharmendra.T
dharmu@nsecure.net

This message is intended for the addressee only. It may contain
privileged or Confidential information. If you have received this
message in error,please notify the sender and destroy the message
immediately.Unauthorised use or reproduction of this message is strictly
prohibited.

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

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

end of thread, other threads:[~2003-09-08  6:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-05 10:13 Liaise with port forwarding proxies? Atsushi Nakagawa
2003-09-05 11:52 ` Dharmendra.T
2003-09-05 15:05   ` Atsushi Nakagawa
2003-09-08  6:08     ` Dharmendra.T

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.