Network bug - FreeBSD 4.4 STABLE

Network bug - FreeBSD 4.4 STABLE

Post by Pedro Paulo Oliveira » Sat, 10 Nov 2001 01:47:12



I'm using FreeBSD-4.4 STABLE as a transparent proxy.

I've noticed an easy to reproduce error

Install squid 2.4-STABLE2 as transparent proxy on 3128

My firewall rules are:
00049  1275  106743 allow tcp from 200.9.95.6 to any
00050     0       0 fwd 127.0.0.1,3128 tcp from any to any 80
60000 24151 4774860 allow ip from any to any
65535    32    4426 allow ip from any to any

My /etc/rc.conf are:

# This file now contains just the overrides from /etc/defaults/rc.conf
# please make all changes to this file.

# Enable network daemons for user convenience.
# -- sysinstall generated deltas -- #
hostname="filter.incor.usp.br"
sendmail_enable="YES"
defaultrouter="200.9.95.4"
sshd_enable="YES"
inetd_enable="YES"
gateway_enable="YES"
ifconfig_rl0="inet 200.9.95.6 netmask 255.255.255.0"
router_enable="NO"

The resolv.conf are right and the proxy works for some minutes and stops working.

Every tcp connection I try to establish returns: Can't assign requested address

For instance:
telnet localhost 21
Can't assign requested address

Squid also returns Can't assign requested address

Can anyone know a patch for this?

Pedro Paulo Jr

 
 
 

1. Network bug in FreeBSD 4.4 STABLE

I'm using FreeBSD-4.4 STABLE as a transparent proxy.

I've noticed an easy to reproduce error

Install squid 2.4-STABLE2 as transparent proxy on 3128

My firewall rules are:
00049  1275  106743 allow tcp from 200.9.95.6 to any
00050     0       0 fwd 127.0.0.1,3128 tcp from any to any 80
60000 24151 4774860 allow ip from any to any
65535    32    4426 allow ip from any to any

My /etc/rc.conf are:

# This file now contains just the overrides from /etc/defaults/rc.conf
# please make all changes to this file.

# Enable network daemons for user convenience.
# -- sysinstall generated deltas -- #
hostname="filter.incor.usp.br"
sendmail_enable="YES"
defaultrouter="200.9.95.4"
sshd_enable="YES"
inetd_enable="YES"
gateway_enable="YES"
ifconfig_rl0="inet 200.9.95.6 netmask 255.255.255.0"
router_enable="NO"

The resolv.conf are right and the proxy works for some minutes and stops working.

Every tcp connection I try to establish returns: Can't assign requested address

For instance:
telnet localhost 21
Can't assign requested address

Squid also returns Can't assign requested address

Can anyone know a patch for this?

Pedro Paulo Jr

2. Can you record sound with Soundblaster Deluxe?

3. FreeBSD 4.4-20011111-STABLE bug?

4. /bin/sh dependancy

5. Vmware2 and FreeBSD 4.4-STABLE network trouble

6. Linux Mandraake 5

7. XFree86 4.1 Problem with FreeBSD 4.4-STABLE

8. interrupting connect(), EINTR, EINPROGRESS, EALREADY, and so on

9. FreeBSD 4.4 - STABLE lockup

10. New FreeBSD-stable 4.4 release?

11. problems with FreeBSD 4.4-stable- HELP

12. Different keymap on FreeBSD 4.4 stable won't work