TFTPD

2005-03-30 Thread DESETech - German P. Santillan
What is the maximums concurrent connections to inetdÂs tftpd daemon?

Thanks in advance

GermÃn P. SantillÃn
Administrador de Redes
Responsable Dpto. TÃcnico
DESETech Argentina S.A.
San MartÃn 133 - CP: B8000FIC
BahÃa Blanca - Argentina
Tel/Fax: +54 (291) 456-5642
[EMAIL PROTECTED]
http://www.desetech.com.ar
 


___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


em(4) + bridging

2005-03-30 Thread Philip Olsson
Hello
Iam woundering if there exists any patchset that will fix the broken 
em-driver or if anyone can bring my up to date with the development of 
the driver.

Right now I want to do dummynet on em with dot1q, works fine with other 
nics but I want to do it with a em(4) card.

If sending a em card somewhere will help let me know.
// Philip
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: em(4) + bridging

2005-03-30 Thread Ruslan Ermilov
Hi Philip,

On Wed, Mar 30, 2005 at 04:10:08PM +0200, Philip Olsson wrote:
> Iam woundering if there exists any patchset that will fix the broken 
> em-driver or if anyone can bring my up to date with the development of 
> the driver.
> 
What version of FreeBSD?

> Right now I want to do dummynet on em with dot1q, works fine with other 
> nics but I want to do it with a em(4) card.
> 
You decide, do you need bridge(4) or dummynet(4) (subject and body
disagree)?  I fixed a broken "bridging on VLANs whose parent
interfaces support h/w VLAN tag encapsulation" in HEAD a while ago,
on February 18, in this commit:

http://lists.freebsd.org/pipermail/cvs-src/2005-February/040840.html

> If sending a em card somewhere will help let me know.
> 
If the above (or MFC of it) solves your problem, I will kindly
accept a card, if you've got a spare one.  ;)


Cheers,
-- 
Ruslan Ermilov
[EMAIL PROTECTED]
FreeBSD committer


pgpt0vxcippuq.pgp
Description: PGP signature


Re: em(4) + bridging

2005-03-30 Thread Philip Olsson

On Wed, Mar 30, 2005 at 04:10:08PM +0200, Philip Olsson wrote:
 

Iam woundering if there exists any patchset that will fix the broken 
em-driver or if anyone can bring my up to date with the development of 
the driver.

   

What version of FreeBSD?
 

5-stable
Right now I want to do dummynet on em with dot1q, works fine with other 
nics but I want to do it with a em(4) card.

   

You decide, do you need bridge(4) or dummynet(4) (subject and body
disagree)?  I fixed a broken "bridging on VLANs whose parent
interfaces support h/w VLAN tag encapsulation" in HEAD a while ago,
on February 18, in this commit:
http://lists.freebsd.org/pipermail/cvs-src/2005-February/040840.html
 

I need both briding and dummynet, right now briding does not work.
Your change is only in -current, i run stable.
I will try to try them later tonight.
If sending a em card somewhere will help let me know.
   

If the above (or MFC of it) solves your problem, I will kindly
accept a card, if you've got a spare one.  ;)
 

Well, I could cough up the money for a card if that would help fixing 
the issues or help development.

// Philip
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: em(4) + bridging

2005-03-30 Thread Ruslan Ermilov
Hi again,

On Wed, Mar 30, 2005 at 05:27:14PM +0200, Philip Olsson wrote:
> >On Wed, Mar 30, 2005 at 04:10:08PM +0200, Philip Olsson wrote:
> > 
> >
> >>Iam woundering if there exists any patchset that will fix the broken 
> >>em-driver or if anyone can bring my up to date with the development of 
> >>the driver.
> >
> 5-stable
> 
> >>Right now I want to do dummynet on em with dot1q, works fine with other 
> >>nics but I want to do it with a em(4) card.
> >>
> >>   
> >>
> >You decide, do you need bridge(4) or dummynet(4) (subject and body
> >disagree)?  I fixed a broken "bridging on VLANs whose parent
> >interfaces support h/w VLAN tag encapsulation" in HEAD a while ago,
> >on February 18, in this commit:
> >
> >http://lists.freebsd.org/pipermail/cvs-src/2005-February/040840.html
> >
> > 
> >
> I need both briding and dummynet, right now briding does not work.
> Your change is only in -current, i run stable.
> I will try to try them later tonight.
> 
As a work-around, em(4) driver supports turning off VLAN tagging
in hardware, so you can switch it off without code modifications
and expect with a reasonable chance of success it will now work.
For example,

ifconfig em0 -vlanhwtag

Then try bridging on VLAN interfaces again.  If it works now,
then merging my patch to RELENG_5 will definitely help you.
Unfortunately, I'm not in a mood (nor I think re@ would) to
merge (commit) this change now, so close to a release.


Cheers,
-- 
Ruslan Ermilov
[EMAIL PROTECTED]
FreeBSD committer


pgpQxoHAndrs3.pgp
Description: PGP signature


Re: TFTPD

2005-03-30 Thread Brooks Davis
On Tue, Mar 29, 2005 at 12:45:05PM -0300, DESETech - German P. Santillan wrote:
> What is the maximums concurrent connections to inetd´s tftpd daemon?

It's a function of inetd's configuration.  Take a look at the -c, -C,
-R, and -s options of inetd and the config file format in the inetd(8)
manpage.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4


pgpIZaD3P6W4H.pgp
Description: PGP signature


Re: HOWTO connect MCI using Netgraph + Frame Relay with Digi SYNC/570i

2005-03-30 Thread Roman Kurakin
Hi,
John Mok:
Dear Julian,
I have re-compiled the kernel with NETGRAPH_ETHER and NETGRAPH_IFACE. 
I failed to create the lmi node :-

#ngctl mkpeer sync_ar0: frame_relay rawdata downstream
#ngctl name sync_ar0:rawdata fr-mux
#ngctl mkpeer fr-mux: lmi dlci0 ansi 
Why 'ansi'? It should be 'annexD'.
annexD means ANSI T1.617 AnnexD (1994)
In fact, I dont know if anyone support version of year 1991 now.
rik
ngctl: send msg: Invalid arguments
Command "ngctl types" returns :-
There are 7 total types:
 Type name   Number of living nodes
 -   --
socket   1
   frame_relay   1
 ether   3
   rfc1490   0
   lmi   0
 iface   0
   sync_ar   2
Command "ngctl show fr-mux:" returns :-
 Name: fr-mux  Type: frame_relay ID: 0007   Num hooks: 1
 Local hook  Peer name   Peer typePeer ID Peer 
hook  --  -   ---- 
-  downstream  sync_ar0sync_ar  
0001rawdata  

Except the brief description on manpage, please help to advise where I 
could find the detailed documentation (e.g. user guides or admin 
guides etc.) about what node types and hooks are available in netgraph.

Thank you very much.
John Mok
Julian Elischer wrote:

John Mok wrote:
The command "ngctl types" shows :-
There are 5 total types:
 Type name   Number of living nodes
 -   --
socket   1
   rfc1490   0
   lmi   0
   frame_relay   0
   sync_ar   2
What other modules are needed? How to add them, whether load them 
dynamically or compiled into kernel?

Thanks a lot.


kldload ng_iface at least
it should be loaded automatically if you add the line shown below..

John Mok
Julian Elischer wrote:
what does
"ngctl types"
say?
looks like you don't have all the right modules loaded..
John Mok wrote:
After issuing the following commands :-
#ngctl mkpeer sync_ar0: frame_relay rawdata downstream


ngctl name  sync_ar0:rawdata fr-mux
replace the next line with..
#ngctl mkpeer fr-mux: lmi dlci0 ansi
and add:
ngctl name fr-mux:dlci0 lmi
#ngctl mkpeer sync_ar0:rawdata rfc1490 dlci16 rfc1490


this could be replaved by:
ngctl mkpeer fr-mux: rfc1490 dlci16 downstream

#ngctl mkpeer sync_ar0:rawdata dlci16 rl0 inet inet


this line is totally confused..
should be:
ngctl name fr-mux:dlci16 protomux
ngctl mkpeer protomux: iface inet inet
now you can add the ip addresses..
sorry I didn't read it better several days ago..

#ifconfig ng0 1.2.3.4 5.6.7.8
ifconfig: interface ng0 does not exist



are you SURE none of these returned an error?
The command ifconfig shows :-
rl0: flags=8843 mtu 1500
   options=8
   inet6 fe80::207:40ff:fe09:f09%rl0 prefixlen 64 scopeid 0x1
   inet 192.168.255.254 netmask 0xff00 broadcast 192.168.255.255
   ether 00:07:40:09:0f:09
   media: Ethernet autoselect (none)
   status: no carrier
xl0: flags=8843 mtu 1500
   options=9
   inet6 fe80::201:3ff:fec1:9c58%xl0 prefixlen 64 scopeid 0x2
   ether 00:01:03:c1:9c:58
   media: Ethernet autoselect (100baseTX )
   status: active
xl1: flags=8843 mtu 1500
   options=9
   inet6 fe80::201:3ff:fe34:61af%xl1 prefixlen 64 scopeid 0x3
   inet 192.168.16.254 netmask 0xff00 broadcast 192.168.16.255
   ether 00:01:03:34:61:af
   media: Ethernet autoselect (100baseTX )
   status: active
plip0: flags=108810 mtu 1500
lo0: flags=8049 mtu 16384
   inet6 ::1 prefixlen 128
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
   inet 127.0.0.1 netmask 0xff00
and the command "ngctl list" shows :-
There are 4 total nodes:
 Name: ngctl811Type: socket  ID: 0011   Num 
hooks: 0
 Name:Type: frame_relay ID: 0004   Num 
hooks: 1
 Name: sync_ar1Type: sync_ar ID: 0002   Num 
hooks: 0
 Name: sync_ar0Type: sync_ar ID: 0001   Num 
hooks: 1

Would it be the problem that I test it with cable disconnected 
from the modem (i.e.CSU/DSU)?

Thanks a lot.
John Mok
Julian Elischer wrote:
did the last command do anything?
please show the output of:
ifconfig
ngctl list



___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: TFTPD

2005-03-30 Thread c0ldbyte
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Tue, 29 Mar 2005, DESETech - German P. Santillan wrote:
What is the maximums concurrent connections to inetdÂs tftpd daemon?
Thanks in advance
It will be the same as what /etc/defaults/rc.conf:122:inetd_flags is set
to. most likely 60 by default. Its not really specific to tftpd.
Best of luck,
--c0ldbyte
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)
Comment: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xF7DF979F
Comment: Fingerprint = D1DC 0AA4 1C4E EAD4 24EB  7E77 B261 50BA F7DF 979F
iD8DBQFCSs06smFQuvffl58RArZ8AJ4j5WyAdooDC5cHNSevHiLs3rgleQCghXlO
2X7qIF3JyJI5xLbR5S0dFYY=
=b8aE
-END PGP SIGNATURE-___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Using radius client

2005-03-30 Thread Bikrant Neupane
Hi

I would like the radius client send some optional parameters to my Radius 
server ( running Radiator). How would I do that?
I am authenticating pppoe users  with the radius server. Now I would like add 
some features like MACAddress+UserName+Password authentication. So that I can 
restrict the username on MAC address basis.

I am running PPPoE with radius client on FreeBSD 4.10 and 4.9.

Any help/pointer is highly appreciated.

with regards,
Bikrant
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: HOWTO connect MCI using Netgraph + Frame Relay with Digi SYNC/570i

2005-03-30 Thread Roman Kurakin
John Mok:
Yes, the framing is IETF. 
== RFC1490
Maren S. Leizaola wrote:
On Tue, 29 Mar 2005, John Mok wrote:
Dear Julian,
I have re-compiled the kernel with NETGRAPH_ETHER and 
NETGRAPH_IFACE. I failed to create the lmi node :-

#ngctl mkpeer sync_ar0: frame_relay rawdata downstream
#ngctl name sync_ar0:rawdata fr-mux
#ngctl mkpeer fr-mux: lmi dlci0 ansi

isn't the framing in your Cisco 1600 IETF?
ngctl: send msg: Invalid arguments
Command "ngctl types" returns :-
There are 7 total types:
Type name   Number of living nodes
-   --
   socket   1
  frame_relay   1
ether   3
  rfc1490   0
  lmi   0
iface   0
  sync_ar   2
Command "ngctl show fr-mux:" returns :-
Name: fr-mux  Type: frame_relay ID: 0007   Num hooks: 1
Local hook  Peer name   Peer typePeer ID Peer 
hook --  -   ---- 
- downstream  sync_ar0sync_ar  
0001rawdata
Except the brief description on manpage, please help to advise where 
I could find the detailed documentation (e.g. user guides or admin 
guides etc.) about what node types and hooks are available in netgraph.

Thank you very much.
John Mok
Julian Elischer wrote:

John Mok wrote:
The command "ngctl types" shows :-
There are 5 total types:
 Type name   Number of living nodes
 -   --
socket   1
   rfc1490   0
   lmi   0
   frame_relay   0
   sync_ar   2
What other modules are needed? How to add them, whether load them 
dynamically or compiled into kernel?

Thanks a lot.


kldload ng_iface at least
it should be loaded automatically if you add the line shown below..

John Mok
Julian Elischer wrote:
what does
"ngctl types"
say?
looks like you don't have all the right modules loaded..
John Mok wrote:
After issuing the following commands :-
#ngctl mkpeer sync_ar0: frame_relay rawdata downstream


ngctl name  sync_ar0:rawdata fr-mux
replace the next line with..
#ngctl mkpeer fr-mux: lmi dlci0 ansi
and add:
ngctl name fr-mux:dlci0 lmi
#ngctl mkpeer sync_ar0:rawdata rfc1490 dlci16 rfc1490


this could be replaved by:
ngctl mkpeer fr-mux: rfc1490 dlci16 downstream

#ngctl mkpeer sync_ar0:rawdata dlci16 rl0 inet inet


this line is totally confused..
should be:
ngctl name fr-mux:dlci16 protomux
ngctl mkpeer protomux: iface inet inet
now you can add the ip addresses..
sorry I didn't read it better several days ago..

#ifconfig ng0 1.2.3.4 5.6.7.8
ifconfig: interface ng0 does not exist




are you SURE none of these returned an error?
The command ifconfig shows :-
rl0: flags=8843 mtu 1500
   options=8
   inet6 fe80::207:40ff:fe09:f09%rl0 prefixlen 64 scopeid 0x1
   inet 192.168.255.254 netmask 0xff00 broadcast 
192.168.255.255
   ether 00:07:40:09:0f:09
   media: Ethernet autoselect (none)
   status: no carrier
xl0: flags=8843 mtu 1500
   options=9
   inet6 fe80::201:3ff:fec1:9c58%xl0 prefixlen 64 scopeid 0x2
   ether 00:01:03:c1:9c:58
   media: Ethernet autoselect (100baseTX )
   status: active
xl1: flags=8843 mtu 1500
   options=9
   inet6 fe80::201:3ff:fe34:61af%xl1 prefixlen 64 scopeid 0x3
   inet 192.168.16.254 netmask 0xff00 broadcast 192.168.16.255
   ether 00:01:03:34:61:af
   media: Ethernet autoselect (100baseTX )
   status: active
plip0: flags=108810 mtu 1500
lo0: flags=8049 mtu 16384
   inet6 ::1 prefixlen 128
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
   inet 127.0.0.1 netmask 0xff00

and the command "ngctl list" shows :-
There are 4 total nodes:
 Name: ngctl811Type: socket  ID: 0011   Num 
hooks: 0
 Name:Type: frame_relay ID: 0004   Num 
hooks: 1
 Name: sync_ar1Type: sync_ar ID: 0002   Num 
hooks: 0
 Name: sync_ar0Type: sync_ar ID: 0001   Num 
hooks: 1

Would it be the problem that I test it with cable disconnected 
from the modem (i.e.CSU/DSU)?

Thanks a lot.
John Mok
Julian Elischer wrote:
did the last command do anything?
please show the output of:
ifconfig
ngctl list



___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: radius client parameters

2005-03-30 Thread fooler
- Original Message - 
From: "Bikrant Neupane" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 31, 2005 1:19 PM
Subject: radius client parameters


> Hi
>
> I would like the radius client send some optional parameters to my Radius
> server ( running Radiator). How would I do that?
> I am authenticating pppoe users  with the radius server. Now I would like
add
> some features like MACAddress+UserName+Password authentication. So that I
can
> restrict the username on MAC address basis.
>
> I am running PPPoE with radius client on FreeBSD 4.10 and 4.9.
>
> Any help/pointer is highly appreciated.

although brian somers (author of user ppp) forgot to document from the ppp's
man page, the mac address is in the CALLING_STATION_ID (type 31) radius
attribute :->

fooler.

___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: HOWTO connect MCI using Netgraph + Frame Relay with Digi SYNC/570i

2005-03-30 Thread John Mok
Yes, the framing is IETF.
Maren S. Leizaola wrote:
On Tue, 29 Mar 2005, John Mok wrote:
Dear Julian,
I have re-compiled the kernel with NETGRAPH_ETHER and NETGRAPH_IFACE. 
I failed to create the lmi node :-

#ngctl mkpeer sync_ar0: frame_relay rawdata downstream
#ngctl name sync_ar0:rawdata fr-mux
#ngctl mkpeer fr-mux: lmi dlci0 ansi

isn't the framing in your Cisco 1600 IETF?
ngctl: send msg: Invalid arguments
Command "ngctl types" returns :-
There are 7 total types:
Type name   Number of living nodes
-   --
   socket   1
  frame_relay   1
ether   3
  rfc1490   0
  lmi   0
iface   0
  sync_ar   2
Command "ngctl show fr-mux:" returns :-
Name: fr-mux  Type: frame_relay ID: 0007   Num hooks: 1
Local hook  Peer name   Peer typePeer ID Peer 
hook --  -   ---- 
- downstream  sync_ar0sync_ar  
0001rawdata
Except the brief description on manpage, please help to advise where 
I could find the detailed documentation (e.g. user guides or admin 
guides etc.) about what node types and hooks are available in netgraph.

Thank you very much.
John Mok
Julian Elischer wrote:

John Mok wrote:
The command "ngctl types" shows :-
There are 5 total types:
 Type name   Number of living nodes
 -   --
socket   1
   rfc1490   0
   lmi   0
   frame_relay   0
   sync_ar   2
What other modules are needed? How to add them, whether load them 
dynamically or compiled into kernel?

Thanks a lot.


kldload ng_iface at least
it should be loaded automatically if you add the line shown below..

John Mok
Julian Elischer wrote:
what does
"ngctl types"
say?
looks like you don't have all the right modules loaded..
John Mok wrote:
After issuing the following commands :-
#ngctl mkpeer sync_ar0: frame_relay rawdata downstream


ngctl name  sync_ar0:rawdata fr-mux
replace the next line with..
#ngctl mkpeer fr-mux: lmi dlci0 ansi
and add:
ngctl name fr-mux:dlci0 lmi
#ngctl mkpeer sync_ar0:rawdata rfc1490 dlci16 rfc1490


this could be replaved by:
ngctl mkpeer fr-mux: rfc1490 dlci16 downstream

#ngctl mkpeer sync_ar0:rawdata dlci16 rl0 inet inet


this line is totally confused..
should be:
ngctl name fr-mux:dlci16 protomux
ngctl mkpeer protomux: iface inet inet
now you can add the ip addresses..
sorry I didn't read it better several days ago..

#ifconfig ng0 1.2.3.4 5.6.7.8
ifconfig: interface ng0 does not exist



are you SURE none of these returned an error?
The command ifconfig shows :-
rl0: flags=8843 mtu 1500
   options=8
   inet6 fe80::207:40ff:fe09:f09%rl0 prefixlen 64 scopeid 0x1
   inet 192.168.255.254 netmask 0xff00 broadcast 192.168.255.255
   ether 00:07:40:09:0f:09
   media: Ethernet autoselect (none)
   status: no carrier
xl0: flags=8843 mtu 1500
   options=9
   inet6 fe80::201:3ff:fec1:9c58%xl0 prefixlen 64 scopeid 0x2
   ether 00:01:03:c1:9c:58
   media: Ethernet autoselect (100baseTX )
   status: active
xl1: flags=8843 mtu 1500
   options=9
   inet6 fe80::201:3ff:fe34:61af%xl1 prefixlen 64 scopeid 0x3
   inet 192.168.16.254 netmask 0xff00 broadcast 192.168.16.255
   ether 00:01:03:34:61:af
   media: Ethernet autoselect (100baseTX )
   status: active
plip0: flags=108810 mtu 1500
lo0: flags=8049 mtu 16384
   inet6 ::1 prefixlen 128
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
   inet 127.0.0.1 netmask 0xff00
and the command "ngctl list" shows :-
There are 4 total nodes:
 Name: ngctl811Type: socket  ID: 0011   Num 
hooks: 0
 Name:Type: frame_relay ID: 0004   Num 
hooks: 1
 Name: sync_ar1Type: sync_ar ID: 0002   Num 
hooks: 0
 Name: sync_ar0Type: sync_ar ID: 0001   Num 
hooks: 1

Would it be the problem that I test it with cable disconnected 
from the modem (i.e.CSU/DSU)?

Thanks a lot.
John Mok
Julian Elischer wrote:
did the last command do anything?
please show the output of:
ifconfig
ngctl list



___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"