Article delegate-en/1637 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]

Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: blocking ports through socks
02 May 2002 15:10:32 GMT Vaughn Jardine <>

Thanks for all the help so far. I am still having problems blocking access
to port 1214 through socks. Let me give you the exact line I am using.

./delegated -P1080 SERVER=socks PERMIT="*:\!{*:1214}:*"

I used the "\" like you said and the system accepted it without problems,
but the above line is blocking EVERYTHING, and not just everything destined
to a server on port 1214.
Can you please send me a full line that would allow everything to go through
(using socks) but block access to any server listening on port 1214 like


Vaughn Jardine
Network Systems Administrator
Campus IT Services
The University of the West Indies
Trinidad, West Indies
If corn oil comes from corn, where does baby oil . . .

-----Original Message-----
From: [] 
Sent: Wednesday, May 01, 2002 4:18 PM
Subject: Re: [DeleGate-En] blocking ports through socks

 |Sorry to say, but I tried negating the PERMIT with PERMIT="*:!{*:1214}:*"
 |and it returns with the following error:
 |Bash: !{*: event not found
 |Why does this happen?

In some shells, "!" is a reserved character which must be escaped
like "\!" to use it as a literal "!".
See "man bash" for more details.

  @ @ Yutaka Sato <>
 ( - ) National Institute of Advanced Industrial Science and Technology
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]