Debian :: Debian Lenny Iptables Does Not Logs
Mar 29, 2011
I have problem with loging, actually iptables logs a data but it seems that for some reasons does not writes in a log file:
Code:
iptables -L -v
Chain INPUT (policy ACCEPT 406 packets, 124K bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT tcp -- any any xxxxxxxxxxx anywhere tcp dpt:xxxx
[Code]....
i checked /var/log/message and /var/log/syslog nothing is here related to iptables. then i create separate file for Iptables by adding this: kern.warning /var/log/iptables.log in my rsyslog.conf it does create iptables.log file inside /var/ but its still empty
View 4 Replies
ADVERTISEMENT
Dec 30, 2010
I'm having some trouble with the configuration of the iptables. I want to setup a network server to serve as Fail Over (for my 2 ISPs), DHCP and DNS. I have 3 network cards, 2 connected to ISP's routers and 1 that serves as UPLINK for my switch.
I want to add some Iptables rules so I can achieve what I want to do. The problem is that the rules I try to use, they have to effect.... they don't load, here are the rules I am trying to add:
#iptables --table nat --append POSTROUTING --out-interface eth1 -j MASQUERADE
#iptables --table nat --append POSTROUTING --out-interface eth2 -j MASQUERADE
#iptables --table nat --append POSTROUTING --out-interface eth2 -j SNAT --to EXTIP
When I try to check to see if it loads, with the command:
#iptables -L
It returns empty
View 2 Replies
View Related
Dec 14, 2009
i was trying to use gnome and kde but i don't like them. I tried xfce and it seem to fit my needs but.My computer is used to be powered on for a weeks. While time passes, a process xfdesktop begin to use more and more memory and to free RAM i need to log out and log in again.
I tried squeeze yesterday on my virtual machine and it has 4.6 and seem not to have that bug, RAM usage is static(yes it still works when i write this and have memory usage 34492k, which is not changing for an hours of usage already), also 4.6 is MUCH better than 4.4.
i already tried adding squeeze to "sources.list" but i can see too many dependencies which should be upgraded if i install 4.6, i'm beginning to afraid it can crash entire GUI(or entire system, i can see there is libc6 required to be updated).
View 14 Replies
View Related
Jan 18, 2010
i do have a strange problem get running php5 on lenny 64 inside apache2. i had installed it as all instructions on the web does: # apt-get install php5 libapache2-mod-php5 php5-cli php5-common php5-cgi
apt has enabled php automatically, so
/etc/apache2/mods-enabled/php5.conf does have inside:
<ifmodule mod_php5.c>
AddType application/x-httpd-php .php .phtml .php3
AddType application/x-httpd-php-source .phps
</ifmodule>
[Code]...
View 3 Replies
View Related
Aug 20, 2010
is it save to install linux kernel 2.6.35.2 on Debian Lenny 5.0.5 or stick with automatic updates...
View 14 Replies
View Related
Nov 4, 2010
I have added a 10 Mbps network card to my SGI O2 MIPS workstation running Debian Lenny running the 26-2 kernel. The workstation already has an onboard NIC which is working fine.(eth0).
lspci -v shows ths card as:-00:03.0 Ethernet controller: Compex ReadyLink 2000 (rev 0a) Flags: medium devsel, IRQ 18 I/O ports at 1800 [disabled] [size=32] Upon googling I found out that this card is an NE2000 clone. I downloaded the latest 2.6.36 kernel sources and did the following:-
1. Make Menuconfig
2. Loaded an alternate kernel config file (my working kernel config file)
3. In DeviceDrivers->Network device support->Ethernet (10 or 100 Mbit)
I selected ASIX AX88796 as the help associated with this showed it as an NE 2000 clone. configured it to be a module and did make, make_modules and make_install. Edited /etc/Modules to load ax88796 and added an alias eth1 ax88796 to this file. copied the new kernel to the /boot and did a reboot, the machine booted up fine and udev -r showed the 2.6.36 kernel and lsmod showed ax88796 loaded. But, Iam not able to bring up eth1 using:-
ifup eth1
The error messages given are:-
SIOCSIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
[Code]...
View 1 Replies
View Related
Apr 23, 2010
I installed debian etch on my system. Installation done successfully, but when it boots up the X server is not starting and showing error. Note : It is perfectly working with debian lenny. Configuration : Intel DG41RQ ,1GB Ram ,160GB HDD.
View 1 Replies
View Related
Aug 28, 2010
Are exist any repository for debian lenny with games like nexuiz vdrift planeshift etc?
View 2 Replies
View Related
Dec 18, 2010
I could't find the 64bit Debian Lenny OS for Intel architecture.Hence I have installed amd64 and it is working fine.Does both intel and amd have the same 64 bit OS amd64 ?
View 3 Replies
View Related
Mar 24, 2010
i recently moved away from ubuntu (as they wouldn't let me change my gdm themes lol) i installed lenny usin the net install for ia86 but i cannot change my screen resolution from 1024x768 to my card/monitors native setting of 1366x768 i have included a .txt taken from the benchmark an profile gizmo which i hope rovide any of you with all the info needed (to be honest i don't understand half of it) my laptop is a fujitsu amilo li3710 with dual core, 3gb ram an 160gb hd an a intel gma4500 with shared memory graphics
View 2 Replies
View Related
May 3, 2010
I'm trying to install Debian/Lenny on a iBook clamshell. I couldn't seem to burn an install CD that the iBook would recognize, so I eventually copied the contents of the CD onto a self-powered USB drive and I can now get the iBook to boot off of that thru open firmware. However, when I get to the Debian installer main menu, it still won't read the CD, and apparently it does not have network drivers to install over Ethernet. Is there any way I can supply a driver for the ethernet interface (lspci reports that its a sun GEM ethernet interface) or somehow convince the installer to install from the content of the USB drive (which is a duplicate of what's on the installer CD)? Heck, if it'd be easier to get the Airport interface running to reach the Internet I'd be up for that too.
View 1 Replies
View Related
Apr 14, 2010
I have read tons of articles on how but none work. I have edited the source.list file with what they say and I have used all the terminal commands that are becoming very repetitive.
View 11 Replies
View Related
Oct 2, 2009
is there a way to auto login as root? login in window preferences won't allow me to select rootPS before anyone starts on the me bad, I'm a programmer using it on a closed embedded system, and need to link to others software, and need to be root
View 6 Replies
View Related
Apr 16, 2010
I installed Debian Lenny on my old IBM thinkpad R40e but i can't change the brightness either with the Fn keys or with the brightness control debian has. i have searched around and it seems to be a problem with linux on IBM thinkpads but i don't know that much about this sort of thing so any help would be appreciated. if you need any more info then just ask.
View 9 Replies
View Related
Aug 31, 2010
Most of the time I rebooting, my resolv.conf is getting updated by resolvconf program, so the network connection cannot be reached. I followed this: Debian User Forums - View topic - Solving DNS problem (dhclient & resolv.conf)
View 7 Replies
View Related
Aug 21, 2009
Could anyone tell me how to get Debian Lenny to automount CDs the same as Ubuntu does i.e. automatically, with a Desktop icon etc.I've worked out how to automount CDs using autofs, which is OK, but it still doesn't seem quite as good as the way Ubuntu does it.
View 6 Replies
View Related
Aug 16, 2010
I've found that I need to use pppoeconf, but it doesn't work. I have default Debian kernel with PPPOE module. After looking for the modem it gives me the following message:"Sorry, I scanned 1 interface, but the Access Concentrator of you provider did not respond. Please check your network and modem cables. Another reason for the scan failure may also another pppoe process which controls the modem."pppoeconf detected the interface successfully (eth0, I have only one interface), but doesn't work. It does, however, work with my router connecting without any issues.
View 4 Replies
View Related
Apr 2, 2010
User familai with amd64 for computational chemistry and i386 for desktop. Seeking advice from users who succeeded in arranging a laptop with Debian squeeze or lenny, wireless LAN, 3D acceleration video, flash for speech. The laptop WITH STANDARD USA KEYBOARD should be available from European market resellers.
View 1 Replies
View Related
Aug 15, 2010
What the following means?
Code:
Does this mean that connections from those IP's have been blocked or what?
View 3 Replies
View Related
Jan 19, 2010
whether iptables logs can be set to automatically resolve IP addresses? I am running the firewall on a network with DDNS/DHCP, and this ability would really help quickly identify hosts with suspect traffic.Failing this, I guess the simplest solution will be to simply set static addresses!
View 1 Replies
View Related
Apr 5, 2011
In an effort to learn more about firewalls and iptables I have left behind gui set-up tools and have setup a firewall using iptables that logs to its own file. The firewall is as follows:
Code:
*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [0:0]
:TCP - [0:0]
[Code]...
View 8 Replies
View Related
Apr 13, 2011
I have received the following log messages on my Debian Squeeze webserver:Apr 13 15:16:37 vps suhosin[4699]: ALERT - ASCII-NUL chars not allowed within request variables - dropped variable 'controller' (attacker '75.126.235.115', file '/var/www/xxxxxxxxxxxxx.com
75.126.235.115 - - [13/Apr/2011:15:16:37 +0100] "GET /index.php?option=com_product&controller=../../../../../../../../../../../../../../../proc/self/environ%00 HTTP/1.1" 200 8018 "-" "libwww-perl/6.01"
[code]....
View 1 Replies
View Related
Jul 27, 2010
I just got a USB bluetooth adapter for my Laptop. I'm running Lenny with all the lateset updates, on and Ispiron 8600. I went through and made sure I installed all the Bluez stuff (as far as I can tell anyway). I'm trying to use it with my Droid Eris and while I have been able to successfully recieve files from the phone in Linux, I noticed it seems a little buggy and I think it ma have something to do with the logs. Below is a sample. As you can see, one line keeps repeating continuously. Given enough time, it will fill the entire /var partition. When I remove the Blutooth, it stops.
Code:
hal9000:/var/log# tail -F syslog
Jul 27 03:59:00 hal9000 hcid[32187]: Stopping security manager 0
Jul 27 03:59:00 hal9000 hcid[32187]: Device hci0 has been disabled
Jul 27 03:59:00 hal9000 NetworkManager: <debug> [1280217540.460076] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/usb_device_a12_1_noserial_if0_bluetooth_hci_158315a310').
[Code]....
View 3 Replies
View Related
Jul 29, 2010
I'm trying to find out where the logs from slapd.conf (loglevel -1) go? I know in RH is /var/log/ldap.log cant find it on Debian. Its probably too late
Btw. does Debian have something like /etc/syslog.conf. If yes where?
View 1 Replies
View Related
Jul 27, 2010
So 1 year ago I installed Lenny, but in the process of installation during the splitting of the drive I have mistakenly set a seperate parition for "/var/logs" instead of "/var/log". Is there any way to redirect all the logs to this seperate partition (var/logs) or it's better to go through the whole trouble* of installing Lenny again? *the trouble because it was hell of a problem to fix grub that didn't recognize SmartArray RAID (cciss driver), the problem is that I don't really remember how I fixed it. Symbolic link won't help since physically it will still be on the other partition. Do I have any other option?
View 3 Replies
View Related
Jul 23, 2011
Well it turns out my system has logged out more then once on its own. I had the system updated and upgraded from 7-3-11 and it did this about once a week. On 7-18-11 I did a full update and upgrade and it logged out a few times in a couple of hours. It does it while I am away and the system is in screen saver mode. I used my partition clone and restored the system back to 7-3-11. Has any one else ever had such an issue?
View 2 Replies
View Related
Oct 6, 2009
I used to know a command to turn off various logs that run in the background of Debian. I using lenny on CF on an embedded board, that why I need the logs off, to stop writes.
View 1 Replies
View Related
May 1, 2014
For some time now I've been unable to see changelogs for packages to be upgraded in Wheezy,even trying with different mirrors in sources.list all I'm getting is this:
Code: Select allaptitude changelog iceweasel
Err Changelog of iceweasel
E: Changelog download failed: 404 Not Found [IP: 185.31.16.185 80]
Err Changelog of iceweasel
E: Changelog download failed: 404 Not Found [IP: 185.31.16.185 80]
E: Couldn't find a changelog for iceweasel
[Code] ....
Is there maybe some specific reasons why I can't get changelogs before applying the updates? I know I can review them afterwards,it's just that I would find convenient to have a look before updating.
View 14 Replies
View Related
Mar 21, 2015
I want to install Debian but I'd like to keep my Skype chat history.
I don't know if it's possible to just copy from %appdata% the skype folder and put it into the Debian's one.
How could I do? I read one post but it's quite old, so maybe there's something new now.
View 2 Replies
View Related
Dec 1, 2015
How to enable persistent logging with systemd? I find it really weird that all this machinery that is systemd doesn't store persistent logs, what if I'm trying to retrieve some information regarding previous boots?
For instance: I have random suspend issues, after rebooting the computer there's no trace left in the logs of what happened, and furthermore (at least in Jessie) I can no longer see a pm-suspend log.
So, at first it sounds like all you have to do is edit journald.conf setting #Storage=auto to "persistent" and create the /var/log/journal directory, but then reading here /usr/share/doc/systemd/README.Debian
Code: Select allEnabling persistent logging in journald
=======================================
To enable persistent logging, create /var/log/journal and set up proper permissions:
install -d -g systemd-journal /var/log/journal
setfacl -R -nm g:adm:rx,d:g:adm:rx /var/log/journal
and here [URL] ....
There are two main reasons why I decided to not enable persistent logging just yet ....
We did get corrupt journal files in the past where the journal then no longer worked at all [1]. With volatile you can just reboot and have a clean state again. Admittedly, the journal has seen a lot of improvements in the mean time and hopefully is more robust, so this point is no longer true.
We still install rsyslog by default. That means we get store them twice. This is something we don't want to do atm.
View 3 Replies
View Related