IP Masq In 2.2.14pre1

Rob Schmaling (schmali@home.com)
Tue, 26 Oct 1999 18:37:24 -0400


This is a multi-part message in MIME format.

------=_NextPart_000_0037_01BF1FE1.252BE6C0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

IP Masquerade apears not to be working in 2.2.14pre1. make oldconfig used
from a masq-functional 2.2.13 x86 SMP machine. I've attached config for
2.2.14pre1.

ip_forward is enabled, and ipchains forward 192.168.1.0/24 <internal
network> is set to -j MASQ

>From Log :

Oct 24 22:17:27 linux kernel: Packet log: eth0-out DENY eth0 PROTO=17
192.168.1.2:61000 24.228.0.2:53 L=60 S=0x00 I=58119 F=0x0000 T=127 (#2)
Oct 24 22:17:28 linux kernel: Packet log: eth0-out DENY eth0 PROTO=17
192.168.1.2:61000 24.228.0.3:53 L=60 S=0x00 I=58375 F=0x0000 T=127 (#2)
Oct 24 22:17:31 linux kernel: Packet log: eth0-out DENY eth0 PROTO=17
192.168.1.2:61000 24.228.0.2:53 L=60 S=0x00 I=58631 F=0x0000 T=127 (#2)
Oct 24 22:17:51 linux kernel: Packet log: eth0-out DENY eth0 PROTO=1
192.168.1.2:8 24.228.21.1:0 L=60 S=0x00 I=59655 F=0x0000 T=31 (#2)
Oct 24 22:17:53 linux kernel: Packet log: eth0-out DENY eth0 PROTO=1
192.168.1.2:8 24.228.21.1:0 L=60 S=0x00 I=59911 F=0x0000 T=31 (#2)
Oct 24 22:17:54 linux kernel: Packet log: eth0-out DENY eth0 PROTO=1
192.168.1.2:8 24.228.21.1:0 L=60 S=0x00 I=60167 F=0x0000 T=31 (#2)
Oct 24 22:17:56 linux kernel: Packet log: eth0-out DENY eth0 PROTO=1
192.168.1.2:8 24.228.21.1:0 L=60 S=0x00 I=60423 F=0x0000 T=31 (#2)
Oct 24 22:17:57 linux kernel: Packet log: eth0-out DENY eth0 PROTO=1
192.168.1.2:8 24.228.21.1:0 L=60 S=0x00 I=60679 F=0x0000 T=31 (#2)

internal network is blocked on external interface and logged.

Linux linux.idlewild.net 2.2.13 #2 SMP Mon Oct 25 19:05:59 EDT 1999 i686
unknown
Kernel modules 2.3.6
Gnu C egcs-2.91.66
Binutils 2.9.5.0.16
Linux C Library 2.1.2
Dynamic linker ldd (GNU libc) 2.1.2
Procps 2.0.5
Mount 2.9y
Net-tools 1.53
Kbd 0.96
Sh-utils 2.0
Modules Loaded ip_masq_raudio ip_masq_irc ip_masq_ftp tulip

Rob S.

------=_NextPart_000_0037_01BF1FE1.252BE6C0
Content-Type: application/octet-stream;
name="config.current"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="config.current"

#=0A=
# Automatically generated by make menuconfig: don't edit=0A=
#=0A=
=0A=
#=0A=
# Code maturity level options=0A=
#=0A=
CONFIG_EXPERIMENTAL=3Dy=0A=
=0A=
#=0A=
# Processor type and features=0A=
#=0A=
# CONFIG_M386 is not set=0A=
# CONFIG_M486 is not set=0A=
# CONFIG_M586 is not set=0A=
# CONFIG_M586TSC is not set=0A=
CONFIG_M686=3Dy=0A=
CONFIG_X86_WP_WORKS_OK=3Dy=0A=
CONFIG_X86_INVLPG=3Dy=0A=
CONFIG_X86_BSWAP=3Dy=0A=
CONFIG_X86_POPAD_OK=3Dy=0A=
CONFIG_X86_TSC=3Dy=0A=
CONFIG_X86_GOOD_APIC=3Dy=0A=
CONFIG_1GB=3Dy=0A=
# CONFIG_2GB is not set=0A=
# CONFIG_MATH_EMULATION is not set=0A=
CONFIG_MTRR=3Dy=0A=
CONFIG_SMP=3Dy=0A=
=0A=
#=0A=
# Loadable module support=0A=
#=0A=
CONFIG_MODULES=3Dy=0A=
CONFIG_MODVERSIONS=3Dy=0A=
CONFIG_KMOD=3Dy=0A=
=0A=
#=0A=
# General setup=0A=
#=0A=
CONFIG_NET=3Dy=0A=
CONFIG_PCI=3Dy=0A=
# CONFIG_PCI_GOBIOS is not set=0A=
# CONFIG_PCI_GODIRECT is not set=0A=
CONFIG_PCI_GOANY=3Dy=0A=
CONFIG_PCI_BIOS=3Dy=0A=
CONFIG_PCI_DIRECT=3Dy=0A=
CONFIG_PCI_QUIRKS=3Dy=0A=
CONFIG_PCI_OPTIMIZE=3Dy=0A=
CONFIG_PCI_OLD_PROC=3Dy=0A=
# CONFIG_MCA is not set=0A=
# CONFIG_VISWS is not set=0A=
CONFIG_X86_IO_APIC=3Dy=0A=
CONFIG_X86_LOCAL_APIC=3Dy=0A=
CONFIG_SYSVIPC=3Dy=0A=
CONFIG_BSD_PROCESS_ACCT=3Dy=0A=
CONFIG_SYSCTL=3Dy=0A=
CONFIG_BINFMT_AOUT=3Dy=0A=
CONFIG_BINFMT_ELF=3Dy=0A=
CONFIG_BINFMT_MISC=3Dy=0A=
# CONFIG_BINFMT_JAVA is not set=0A=
# CONFIG_PARPORT is not set=0A=
# CONFIG_APM is not set=0A=
=0A=
#=0A=
# Plug and Play support=0A=
#=0A=
# CONFIG_PNP is not set=0A=
=0A=
#=0A=
# Block devices=0A=
#=0A=
CONFIG_BLK_DEV_FD=3Dy=0A=
# CONFIG_BLK_DEV_IDE is not set=0A=
# CONFIG_BLK_DEV_HD_ONLY is not set=0A=
CONFIG_BLK_DEV_LOOP=3Dm=0A=
CONFIG_BLK_DEV_NBD=3Dm=0A=
# CONFIG_BLK_DEV_MD is not set=0A=
# CONFIG_BLK_DEV_RAM is not set=0A=
# CONFIG_BLK_DEV_XD is not set=0A=
# CONFIG_BLK_DEV_DAC960 is not set=0A=
CONFIG_PARIDE_PARPORT=3Dy=0A=
# CONFIG_PARIDE is not set=0A=
# CONFIG_BLK_CPQ_DA is not set=0A=
# CONFIG_BLK_DEV_HD is not set=0A=
=0A=
#=0A=
# Networking options=0A=
#=0A=
CONFIG_PACKET=3Dy=0A=
CONFIG_NETLINK=3Dy=0A=
CONFIG_RTNETLINK=3Dy=0A=
CONFIG_NETLINK_DEV=3Dy=0A=
CONFIG_FIREWALL=3Dy=0A=
# CONFIG_FILTER is not set=0A=
CONFIG_UNIX=3Dy=0A=
CONFIG_INET=3Dy=0A=
# CONFIG_IP_MULTICAST is not set=0A=
# CONFIG_IP_ADVANCED_ROUTER is not set=0A=
# CONFIG_IP_PNP is not set=0A=
CONFIG_IP_FIREWALL=3Dy=0A=
CONFIG_IP_FIREWALL_NETLINK=3Dy=0A=
CONFIG_NETLINK_DEV=3Dy=0A=
CONFIG_IP_TRANSPARENT_PROXY=3Dy=0A=
CONFIG_IP_MASQUERADE=3Dy=0A=
CONFIG_IP_MASQUERADE_ICMP=3Dy=0A=
CONFIG_IP_MASQUERADE_MOD=3Dy=0A=
# CONFIG_IP_MASQUERADE_IPAUTOFW is not set=0A=
CONFIG_IP_MASQUERADE_IPPORTFW=3Dm=0A=
CONFIG_IP_MASQUERADE_MFW=3Dm=0A=
CONFIG_IP_ROUTER=3Dy=0A=
CONFIG_NET_IPIP=3Dm=0A=
CONFIG_NET_IPGRE=3Dm=0A=
CONFIG_IP_ALIAS=3Dy=0A=
# CONFIG_ARPD is not set=0A=
CONFIG_SYN_COOKIES=3Dy=0A=
# CONFIG_INET_RARP is not set=0A=
CONFIG_SKB_LARGE=3Dy=0A=
# CONFIG_IPV6 is not set=0A=
# CONFIG_IPX is not set=0A=
# CONFIG_ATALK is not set=0A=
# CONFIG_X25 is not set=0A=
# CONFIG_LAPB is not set=0A=
# CONFIG_BRIDGE is not set=0A=
# CONFIG_LLC is not set=0A=
# CONFIG_ECONET is not set=0A=
# CONFIG_WAN_ROUTER is not set=0A=
# CONFIG_NET_FASTROUTE is not set=0A=
# CONFIG_NET_HW_FLOWCONTROL is not set=0A=
# CONFIG_CPU_IS_SLOW is not set=0A=
=0A=
#=0A=
# QoS and/or fair queueing=0A=
#=0A=
# CONFIG_NET_SCHED is not set=0A=
=0A=
#=0A=
# SCSI support=0A=
#=0A=
CONFIG_SCSI=3Dy=0A=
CONFIG_BLK_DEV_SD=3Dy=0A=
# CONFIG_CHR_DEV_ST is not set=0A=
CONFIG_BLK_DEV_SR=3Dy=0A=
# CONFIG_BLK_DEV_SR_VENDOR is not set=0A=
# CONFIG_CHR_DEV_SG is not set=0A=
CONFIG_SCSI_MULTI_LUN=3Dy=0A=
CONFIG_SCSI_CONSTANTS=3Dy=0A=
# CONFIG_SCSI_LOGGING is not set=0A=
=0A=
#=0A=
# SCSI low-level drivers=0A=
#=0A=
# CONFIG_SCSI_7000FASST is not set=0A=
# CONFIG_SCSI_ACARD is not set=0A=
# CONFIG_SCSI_AHA152X is not set=0A=
# CONFIG_SCSI_AHA1542 is not set=0A=
# CONFIG_SCSI_AHA1740 is not set=0A=
# CONFIG_SCSI_AIC7XXX is not set=0A=
# CONFIG_SCSI_IPS is not set=0A=
# CONFIG_SCSI_ADVANSYS is not set=0A=
# CONFIG_SCSI_IN2000 is not set=0A=
# CONFIG_SCSI_AM53C974 is not set=0A=
# CONFIG_SCSI_MEGARAID is not set=0A=
CONFIG_SCSI_BUSLOGIC=3Dy=0A=
# CONFIG_SCSI_OMIT_FLASHPOINT is not set=0A=
# CONFIG_SCSI_DTC3280 is not set=0A=
# CONFIG_SCSI_EATA is not set=0A=
# CONFIG_SCSI_EATA_DMA is not set=0A=
# CONFIG_SCSI_EATA_PIO is not set=0A=
# CONFIG_SCSI_FUTURE_DOMAIN is not set=0A=
# CONFIG_SCSI_GDTH is not set=0A=
# CONFIG_SCSI_GENERIC_NCR5380 is not set=0A=
# CONFIG_SCSI_INITIO is not set=0A=
# CONFIG_SCSI_INIA100 is not set=0A=
# CONFIG_SCSI_NCR53C406A is not set=0A=
# CONFIG_SCSI_SYM53C416 is not set=0A=
# CONFIG_SCSI_SIM710 is not set=0A=
# CONFIG_SCSI_NCR53C7xx is not set=0A=
# CONFIG_SCSI_NCR53C8XX is not set=0A=
# CONFIG_SCSI_SYM53C8XX is not set=0A=
# CONFIG_SCSI_PAS16 is not set=0A=
# CONFIG_SCSI_PCI2000 is not set=0A=
# CONFIG_SCSI_PCI2220I is not set=0A=
# CONFIG_SCSI_PSI240I is not set=0A=
# CONFIG_SCSI_QLOGIC_FAS is not set=0A=
# CONFIG_SCSI_QLOGIC_ISP is not set=0A=
# CONFIG_SCSI_QLOGIC_FC is not set=0A=
# CONFIG_SCSI_SEAGATE is not set=0A=
# CONFIG_SCSI_DC390T is not set=0A=
# CONFIG_SCSI_T128 is not set=0A=
# CONFIG_SCSI_U14_34F is not set=0A=
# CONFIG_SCSI_ULTRASTOR is not set=0A=
# CONFIG_SCSI_DEBUG is not set=0A=
=0A=
#=0A=
# Network device support=0A=
#=0A=
CONFIG_NETDEVICES=3Dy=0A=
=0A=
#=0A=
# ARCnet devices=0A=
#=0A=
# CONFIG_ARCNET is not set=0A=
# CONFIG_DUMMY is not set=0A=
# CONFIG_EQUALIZER is not set=0A=
# CONFIG_ETHERTAP is not set=0A=
# CONFIG_NET_SB1000 is not set=0A=
=0A=
#=0A=
# Ethernet (10 or 100Mbit)=0A=
#=0A=
CONFIG_NET_ETHERNET=3Dy=0A=
# CONFIG_NET_VENDOR_3COM is not set=0A=
# CONFIG_LANCE is not set=0A=
# CONFIG_NET_VENDOR_SMC is not set=0A=
# CONFIG_NET_VENDOR_RACAL is not set=0A=
# CONFIG_RTL8139 is not set=0A=
# CONFIG_SIS900 is not set=0A=
# CONFIG_YELLOWFIN is not set=0A=
# CONFIG_NET_ISA is not set=0A=
CONFIG_NET_EISA=3Dy=0A=
# CONFIG_PCNET32 is not set=0A=
# CONFIG_ACENIC is not set=0A=
# CONFIG_AC3200 is not set=0A=
# CONFIG_APRICOT is not set=0A=
# CONFIG_CS89x0 is not set=0A=
# CONFIG_DM9102 is not set=0A=
# CONFIG_DE4X5 is not set=0A=
CONFIG_DEC_ELCP=3Dm=0A=
# CONFIG_DGRS is not set=0A=
# CONFIG_EEXPRESS_PRO100 is not set=0A=
# CONFIG_LNE390 is not set=0A=
# CONFIG_NE3210 is not set=0A=
# CONFIG_NE2K_PCI is not set=0A=
# CONFIG_TLAN is not set=0A=
# CONFIG_VIA_RHINE is not set=0A=
# CONFIG_ES3210 is not set=0A=
# CONFIG_EPIC100 is not set=0A=
# CONFIG_ZNET is not set=0A=
# CONFIG_NET_POCKET is not set=0A=
# CONFIG_FDDI is not set=0A=
# CONFIG_HIPPI is not set=0A=
# CONFIG_PPP is not set=0A=
# CONFIG_SLIP is not set=0A=
# CONFIG_NET_RADIO is not set=0A=
=0A=
#=0A=
# Token ring devices=0A=
#=0A=
# CONFIG_TR is not set=0A=
# CONFIG_NET_FC is not set=0A=
# CONFIG_RCPCI is not set=0A=
# CONFIG_SHAPER is not set=0A=
=0A=
#=0A=
# Wan interfaces=0A=
#=0A=
# CONFIG_HOSTESS_SV11 is not set=0A=
# CONFIG_COSA is not set=0A=
# CONFIG_SEALEVEL_4021 is not set=0A=
# CONFIG_DLCI is not set=0A=
# CONFIG_SBNI is not set=0A=
=0A=
#=0A=
# Amateur Radio support=0A=
#=0A=
# CONFIG_HAMRADIO is not set=0A=
=0A=
#=0A=
# IrDA subsystem support=0A=
#=0A=
# CONFIG_IRDA is not set=0A=
=0A=
#=0A=
# ISDN subsystem=0A=
#=0A=
# CONFIG_ISDN is not set=0A=
=0A=
#=0A=
# Old CD-ROM drivers (not SCSI, not IDE)=0A=
#=0A=
# CONFIG_CD_NO_IDESCSI is not set=0A=
=0A=
#=0A=
# Character devices=0A=
#=0A=
CONFIG_VT=3Dy=0A=
CONFIG_VT_CONSOLE=3Dy=0A=
CONFIG_SERIAL=3Dy=0A=
# CONFIG_SERIAL_CONSOLE is not set=0A=
# CONFIG_SERIAL_EXTENDED is not set=0A=
# CONFIG_SERIAL_NONSTANDARD is not set=0A=
CONFIG_UNIX98_PTYS=3Dy=0A=
CONFIG_UNIX98_PTY_COUNT=3D256=0A=
CONFIG_MOUSE=3Dy=0A=
=0A=
#=0A=
# Mice=0A=
#=0A=
# CONFIG_ATIXL_BUSMOUSE is not set=0A=
# CONFIG_BUSMOUSE is not set=0A=
# CONFIG_MS_BUSMOUSE is not set=0A=
CONFIG_PSMOUSE=3Dy=0A=
CONFIG_82C710_MOUSE=3Dy=0A=
# CONFIG_PC110_PAD is not set=0A=
# CONFIG_QIC02_TAPE is not set=0A=
# CONFIG_WATCHDOG is not set=0A=
# CONFIG_NVRAM is not set=0A=
CONFIG_RTC=3Dy=0A=
=0A=
#=0A=
# Video For Linux=0A=
#=0A=
# CONFIG_VIDEO_DEV is not set=0A=
=0A=
#=0A=
# Joystick support=0A=
#=0A=
# CONFIG_JOYSTICK is not set=0A=
# CONFIG_DTLK is not set=0A=
=0A=
#=0A=
# Ftape, the floppy tape device driver=0A=
#=0A=
# CONFIG_FTAPE is not set=0A=
=0A=
#=0A=
# Filesystems=0A=
#=0A=
# CONFIG_QUOTA is not set=0A=
CONFIG_AUTOFS_FS=3Dy=0A=
# CONFIG_ADFS_FS is not set=0A=
# CONFIG_AFFS_FS is not set=0A=
# CONFIG_HFS_FS is not set=0A=
CONFIG_FAT_FS=3Dy=0A=
CONFIG_MSDOS_FS=3Dy=0A=
# CONFIG_UMSDOS_FS is not set=0A=
CONFIG_VFAT_FS=3Dy=0A=
CONFIG_ISO9660_FS=3Dy=0A=
# CONFIG_JOLIET is not set=0A=
# CONFIG_MINIX_FS is not set=0A=
# CONFIG_NTFS_FS is not set=0A=
# CONFIG_HPFS_FS is not set=0A=
CONFIG_PROC_FS=3Dy=0A=
CONFIG_DEVPTS_FS=3Dy=0A=
# CONFIG_QNX4FS_FS is not set=0A=
# CONFIG_ROMFS_FS is not set=0A=
CONFIG_EXT2_FS=3Dy=0A=
# CONFIG_SYSV_FS is not set=0A=
# CONFIG_UFS_FS is not set=0A=
# CONFIG_EFS_FS is not set=0A=
=0A=
#=0A=
# Network File Systems=0A=
#=0A=
# CONFIG_CODA_FS is not set=0A=
# CONFIG_NFS_FS is not set=0A=
# CONFIG_NFSD is not set=0A=
# CONFIG_SUNRPC is not set=0A=
# CONFIG_LOCKD is not set=0A=
# CONFIG_SMB_FS is not set=0A=
# CONFIG_NCP_FS is not set=0A=
=0A=
#=0A=
# Partition Types=0A=
#=0A=
# CONFIG_BSD_DISKLABEL is not set=0A=
# CONFIG_MAC_PARTITION is not set=0A=
# CONFIG_SMD_DISKLABEL is not set=0A=
# CONFIG_SOLARIS_X86_PARTITION is not set=0A=
# CONFIG_UNIXWARE_DISKLABEL is not set=0A=
CONFIG_NLS=3Dy=0A=
=0A=
#=0A=
# Native Language Support=0A=
#=0A=
CONFIG_NLS_CODEPAGE_437=3Dm=0A=
# CONFIG_NLS_CODEPAGE_737 is not set=0A=
# CONFIG_NLS_CODEPAGE_775 is not set=0A=
# CONFIG_NLS_CODEPAGE_850 is not set=0A=
# CONFIG_NLS_CODEPAGE_852 is not set=0A=
# CONFIG_NLS_CODEPAGE_855 is not set=0A=
# CONFIG_NLS_CODEPAGE_857 is not set=0A=
# CONFIG_NLS_CODEPAGE_860 is not set=0A=
# CONFIG_NLS_CODEPAGE_861 is not set=0A=
# CONFIG_NLS_CODEPAGE_862 is not set=0A=
# CONFIG_NLS_CODEPAGE_863 is not set=0A=
# CONFIG_NLS_CODEPAGE_864 is not set=0A=
# CONFIG_NLS_CODEPAGE_865 is not set=0A=
# CONFIG_NLS_CODEPAGE_866 is not set=0A=
# CONFIG_NLS_CODEPAGE_869 is not set=0A=
# CONFIG_NLS_CODEPAGE_874 is not set=0A=
CONFIG_NLS_ISO8859_1=3Dm=0A=
# CONFIG_NLS_ISO8859_2 is not set=0A=
# CONFIG_NLS_ISO8859_3 is not set=0A=
# CONFIG_NLS_ISO8859_4 is not set=0A=
# CONFIG_NLS_ISO8859_5 is not set=0A=
# CONFIG_NLS_ISO8859_6 is not set=0A=
# CONFIG_NLS_ISO8859_7 is not set=0A=
# CONFIG_NLS_ISO8859_8 is not set=0A=
# CONFIG_NLS_ISO8859_9 is not set=0A=
# CONFIG_NLS_ISO8859_14 is not set=0A=
CONFIG_NLS_ISO8859_15=3Dm=0A=
# CONFIG_NLS_KOI8_R is not set=0A=
=0A=
#=0A=
# Console drivers=0A=
#=0A=
CONFIG_VGA_CONSOLE=3Dy=0A=
CONFIG_VIDEO_SELECT=3Dy=0A=
# CONFIG_MDA_CONSOLE is not set=0A=
# CONFIG_FB is not set=0A=
=0A=
#=0A=
# Sound=0A=
#=0A=
# CONFIG_SOUND is not set=0A=
=0A=
#=0A=
# Kernel hacking=0A=
#=0A=
# CONFIG_MAGIC_SYSRQ is not set=0A=

------=_NextPart_000_0037_01BF1FE1.252BE6C0--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/