routing table updation by the route command.

2001-06-20 Thread raviprasad20

Hi,
My understanding of the routing table updation by the routing command is like this. 
Any user requests to add or delete a route is stored in the rt_msghdr structure & 
written to the routing socket. The route_output() of the kernel does the  updation by 
calling appropriate functions. It also sends the same message to all processes that 
have open a routing socket for listening.

Is my understanding correct? Kindly mail me if anything that i have said is incorrect.

regards
ravi prasad
__
Get your own FREE, personal Netscape Webmail account today at 
http://webmail.netscape.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



BIND

2001-06-20 Thread Anastasia Leventi-Peetz




I have installed BIND 9.1.2 on my Linux SuSE system.
Until now it has worked good, lately it makes problems.
It reacts very slowly on a query and sometimes it aborts with
"unknown host soandso"
I give ping soandso
and after sometime comes the right answer
and then again ping soandso
and I get unknown host.
If I give the full domain name after the host
ping soandso.bla.bla.de , then it is no problem.
Of course I have in /var/named/ the file bla.bla.de with the names
and addresse and I have looked in /var/log/messages.
The name server listens to the right interface and port (53)
but additionally there I found 
binding TCP socket address in use

any suggestions? Or is it a bug in BIND?

Anastasia

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Re: Optimize FreeBSD for proxy servers

2001-06-20 Thread Alfred Perlstein

* Royyana M. Ijtihadie <[EMAIL PROTECTED]> [010620 00:34] wrote:
> 
> Hi All,
> 
>   I use my freebsd box as a proxy server, I had 256 MB of memory and Fast
> SCSI harddisk. I think that's enough for proxy server that serves over 200
> computers... But now, I think my proxy servers is slow, especially if the
> connections increase (i use netstat -tna to see this connection) 
>   
>   I want to ask you all about optimize my proxy server, in all way, such
> as kernel, files, etc. I need suggestion..

It would really help to know where you think the problem is.
It would also help to know:
1) what proxy server
2) what sort of proxying it's doing
3) what basic steps have you taken to tune it yourself.

Maybe try softupdates?  If it's a proxy/cache that might help
signifigantly.

-Alfred

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Re: [ BIND]

2001-06-20 Thread Anastasia Leventi-Peetz


>I have installed BIND 9.1.2 on my Linux SuSE system.
>Until now it has worked good, lately it makes problems.
>It reacts very slowly on a query and sometimes it aborts with
>"unknown host soandso"
>I give ping soandso
>and after sometime comes the right answer
>and then again ping soandso
>and I get unknown host.
>If I give the full domain name after the host
>ping soandso.bla.bla.de , then it is no problem.
>Of course I have in /var/named/ the file bla.bla.de with the names
>and addresse and I have looked in /var/log/messages.
>The name server listens to the right interface and port (53)
>but additionally there I found 
>binding TCP socket address in use
>
>any suggestions? Or is it a bug in BIND?
>
>Anastasia

in my /etc/resolv.conf there was the line
search local domain-name1 domain-name2

that was I think automatically from YaST SuSE so. I have erased local
and now it works with no problem. Another way is instaed of
search ...
to give simply 
domain  domain-name 
I have the impression the name server searches only the first domain and
the is timed out or something like that!

regards:Anastasia



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Re: ftpd-BSD and standalone

2001-06-20 Thread Anastasia Leventi-Peetz



hello Gunther,

 thanks a lot for the interesting mail.
I don't do IP filters that's for sure. I am astonished that
on the bieringer www page (www.bieringer.de) the standalone modus
is recommended! I run the IPv6 ftpd of Free-BSD (downloaded and
compiled from the bieringer page) installed on the SuSE distribution.
The line in the inetd.conf file of SuSE Linux looks like:
ftp stream tcp6 nowait root /usr/sbin/tcpd ftpd-BSD -D -6
Of course ftpd-BSD is in directory /usr/sbin/
The above thing fails so that I start standalone the daemon with the above switches.
Now the corresponding line in Free-BSD is
ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l
I have tried both options: above line with tcp6 and ftpd -D -6
or only tcp and ftpd -D -6 but I couldn't start the daemon with inetd.
(It doesn't seem to be started from tcpd like in SuSE case).
I do have the ready ipv6 able daemon.
Then I started it manually /usr/libexec/ftpd -D -6 -a interfacename
and it worked! I built this line with interface within the inetd.conf
but it didn't help. I did have to start it manually.
Any suggestion?
thanks:Anastasia

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Re: Securing the root account

2001-06-20 Thread Steve Shah

PuTTY is a nice Windows tool. It has a companion tool called PSCP
which works nicely.

http://www.chiark.greenend.org.uk/~sgtatham/putty

-Steve


On Tue, Jun 19, 2001 at 10:29:19PM -0700, Randy Bush wrote:
> ftp://psg.com/pub/w95/ssh/SSHWin-2.4.0-pl2.exe is a very windoze-ish
> tool.  there's also a good/windowy scp tool there.
> 
> randy
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-net" in the body of the message

-- 
__
Steve Shah ([EMAIL PROTECTED]) | Voice: 408.284.4226  Pager: 408.989.4247
http://www.clickarray.com |  Pager E-Mail: [EMAIL PROTECTED] 
~~
  Beating code into submission, one OS at a time...

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Re: Securing the root account

2001-06-20 Thread Benedikt Schmidt

Steve Shah <[EMAIL PROTECTED]> wrote:
> On Tue, Jun 19, 2001 at 10:29:19PM -0700, Randy Bush wrote:
>>  ftp://psg.com/pub/w95/ssh/SSHWin-2.4.0-pl2.exe is a very windoze-ish
>>  tool.  there's also a good/windowy scp tool there.
>
> PuTTY is a nice Windows tool. It has a companion tool called PSCP
> which works nicely.
> 
> http://www.chiark.greenend.org.uk/~sgtatham/putty
>
And if you need a GUI there is also winscp[1] which is Freeware[2]
and based on PuTTy.

[1] http://winscp.vse.cz/eng/
[2] but binary only ;(

-- 
Benedikt 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Re: Securing the root account

2001-06-20 Thread Vladimir B. Grebenschikov

Randy Bush writes:
 > ftp://psg.com/pub/w95/ssh/SSHWin-2.4.0-pl2.exe is a very windoze-ish
 > tool.  there's also a good/windowy scp tool there.

http://www.zip.com.au/~roca/ttssh.html

TeraTerm SSH very nice tool too.
 
 > randy


--
TSB Russian Express, Moscow
Vladimir B. Grebenschikov, [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



anonymous ftp authentification

2001-06-20 Thread Vladimir Savichev

is there way to set ftpd installed from /src to authentificate anonymous
users like "*@*" (rfc822 compliant ?) or should I walk to wu-ftp.
-Vlad


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Config for mpd-netgraph for multi client access

2001-06-20 Thread John Lord

I see mention of config in the archives but cant find one , can someone
send me the config to let me have multi clients connect to mpd

John Lord([EMAIL PROTECTED]) 
Network Administrator 
Studio for Publications Inc 
410-723-7089 Office 
[EMAIL PROTECTED] Pager 
www.4jon.com   


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Re: anonymous ftp authentification

2001-06-20 Thread La Place

Perhaps you want the -A option in ftpd(8) ?

bruce\
--- Vladimir Savichev <[EMAIL PROTECTED]> wrote:
> is there way to set ftpd installed from /src to authentificate anonymous
> users like "*@*" (rfc822 compliant ?) or should I walk to wu-ftp.
> -Vlad
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-net" in the body of the message


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Re: ftpd-BSD and standalone

2001-06-20 Thread Gunther Schadow

Anastasia Leventi-Peetz wrote:
> 
> hello Gunther,
> 
>  thanks a lot for the interesting mail.
> I don't do IP filters that's for sure. I am astonished that
> on the bieringer www page (www.bieringer.de) the standalone modus
> is recommended! I run the IPv6 ftpd of Free-BSD (downloaded and
> compiled from the bieringer page) installed on the SuSE distribution.
> The line in the inetd.conf file of SuSE Linux looks like:

Hmm, sounds very complex and self-stiched. Why don't you just
use FreeBSD out of the box? I don't know what this bieringer
thing is supposed to do. If they have modified the source code
of the ftpd, anything can happen. But the diagnosis to your
problem is pretty straight forward:

> ftp stream tcp6 nowait root /usr/sbin/tcpd ftpd-BSD -D -6

woops, tcp-wrappers (tcpd) take 'em out, they confound the
problem.

> Of course ftpd-BSD is in directory /usr/sbin/

hmm, even that I wouldn't bet on being found by the wrappers.
Check you syslog dump (/var/log/messages or /var/log/ftp or
anything in /var/log) for warnings and errors.

> The above thing fails so that I start standalone the daemon with the above switches.

The two reasons why it may work then is 

- you don't do tcp-wrappers if you just say ftpd-BSD -D -6

and 

- ftpd-BSD is in your PATH

> Now the corresponding line in Free-BSD is

> ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l

yes, no tcp wrappers. And about the options RTFM:

-D makes ftpd to become a daemon itself. This is *not* what you
   want when you let inetd manage the services. So, take that -D
   out.

-l maked ftpd log accesses, you do want that no matter what (and
   it helps in debugging.)

-6 is only an issue when -D is specified, i.e., no need when 
   using inetd.

> I have tried both options: above line with tcp6 and ftpd -D -6
> or only tcp and ftpd -D -6 but I couldn't start the daemon with inetd.

Try *both* of the following lines in inetd.conf

ftp stream tcp  nowait root /usr/sbin/ftpd-BSD ftpd -l
ftp stream tcp6 nowait root /usr/sbin/ftpd-BSD ftpd -l

that's all you need. Notice that the 6 versus 4 issue is handled by 
inetd (tcp vs. tcp6) and you need one inetd.conf line for each. Having
both makes it easier to distinguish whether you have an IPv6 problem
somewhere (but do use numeric addresses for testing, to be sure you
use the right IP version.)

> (It doesn't seem to be started from tcpd like in SuSE case).
> I do have the ready ipv6 able daemon.
> Then I started it manually /usr/libexec/ftpd -D -6 -a interfacename

Now I'm confused. There is something wrong about how you named
your files and in which directory you put them. Before you said
/usr/sbin, now you have /usr/libexec, before you said ftpd-BSD
now you say just ftpd. On FreeBSD this is /usr/libexec/ftpd.
Be sure you grab the right file. And make sure you give the full
path in inetd.conf. Also, never use the -D option with inetd.conf;
it can't work! With -D ftpd tries to bind(2) another socket and
since it's already bound by inetd, it'll fail right away. Also,
if you use nowait in inetd and call something that doesn't handle
the connection, you'll get inetd cycling through calling ftpd
again and again. If this goes on too often, inetd figures that
it's not gonna work and shuts down the service alltogether. This
is what happened in your case.

-Gunther

-- 
Gunther Schadow, M.D., Ph.D.[EMAIL PROTECTED]
Medical Information Scientist  Regenstrief Institute for Health Care
Adjunct Assistant ProfessorIndiana University School of Medicine
tel:1(317)630-7960 http://aurora.regenstrief.org

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message