Alexander Motin

Show:

What's happening?

  • Comment: CoA request will not touch interface and IP address

    This version is better, but it strictly ties ipfw to IPv4, while it should work fine with IPv6 also, even without IPv4 at all.

    2012-05-25 02:15:50 PDT in MPD: FreeBSD PPP ...

  • Followup: RE: mpd-filter mpd-limit

    Не знаю. Были когда-то жалобы что при каких-то очень редких условиях ng_car перестает пропускать трафик. Но на сколько я знаю до сути никто пока не докопался.

    2012-04-17 03:39:51 PDT in MPD: FreeBSD PPP ...

  • Followup: RE: mpd-filter mpd-limit

    Значит ты переврал все что можно: - in значит от клиента, а out в клиенту, тоесть чтобы пропустить без шейтов на клиента нужно править out; - несколько правил match в фильтре клеятся по ИЛИ, а не по И, а если у клиента один адрес,

    2012-04-17 02:32:08 PDT in MPD: FreeBSD PPP ...

  • Followup: RE: mpd-filter mpd-limit

    А с какой стороны ngX интерфейса какие сети? Фильтры построены как будто 188.43.64.0/23 у клиента, а 10.16.6.246/32 снаружи. Это так?.

    2012-04-17 01:29:37 PDT in MPD: FreeBSD PPP ...

  • Followup: RE: mpd-filter mpd-limit

    http://mpd.sourceforge.net/doc5/mpd18.html#18: set global filter num add fltnum flt set global filter num clear These commands define or clear traffic filters to be used by rules submitted by radius during authentication. Использовать их как обычно. Пространство номеров общее. При обращении сначала проверяется...

    2012-04-16 23:57:36 PDT in MPD: FreeBSD PPP ...

  • Followup: RE: mpd-filter mpd-limit

    По входу mpd-filter применяется раньше чем ipfw, потому ничего сделать нельзя. По выходу теоретически можно заставить ipfw или кого-то еще маркировать трафик используя поле TOS/DSC, а потом заставить mpd-filter его проверять. С...

    2012-04-11 23:43:27 PDT in MPD: FreeBSD PPP ...

  • Followup: RE: reset session statistic

    If with statistics you mean these attributes: 42 Acct-Input-Octets - - + - 43 Acct-Output-Octets - - + - 47 Acct-Input-Packets - - + - 48 Acct-Output-Packets - - + - 52 Acct-Input-Gigawords - - + - 53 Acct-Output-Gigawords - - + - , then probably the only way now is to break connection. There is technical possibility to clear these counters, but now it is done only when link...

    2012-03-29 00:54:27 PDT in MPD: FreeBSD PPP ...

  • Comment: CoA request will not touch interface and IP address

    1) Don't mix them and you won't need to divide. IPFW was intentionally bound to interface, not to protocols. 2) Sorry, I've mixed function names. Rephrase: As I see, you are calling IfaceSetupIpfw() from IfaceUp() and from IfaceNgIpInit(), and calling IfaceShutdownIpfw() from IfaceDown() and IfaceNgIpShutdown().

    2012-03-19 07:30:18 PDT in MPD: FreeBSD PPP ...

  • Comment: CoA request will not touch interface and IP address

    Patch doesn't look perfect to me. Two objections: 1) Now IPFW code in unrelated to IPv4. It can be used with IPv6 also. But this patch starts to call it from IfaceNgIpInit()/IfaceNgIpShutdown(). 2) If I understand right, this code will call IfaceNgIpShutdown() twice: first from IfaceUp(), second from IfaceNgIpInit()

    2012-03-19 01:48:08 PDT in MPD: FreeBSD PPP ...

  • Comment: mpd-5.6 "unset radius server" command

    Committed with some changes.

    2012-03-19 01:31:23 PDT in MPD: FreeBSD PPP ...

About Me

  • 2003-10-22 (9 years ago)
  • 892211
  • amotin (My Site)
  • Alexander Motin

Send me a message