Re: some question
On 2003-02-20 16:46, ?? ?? <[EMAIL PROTECTED]> wrote: > hi,i have a question about tcp/ip stack,could you help me? > when we send a tcp packet with tcp_maxopt(tcp_maxopt = min(my > mss,mss offerd by opposite socket) +length of TCP options,as ecos > does in function tcp_mss() of the file tcp_input.c) to IP,and IP > insert some IP options into packet,so maybe length of whole IP > packet > ifp->mtu,so Ip must fragment this tcp packet,and TCP failed > to avoid fragmenting in host itsself. > as we know,TCP always avoid to fragment as possible,maybe the > condition above does not occur often,but it is possible. > right? > or wrong,please tell me,Thank you very much! The comment above tcp_mss() says: * NOTE that this routine is only called when we process an incoming * segment, for outgoing segments only tcp_mssopt is called. So, it won't be called for frames created by ip_output() :-) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Some question
On Thu, 20 Feb 2003 20:37:17 +0200 Kostya Odnoralov <[EMAIL PROTECTED]> wrote: > Hi All! > > Please help me. > > 1) Advise to me good console-based mp3 player from ports collections. > > 2) Where can i find good documentation about "how to make gateway". > Classical example: external 193.178.228.xxx, internal 10.20.30.xxx. > How bring up "routed"? Check out the handbook. Specifically the part about natd. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Some question
Kostya Odnoralov wrote to [EMAIL PROTECTED]: > Hi All! > > Please help me. We'll try. > 1) Advise to me good console-based mp3 player from ports > collections. audio/mpg123 would definitely be my first choice. > 2) Where can i find good documentation about "how to make gateway". > Classical example: external 193.178.228.xxx, internal 10.20.30.xxx. > How bring up "routed"? There are lots of ways to do this. It sounds like you want to want to route from a private (RFC1918) network to/from the public Internet. Right? To do that (successfully), you'll need to do some kind of translation. You likely won't need to do any routing at all, except to set a default route to your gateway, on all internal hosts. Do some reading on NAT (network address translation). natd(8) would be a good place to start. There are also plenty of web-based tutorials and documents that you can find by doing some web searches for the terms I've mentioned here. It sounds like static NAT may be the way to go in your case. Also, to ease in the configuration of each internal host (if you have more than one or two), consider using DHCP. (isc-dhcpd), to dynamically configure the network settings per host. That being said, I'm just guessing at what you're really trying to do. If I've guessed incorrectly, please reply with more detail. ;-) Thanks, - Ryan -- Ryan Thompson <[EMAIL PROTECTED]> SaskNow Technologies - http://www.sasknow.com 901-1st Avenue North - Saskatoon, SK - S7K 1Y4 Tel: 306-664-3600 Fax: 306-244-7037 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Some question
/usr/ports/audio/mp3blaster On Thu, 20 Feb 2003 14:08:27 -0500 (EST) John Bleichert <[EMAIL PROTECTED]> wrote: > On Thu, 20 Feb 2003, Kostya Odnoralov wrote: > > Subject: Some question > > > > Hi All! > > > > Please help me. > > > > 1) Advise to me good console-based mp3 player from ports collections. > > > > > Check out mpg123 (and cmp3 which is an ncurses front-end for mpg123, if > you should need it). > > HTH - JB > > # John Bleichert > # http://vonbek.dhs.org/latest.jpg > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-questions" in the body of the message > -- Why don't elephants eat penguins ? Because they can't get the wrappers off ... ---FreeBSD The Power To Serve--- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Some question
On Thu, 20 Feb 2003, Kostya Odnoralov wrote: > Subject: Some question > > Hi All! > > Please help me. > > 1) Advise to me good console-based mp3 player from ports collections. > Check out mpg123 (and cmp3 which is an ncurses front-end for mpg123, if you should need it). HTH - JB # John Bleichert # http://vonbek.dhs.org/latest.jpg To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message