RE: socket call in the kernel

2001-12-27 Thread Henry Su
Yes, it works: [00:52:58][root@test2:~]$ telnet 127.0.0.1 8800 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 12334 HTTP/1.1 302 Moved Date: Thu, 27 Dec 2001 00:53:18 PST Location: https://216.69.69.254/cgi-bin/login 0 Connection closed by foreign host. I found the pr

Re: socket call in the kernel

2001-12-27 Thread Crist J . Clark
On Thu, Dec 27, 2001 at 01:04:25AM -0800, Henry Su wrote: > Yes, it works: > > [00:52:58][root@test2:~]$ telnet 127.0.0.1 8800 > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > 12334 > > HTTP/1.1 302 Moved > Date: Thu, 27 Dec 2001 00:53:18 PST > Location: https://216

Re: jail & ftp

2001-12-27 Thread Crist J . Clark
On Wed, Dec 26, 2001 at 11:11:06PM -0500, alexus wrote: > Hello > > I'm not quite sure if I'm posting to right list but I'll try anyway, all > right here it goes.. > > I have set up jail and inside of this jail i run ftp (proftpd) using ipf i > was able to forward all traffic for port 21 and 20

Re: socket call in the kernel

2001-12-27 Thread Julian Elischer
yes, but there is no need to change the packet.. fwd will do exactly what he wants as soon as I can get the network topology worked out :-) On Thu, 27 Dec 2001, Crist J . Clark wrote: > On Thu, Dec 27, 2001 at 01:04:25AM -0800, Henry Su wrote: > > Yes, it works: > > > > [00:52:58][root@test2:

RE: socket call in the kernel

2001-12-27 Thread Julian Elischer
On Thu, 27 Dec 2001, Henry Su wrote: > Yes, it works: > > [00:52:58][root@test2:~]$ telnet 127.0.0.1 8800 > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > 12334 > > HTTP/1.1 302 Moved > Date: Thu, 27 Dec 2001 00:53:18 PST > Location: https://216.69.69.254/cgi-bin

RE: socket call in the kernel

2001-12-27 Thread Henry Su
Thanks a lot Julian. Please let me know if u need more info. My goal is using test2 as authentication server, when http request pass through test2 box, test2 will redirect to an authentication url on itself. __ ___ | |crossover cable |

Re: FXP Bundling on a STL2

2001-12-27 Thread Jonathan Lemon
In article you write: >I noticed that the FXP built in to my STL2 motherboards seem to get have no >difference on 4.5-PRERELEASE wether bundling is on or off, but an external >FXP PCI card does begin to have a difference when receiving ~1000 pps (about >half the interrupts). >Does the STL2 FXP no

Re: FXP Bundling on a STL2

2001-12-27 Thread Phil Rosenthal
dmesg says: fxp0: Microcode loaded, int_delay: 1000 usec bundle_max: 6 fxp1: Microcode loaded, int_delay: 1000 usec bundle_max: 6 But it only appears to do anything on the fxp1 (the external one) >From systat -vm: ~3000 interrupts ~500 interrupts from netstat -I fxp0 -in 1: input ~3000 packets

RE: socket call in the kernel

2001-12-27 Thread Julian Elischer
On Thu, 27 Dec 2001, Henry Su wrote: > Thanks a lot Julian. Please let me know if u need more info. > > > My goal is using test2 as authentication server, when http request pass > through test2 box, test2 will redirect to an authentication url on itself. > > _

RE: socket call in the kernel

2001-12-27 Thread Henry Su
** Henry Su * NTT MCL * ** On Thu, 27 Dec 2001, Julian Elischer wrote: > > > > > On Thu, 27 Dec 2001, Henry Su wrote: > > > Thanks a lot Julian. Please let me know if u need more info. > > > > > > My goal is using test2 as authentication server, when htt

RE: socket call in the kernel

2001-12-27 Thread Henry Su
Hi, Julian: Here's all the rules that I am using: [17:13:59][root@test2:~]$ ipfw show 001000 0 allow ip from any to any via lo0 002000 0 deny ip from any to 127.0.0.0/8 003000 0 deny ip from 127.0.0.0/8 to any 004000 0 allow udp from 0.0.0.0 2054 to 0.0.0.0 00500

Why is my ipfw(8) ``fwd'' rule to redirect a service to another machine not working?

2001-12-27 Thread Henry Su
http://www.unixguide.net/freebsd/faq/09.20.shtml Is there a way to configure your machine not drop these packets? To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message

RE: socket call in the kernel

2001-12-27 Thread Julian Elischer
put the forward rule as rule 50 and see what happens. On Thu, 27 Dec 2001, Henry Su wrote: > Hi, Julian: > > > Here's all the rules that I am using: > > [17:13:59][root@test2:~]$ ipfw show > 001000 0 allow ip from any to any via lo0 > 002000 0 deny ip from any to 127.0.0.0/8

RE: socket call in the kernel

2001-12-27 Thread Henry Su
Same thing, it only works for telneting to test2:80 for test1. -Original Message- From: Julian Elischer [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 27, 2001 5:31 PM To: Henry Su Cc: [EMAIL PROTECTED] Subject: RE: socket call in the kernel put the forward rule as rule 50 and se

Re: Why is my ipfw(8) ``fwd'' rule to redirect a service to anothermachine not working?

2001-12-27 Thread Julian Elischer
I have a patch that fixes that On Thu, 27 Dec 2001, Henry Su wrote: > > http://www.unixguide.net/freebsd/faq/09.20.shtml > > Is there a way to configure your machine not drop these packets? > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-net" in the body of

dummynet for IPv6?

2001-12-27 Thread Guangrui Fu
Hi All, Is there any implementation for ipv6 based dummynet? Another related question, I'm using dummynet for bandwidth control. I want the bandwidth control can be applied to all ethernet packets(ip/icmp v4/v6). If dummynet is ipv6-unawareness, how can I achieve this? Could anyone please give

Re: Why is my ipfw(8) ``fwd'' rule to redirect a service to another machine not working?

2001-12-27 Thread Crist J . Clark
On Thu, Dec 27, 2001 at 05:42:16PM -0800, Henry Su wrote: > > http://www.unixguide.net/freebsd/faq/09.20.shtml > > Is there a way to configure your machine not drop these packets? I wrote that FAQ entry for people directing packets to another machine. When you are forwarding the packets to 127.