Friday, May 2, 2008 - New servers are in! Click-in for more info!
VoyForums

VoyUser Login optional ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 1234 ]
Subject: Re: Single session per mac address


Author:
tux-net
[ Next Thread | Previous Thread | Next Message | Previous Message ]
Date Posted: 14:15:49 2008-04-01 Tue
Author Host/IP: 217.17.16.155
In reply to: Damjan 's message, "Single session per mac address" on 06:36:08 2008-03-21 Fri

create bridge interface and add ethernet interface to bridge.
use bridge interface for pppoe server
pppoe-server -I br0 ....

adding to file /etc/ppp/ip-up:
/sbin/ebatbles -A INPUT -s $MACREMOTE -p PPP_DISC -j DROP
# PPP_DISC -> /etc/ethertypes or use 0x8863

adding to file /etc/ppp/ip-down:
/sbin/ebtables -D INPUT -s $MACREMOTE -p PPP_DISC -j DROP


>Hi, I have a problem that some misbehaved clients try
>to start hundreds of sessions in very short inteval.
>So th rp-pppoe server exhausts it's sessions for a
>while, and other clients can't connect.
>
>Is it possible to limit the number of sessions per mac
>address to 1.

[ Next Thread | Previous Thread | Next Message | Previous Message ]

Replies:
Subject Author Date
Re: Single session per mac addressDamjan12:09:44 2008-04-21 Mon


VoyUser Login ] Not required to post.
Post a public reply to this message | Go post a new public message
* Notice: Posting problems? [ Click here ]
* HTML allowed in marked fields.
Message subject (required):

Name (required):

  Expression (Optional mood/title along with your name) Examples: (happy, sad, The Joyful, etc.) help)

  E-mail address (optional):

Type your message here:

Choose Message Icon: [ View Emoticons ]

Notice: Copies of your message may remain on this and other systems on internet. Please be respectful.

[ Contact Forum Admin ]


Forum timezone: GMT-5
VF Version: 2.94, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2008 Voyager Info-Systems. All Rights Reserved.