im trying to setup a firewall using iptables. the problem is that i cant see my rc.firewall file in the /etc/rc.d/ folder.. i tried using Code:locate rc.local and it didnt return a result. im running a full installation slackware 13.0 and i can use /usr/sbin/iptables -L but i dont have the rc.firewall..where can i get the file?
decided to fool around making a good quality, totally configurable, firewall script for Slackware, which also logs incoming dropped packets.Just copy the code below into your favourite text editor and save the file as rc.firewall then copy it into your /etc/rc.d/ directory (as root user). After setting up the config section in the script, run these commands;
using Slackware 13 64bit, 2.6.29.6-smp, KDE desktop. i installed the flash-player-plugin using sbopkg. when i try [URL], it says i'm missing the flash plugin. i copied the. so file to
I am using Firefox-4.0b9 from /testing. I never deleted the old profile from 3.6x days. I just noticed that the Slackware identifier icon is now just a generic Linux icon. I checked in about:config, and the general. useragent.extra.linux string is still set to Slackware Linux.Is there something different to do for FF-4x? This isn't a real problem, just an annoying matter of pride.
I just set up my firewall, and now I can't see any Samba workgroups. It says it can't find any workgroups on my local network, and it may be caused by a firewall. It is a firewall issue because if I disable my firewall, I can see the workgroup. What do I need to open on my firewall to see the workgroup? I am using Slackware64 13.37.
Here is how I set up my firewall.
Code: iptables -P INPUT DROP iptables -P FORWARD DROP iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A INPUT -s 127.0.0.0/8 -d 127.0.0.0/8 -i lo -j ACCEPT iptables -A INPUT -p icmp -j ACCEPT I got the commands from here url.
I suspect this is an initial configuration bug. All firewall logs seem to be going to all three files. That causes a lot of clutter in the log files, and makes it difficult to see whether there are any serious problems being logged.
I am learning to setup firewall in my home for that i have selected four system(sys1,sys2....sys4) for testing .I have configured sys2 to act as a firewall with two NIC. sys3 and sys4 are inside the firewall . sys1 is not connected to firewall for testing purpose.
the IP assignments are follows :
sys1 : ( fedora, not connected to firewall i am thinking, But i am not sure )
what happened is that sys1(not connected to firewall) can ssh to sys4(connected,inside firewall),since the rules are written not to ssh form sys1 to sys4..
then I came to know whatever the request I give, It directly goes as sys1 --> sys4. Not as sys1-----> sys2(firewall)---> sys4 .and the firewall is not filtering and processing anything for both inbound and outbound (i think it's my mistake some where). the requests are directly going inside without firewall.
I'm trying to build firewall on Debian with 'Firewall Builder'. But it won't let me compile and run unless one interface is set as management. There are two interfaces on my computer: 'eth0' and 'lo'
I don't want to be able to configure firewall remotely, so could I use 'lo' as 'management interface'?
Consolidate several lines of a CSV file with firewall rules, in order to parse them easier?
I have a .csv file, which I created using an HTML export from a Check Point firewall. The objective is to have all the firewall configuration lines where a given host is present. I have to do this for a few hundred, manually is not a reasonable option. I'm going to write a simple Python script for this.
The problem is that the output from the Check Point firewall is complicated to work with. If a firewall rule works with several source or destination hosts, services or other configurations, instead of having them separated with a symbol other than a comma, I get a new line.
This prevents me from exporting the line where the host is present, since I would be missing info.
Let me show you an example, hostnames are modified, of course:
just curious if there was some discussion about reasons (not)-including Lua in stock Slackware packages ? IMHO it perfectly fits to distro's KISS philosophy, is very small and packaging maintenance is very easy (only glibc dependency, simple compilation and installation proces). Slackware contains programming language implementations of Common Lisp, Guile Scheme, Ada 95 which I find more exotic then Lua in these days. I know there are some histroical reasons and keeping continuity but anyway ...
I had to restart my machine after some time (~200 days), and after the restart it had only 2 GB ram out of 6 GB (2213MB). I can't go in person to the machine..
Just installed minitube v1.1 via sbopkg. Video plays but there's no sound and i get the following error message *edit* actually nothing much happens no video or sound. It just displays the title of the videos in the list without playing.Code:Phonon error: "A required codec is missing. You need to install the following codec(s) to play this content: MPEG-4 AAC" 2I have faad2 installed which is a "MPEG2 and MPEG 4 AAC decoder" but thats not listed as a dependency anyway, only QT >=4.5 which i have.On the minitube home page it suggests removing xine phono backend if there's no sound, but i'm not even sure if this is installed.
Going from 13 to 13.1 I copied distlists and std.vcf from the old/.kde/share/apps/kabc to the new /.kde/share/appsEmail adresses no problem, however the distlists are missing and I can't find how to add those.Googling gave no clue until now.
I checked the site but may be missing the link.. Is there a script method (like there is for 13.1) for installing GSB 3.0 in current? The site says it is available but not from where.
I'm doing a group project using some UML stuff. I tried install graphiz and it installed find but apparently it keeps telling me I'm missing dot when compiling the UML (tells me dot should be at /usr/bin/dot which it is, but it can't find it). I also tried a command "java -jar plantuml.jar -testdot" (which was suggested where the UML should have been) and the jar file couldn't be found.
1. I can't find the Konqueror file manager in Kde menu. I can of course add it, but I'm wondering if it's by design or if it's a problem specific to my installation.
2. When I set my plasma desktop to folder view, activity, (whatever, I still don't understand how do folder views and activities relate, it's the most f****d up design ever) to get a full screen desktop (like in Kde 3), and my taskbar panel is at the top of the screen,then I get an "impression" of the default desktop widget behind my background (tried both wallpaper and a solid color). It seems to go away when I move panel to bottom of screen (then can move back to top and it's ok).See attached image.
3. Can't find a way to change color of Title bars. I'm right now using Oxygen widget style with Oxygen theme. I can't live with these gray bars which are even the same color for both active and inactive Tile bars (design idiocy of highest caliber IMO). Changing the color seemed to work when using Plastik just fine.
I am using slackware-current 32bit version. After upgrading from kde 4.2.4 to 4.3.4 (using slackpkg), all my K-menu icons were missing. There are also no icons in task managers for all kde-based applications like konsole,dolphin etc.. But for non-kde application like firefox, wicd and xmms, the icons show up in task manager. I have tried reinstalling kdebase, kdebase-runtime and kde-userspace with no luck.
I have a CSV file, which I created using an HTML export from a Check Point firewall policy. Each rule is represented as several lines, in some cases. That occurs when a rule has several address sources, destinations or services.
I need the output to have each rule described in only one line. It's easy to distinguish when each rule begins. In the first column, there's the rule ID, which is a number.
Here's an example. In green are marked the strings that should be moved:
See example. The strings that should be moved are in bold:
Read the first column of the next line. If there's a number:
Evaluate the first column of the next line. If there's no number there, concatenate (separating with a comma) the strings in the columns of this line with the last one and eliminate the text in the current one
The output should be something like this. The strings in bold are the ones that were moved:
After opening a konsole terminal I get this message: Code: /bin/dircolors: /etc/DIR_COLORS:1: invalid line; missing second token How can I get rid of that?
This is driving me mad, so bear with me. I'm not sure this is a Slackware issue, in fact I'm sure it's not, but you all have helped me in the past so it seems like a good place to start. Also, I don't really know exactly how much of this information will be completely relevant to my problem, but I really can't pin it down.My server is running 64 bit Slackware 13. It was running fine, mainly just serving files on the LAN, with some occasional SSH activity. I was slowly moving hard drives to it from my desktop system (all 1 or 2 terabyte drives). They were previously formatted with NTFS and were filled with files, so it took me a while to move data around, format a drive, and copy the data back. I decided to use ext4, for no particular reason other than it was the newest, so if I end up having to reformat these again, I'm open to using another filesystem. Right now, I've got two 2TB drives and three 1TB drives, but one of those is still NTFS, so it is of no concern at the moment.
At this point, I had just added the two 2TB drives to the system. These happened to be the new WD Advanced Format drives with 4k sectors. I found a way to manipulate fdisk so it would start the partition on the correct cylinder or whatever to take advantage of the new format. I also ended up using GPT instead of MBR because it had more usable space.
two 2TB drives, GPT, ext4, 4k sectors two 1TB drives, GPT, ext4 one 1TB drive, MBR, NTFS (not important)
This setup was working fine for a few days until I had to take the server down to move some wires around. When I booted the server back up, I discovered the two 2TB drives were missing. They showed up in /dev but wouldn't mount.
It would appear that the search (find) function has been removed from Konqueror in KDE 4.6. Is that the case? By "search" I mean the ability to search your hard drive, not a web page or document.
I'm running slackware 13.37 and when looking through the x.org log I see that two directories are missing:
Information[ 68.572] (WW) The directory "/usr/share/fonts/local" does not exist. Information[ 68.572] Entry deleted from font path. Information[ 68.572] (WW) The directory "/usr/share/fonts/CID" does not exist.
I thought I knew what I was doing, just a minimal install of slackware 13.1 for a game server (minecraft), but it seems I missed java or something - I get the "command not found" error. gcc-java is installed. What package did I miss/what series is it in? Does it have any dependencies?
I upgraded to the latest -current just like always. I do the kernel packages last. This time, the machine failed to boot, telling me that it could not find the kernel modules. Well, rats.
I booted with a slackware dvd, passed the huge.s kernel, and booted into /dev/sda7, which is my main partition. I mounted /dev/sda7, and installed the kernel-modules-2.6.35.11 pkg. Rebooted, and got the same error?
I booted again with the dvd, mounted the partition, and navigated to /lib/modules - no 2.6.35.11 in there!
Upgraded from 13.1. Certain panel plugins seem to be gone in XFCE4.
When I try to add the Icon Box, Task List or several others to the panel, I get "Could not open 'iconbox' module".
There is an iconbox module in /usr/lib/xfce4/panel-plugins, along with some others, but they all date back to 3/29. In /usr/share/xfce4/panel-plugins, there is a mix of newer and older files.
Did the icon box go away? Do I need to nuke ~/.config/xfce4?