SSH hanging

Didier Rwitura drwitura at
Sat Mar 26 17:47:52 PST 2005

I am installing PF (packet filter) with authpf on a Prerelease 5.4 and 

I added in

/etc/ ---> net.inet.ip.forwarding=1 

/etc/shell  ---> /usr/sbin/authpf


Int= "xl0"
Ext  = "sis0"

scrub in all

# filter
block drop all

pass out quick on $Ext proto tcp from $Int:network flags S/SA \
   modulate state
pass out quick on $Ext proto { udp, icmp } from $Int:network \
   keep state

pass in quick on $Intproto tcp from $Int:network to $Int\
   port ssh flags S/SA keep state

anchor "authpf/*" in on $Int


Int = "xl0"
dns_servers = "{, }"

pass in quick on $Int proto udp from $user_ip to $dns_servers \
   port domain keep state
pass in quick on $Int proto tcp from $user_ip to port { ssh, http, \
   https } flags S/SA keep state

I am getting 

Hello didier, You are authenticated from host ""

when I connect with ssh but it hangs ... I don't get the prompt

any help will be appreciated



This electronic message contains information from Primus Telecommunications
Canada Inc. ("PRIMUS") , which may be legally privileged and confidential.
The information is intended to be for the use of the individual(s) or entity
named above. If you are not the intended recipient, be aware that any
disclosure, copying, distribution or use of the contents of this information
is prohibited. If you have received this electronic message in error, please
notify us by telephone or e-mail (to the number or address above)
immediately. Any views, opinions or advice expressed in this electronic
message are not necessarily the views, opinions or advice of PRIMUS.
It is the responsibility of the recipient to ensure that
any attachments are virus free and PRIMUS bears no responsibility
for any loss or damage arising in any way from the use
thereof.The term "PRIMUS" includes its affiliates.
Pour la version en français de ce message, veuillez voir

More information about the freebsd-stable mailing list