VPN up but no traffic

2004-07-01 Thread John Angelmo
I have a small problem with my VPN connection, It's up and running but I can't ping the other end, I get traffic from the other end in form of: 22:17:56.114188 192.168.5.2.netbios-ns > 192.168.5.255.netbios-ns: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST 22:17:56.863179 192.168.5.2.netbios-ns

HEADSUP: first chunk of ALTQ driver modifications

2004-07-01 Thread Max Laier
Hello, after the base of altq has been settling in tree for some time now (without apparent problems) it's now time for the first chunk of driver modifications. We have been testing this off tree for some time (thanks to the many testers) and I don't think that there will be problems with this.

Re: Packing netgraph structs

2004-07-01 Thread Anil Madhavapeddy
On 1 Jul 2004, at 20:47, Julian Elischer wrote: I think that nearly all languages these day shave to take into account "what C does" and they need to have packing etc taken explicitly into account when they do syscalls etc. so I don't think that you will have too many problems and there should be

Re: Packing netgraph structs

2004-07-01 Thread Julian Elischer
On Thu, 1 Jul 2004, Anil Madhavapeddy wrote: > On 1 Jul 2004, at 18:20, Julian Elischer wrote: > > > > are syscall arguments packed? I know that they are defined rather > > strangely.. > > On OpenBSD at least, they are wrapped in unions to pad them to register > sizes. > > > > > what messages

Re: Packing netgraph structs

2004-07-01 Thread Anil Madhavapeddy
On 1 Jul 2004, at 18:20, Julian Elischer wrote: are syscall arguments packed? I know that they are defined rather strangely.. On OpenBSD at least, they are wrapped in unions to pad them to register sizes. what messages are you having troubles with? Usually, in my experience, 'packed' structures a

Re: Packing netgraph structs

2004-07-01 Thread Julian Elischer
On Thu, 1 Jul 2004, Anil Madhavapeddy wrote: > I'm creating Netgraph bindings for OCaml in order to play around more > easily with various Bluetooth and Ethernet things I'm working on. It's > all pretty straightforward except for the problem that the netgraph > message structs aren't all pac

Re: Packing netgraph structs

2004-07-01 Thread Harti Brandt
On Thu, 1 Jul 2004, Anil Madhavapeddy wrote: AM>On 1 Jul 2004, at 13:48, Roman Kurakin wrote: AM>> AM>> If this is a problem why can't you make some wrapper that will pack/unpack AM>> written on C, AM>> which will be a lib for you? AM> AM>Because I want to minimise the size of the foreign binding

Re: Packing netgraph structs

2004-07-01 Thread Anil Madhavapeddy
On 1 Jul 2004, at 15:10, Ruslan Ermilov wrote: We use Netgraph from within Python, using the netgraph(3) library, and we pack/unpack various Netgraph related structs just happily. Speaking of "struct ng_mesg", if you pack it, it will essentially stay the same, because I believe it was created with

ipf over bridge strange problem.

2004-07-01 Thread fz
Hi, For technical (and especially customer) reasons, i setted up a firewalling solution based on FreeBSD 4.x (kernel compiled with BRIDGE option) and ipf. No more particular stuff. You'ld find others configuration details at the end of this post (dmesg and more). Now, the problem. Randomly, i

Re: Packing netgraph structs

2004-07-01 Thread Roman Kurakin
Anil Madhavapeddy wrote: On 1 Jul 2004, at 13:48, Roman Kurakin wrote: If this is a problem why can't you make some wrapper that will pack/unpack written on C, which will be a lib for you? Because I want to minimise the size of the foreign bindings - this would require C code for every single Ne

Re: Packing netgraph structs

2004-07-01 Thread Ruslan Ermilov
On Thu, Jul 01, 2004 at 02:00:06PM +0100, Anil Madhavapeddy wrote: > On 1 Jul 2004, at 13:48, Roman Kurakin wrote: > > > >If this is a problem why can't you make some wrapper that will > >pack/unpack written on C, > >which will be a lib for you? > > Because I want to minimise the size of the fore

Re: Packing netgraph structs

2004-07-01 Thread Anil Madhavapeddy
On 1 Jul 2004, at 13:48, Roman Kurakin wrote: If this is a problem why can't you make some wrapper that will pack/unpack written on C, which will be a lib for you? Because I want to minimise the size of the foreign bindings - this would require C code for every single Netgraph struct. If they we

Re: Packing netgraph structs

2004-07-01 Thread Roman Kurakin
Anil Madhavapeddy wrote: I'm creating Netgraph bindings for OCaml in order to play around more easily with various Bluetooth and Ethernet things I'm working on. It's all pretty straightforward except for the problem that the netgraph message structs aren't all packed (e.g. struct ng_mesg). Th

Packing netgraph structs

2004-07-01 Thread Anil Madhavapeddy
I'm creating Netgraph bindings for OCaml in order to play around more easily with various Bluetooth and Ethernet things I'm working on. It's all pretty straightforward except for the problem that the netgraph message structs aren't all packed (e.g. struct ng_mesg). This means that it's very d

Squid, FreeBSD, PPP Multilink

2004-07-01 Thread Gregory Edigarov
> I have Squid-2.5 running on FreeBSD 5-Current. We have 2 ppp links, > and use them in multilink mode, through userlevel ppp. > If one or both links fail and then come up, say, if I just turn the > modem power off and on all the web browsing becomes very slow > squid. > It takes forever for squid

Re: 2 Harti

2004-07-01 Thread Harti Brandt
Hello, On Thu, 1 Jul 2004 [EMAIL PROTECTED] wrote: Your supplied exampel of connection between two bsd/hatm machines using NG nodes and Inet hooks works fine. But those 2 machines works as an IP Bridge. We need Ethernet bridge. So we've tried to connect hatm<->em adapters through netgraph and this

2 Harti

2004-07-01 Thread Donatas . Gendvilas
Hello, firstly i'd like to apologise for an incorrect reply address - we had some problems with lotus mails, but now it should work fine. Your supplied exampel of connection between two bsd/hatm machines using NG nodes and Inet hooks works fine. But those 2 machines works as an IP Bridge. We