Re: MPPC for Netgraph: Isn't it time?

2016-06-01 Thread Brett Glass
At 11:40 PM 5/31/2016, Rui Paulo wrote: On Tue, 2016-05-31 at 11:55 -0600, Brett Glass wrote: > Everyone: > > Just built a kernel today, and realized that for years I have had > to integrate MPPC compression/encryption (see man page ng_mppc(4)) > for PPP/L2TP/PPTP manually,

MPPC for Netgraph: Isn't it time?

2016-05-31 Thread Brett Glass
code base. Could a committer with access to that part of the tree please import the files mppc.h, mppcc.c, and mppcd.c into /sys/net so there's no need to find and fetch them every time? --Brett Glass ___ freebsd-net@freebsd.org mailing

Re: Can DUMMYNET handle weighting of traffic according to firewall rules?

2014-12-15 Thread Brett Glass
True. But I can patch and build my own kernels (and also the Chapter 8 utility) and then submit my patches to the core developers once I've tested them. It's starting to sound as if this would be the best thing to do. I have not analyzed the IPFW code before, so it'd re

Re: Can DUMMYNET handle weighting of traffic according to firewall rules?

2014-12-14 Thread Brett Glass
ch to the kernel, I'd like to try doing this and then submit a patch to add the feature if it works. --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Re: Can DUMMYNET handle weighting of traffic according to firewall rules?

2014-12-12 Thread Brett Glass
ber.) If X was not specified, it'd be assumed to be unity -- both for backward compatibility and in keeping with POLA. --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send a

Re: Can DUMMYNET handle weighting of traffic according to firewall rules?

2014-12-12 Thread Brett Glass
capacity of the pipe is still the same. What I want to do is have the pipe, not the queue, weight the upstream traffic twice as heavily. --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To

Can DUMMYNET handle weighting of traffic according to firewall rules?

2014-12-12 Thread Brett Glass
possible to inject them into the same pipe in such a way that some packets will count more toward the pipe's bandwidth limit than others. Any ideas on how I can implement this? Willing to code if I must, but don't want to reinvent the wheel. --Brett Glass __

Re: jme interface bounces up and down, up and down....

2014-09-16 Thread Brett Glass
m JMicron in it. --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Re: jme interface bounces up and down, up and down....

2014-09-16 Thread Brett Glass
At 05:27 PM 9/16/2014, Chris Hill wrote: On Tue, 16 Sep 2014, Brett Glass wrote: So, what is the best solution? I cannot throw out the machine, and because I am using a VLAN switch to multiplex the port to three LANs I do not want to reduce the speed to 100 Mbps. Ideas? The man page

Re: jme interface bounces up and down, up and down....

2014-09-16 Thread Brett Glass
So, what is the best solution? I cannot throw out the machine, and because I am using a VLAN switch to multiplex the port to three LANs I do not want to reduce the speed to 100 Mbps. Ideas? --Brett Glass At 02:37 AM 9/16/2014, Yonghyeon PYUN wrote: On Mon, Sep 15, 2014 at 08:19:37AM -0600

Re: jme interface bounces up and down, up and down....

2014-09-15 Thread Brett Glass
hat's on the motherboard of this Asus. So, I need to find a way to make it work. --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

jme interface bounces up and down, up and down....

2014-09-14 Thread Brett Glass
DOWN Sep 13 12:50:04 testbed kernel: jme0_3: link state changed to DOWN Sep 13 12:50:43 testbed kernel: jme0: link state changed to UP ... The problem didn't seem to occur with the bundled Linux distro. Has anyone else seen this problem? Know of a fix? --B

More on odd IPFW behavior

2014-04-05 Thread Brett Glass
ackets than re0 (the parent). Weird. Do not have experience with pf, so do not know if it would do better, but IPFW certainly has something broken. Help in figuring out what to propose as a patch would be MUCH appreciated. --Brett Glass ___ freebsd-n

IPFW and VLANs

2014-04-05 Thread Brett Glass
layer2 xmit re0_1 Maybe I am missing something (as I often do), but this seems just plain wrong. What gives? Help in interpreting these results would be much appreciated. --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freeb

static_routes not working

2012-05-13 Thread Brett Glass
le is processed, is not being executed at boot time. Have reproduced the same problem on 8.x machines as well. All have custom, IPv4-only kernels. What might be wrong? --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/lis

IPFW firewall NAT and active FTP

2011-01-11 Thread Brett Glass
ht be causing the problem? --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

RADIX_MPATH usage information

2010-08-26 Thread Brett Glass
t may have missed it.) --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Driver support for Supereal SR9600 USB-to-Ethernet chip?

2010-04-04 Thread Brett Glass
I just received a handful of USB Ethernet NICs whose primary chip says "SUPEREAL" on it. I've installed one on a Windows machine, and the computer identifies it as having the Supereal SR9600 chip on it. Is there support for this chip in any of the BSDs?

Re: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-12 Thread Brett Glass
At 07:42 PM 2/12/2010, Luiz Otavio O Souza wrote: The "-S" tries to remove the entry first, but it fails because it doesn't exist. As far as I can tell, the -S option doesn't cause the command to fail if no routing table entry already exists. It just deletes any route that does exist. Also

RE: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-12 Thread Brett Glass
P.S. -- It occurs to me that perhaps adding the word "only" at the end of the command string used by mpd 5.3 might help. Should I try this? ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, s

RE: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-12 Thread Brett Glass
This patch seems to have had a positive effect on ppp(8)/PoPToP, though more testing is needed. However, It appears that mpd uses arp(8) rather than the socket interface to set up proxy ARP. Here's the code (from the file iface.c in mpd 5.3): if (Enabled(&iface->options, IFACE_CONF_PROXY))

RE: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-12 Thread Brett Glass
At 07:03 PM 2/12/2010, Li, Qing wrote: Luiz Otavio and I have been discussing offline about an issue with the file /usr.sbin/ppp/arp.c in the past week or so. The ARP related code in arp.c was missing a flag bit called "RTF_LLDATA". What about mpd? --Brett ___

RE: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-12 Thread Brett Glass
oon as possible, because I have two clients who need servers installed this weekend. (They wanted them last week, but I was trapped away from the office by a snowstorm.) I'll send configuration information offlist. --Brett Glass ___ freebsd-net

RE: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-12 Thread Brett Glass
Qing: On my test system, the file /usr/src/sys/netinet/in.c contains the following tag: __FBSDID("$FreeBSD: src/sys/netinet/in.c,v 1.143.2.13 2010/02/09 19:27:54 qingli Exp $"); The date above matches the date of revision 203718, which is 3 days old. --Brett At 04:26 PM 2/12/2010, Li, Qin

Re: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-12 Thread Brett Glass
At 03:09 PM 2/12/2010, David Horn wrote: If you have not already, make certain you use the appropriate tag of "RELENG_8", and not "RELENG_8_0" Yup, that's what I did. I used /usr/share/examples/stable-supfile with only one mod: I explicitly inserted the name of the mirror into the file rathe

RE: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-12 Thread Brett Glass
us use 8-STABLE. --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

RE: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-11 Thread Brett Glass
Qing: I will try to build a system late tonight. I was stuck in Washington, DC for four days due to snow and have just returned to a large backlog of work. Which snapshot would you recommend? --Brett Glass At 11:03 AM 2/11/2010, Li, Qing wrote: Can you at least build one 8-stable system

IPFW firewall NAT, port address translation, and "active" FTP

2010-02-08 Thread Brett Glass
s.) Does anyone know if I need to set anything special to make the firewall track FTP data ports? --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

RE: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-04 Thread Brett Glass
major upgrade in only one year. I know that 7.2-RELEASE had problems with routing and PPP too, but they were different ones. Have the 7-STABLE branch been patched adequately since that time? --Brett Glass ___ freebsd-net@freebsd.org mailing list

RE: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-04 Thread Brett Glass
rk or setting up CVS on machines that won't need it in production, so please let me know if patches are available that will add the recent fixes to 8.0-RELEASE. --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailm

RE: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-02 Thread Brett Glass
ither the ARP table or the routing table, and (b) the PPP daemon can't create or destroy many of the routes that the connections need to work. I can't believe that a version of a major operating system shipped without the ability to do PPP, but apparently that's the case! --Brett

Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-02 Thread Brett Glass
CAIFADDR, 172.18.0.1 -> 172.18.4.8 9): File exists Feb 2 18:22:39 testgate kernel: ifa_add_loopback_route: insertion failed Feb 2 18:22:39 testgate kernel: ifa_del_loopback_route: deletion failed Ideas? --Brett Glass P.S. -- Please copy me directly on all responses, as I am not currently

Re: Ralink 28xx series drivers?

2010-01-28 Thread Brett Glass
Thank you! The adapter which I am trying to get running is mini-PCI, not USB. If there's code available, I'd be glad to test it. --Brett Glass At 11:08 PM 1/27/2010, Bruce Simpson wrote: On 01/28/10 01:26, Brett Glass wrote: I am trying to make FreeBSD 8.0 fully functional on an

Ralink 28xx series drivers?

2010-01-27 Thread Brett Glass
ponses, as I am not a full time subscriber of this list. --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Re: Question regarding netgraph and threading

2009-12-01 Thread Brett Glass
At 05:08 PM 12/1/2009, Julian Elischer wrote: in the netgraph code I see: /* Autoconfigure number of threads. */ if (numthreads <= 0) numthreads = mp_ncpus; Ah Found this in /sys/netgraph/ng_base.c. Yes, it does seem to have a pool o

Re: Question regarding netgraph and threading

2009-12-01 Thread Brett Glass
d has to handle all of the work of encryption, decryption, handshaking, etc. Am I incorrect about this? I am concerned that the performance of a single core will be the bottleneck. --Brett Glass P.S. -- By the way, when I compiled netgraph into the kernel to begin my test, I began to get the me

Question regarding netgraph and threading

2009-12-01 Thread Brett Glass
o multithread, or is there a way to make it do so? --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

ipfw gred parameters

2009-09-29 Thread Brett Glass
rk best in a typical system? And how do the parameters submitted to "dummynet" correspond to the ones usually seen in descriptions of the algorithm? --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listi

Re: MAC locking and filtering in FreeBSD

2009-05-16 Thread Brett Glass
Among other things, more control -- including an easy way to cut off bandwidth hogs and abusers -- and a walled garden that is better able to hijack browsers (the one in pfsense often fails). We actually have quite a few things we'd like to implement. More offlist if you'd like. --B

Re: MAC locking and filtering in FreeBSD

2009-05-15 Thread Brett Glass
Unfortunately, the pfsense captive portal lacks many of the features that we need and has also had problems in some of our tests. We need the ability to "roll our own" rather than a canned solution, which is why we'd like to make sure that we can implement this via IPFW. --Brett At 01:39 AM

Re: MAC locking and filtering in FreeBSD

2009-05-13 Thread Brett Glass
dress in the same rule -- at least in the current implementation. >Your 'vice versa' here isn't correct; you can select by layer 3 criteria >on packets from ether_demux, The docs say that you can't. --Brett Glass ___ freebs

Re: MAC locking and filtering in FreeBSD

2009-05-13 Thread Brett Glass
pment to recognize MAC addresses and grant different degrees of access to them. For example, a user might be trapped in a "walled garden" until agreeing to an acceptable use policy, and then redirected -- but only once -- to a specific Web page, such as the hotel chain's reserva

Re: MAC locking and filtering in FreeBSD

2009-05-13 Thread Brett Glass
At 01:14 PM 5/13/2009, Stefan Lambrev wrote: Not that I understand how "knowing" mac address is easier for customers then wpa2 password ;) Most customers would not recognize a WPA2 password if it bit them. ;-) Also, many older operating systems and Wi-Fi cards do not support WPA at all. (For

Re: MAC locking and filtering in FreeBSD

2009-05-13 Thread Brett Glass
http://svn.freebsd.org/viewvc/base/projects/l2filter/ How does one generate a diff between this code and, say, 7.1-RELEASE or 7.2-RELEASE so that I can try it as a patch? The GUI doesn't seem to be capable of doing this (or it may be that I just don't see how).

Re: MAC locking and filtering in FreeBSD

2009-05-13 Thread Brett Glass
irewall, so I can not only block spoofing but trigger a log entry when it happens. --Brett At 12:46 PM 5/13/2009, Stefan Lambrev wrote: >Hi, > >apr -S (or -s) is not helping? >Have in mind that this is not a real security as it's very easy to change your >MAC. > >On

MAC locking and filtering in FreeBSD

2009-05-13 Thread Brett Glass
Layer 2 information in a packet can't look at Layer 3, and vice versa. Is there a way to work around this to do MAC address locking and/or other functions that involve looking at Layer 2 and Layer 3 simultaneously? --Brett Glass ___ freebsd-net

Re: bin/130159: [patch] ppp(8) fails to correctly set routes

2009-04-13 Thread Brett Glass
The following reply was made to PR bin/130159; it has been noted by GNATS. From: Brett Glass To: "Luiz Otavio O Souza" , "Qing Li" , Cc: Subject: Re: bin/130159: [patch] ppp(8) fails to correctly set routes Date: Mon, 13 Apr 2009 08:20:40 -0600 At 06:01 AM 4/13

Re: bin/130159: [patch] ppp(8) fails to correctly set routes

2009-04-13 Thread Brett Glass
The following reply was made to PR bin/130159; it has been noted by GNATS. From: Brett Glass To: "Luiz Otavio O Souza" , "Qing Li" , Cc: Subject: Re: bin/130159: [patch] ppp(8) fails to correctly set routes Date: Mon, 13 Apr 2009 08:27:08 -0600 P.S. -- I am stil

Re: bin/130159: [patch] ppp(8) fails to correctly set routes

2009-04-12 Thread Brett Glass
The following reply was made to PR bin/130159; it has been noted by GNATS. From: Brett Glass To: bug-follo...@freebsd.org, loos...@gmail.com Cc: Subject: Re: bin/130159: [patch] ppp(8) fails to correctly set routes Date: Sun, 12 Apr 2009 18:41:27 -0600 Note: With the patch as written, the

Re: Problems with inward PPTP tunnel

2009-03-24 Thread Brett Glass
g table entry. (You suggested this, implicitly, when you mentioned using the -iface flag.) This is because the "tun" interface is really a bridge, not a gateway. --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.or

Re: Problems with inward PPTP tunnel

2009-03-24 Thread Brett Glass
SE will break many if not most systems that rely on userland PPP to implement a server.) I might consider using mpd instead, but it would be a big implementation change and mpd lacks a few capabilities that I really need. --Brett Glass ___ fre

Re: bin/130159: [patch] ppp(8) fails to correctly set routes

2009-03-23 Thread Brett Glass
The following reply was made to PR bin/130159; it has been noted by GNATS. From: Brett Glass To: bug-follo...@freebsd.org, loos...@gmail.com Cc: Subject: Re: bin/130159: [patch] ppp(8) fails to correctly set routes Date: Mon, 23 Mar 2009 11:48:50 -0600 Patch appears to work properly. Please

Re: Problems with inward PPTP tunnel

2009-03-23 Thread Brett Glass
P.S. -- Just tried the patches in bin/130159 and bin/131250 and they do seem to function properly. Please commit. --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any

Re: Problems with inward PPTP tunnel

2009-03-23 Thread Brett Glass
SE and not -STABLE. The patch in bin/131250 should probably also be committed to keep things working. --Brett Glass At 05:06 AM 3/23/2009, Luiz Otavio O Souza wrote: Brett, I've fixed these two issues with ppp(8), please check the PRs: bin/130159 and bin/131250. If it works for you pl

Re: Problems with inward PPTP tunnel

2009-03-22 Thread Brett Glass
if proxy arp is being done, and may not be strictly necessary; I wanted to make sure I tore down any residual proxy arp entry. Of course, all of this is an awful hack and the relevant code in userland PPP still needs to be looked at. --Brett Glass

Problems with inward PPTP tunnel

2009-03-22 Thread Brett Glass
uot;tun" interface when it sets up routes. What's the best solution to this problem? This problem clearly would affect anyone who wanted to set up a similar tunneling arrangement using userland PPP, and may also cause problems in dialup servers. --Brett Glass

Recommended additions to ipfw command: increment and verbosity limit

2009-02-26 Thread Brett Glass
able to make the changes by copying an editing a few lines, but...) --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Re: GRE Mux

2008-03-22 Thread Brett Glass
At 02:42 PM 3/22/2008, Julian Elischer wrote: >mpd can attach to arbitrary netgraph things... Yes, it can; however, there's no way in its configuration language to say, "set up a PPTP connection, but let this netgraph node do the demultiplexing." (Or, better, let the kernel do the demultiplexing

Re: GRE Mux

2008-03-22 Thread Brett Glass
ve wider applicability and it would be easy to create a netgraph stub for it. --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: GRE Mux

2008-03-21 Thread Brett Glass
d). It would be nice to make both mpd and pptpd work properly with it.... --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"

GRE Mux

2008-03-21 Thread Brett Glass
aph node to another until one of them accepts it or the packet falls off the end of the chain. It seems to me that it might be worth it to implement a multiplexing function that dispatches the packet directly to the right process or netgraph node rather than passing it from hand to h

Re: SSTP support?

2007-08-09 Thread Brett Glass
equires Microsoft to make it available to third parties. In any event, this silly and self-destructive behavior by Microsoft may make it moot Hope they'll come to their senses. --Brett Glass At 05:41 AM 8/9/2007, Eric Masson wrote: Brett Glass <[EMAIL PROTECTED]> writes: Hi

SSTP support?

2007-08-08 Thread Brett Glass
already working on such a project? --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Creating a "non-bridge"

2007-08-01 Thread Brett Glass
At 12:08 AM 8/1/2007, Julian Elischer wrote: >possibly you could just bridge them together but use ipfw on the bridge to >enforce isolation. Will IPFW block ARP? IPX? Other protocols which may be either demultiplexed or "teed" within the network stack? >OR you could possibly make a netgraph ve

Re: Creating a "non-bridge"

2007-07-31 Thread Brett Glass
Andrew: I will try it. Can you tell me whether this feature takes the interfaces out of promiscuous mode (which bridging normally turns on)? Also, will this feature be MFC'ed into 6-STABLE? --Brett Glass At 08:26 PM 7/31/2007, Andrew Thompson wrote: >Such good timing, such a fea

Creating a "non-bridge"

2007-07-31 Thread Brett Glass
? After all, since the FreeBSD machine is acting as a gateway, it should really only look at packets that are addressed to it. --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Bug in userland PPP LQR?

2007-07-14 Thread Brett Glass
e implementations just ignore LQR >altogether under load. These implementations >should disable LQR if they can't implement it >properly. I'm mostly dealing with the Linux pppd or ports of it on the clients (since it seems to be the most popular open source implementation, rega

Re: Bug in userland PPP LQR?

2007-07-11 Thread Brett Glass
At 06:23 PM 7/11/2007, Mike Tancsa wrote: >Did you try and use just LCP echo mode instead ? I have come across a >number of devices (especially GPRS/EVDO cards) that seem to say yes to >supporting LQR, but do not. Try instead lcp echo I will try it. (To be more specific, I am going to try di

Bug in userland PPP LQR?

2007-07-10 Thread Brett Glass
o 5 after the first missed packet. The code in /usr/src/usr.sbin/ppp/lqr.c is quite cryptic, and I'd like some help in figuring out just why I'm seeing so many dropped connections due to LQR. Any folks out there willing to help me analyze it? --Brett Glass

Re: Bandwidth Monitoring program

2006-12-06 Thread Brett Glass
?" The answer to that question is, if he's on >a switched network, no. Not without a topology change. Is adding a hub or a bridge a topology change? I'd argue that it wasn't. You can't listen in if you can't connect to the wire. --Brett Glass

Re: Bandwidth Monitoring program

2006-12-06 Thread Brett Glass
at one of these things is true. Otherwise, all bets are off from the start. --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Bandwidth Monitoring program

2006-12-05 Thread Brett Glass
27;t secure). A little bit of code in your favorite scripting language will do it. And of course you can output to a graphing package, though for me a simple histogram using asterisks has sufficient precision in most cases. --Brett Glass At 09:48 AM 12/5/2006, Benjamin Adams wrote: >I'

Re: Avoiding natd overhead

2006-10-23 Thread Brett Glass
the packet to ensure contiguity. (This is an issue with anything that uses divert sockets, but it creeps in with ng_nat as well due to the way libalias is coded.) Using a Netgraph node would help with the ring transition, though, so there should be some savings. Has the "netgraph" keyw

Re: Avoiding natd overhead

2006-10-22 Thread Brett Glass
e and control the ng_nat node from the shell? --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Avoiding natd overhead

2006-10-21 Thread Brett Glass
ngs which are now done by userland processes listening on divert sockets? This would boost the performance of any FreeBSD machine that did NAT (which many if not most do). --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mai

Re: Avoiding natd overhead

2006-10-21 Thread Brett Glass
At 03:54 AM 10/21/2006, Vladimir Grebenschikov wrote: > 1. use PF for nat - it does aliasing in kernel space True, but it doesn't let me translate the packets and then continue processing within the firewall -- which is necessary if you want to catch unregistered destination addresses BEFORE tra

Re: Avoiding natd overhead

2006-10-21 Thread Brett Glass
At 03:58 AM 10/21/2006, Matthew D. Fuller wrote: >Paolo Pisati's 2005 SoC work on integrating libalias into ipfw might >fit here. It should move the NAT'ing into the kernel and save all the >context switches and copies, and (what has me more interested) make it >much easier to change port forwar

Avoiding natd overhead

2006-10-20 Thread Brett Glass
re routed to the NAT engine, and when this occurs during the processing of the packet? --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Big PPTP server

2006-08-25 Thread Brett Glass
At 10:16 AM 8/25/2006, Archie Cobbs wrote: >The ng_pptpgre node handles the "data packet" level of PPTP, but most >of the complexity in PPTP is in the higher level protocol for setup >and teardown. You'd have to get that in there somehow. I suppose that the call control facility could be impleme

Re: Big PPTP server

2006-08-25 Thread Brett Glass
h uses the Netgraph PPPoE node. This would provide the full feature set of the userland PPP (including dynamic creation of Netgraph nodes, the ability to call out to shell scripts, etc.) together with your PPTP implementation. How hard would it be to cobble this together, starting with the code f

Re: Big PPTP server

2006-08-13 Thread Brett Glass
implementation of PPP that was written in Japan many years ago. Have you thought about how such modifications might be made? --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, s

Re: Big PPTP server

2006-08-10 Thread Brett Glass
originally intended to be used as a client only? I'm struggling here because I can't find a PPP/PPTP implementation that's completely BSD licensed and really designed to be a large scale server. --Brett Glass ___ freebsd-net@freebsd.org ma

Re: Big PPTP server

2006-08-10 Thread Brett Glass
ou run into situations where the IP assigned to the incoming PPP/PPTP user isn't on the same subnet as the one assigned to the host, which seems to cause routing problems. --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.fre

Big PPTP server

2006-08-10 Thread Brett Glass
perimenting? If I can't use mpd and PoPToP isn't working, what other options are there for a good PPTP server? --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Multiple NAT router

2006-07-24 Thread Brett Glass
the driver?)... and whether I could use existing code to do the bilateral translation or would have to hack an "address smasher". --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Multiple NAT router

2006-07-21 Thread Brett Glass
would connect inward to the machines on the LANs, since "ping 192.168.0.100" would be ambiguous. (Perhaps one could do it from a jail. In fact, perhaps the virtual NAT routers could be set up in jails) --Brett Glass ___ freebsd-net@fr

Strange errors from BIND on FreeBSD 4.x system

2006-07-05 Thread Brett Glass
27;ve seen hints that the problem may have something to do with IPV6 but no instructions as to how to resolve it. Can anyone explain what's wrong and how to fix it? --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/m

Re: Best way to block a long list of IPs?

2006-06-20 Thread Brett Glass
IPFW? --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Best way to block a long list of IPs?

2006-06-20 Thread Brett Glass
ndomly distributed hosts. Not random enough. Each of these IP addresses could be anywhere in the 32 bit IPv4 address range. --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send a

Best way to block a long list of IPs?

2006-06-20 Thread Brett Glass
SYN-ACK would never make it back to the center.) Is there any other mechanism I should be looking at (e.g. a custom "divert" filter for SYNs)? --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/fr

Re: Efficient use of Dummynet pipes in IPFW

2005-09-19 Thread Brett Glass
Oops! In my earlier message, I said: >This doesn't work, because you must transform cond1 && cond2 && cond3... >into multiple rules that implement ~(cond1 || cond2 || cond3...). I should have said that you must implement !(!cond1 || !cond2 || !cond3...). --Brett ___

Re: Efficient use of Dummynet pipes in IPFW

2005-09-19 Thread Brett Glass
At 10:20 AM 9/19/2005, Luigi Rizzo wrote: >original > >ipfw add 1000 dosomething cond1 cond2 cond3 cond4 cond5 ... condN > >negated: > >ipfw add 1000 skipto 1001 cond1 cond2 cond3 cond4 cond5 ... condN >ipfw add 1000 dosomething This doesn't work, because you must transfor

Re: Efficient use of Dummynet pipes in IPFW

2005-09-19 Thread Brett Glass
I agree with you that the ability to negate the "AND" of all conditions in the rule would greatly clarify some rulesets. I know it would help with many of mine! --Brett Glass ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Efficient use of Dummynet pipes in IPFW

2005-09-19 Thread Brett Glass
e overhead because there really is no such thing as a NOP in IPFW. Every rule, even a jump target, is a counter.) >whatever. feel free to write a high level interpreter, >since i don't see it that way you can't expect me to do that :) I'm certainly not asking for that! I th

Re: Efficient use of Dummynet pipes in IPFW

2005-09-19 Thread Brett Glass
the individual conditions in it (that is, do a "short circuit NAND" of all the conditions in it) would be a big help, not only in this situation but in others. But the "resume" option would be even more efficient in many cases. --Brett Glass

Re: Efficient use of Dummynet pipes in IPFW

2005-09-19 Thread Brett Glass
nd part is a mess. >But the kernel code i believe is reasonably documented >(of course it could be documented better - patches welcome). >the first 250 or so lines in ip_fw2.h are almost all comments >describing the opcode formats. >ip_fw2.c tries to describe rule parsing in the body of

Re: Efficient use of Dummynet pipes in IPFW

2005-09-19 Thread Brett Glass
mented and virtually undocumented, so I'd probably spend a long time blundering around trying to add this and get it right (and also have the rules display correctly, etc.). I seem to recall (correct me if I'm wrong here) that you've hacked on both IPFilter and IPFW. How hard would th

Re: Efficient use of Dummynet pipes in IPFW

2005-09-18 Thread Brett Glass
. Do you propose that I apply DeMorgan's theorem to every rule that sends packets into a pipe? If I did, I'd produce a whole long list of "skipto" rules for each individual rule I had before. Could get very messy -- and crea

Efficient use of Dummynet pipes in IPFW

2005-09-18 Thread Brett Glass
such thing as a "come from" directive (something that's often joked about in programming classes). So, what's the best way get a packet to skip past the remaining bandwidth limiting rules once it was selected to go into a pipe? --Brett Glass ___

BSD-licensed RADIUS server?

2005-04-14 Thread Brett Glass
I'm in the process of setting up a RADIUS server, and found three in the Ports collection. Of these, which do folks recommend? Is there one available that's BSD-licensed (or licensed under some other truly free license) rather than under the GNU Pernicious License? --B

  1   2   >