zsh-users
 help / color / mirror / code / Atom feed
From: "Fafa Hafiz Krantz" <fteg@london.com>
To: "Andrei A. Voropaev" <av@simcon-mt.com>
Cc: zsh-users@sunsite.dk, questions@freebsd.org
Subject: Re: Big delay on login: What's wrong?
Date: Thu, 12 May 2005 07:41:28 -0500	[thread overview]
Message-ID: <20050512124128.426234BEAD@ws1-1.us4.outblaze.com> (raw)


----- Original Message -----
From: "Andrei A. Voropaev" <av@simcon-mt.com>
To: "Fafa Hafiz Krantz" <fteg@london.com>
Subject: Re: Big delay on login: What's wrong?
Date: Thu, 12 May 2005 13:19:21 +0200

> 
> On Thu, May 12, 2005 at 04:49:52AM -0500, Fafa Hafiz Krantz wrote:
> >
> > Hello.
> >
> > I'm on a Pentium 120 with FreeBSD 5.4-STABLE, and zsh-4.2.5.
> > When I log in, I have to wait in between 5 to 10 seconds before
> > the prompt displays. Even though I use a functional zshrc file
> > that has proven to work on other systems, things like auto
> > completion doesn't seem to work in this case.
> >
> > # cat /etc/zshrc
> > #
> > http://www.home.no/hedhnta/zshrc
> >
> > # cat /etc/zlogout
> > #
> > http://www.home.no/hedhnta/zlogout
> >
> > # zsh -x
> > #
> > http://www.home.no/hedhnta/zsh-x
> >
> > Somebody know?
> 
> Most likely it has nothing to do with zsh. Once we had the same problem
> because one of the daemons (I think ident) was trying to connect back to
> the machine where connection was coming from to find out username there.
> And we had firewall that was blocking those connections. So, login had
> to wait till that daemon gave up.
> 
> YMMV.
> 
> --
> Minds, like parachutes, function best when open

That's strange.

I doubt I have any daemons running that PF doesn't allow.

# cat /etc/pf.conf
#

int_if="ep0"
ext_if="lnc0"

set     block-policy drop
scrub   in all

nat     on $ext_if from $int_if:network to any -> ($ext_if)
rdr     on $int_if proto tcp from any to any \
        port 21 -> 127.0.0.1 port 8021

block   drop log all
pass    quick on { lo0 $int_if }

pass    out on $ext_if inet proto { tcp, udp, icmp } \
        from any to any keep state

pass    in on $ext_if inet proto { tcp, udp } \
        from any to ($ext_if) port 53
pass    out on $ext_if inet proto { tcp, udp } \
        from any port 53 to any

pass    out on $ext_if inet proto udp \
        from any to any port 123 keep state

pass    in on $ext_if inet proto tcp \
        from any to ($ext_if) port { 22, 80, 113 } flags S/SA keep state

pass    in on $ext_if inet proto tcp \
        from any port 20 to ($ext_if) user proxy flags S/SA keep state

pass    in on $ext_if proto tcp \
        from any to any port 31337 keep state
pass    in on $ext_if proto tcp \
        from any to any port 53333:55555

By the way, I like the slogan in your signature.
It's among the best I've ever heard, as it applies to all things.

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm


             reply	other threads:[~2005-05-12 12:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-12 12:41 Fafa Hafiz Krantz [this message]
2005-05-12 13:17 ` Andrei A. Voropaev
2005-05-12 14:35   ` Fafa Hafiz Krantz
2005-05-12 16:45     ` Wayne Davison
  -- strict thread matches above, loose matches on Subject: below --
2005-05-12  9:49 Fafa Hafiz Krantz
2005-05-12 11:19 ` Andrei A. Voropaev
2005-05-12 16:15 ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050512124128.426234BEAD@ws1-1.us4.outblaze.com \
    --to=fteg@london.com \
    --cc=av@simcon-mt.com \
    --cc=questions@freebsd.org \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).